Skip to content

Type definitions#

Index > EventBridge > Type definitions

Auto-generated documentation for EventBridge type annotations stubs module mypy-boto3-events.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ActivateEventSourceRequestRequestTypeDef#

# ActivateEventSourceRequestRequestTypeDef definition

class ActivateEventSourceRequestRequestTypeDef(TypedDict):
    Name: str,

ApiDestinationTypeDef#

# ApiDestinationTypeDef definition

class ApiDestinationTypeDef(TypedDict):
    ApiDestinationArn: NotRequired[str],
    Name: NotRequired[str],
    ApiDestinationState: NotRequired[ApiDestinationStateType],  # (1)
    ConnectionArn: NotRequired[str],
    InvocationEndpoint: NotRequired[str],
    HttpMethod: NotRequired[ApiDestinationHttpMethodType],  # (2)
    InvocationRateLimitPerSecond: NotRequired[int],
    CreationTime: NotRequired[datetime],
    LastModifiedTime: NotRequired[datetime],
  1. See ApiDestinationStateType
  2. See ApiDestinationHttpMethodType

AppSyncParametersTypeDef#

# AppSyncParametersTypeDef definition

class AppSyncParametersTypeDef(TypedDict):
    GraphQLOperation: NotRequired[str],

ArchiveTypeDef#

# ArchiveTypeDef definition

class ArchiveTypeDef(TypedDict):
    ArchiveName: NotRequired[str],
    EventSourceArn: NotRequired[str],
    State: NotRequired[ArchiveStateType],  # (1)
    StateReason: NotRequired[str],
    RetentionDays: NotRequired[int],
    SizeBytes: NotRequired[int],
    EventCount: NotRequired[int],
    CreationTime: NotRequired[datetime],
  1. See ArchiveStateType

AwsVpcConfigurationTypeDef#

# AwsVpcConfigurationTypeDef definition

class AwsVpcConfigurationTypeDef(TypedDict):
    Subnets: List[str],
    SecurityGroups: NotRequired[List[str]],
    AssignPublicIp: NotRequired[AssignPublicIpType],  # (1)
  1. See AssignPublicIpType

BatchArrayPropertiesTypeDef#

# BatchArrayPropertiesTypeDef definition

class BatchArrayPropertiesTypeDef(TypedDict):
    Size: NotRequired[int],

BatchRetryStrategyTypeDef#

# BatchRetryStrategyTypeDef definition

class BatchRetryStrategyTypeDef(TypedDict):
    Attempts: NotRequired[int],

CancelReplayRequestRequestTypeDef#

# CancelReplayRequestRequestTypeDef definition

class CancelReplayRequestRequestTypeDef(TypedDict):
    ReplayName: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

CapacityProviderStrategyItemTypeDef#

# CapacityProviderStrategyItemTypeDef definition

class CapacityProviderStrategyItemTypeDef(TypedDict):
    capacityProvider: str,
    weight: NotRequired[int],
    base: NotRequired[int],

ConditionTypeDef#

# ConditionTypeDef definition

class ConditionTypeDef(TypedDict):
    Type: str,
    Key: str,
    Value: str,

ConnectionApiKeyAuthResponseParametersTypeDef#

# ConnectionApiKeyAuthResponseParametersTypeDef definition

class ConnectionApiKeyAuthResponseParametersTypeDef(TypedDict):
    ApiKeyName: NotRequired[str],

ConnectionBasicAuthResponseParametersTypeDef#

# ConnectionBasicAuthResponseParametersTypeDef definition

class ConnectionBasicAuthResponseParametersTypeDef(TypedDict):
    Username: NotRequired[str],

ConnectionBodyParameterTypeDef