Typed dictionaries#
Index > EventBridge > Typed dictionaries
Auto-generated documentation for EventBridge type annotations stubs module mypy-boto3-events.
ActivateEventSourceRequestRequestTypeDef#
# ActivateEventSourceRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ActivateEventSourceRequestRequestTypeDef
def get_value() -> ActivateEventSourceRequestRequestTypeDef:
return {
"Name": ...,
}
# ActivateEventSourceRequestRequestTypeDef definition
class ActivateEventSourceRequestRequestTypeDef(TypedDict):
Name: str,
ApiDestinationTypeDef#
# ApiDestinationTypeDef usage example
from mypy_boto3_events.type_defs import ApiDestinationTypeDef
def get_value() -> ApiDestinationTypeDef:
return {
"ApiDestinationArn": ...,
}
# 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],
ArchiveTypeDef#
# ArchiveTypeDef usage example
from mypy_boto3_events.type_defs import ArchiveTypeDef
def get_value() -> ArchiveTypeDef:
return {
"ArchiveName": ...,
}
# 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],
- See ArchiveStateType
AwsVpcConfigurationTypeDef#
# AwsVpcConfigurationTypeDef usage example
from mypy_boto3_events.type_defs import AwsVpcConfigurationTypeDef
def get_value() -> AwsVpcConfigurationTypeDef:
return {
"Subnets": ...,
}
# AwsVpcConfigurationTypeDef definition
class AwsVpcConfigurationTypeDef(TypedDict):
Subnets: List[str],
SecurityGroups: NotRequired[List[str]],
AssignPublicIp: NotRequired[AssignPublicIpType], # (1)
BatchArrayPropertiesTypeDef#
# BatchArrayPropertiesTypeDef usage example
from mypy_boto3_events.type_defs import BatchArrayPropertiesTypeDef
def get_value() -> BatchArrayPropertiesTypeDef:
return {
"Size": ...,
}
# BatchArrayPropertiesTypeDef definition
class BatchArrayPropertiesTypeDef(TypedDict):
Size: NotRequired[int],
BatchRetryStrategyTypeDef#
# BatchRetryStrategyTypeDef usage example
from mypy_boto3_events.type_defs import BatchRetryStrategyTypeDef
def get_value() -> BatchRetryStrategyTypeDef:
return {
"Attempts": ...,
}
# BatchRetryStrategyTypeDef definition
class BatchRetryStrategyTypeDef(TypedDict):
Attempts: NotRequired[int],
CancelReplayRequestRequestTypeDef#
# CancelReplayRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import CancelReplayRequestRequestTypeDef
def get_value() -> CancelReplayRequestRequestTypeDef:
return {
"ReplayName": ...,
}
# CancelReplayRequestRequestTypeDef definition
class CancelReplayRequestRequestTypeDef(TypedDict):
ReplayName: str,
CancelReplayResponseTypeDef#
# CancelReplayResponseTypeDef usage example
from mypy_boto3_events.type_defs import CancelReplayResponseTypeDef
def get_value() -> CancelReplayResponseTypeDef:
return {
"ReplayArn": ...,
"State": ...,
"StateReason": ...,
"ResponseMetadata": ...,
}
# CancelReplayResponseTypeDef definition
class CancelReplayResponseTypeDef(TypedDict):
ReplayArn: str,
State: ReplayStateType, # (1)
StateReason: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CapacityProviderStrategyItemTypeDef#
# CapacityProviderStrategyItemTypeDef usage example
from mypy_boto3_events.type_defs import CapacityProviderStrategyItemTypeDef
def get_value() -> CapacityProviderStrategyItemTypeDef:
return {
"capacityProvider": ...,
}
# CapacityProviderStrategyItemTypeDef definition
class CapacityProviderStrategyItemTypeDef(TypedDict):
capacityProvider: str,
weight: NotRequired[int],
base: NotRequired[int],
ConditionTypeDef#
# ConditionTypeDef usage example
from mypy_boto3_events.type_defs import ConditionTypeDef
def get_value() -> ConditionTypeDef:
return {
"Type": ...,
"Key": ...,
"Value": ...,
}
# ConditionTypeDef definition
class ConditionTypeDef(TypedDict):
Type: str,
Key: str,
Value: str,
ConnectionApiKeyAuthResponseParametersTypeDef#
# ConnectionApiKeyAuthResponseParametersTypeDef usage example
from mypy_boto3_events.type_defs import ConnectionApiKeyAuthResponseParametersTypeDef
def get_value() -> ConnectionApiKeyAuthResponseParametersTypeDef:
return {
"ApiKeyName": ...,
}
# ConnectionApiKeyAuthResponseParametersTypeDef definition
class ConnectionApiKeyAuthResponseParametersTypeDef(TypedDict):
ApiKeyName: NotRequired[str],
ConnectionBasicAuthResponseParametersTypeDef#
# ConnectionBasicAuthResponseParametersTypeDef usage example
from mypy_boto3_events.type_defs import ConnectionBasicAuthResponseParametersTypeDef
def get_value() -> ConnectionBasicAuthResponseParametersTypeDef:
return {
"Username": ...,
}
# ConnectionBasicAuthResponseParametersTypeDef definition
class ConnectionBasicAuthResponseParametersTypeDef(TypedDict):
Username: NotRequired[str],
ConnectionBodyParameterTypeDef#
# ConnectionBodyParameterTypeDef usage example
from mypy_boto3_events.type_defs import ConnectionBodyParameterTypeDef
def get_value() -> ConnectionBodyParameterTypeDef:
return {
"Key": ...,
}
# ConnectionBodyParameterTypeDef definition
class ConnectionBodyParameterTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
IsValueSecret: NotRequired[bool],
ConnectionHeaderParameterTypeDef#
# ConnectionHeaderParameterTypeDef usage example
from mypy_boto3_events.type_defs import ConnectionHeaderParameterTypeDef
def get_value() -> ConnectionHeaderParameterTypeDef:
return {
"Key": ...,
}
# ConnectionHeaderParameterTypeDef definition
class ConnectionHeaderParameterTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
IsValueSecret: NotRequired[bool],
ConnectionQueryStringParameterTypeDef#
# ConnectionQueryStringParameterTypeDef usage example
from mypy_boto3_events.type_defs import ConnectionQueryStringParameterTypeDef
def get_value() -> ConnectionQueryStringParameterTypeDef:
return {
"Key": ...,
}
# ConnectionQueryStringParameterTypeDef definition
class ConnectionQueryStringParameterTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
IsValueSecret: NotRequired[bool],
ConnectionOAuthClientResponseParametersTypeDef#
# ConnectionOAuthClientResponseParametersTypeDef usage example
from mypy_boto3_events.type_defs import ConnectionOAuthClientResponseParametersTypeDef
def get_value() -> ConnectionOAuthClientResponseParametersTypeDef:
return {
"ClientID": ...,
}
# ConnectionOAuthClientResponseParametersTypeDef definition
class ConnectionOAuthClientResponseParametersTypeDef(TypedDict):
ClientID: NotRequired[str],
ConnectionTypeDef#
# ConnectionTypeDef usage example
from mypy_boto3_events.type_defs import ConnectionTypeDef
def get_value() -> ConnectionTypeDef:
return {
"ConnectionArn": ...,
}
# ConnectionTypeDef definition
class ConnectionTypeDef(TypedDict):
ConnectionArn: NotRequired[str],
Name: NotRequired[str],
ConnectionState: NotRequired[ConnectionStateType], # (1)
StateReason: NotRequired[str],
AuthorizationType: NotRequired[ConnectionAuthorizationTypeType], # (2)
CreationTime: NotRequired[datetime],
LastModifiedTime: NotRequired[datetime],
LastAuthorizedTime: NotRequired[datetime],
CreateApiDestinationRequestRequestTypeDef#
# CreateApiDestinationRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import CreateApiDestinationRequestRequestTypeDef
def get_value() -> CreateApiDestinationRequestRequestTypeDef:
return {
"Name": ...,
"ConnectionArn": ...,
"InvocationEndpoint": ...,
"HttpMethod": ...,
}
# CreateApiDestinationRequestRequestTypeDef definition
class CreateApiDestinationRequestRequestTypeDef(TypedDict):
Name: str,
ConnectionArn: str,
InvocationEndpoint: str,
HttpMethod: ApiDestinationHttpMethodType, # (1)
Description: NotRequired[str],
InvocationRateLimitPerSecond: NotRequired[int],
CreateApiDestinationResponseTypeDef#
# CreateApiDestinationResponseTypeDef usage example
from mypy_boto3_events.type_defs import CreateApiDestinationResponseTypeDef
def get_value() -> CreateApiDestinationResponseTypeDef:
return {
"ApiDestinationArn": ...,
"ApiDestinationState": ...,
"CreationTime": ...,
"LastModifiedTime": ...,
"ResponseMetadata": ...,
}
# CreateApiDestinationResponseTypeDef definition
class CreateApiDestinationResponseTypeDef(TypedDict):
ApiDestinationArn: str,
ApiDestinationState: ApiDestinationStateType, # (1)
CreationTime: datetime,
LastModifiedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateArchiveRequestRequestTypeDef#
# CreateArchiveRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import CreateArchiveRequestRequestTypeDef
def get_value() -> CreateArchiveRequestRequestTypeDef:
return {
"ArchiveName": ...,
"EventSourceArn": ...,
}
# CreateArchiveRequestRequestTypeDef definition
class CreateArchiveRequestRequestTypeDef(TypedDict):
ArchiveName: str,
EventSourceArn: str,
Description: NotRequired[str],
EventPattern: NotRequired[str],
RetentionDays: NotRequired[int],
CreateArchiveResponseTypeDef#
# CreateArchiveResponseTypeDef usage example
from mypy_boto3_events.type_defs import CreateArchiveResponseTypeDef
def get_value() -> CreateArchiveResponseTypeDef:
return {
"ArchiveArn": ...,
"State": ...,
"StateReason": ...,
"CreationTime": ...,
"ResponseMetadata": ...,
}
# CreateArchiveResponseTypeDef definition
class CreateArchiveResponseTypeDef(TypedDict):
ArchiveArn: str,
State: ArchiveStateType, # (1)
StateReason: str,
CreationTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateConnectionApiKeyAuthRequestParametersTypeDef#
# CreateConnectionApiKeyAuthRequestParametersTypeDef usage example
from mypy_boto3_events.type_defs import CreateConnectionApiKeyAuthRequestParametersTypeDef
def get_value() -> CreateConnectionApiKeyAuthRequestParametersTypeDef:
return {
"ApiKeyName": ...,
"ApiKeyValue": ...,
}
# CreateConnectionApiKeyAuthRequestParametersTypeDef definition
class CreateConnectionApiKeyAuthRequestParametersTypeDef(TypedDict):
ApiKeyName: str,
ApiKeyValue: str,
CreateConnectionBasicAuthRequestParametersTypeDef#
# CreateConnectionBasicAuthRequestParametersTypeDef usage example
from mypy_boto3_events.type_defs import CreateConnectionBasicAuthRequestParametersTypeDef
def get_value() -> CreateConnectionBasicAuthRequestParametersTypeDef:
return {
"Username": ...,
"Password": ...,
}
# CreateConnectionBasicAuthRequestParametersTypeDef definition
class CreateConnectionBasicAuthRequestParametersTypeDef(TypedDict):
Username: str,
Password: str,
CreateConnectionOAuthClientRequestParametersTypeDef#
# CreateConnectionOAuthClientRequestParametersTypeDef usage example
from mypy_boto3_events.type_defs import CreateConnectionOAuthClientRequestParametersTypeDef
def get_value() -> CreateConnectionOAuthClientRequestParametersTypeDef:
return {
"ClientID": ...,
"ClientSecret": ...,
}
# CreateConnectionOAuthClientRequestParametersTypeDef definition
class CreateConnectionOAuthClientRequestParametersTypeDef(TypedDict):
ClientID: str,
ClientSecret: str,
CreateConnectionResponseTypeDef#
# CreateConnectionResponseTypeDef usage example
from mypy_boto3_events.type_defs import CreateConnectionResponseTypeDef
def get_value() -> CreateConnectionResponseTypeDef:
return {
"ConnectionArn": ...,
"ConnectionState": ...,
"CreationTime": ...,
"LastModifiedTime": ...,
"ResponseMetadata": ...,
}
# CreateConnectionResponseTypeDef definition
class CreateConnectionResponseTypeDef(TypedDict):
ConnectionArn: str,
ConnectionState: ConnectionStateType, # (1)
CreationTime: datetime,
LastModifiedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
EndpointEventBusTypeDef#
# EndpointEventBusTypeDef usage example
from mypy_boto3_events.type_defs import EndpointEventBusTypeDef
def get_value() -> EndpointEventBusTypeDef:
return {
"EventBusArn": ...,
}
# EndpointEventBusTypeDef definition
class EndpointEventBusTypeDef(TypedDict):
EventBusArn: str,
ReplicationConfigTypeDef#
# ReplicationConfigTypeDef usage example
from mypy_boto3_events.type_defs import ReplicationConfigTypeDef
def get_value() -> ReplicationConfigTypeDef:
return {
"State": ...,
}
# ReplicationConfigTypeDef definition
class ReplicationConfigTypeDef(TypedDict):
State: NotRequired[ReplicationStateType], # (1)
TagTypeDef#
# TagTypeDef usage example
from mypy_boto3_events.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
"Value": ...,
}
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: str,
Value: str,
CreateEventBusResponseTypeDef#
# CreateEventBusResponseTypeDef usage example
from mypy_boto3_events.type_defs import CreateEventBusResponseTypeDef
def get_value() -> CreateEventBusResponseTypeDef:
return {
"EventBusArn": ...,
"ResponseMetadata": ...,
}
# CreateEventBusResponseTypeDef definition
class CreateEventBusResponseTypeDef(TypedDict):
EventBusArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreatePartnerEventSourceRequestRequestTypeDef#
# CreatePartnerEventSourceRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import CreatePartnerEventSourceRequestRequestTypeDef
def get_value() -> CreatePartnerEventSourceRequestRequestTypeDef:
return {
"Name": ...,
"Account": ...,
}
# CreatePartnerEventSourceRequestRequestTypeDef definition
class CreatePartnerEventSourceRequestRequestTypeDef(TypedDict):
Name: str,
Account: str,
CreatePartnerEventSourceResponseTypeDef#
# CreatePartnerEventSourceResponseTypeDef usage example
from mypy_boto3_events.type_defs import CreatePartnerEventSourceResponseTypeDef
def get_value() -> CreatePartnerEventSourceResponseTypeDef:
return {
"EventSourceArn": ...,
"ResponseMetadata": ...,
}
# CreatePartnerEventSourceResponseTypeDef definition
class CreatePartnerEventSourceResponseTypeDef(TypedDict):
EventSourceArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeactivateEventSourceRequestRequestTypeDef#
# DeactivateEventSourceRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DeactivateEventSourceRequestRequestTypeDef
def get_value() -> DeactivateEventSourceRequestRequestTypeDef:
return {
"Name": ...,
}
# DeactivateEventSourceRequestRequestTypeDef definition
class DeactivateEventSourceRequestRequestTypeDef(TypedDict):
Name: str,
DeadLetterConfigTypeDef#
# DeadLetterConfigTypeDef usage example
from mypy_boto3_events.type_defs import DeadLetterConfigTypeDef
def get_value() -> DeadLetterConfigTypeDef:
return {
"Arn": ...,
}
# DeadLetterConfigTypeDef definition
class DeadLetterConfigTypeDef(TypedDict):
Arn: NotRequired[str],
DeauthorizeConnectionRequestRequestTypeDef#
# DeauthorizeConnectionRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DeauthorizeConnectionRequestRequestTypeDef
def get_value() -> DeauthorizeConnectionRequestRequestTypeDef:
return {
"Name": ...,
}
# DeauthorizeConnectionRequestRequestTypeDef definition
class DeauthorizeConnectionRequestRequestTypeDef(TypedDict):
Name: str,
DeauthorizeConnectionResponseTypeDef#
# DeauthorizeConnectionResponseTypeDef usage example
from mypy_boto3_events.type_defs import DeauthorizeConnectionResponseTypeDef
def get_value() -> DeauthorizeConnectionResponseTypeDef:
return {
"ConnectionArn": ...,
"ConnectionState": ...,
"CreationTime": ...,
"LastModifiedTime": ...,
"LastAuthorizedTime": ...,
"ResponseMetadata": ...,
}
# DeauthorizeConnectionResponseTypeDef definition
class DeauthorizeConnectionResponseTypeDef(TypedDict):
ConnectionArn: str,
ConnectionState: ConnectionStateType, # (1)
CreationTime: datetime,
LastModifiedTime: datetime,
LastAuthorizedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteApiDestinationRequestRequestTypeDef#
# DeleteApiDestinationRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DeleteApiDestinationRequestRequestTypeDef
def get_value() -> DeleteApiDestinationRequestRequestTypeDef:
return {
"Name": ...,
}
# DeleteApiDestinationRequestRequestTypeDef definition
class DeleteApiDestinationRequestRequestTypeDef(TypedDict):
Name: str,
DeleteArchiveRequestRequestTypeDef#
# DeleteArchiveRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DeleteArchiveRequestRequestTypeDef
def get_value() -> DeleteArchiveRequestRequestTypeDef:
return {
"ArchiveName": ...,
}
# DeleteArchiveRequestRequestTypeDef definition
class DeleteArchiveRequestRequestTypeDef(TypedDict):
ArchiveName: str,
DeleteConnectionRequestRequestTypeDef#
# DeleteConnectionRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DeleteConnectionRequestRequestTypeDef
def get_value() -> DeleteConnectionRequestRequestTypeDef:
return {
"Name": ...,
}
# DeleteConnectionRequestRequestTypeDef definition
class DeleteConnectionRequestRequestTypeDef(TypedDict):
Name: str,
DeleteConnectionResponseTypeDef#
# DeleteConnectionResponseTypeDef usage example
from mypy_boto3_events.type_defs import DeleteConnectionResponseTypeDef
def get_value() -> DeleteConnectionResponseTypeDef:
return {
"ConnectionArn": ...,
"ConnectionState": ...,
"CreationTime": ...,
"LastModifiedTime": ...,
"LastAuthorizedTime": ...,
"ResponseMetadata": ...,
}
# DeleteConnectionResponseTypeDef definition
class DeleteConnectionResponseTypeDef(TypedDict):
ConnectionArn: str,
ConnectionState: ConnectionStateType, # (1)
CreationTime: datetime,
LastModifiedTime: datetime,
LastAuthorizedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteEndpointRequestRequestTypeDef#
# DeleteEndpointRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DeleteEndpointRequestRequestTypeDef
def get_value() -> DeleteEndpointRequestRequestTypeDef:
return {
"Name": ...,
}
# DeleteEndpointRequestRequestTypeDef definition
class DeleteEndpointRequestRequestTypeDef(TypedDict):
Name: str,
DeleteEventBusRequestRequestTypeDef#
# DeleteEventBusRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DeleteEventBusRequestRequestTypeDef
def get_value() -> DeleteEventBusRequestRequestTypeDef:
return {
"Name": ...,
}
# DeleteEventBusRequestRequestTypeDef definition
class DeleteEventBusRequestRequestTypeDef(TypedDict):
Name: str,
DeletePartnerEventSourceRequestRequestTypeDef#
# DeletePartnerEventSourceRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DeletePartnerEventSourceRequestRequestTypeDef
def get_value() -> DeletePartnerEventSourceRequestRequestTypeDef:
return {
"Name": ...,
"Account": ...,
}
# DeletePartnerEventSourceRequestRequestTypeDef definition
class DeletePartnerEventSourceRequestRequestTypeDef(TypedDict):
Name: str,
Account: str,
DeleteRuleRequestRequestTypeDef#
# DeleteRuleRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DeleteRuleRequestRequestTypeDef
def get_value() -> DeleteRuleRequestRequestTypeDef:
return {
"Name": ...,
}
# DeleteRuleRequestRequestTypeDef definition
class DeleteRuleRequestRequestTypeDef(TypedDict):
Name: str,
EventBusName: NotRequired[str],
Force: NotRequired[bool],
DescribeApiDestinationRequestRequestTypeDef#
# DescribeApiDestinationRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DescribeApiDestinationRequestRequestTypeDef
def get_value() -> DescribeApiDestinationRequestRequestTypeDef:
return {
"Name": ...,
}
# DescribeApiDestinationRequestRequestTypeDef definition
class DescribeApiDestinationRequestRequestTypeDef(TypedDict):
Name: str,
DescribeApiDestinationResponseTypeDef#
# DescribeApiDestinationResponseTypeDef usage example
from mypy_boto3_events.type_defs import DescribeApiDestinationResponseTypeDef
def get_value() -> DescribeApiDestinationResponseTypeDef:
return {
"ApiDestinationArn": ...,
"Name": ...,
"Description": ...,
"ApiDestinationState": ...,
"ConnectionArn": ...,
"InvocationEndpoint": ...,
"HttpMethod": ...,
"InvocationRateLimitPerSecond": ...,
"CreationTime": ...,
"LastModifiedTime": ...,
"ResponseMetadata": ...,
}
# DescribeApiDestinationResponseTypeDef definition
class DescribeApiDestinationResponseTypeDef(TypedDict):
ApiDestinationArn: str,
Name: str,
Description: str,
ApiDestinationState: ApiDestinationStateType, # (1)
ConnectionArn: str,
InvocationEndpoint: str,
HttpMethod: ApiDestinationHttpMethodType, # (2)
InvocationRateLimitPerSecond: int,
CreationTime: datetime,
LastModifiedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DescribeArchiveRequestRequestTypeDef#
# DescribeArchiveRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DescribeArchiveRequestRequestTypeDef
def get_value() -> DescribeArchiveRequestRequestTypeDef:
return {
"ArchiveName": ...,
}
# DescribeArchiveRequestRequestTypeDef definition
class DescribeArchiveRequestRequestTypeDef(TypedDict):
ArchiveName: str,
DescribeArchiveResponseTypeDef#
# DescribeArchiveResponseTypeDef usage example
from mypy_boto3_events.type_defs import DescribeArchiveResponseTypeDef
def get_value() -> DescribeArchiveResponseTypeDef:
return {
"ArchiveArn": ...,
"ArchiveName": ...,
"EventSourceArn": ...,
"Description": ...,
"EventPattern": ...,
"State": ...,
"StateReason": ...,
"RetentionDays": ...,
"SizeBytes": ...,
"EventCount": ...,
"CreationTime": ...,
"ResponseMetadata": ...,
}
# DescribeArchiveResponseTypeDef definition
class DescribeArchiveResponseTypeDef(TypedDict):
ArchiveArn: str,
ArchiveName: str,
EventSourceArn: str,
Description: str,
EventPattern: str,
State: ArchiveStateType, # (1)
StateReason: str,
RetentionDays: int,
SizeBytes: int,
EventCount: int,
CreationTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeConnectionRequestRequestTypeDef#
# DescribeConnectionRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DescribeConnectionRequestRequestTypeDef
def get_value() -> DescribeConnectionRequestRequestTypeDef:
return {
"Name": ...,
}
# DescribeConnectionRequestRequestTypeDef definition
class DescribeConnectionRequestRequestTypeDef(TypedDict):
Name: str,
DescribeEndpointRequestRequestTypeDef#
# DescribeEndpointRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DescribeEndpointRequestRequestTypeDef
def get_value() -> DescribeEndpointRequestRequestTypeDef:
return {
"Name": ...,
}
# DescribeEndpointRequestRequestTypeDef definition
class DescribeEndpointRequestRequestTypeDef(TypedDict):
Name: str,
HomeRegion: NotRequired[str],
DescribeEventBusRequestRequestTypeDef#
# DescribeEventBusRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DescribeEventBusRequestRequestTypeDef
def get_value() -> DescribeEventBusRequestRequestTypeDef:
return {
"Name": ...,
}
# DescribeEventBusRequestRequestTypeDef definition
class DescribeEventBusRequestRequestTypeDef(TypedDict):
Name: NotRequired[str],
DescribeEventBusResponseTypeDef#
# DescribeEventBusResponseTypeDef usage example
from mypy_boto3_events.type_defs import DescribeEventBusResponseTypeDef
def get_value() -> DescribeEventBusResponseTypeDef:
return {
"Name": ...,
"Arn": ...,
"Policy": ...,
"ResponseMetadata": ...,
}
# DescribeEventBusResponseTypeDef definition
class DescribeEventBusResponseTypeDef(TypedDict):
Name: str,
Arn: str,
Policy: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeEventSourceRequestRequestTypeDef#
# DescribeEventSourceRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DescribeEventSourceRequestRequestTypeDef
def get_value() -> DescribeEventSourceRequestRequestTypeDef:
return {
"Name": ...,
}
# DescribeEventSourceRequestRequestTypeDef definition
class DescribeEventSourceRequestRequestTypeDef(TypedDict):
Name: str,
DescribeEventSourceResponseTypeDef#
# DescribeEventSourceResponseTypeDef usage example
from mypy_boto3_events.type_defs import DescribeEventSourceResponseTypeDef
def get_value() -> DescribeEventSourceResponseTypeDef:
return {
"Arn": ...,
"CreatedBy": ...,
"CreationTime": ...,
"ExpirationTime": ...,
"Name": ...,
"State": ...,
"ResponseMetadata": ...,
}
# DescribeEventSourceResponseTypeDef definition
class DescribeEventSourceResponseTypeDef(TypedDict):
Arn: str,
CreatedBy: str,
CreationTime: datetime,
ExpirationTime: datetime,
Name: str,
State: EventSourceStateType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribePartnerEventSourceRequestRequestTypeDef#
# DescribePartnerEventSourceRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DescribePartnerEventSourceRequestRequestTypeDef
def get_value() -> DescribePartnerEventSourceRequestRequestTypeDef:
return {
"Name": ...,
}
# DescribePartnerEventSourceRequestRequestTypeDef definition
class DescribePartnerEventSourceRequestRequestTypeDef(TypedDict):
Name: str,
DescribePartnerEventSourceResponseTypeDef#
# DescribePartnerEventSourceResponseTypeDef usage example
from mypy_boto3_events.type_defs import DescribePartnerEventSourceResponseTypeDef
def get_value() -> DescribePartnerEventSourceResponseTypeDef:
return {
"Arn": ...,
"Name": ...,
"ResponseMetadata": ...,
}
# DescribePartnerEventSourceResponseTypeDef definition
class DescribePartnerEventSourceResponseTypeDef(TypedDict):
Arn: str,
Name: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeReplayRequestRequestTypeDef#
# DescribeReplayRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DescribeReplayRequestRequestTypeDef
def get_value() -> DescribeReplayRequestRequestTypeDef:
return {
"ReplayName": ...,
}
# DescribeReplayRequestRequestTypeDef definition
class DescribeReplayRequestRequestTypeDef(TypedDict):
ReplayName: str,
ReplayDestinationTypeDef#
# ReplayDestinationTypeDef usage example
from mypy_boto3_events.type_defs import ReplayDestinationTypeDef
def get_value() -> ReplayDestinationTypeDef:
return {
"Arn": ...,
}
# ReplayDestinationTypeDef definition
class ReplayDestinationTypeDef(TypedDict):
Arn: str,
FilterArns: NotRequired[List[str]],
DescribeRuleRequestRequestTypeDef#
# DescribeRuleRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DescribeRuleRequestRequestTypeDef
def get_value() -> DescribeRuleRequestRequestTypeDef:
return {
"Name": ...,
}
# DescribeRuleRequestRequestTypeDef definition
class DescribeRuleRequestRequestTypeDef(TypedDict):
Name: str,
EventBusName: NotRequired[str],
DescribeRuleResponseTypeDef#
# DescribeRuleResponseTypeDef usage example
from mypy_boto3_events.type_defs import DescribeRuleResponseTypeDef
def get_value() -> DescribeRuleResponseTypeDef:
return {
"Name": ...,
"Arn": ...,
"EventPattern": ...,
"ScheduleExpression": ...,
"State": ...,
"Description": ...,
"RoleArn": ...,
"ManagedBy": ...,
"EventBusName": ...,
"CreatedBy": ...,
"ResponseMetadata": ...,
}
# DescribeRuleResponseTypeDef definition
class DescribeRuleResponseTypeDef(TypedDict):
Name: str,
Arn: str,
EventPattern: str,
ScheduleExpression: str,
State: RuleStateType, # (1)
Description: str,
RoleArn: str,
ManagedBy: str,
EventBusName: str,
CreatedBy: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See RuleStateType
- See ResponseMetadataTypeDef
DisableRuleRequestRequestTypeDef#
# DisableRuleRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import DisableRuleRequestRequestTypeDef
def get_value() -> DisableRuleRequestRequestTypeDef:
return {
"Name": ...,
}
# DisableRuleRequestRequestTypeDef definition
class DisableRuleRequestRequestTypeDef(TypedDict):
Name: str,
EventBusName: NotRequired[str],
PlacementConstraintTypeDef#
# PlacementConstraintTypeDef usage example
from mypy_boto3_events.type_defs import PlacementConstraintTypeDef
def get_value() -> PlacementConstraintTypeDef:
return {
"type": ...,
}
# PlacementConstraintTypeDef definition
class PlacementConstraintTypeDef(TypedDict):
type: NotRequired[PlacementConstraintTypeType], # (1)
expression: NotRequired[str],
PlacementStrategyTypeDef#
# PlacementStrategyTypeDef usage example
from mypy_boto3_events.type_defs import PlacementStrategyTypeDef
def get_value() -> PlacementStrategyTypeDef:
return {
"type": ...,
}
# PlacementStrategyTypeDef definition
class PlacementStrategyTypeDef(TypedDict):
type: NotRequired[PlacementStrategyTypeType], # (1)
field: NotRequired[str],
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef usage example
from mypy_boto3_events.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EnableRuleRequestRequestTypeDef#
# EnableRuleRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import EnableRuleRequestRequestTypeDef
def get_value() -> EnableRuleRequestRequestTypeDef:
return {
"Name": ...,
}
# EnableRuleRequestRequestTypeDef definition
class EnableRuleRequestRequestTypeDef(TypedDict):
Name: str,
EventBusName: NotRequired[str],
EventBusTypeDef#
# EventBusTypeDef usage example
from mypy_boto3_events.type_defs import EventBusTypeDef
def get_value() -> EventBusTypeDef:
return {
"Name": ...,
}
# EventBusTypeDef definition
class EventBusTypeDef(TypedDict):
Name: NotRequired[str],
Arn: NotRequired[str],
Policy: NotRequired[str],
EventSourceTypeDef#
# EventSourceTypeDef usage example
from mypy_boto3_events.type_defs import EventSourceTypeDef
def get_value() -> EventSourceTypeDef:
return {
"Arn": ...,
}
# EventSourceTypeDef definition
class EventSourceTypeDef(TypedDict):
Arn: NotRequired[str],
CreatedBy: NotRequired[str],
CreationTime: NotRequired[datetime],
ExpirationTime: NotRequired[datetime],
Name: NotRequired[str],
State: NotRequired[EventSourceStateType], # (1)
PrimaryTypeDef#
# PrimaryTypeDef usage example
from mypy_boto3_events.type_defs import PrimaryTypeDef
def get_value() -> PrimaryTypeDef:
return {
"HealthCheck": ...,
}
# PrimaryTypeDef definition
class PrimaryTypeDef(TypedDict):
HealthCheck: str,
SecondaryTypeDef#
# SecondaryTypeDef usage example
from mypy_boto3_events.type_defs import SecondaryTypeDef
def get_value() -> SecondaryTypeDef:
return {
"Route": ...,
}
# SecondaryTypeDef definition
class SecondaryTypeDef(TypedDict):
Route: str,
HttpParametersTypeDef#
# HttpParametersTypeDef usage example
from mypy_boto3_events.type_defs import HttpParametersTypeDef
def get_value() -> HttpParametersTypeDef:
return {
"PathParameterValues": ...,
}
# HttpParametersTypeDef definition
class HttpParametersTypeDef(TypedDict):
PathParameterValues: NotRequired[List[str]],
HeaderParameters: NotRequired[Dict[str, str]],
QueryStringParameters: NotRequired[Dict[str, str]],
InputTransformerTypeDef#
# InputTransformerTypeDef usage example
from mypy_boto3_events.type_defs import InputTransformerTypeDef
def get_value() -> InputTransformerTypeDef:
return {
"InputTemplate": ...,
}
# InputTransformerTypeDef definition
class InputTransformerTypeDef(TypedDict):
InputTemplate: str,
InputPathsMap: NotRequired[Dict[str, str]],
KinesisParametersTypeDef#
# KinesisParametersTypeDef usage example
from mypy_boto3_events.type_defs import KinesisParametersTypeDef
def get_value() -> KinesisParametersTypeDef:
return {
"PartitionKeyPath": ...,
}
# KinesisParametersTypeDef definition
class KinesisParametersTypeDef(TypedDict):
PartitionKeyPath: str,
ListApiDestinationsRequestRequestTypeDef#
# ListApiDestinationsRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListApiDestinationsRequestRequestTypeDef
def get_value() -> ListApiDestinationsRequestRequestTypeDef:
return {
"NamePrefix": ...,
}
# ListApiDestinationsRequestRequestTypeDef definition
class ListApiDestinationsRequestRequestTypeDef(TypedDict):
NamePrefix: NotRequired[str],
ConnectionArn: NotRequired[str],
NextToken: NotRequired[str],
Limit: NotRequired[int],
ListArchivesRequestRequestTypeDef#
# ListArchivesRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListArchivesRequestRequestTypeDef
def get_value() -> ListArchivesRequestRequestTypeDef:
return {
"NamePrefix": ...,
}
# ListArchivesRequestRequestTypeDef definition
class ListArchivesRequestRequestTypeDef(TypedDict):
NamePrefix: NotRequired[str],
EventSourceArn: NotRequired[str],
State: NotRequired[ArchiveStateType], # (1)
NextToken: NotRequired[str],
Limit: NotRequired[int],
- See ArchiveStateType
ListConnectionsRequestRequestTypeDef#
# ListConnectionsRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListConnectionsRequestRequestTypeDef
def get_value() -> ListConnectionsRequestRequestTypeDef:
return {
"NamePrefix": ...,
}
# ListConnectionsRequestRequestTypeDef definition
class ListConnectionsRequestRequestTypeDef(TypedDict):
NamePrefix: NotRequired[str],
ConnectionState: NotRequired[ConnectionStateType], # (1)
NextToken: NotRequired[str],
Limit: NotRequired[int],
ListEndpointsRequestRequestTypeDef#
# ListEndpointsRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListEndpointsRequestRequestTypeDef
def get_value() -> ListEndpointsRequestRequestTypeDef:
return {
"NamePrefix": ...,
}
# ListEndpointsRequestRequestTypeDef definition
class ListEndpointsRequestRequestTypeDef(TypedDict):
NamePrefix: NotRequired[str],
HomeRegion: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListEventBusesRequestRequestTypeDef#
# ListEventBusesRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListEventBusesRequestRequestTypeDef
def get_value() -> ListEventBusesRequestRequestTypeDef:
return {
"NamePrefix": ...,
}
# ListEventBusesRequestRequestTypeDef definition
class ListEventBusesRequestRequestTypeDef(TypedDict):
NamePrefix: NotRequired[str],
NextToken: NotRequired[str],
Limit: NotRequired[int],
ListEventSourcesRequestRequestTypeDef#
# ListEventSourcesRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListEventSourcesRequestRequestTypeDef
def get_value() -> ListEventSourcesRequestRequestTypeDef:
return {
"NamePrefix": ...,
}
# ListEventSourcesRequestRequestTypeDef definition
class ListEventSourcesRequestRequestTypeDef(TypedDict):
NamePrefix: NotRequired[str],
NextToken: NotRequired[str],
Limit: NotRequired[int],
ListPartnerEventSourceAccountsRequestRequestTypeDef#
# ListPartnerEventSourceAccountsRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListPartnerEventSourceAccountsRequestRequestTypeDef
def get_value() -> ListPartnerEventSourceAccountsRequestRequestTypeDef:
return {
"EventSourceName": ...,
}
# ListPartnerEventSourceAccountsRequestRequestTypeDef definition
class ListPartnerEventSourceAccountsRequestRequestTypeDef(TypedDict):
EventSourceName: str,
NextToken: NotRequired[str],
Limit: NotRequired[int],
PartnerEventSourceAccountTypeDef#
# PartnerEventSourceAccountTypeDef usage example
from mypy_boto3_events.type_defs import PartnerEventSourceAccountTypeDef
def get_value() -> PartnerEventSourceAccountTypeDef:
return {
"Account": ...,
}
# PartnerEventSourceAccountTypeDef definition
class PartnerEventSourceAccountTypeDef(TypedDict):
Account: NotRequired[str],
CreationTime: NotRequired[datetime],
ExpirationTime: NotRequired[datetime],
State: NotRequired[EventSourceStateType], # (1)
ListPartnerEventSourcesRequestRequestTypeDef#
# ListPartnerEventSourcesRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListPartnerEventSourcesRequestRequestTypeDef
def get_value() -> ListPartnerEventSourcesRequestRequestTypeDef:
return {
"NamePrefix": ...,
}
# ListPartnerEventSourcesRequestRequestTypeDef definition
class ListPartnerEventSourcesRequestRequestTypeDef(TypedDict):
NamePrefix: str,
NextToken: NotRequired[str],
Limit: NotRequired[int],
PartnerEventSourceTypeDef#
# PartnerEventSourceTypeDef usage example
from mypy_boto3_events.type_defs import PartnerEventSourceTypeDef
def get_value() -> PartnerEventSourceTypeDef:
return {
"Arn": ...,
}
# PartnerEventSourceTypeDef definition
class PartnerEventSourceTypeDef(TypedDict):
Arn: NotRequired[str],
Name: NotRequired[str],
ListReplaysRequestRequestTypeDef#
# ListReplaysRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListReplaysRequestRequestTypeDef
def get_value() -> ListReplaysRequestRequestTypeDef:
return {
"NamePrefix": ...,
}
# ListReplaysRequestRequestTypeDef definition
class ListReplaysRequestRequestTypeDef(TypedDict):
NamePrefix: NotRequired[str],
State: NotRequired[ReplayStateType], # (1)
EventSourceArn: NotRequired[str],
NextToken: NotRequired[str],
Limit: NotRequired[int],
- See ReplayStateType
ReplayTypeDef#
# ReplayTypeDef usage example
from mypy_boto3_events.type_defs import ReplayTypeDef
def get_value() -> ReplayTypeDef:
return {
"ReplayName": ...,
}
# ReplayTypeDef definition
class ReplayTypeDef(TypedDict):
ReplayName: NotRequired[str],
EventSourceArn: NotRequired[str],
State: NotRequired[ReplayStateType], # (1)
StateReason: NotRequired[str],
EventStartTime: NotRequired[datetime],
EventEndTime: NotRequired[datetime],
EventLastReplayedTime: NotRequired[datetime],
ReplayStartTime: NotRequired[datetime],
ReplayEndTime: NotRequired[datetime],
- See ReplayStateType
ListRuleNamesByTargetRequestListRuleNamesByTargetPaginateTypeDef#
# ListRuleNamesByTargetRequestListRuleNamesByTargetPaginateTypeDef usage example
from mypy_boto3_events.type_defs import ListRuleNamesByTargetRequestListRuleNamesByTargetPaginateTypeDef
def get_value() -> ListRuleNamesByTargetRequestListRuleNamesByTargetPaginateTypeDef:
return {
"TargetArn": ...,
}
# ListRuleNamesByTargetRequestListRuleNamesByTargetPaginateTypeDef definition
class ListRuleNamesByTargetRequestListRuleNamesByTargetPaginateTypeDef(TypedDict):
TargetArn: str,
EventBusName: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRuleNamesByTargetRequestRequestTypeDef#
# ListRuleNamesByTargetRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListRuleNamesByTargetRequestRequestTypeDef
def get_value() -> ListRuleNamesByTargetRequestRequestTypeDef:
return {
"TargetArn": ...,
}
# ListRuleNamesByTargetRequestRequestTypeDef definition
class ListRuleNamesByTargetRequestRequestTypeDef(TypedDict):
TargetArn: str,
EventBusName: NotRequired[str],
NextToken: NotRequired[str],
Limit: NotRequired[int],
ListRuleNamesByTargetResponseTypeDef#
# ListRuleNamesByTargetResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListRuleNamesByTargetResponseTypeDef
def get_value() -> ListRuleNamesByTargetResponseTypeDef:
return {
"RuleNames": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListRuleNamesByTargetResponseTypeDef definition
class ListRuleNamesByTargetResponseTypeDef(TypedDict):
RuleNames: List[str],
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListRulesRequestListRulesPaginateTypeDef#
# ListRulesRequestListRulesPaginateTypeDef usage example
from mypy_boto3_events.type_defs import ListRulesRequestListRulesPaginateTypeDef
def get_value() -> ListRulesRequestListRulesPaginateTypeDef:
return {
"NamePrefix": ...,
}
# ListRulesRequestListRulesPaginateTypeDef definition
class ListRulesRequestListRulesPaginateTypeDef(TypedDict):
NamePrefix: NotRequired[str],
EventBusName: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRulesRequestRequestTypeDef#
# ListRulesRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListRulesRequestRequestTypeDef
def get_value() -> ListRulesRequestRequestTypeDef:
return {
"NamePrefix": ...,
}
# ListRulesRequestRequestTypeDef definition
class ListRulesRequestRequestTypeDef(TypedDict):
NamePrefix: NotRequired[str],
EventBusName: NotRequired[str],
NextToken: NotRequired[str],
Limit: NotRequired[int],
RuleTypeDef#
# RuleTypeDef usage example
from mypy_boto3_events.type_defs import RuleTypeDef
def get_value() -> RuleTypeDef:
return {
"Name": ...,
}
# RuleTypeDef definition
class RuleTypeDef(TypedDict):
Name: NotRequired[str],
Arn: NotRequired[str],
EventPattern: NotRequired[str],
State: NotRequired[RuleStateType], # (1)
Description: NotRequired[str],
ScheduleExpression: NotRequired[str],
RoleArn: NotRequired[str],
ManagedBy: NotRequired[str],
EventBusName: NotRequired[str],
- See RuleStateType
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"ResourceARN": ...,
}
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
ListTargetsByRuleRequestListTargetsByRulePaginateTypeDef#
# ListTargetsByRuleRequestListTargetsByRulePaginateTypeDef usage example
from mypy_boto3_events.type_defs import ListTargetsByRuleRequestListTargetsByRulePaginateTypeDef
def get_value() -> ListTargetsByRuleRequestListTargetsByRulePaginateTypeDef:
return {
"Rule": ...,
}
# ListTargetsByRuleRequestListTargetsByRulePaginateTypeDef definition
class ListTargetsByRuleRequestListTargetsByRulePaginateTypeDef(TypedDict):
Rule: str,
EventBusName: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListTargetsByRuleRequestRequestTypeDef#
# ListTargetsByRuleRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import ListTargetsByRuleRequestRequestTypeDef
def get_value() -> ListTargetsByRuleRequestRequestTypeDef:
return {
"Rule": ...,
}
# ListTargetsByRuleRequestRequestTypeDef definition
class ListTargetsByRuleRequestRequestTypeDef(TypedDict):
Rule: str,
EventBusName: NotRequired[str],
NextToken: NotRequired[str],
Limit: NotRequired[int],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef usage example
from mypy_boto3_events.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
PutEventsRequestEntryTypeDef#
# PutEventsRequestEntryTypeDef usage example
from mypy_boto3_events.type_defs import PutEventsRequestEntryTypeDef
def get_value() -> PutEventsRequestEntryTypeDef:
return {
"Time": ...,
}
# PutEventsRequestEntryTypeDef definition
class PutEventsRequestEntryTypeDef(TypedDict):
Time: NotRequired[Union[datetime, str]],
Source: NotRequired[str],
Resources: NotRequired[Sequence[str]],
DetailType: NotRequired[str],
Detail: NotRequired[str],
EventBusName: NotRequired[str],
TraceHeader: NotRequired[str],
PutEventsResultEntryTypeDef#
# PutEventsResultEntryTypeDef usage example
from mypy_boto3_events.type_defs import PutEventsResultEntryTypeDef
def get_value() -> PutEventsResultEntryTypeDef:
return {
"EventId": ...,
}
# PutEventsResultEntryTypeDef definition
class PutEventsResultEntryTypeDef(TypedDict):
EventId: NotRequired[str],
ErrorCode: NotRequired[str],
ErrorMessage: NotRequired[str],
PutPartnerEventsRequestEntryTypeDef#
# PutPartnerEventsRequestEntryTypeDef usage example
from mypy_boto3_events.type_defs import PutPartnerEventsRequestEntryTypeDef
def get_value() -> PutPartnerEventsRequestEntryTypeDef:
return {
"Time": ...,
}
# PutPartnerEventsRequestEntryTypeDef definition
class PutPartnerEventsRequestEntryTypeDef(TypedDict):
Time: NotRequired[Union[datetime, str]],
Source: NotRequired[str],
Resources: NotRequired[Sequence[str]],
DetailType: NotRequired[str],
Detail: NotRequired[str],
PutPartnerEventsResultEntryTypeDef#
# PutPartnerEventsResultEntryTypeDef usage example
from mypy_boto3_events.type_defs import PutPartnerEventsResultEntryTypeDef
def get_value() -> PutPartnerEventsResultEntryTypeDef:
return {
"EventId": ...,
}
# PutPartnerEventsResultEntryTypeDef definition
class PutPartnerEventsResultEntryTypeDef(TypedDict):
EventId: NotRequired[str],
ErrorCode: NotRequired[str],
ErrorMessage: NotRequired[str],
PutRuleResponseTypeDef#
# PutRuleResponseTypeDef usage example
from mypy_boto3_events.type_defs import PutRuleResponseTypeDef
def get_value() -> PutRuleResponseTypeDef:
return {
"RuleArn": ...,
"ResponseMetadata": ...,
}
# PutRuleResponseTypeDef definition
class PutRuleResponseTypeDef(TypedDict):
RuleArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutTargetsResultEntryTypeDef#
# PutTargetsResultEntryTypeDef usage example
from mypy_boto3_events.type_defs import PutTargetsResultEntryTypeDef
def get_value() -> PutTargetsResultEntryTypeDef:
return {
"TargetId": ...,
}
# PutTargetsResultEntryTypeDef definition
class PutTargetsResultEntryTypeDef(TypedDict):
TargetId: NotRequired[str],
ErrorCode: NotRequired[str],
ErrorMessage: NotRequired[str],
RedshiftDataParametersTypeDef#
# RedshiftDataParametersTypeDef usage example
from mypy_boto3_events.type_defs import RedshiftDataParametersTypeDef
def get_value() -> RedshiftDataParametersTypeDef:
return {
"Database": ...,
}
# RedshiftDataParametersTypeDef definition
class RedshiftDataParametersTypeDef(TypedDict):
Database: str,
SecretManagerArn: NotRequired[str],
DbUser: NotRequired[str],
Sql: NotRequired[str],
StatementName: NotRequired[str],
WithEvent: NotRequired[bool],
Sqls: NotRequired[List[str]],
RemovePermissionRequestRequestTypeDef#
# RemovePermissionRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import RemovePermissionRequestRequestTypeDef
def get_value() -> RemovePermissionRequestRequestTypeDef:
return {
"StatementId": ...,
}
# RemovePermissionRequestRequestTypeDef definition
class RemovePermissionRequestRequestTypeDef(TypedDict):
StatementId: NotRequired[str],
RemoveAllPermissions: NotRequired[bool],
EventBusName: NotRequired[str],
RemoveTargetsRequestRequestTypeDef#
# RemoveTargetsRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import RemoveTargetsRequestRequestTypeDef
def get_value() -> RemoveTargetsRequestRequestTypeDef:
return {
"Rule": ...,
"Ids": ...,
}
# RemoveTargetsRequestRequestTypeDef definition
class RemoveTargetsRequestRequestTypeDef(TypedDict):
Rule: str,
Ids: Sequence[str],
EventBusName: NotRequired[str],
Force: NotRequired[bool],
RemoveTargetsResultEntryTypeDef#
# RemoveTargetsResultEntryTypeDef usage example
from mypy_boto3_events.type_defs import RemoveTargetsResultEntryTypeDef
def get_value() -> RemoveTargetsResultEntryTypeDef:
return {
"TargetId": ...,
}
# RemoveTargetsResultEntryTypeDef definition
class RemoveTargetsResultEntryTypeDef(TypedDict):
TargetId: NotRequired[str],
ErrorCode: NotRequired[str],
ErrorMessage: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_events.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
RetryPolicyTypeDef#
# RetryPolicyTypeDef usage example
from mypy_boto3_events.type_defs import RetryPolicyTypeDef
def get_value() -> RetryPolicyTypeDef:
return {
"MaximumRetryAttempts": ...,
}
# RetryPolicyTypeDef definition
class RetryPolicyTypeDef(TypedDict):
MaximumRetryAttempts: NotRequired[int],
MaximumEventAgeInSeconds: NotRequired[int],
RunCommandTargetTypeDef#
# RunCommandTargetTypeDef usage example
from mypy_boto3_events.type_defs import RunCommandTargetTypeDef
def get_value() -> RunCommandTargetTypeDef:
return {
"Key": ...,
"Values": ...,
}
# RunCommandTargetTypeDef definition
class RunCommandTargetTypeDef(TypedDict):
Key: str,
Values: List[str],
SageMakerPipelineParameterTypeDef#
# SageMakerPipelineParameterTypeDef usage example
from mypy_boto3_events.type_defs import SageMakerPipelineParameterTypeDef
def get_value() -> SageMakerPipelineParameterTypeDef:
return {
"Name": ...,
"Value": ...,
}
# SageMakerPipelineParameterTypeDef definition
class SageMakerPipelineParameterTypeDef(TypedDict):
Name: str,
Value: str,
SqsParametersTypeDef#
# SqsParametersTypeDef usage example
from mypy_boto3_events.type_defs import SqsParametersTypeDef
def get_value() -> SqsParametersTypeDef:
return {
"MessageGroupId": ...,
}
# SqsParametersTypeDef definition
class SqsParametersTypeDef(TypedDict):
MessageGroupId: NotRequired[str],
StartReplayResponseTypeDef#
# StartReplayResponseTypeDef usage example
from mypy_boto3_events.type_defs import StartReplayResponseTypeDef
def get_value() -> StartReplayResponseTypeDef:
return {
"ReplayArn": ...,
"State": ...,
"StateReason": ...,
"ReplayStartTime": ...,
"ResponseMetadata": ...,
}
# StartReplayResponseTypeDef definition
class StartReplayResponseTypeDef(TypedDict):
ReplayArn: str,
State: ReplayStateType, # (1)
StateReason: str,
ReplayStartTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
TestEventPatternRequestRequestTypeDef#
# TestEventPatternRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import TestEventPatternRequestRequestTypeDef
def get_value() -> TestEventPatternRequestRequestTypeDef:
return {
"EventPattern": ...,
"Event": ...,
}
# TestEventPatternRequestRequestTypeDef definition
class TestEventPatternRequestRequestTypeDef(TypedDict):
EventPattern: str,
Event: str,
TestEventPatternResponseTypeDef#
# TestEventPatternResponseTypeDef usage example
from mypy_boto3_events.type_defs import TestEventPatternResponseTypeDef
def get_value() -> TestEventPatternResponseTypeDef:
return {
"Result": ...,
"ResponseMetadata": ...,
}
# TestEventPatternResponseTypeDef definition
class TestEventPatternResponseTypeDef(TypedDict):
Result: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"ResourceARN": ...,
"TagKeys": ...,
}
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
TagKeys: Sequence[str],
UpdateApiDestinationRequestRequestTypeDef#
# UpdateApiDestinationRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import UpdateApiDestinationRequestRequestTypeDef
def get_value() -> UpdateApiDestinationRequestRequestTypeDef:
return {
"Name": ...,
}
# UpdateApiDestinationRequestRequestTypeDef definition
class UpdateApiDestinationRequestRequestTypeDef(TypedDict):
Name: str,
Description: NotRequired[str],
ConnectionArn: NotRequired[str],
InvocationEndpoint: NotRequired[str],
HttpMethod: NotRequired[ApiDestinationHttpMethodType], # (1)
InvocationRateLimitPerSecond: NotRequired[int],
UpdateApiDestinationResponseTypeDef#
# UpdateApiDestinationResponseTypeDef usage example
from mypy_boto3_events.type_defs import UpdateApiDestinationResponseTypeDef
def get_value() -> UpdateApiDestinationResponseTypeDef:
return {
"ApiDestinationArn": ...,
"ApiDestinationState": ...,
"CreationTime": ...,
"LastModifiedTime": ...,
"ResponseMetadata": ...,
}
# UpdateApiDestinationResponseTypeDef definition
class UpdateApiDestinationResponseTypeDef(TypedDict):
ApiDestinationArn: str,
ApiDestinationState: ApiDestinationStateType, # (1)
CreationTime: datetime,
LastModifiedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateArchiveRequestRequestTypeDef#
# UpdateArchiveRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import UpdateArchiveRequestRequestTypeDef
def get_value() -> UpdateArchiveRequestRequestTypeDef:
return {
"ArchiveName": ...,
}
# UpdateArchiveRequestRequestTypeDef definition
class UpdateArchiveRequestRequestTypeDef(TypedDict):
ArchiveName: str,
Description: NotRequired[str],
EventPattern: NotRequired[str],
RetentionDays: NotRequired[int],
UpdateArchiveResponseTypeDef#
# UpdateArchiveResponseTypeDef usage example
from mypy_boto3_events.type_defs import UpdateArchiveResponseTypeDef
def get_value() -> UpdateArchiveResponseTypeDef:
return {
"ArchiveArn": ...,
"State": ...,
"StateReason": ...,
"CreationTime": ...,
"ResponseMetadata": ...,
}
# UpdateArchiveResponseTypeDef definition
class UpdateArchiveResponseTypeDef(TypedDict):
ArchiveArn: str,
State: ArchiveStateType, # (1)
StateReason: str,
CreationTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateConnectionApiKeyAuthRequestParametersTypeDef#
# UpdateConnectionApiKeyAuthRequestParametersTypeDef usage example
from mypy_boto3_events.type_defs import UpdateConnectionApiKeyAuthRequestParametersTypeDef
def get_value() -> UpdateConnectionApiKeyAuthRequestParametersTypeDef:
return {
"ApiKeyName": ...,
}
# UpdateConnectionApiKeyAuthRequestParametersTypeDef definition
class UpdateConnectionApiKeyAuthRequestParametersTypeDef(TypedDict):
ApiKeyName: NotRequired[str],
ApiKeyValue: NotRequired[str],
UpdateConnectionBasicAuthRequestParametersTypeDef#
# UpdateConnectionBasicAuthRequestParametersTypeDef usage example
from mypy_boto3_events.type_defs import UpdateConnectionBasicAuthRequestParametersTypeDef
def get_value() -> UpdateConnectionBasicAuthRequestParametersTypeDef:
return {
"Username": ...,
}
# UpdateConnectionBasicAuthRequestParametersTypeDef definition
class UpdateConnectionBasicAuthRequestParametersTypeDef(TypedDict):
Username: NotRequired[str],
Password: NotRequired[str],
UpdateConnectionOAuthClientRequestParametersTypeDef#
# UpdateConnectionOAuthClientRequestParametersTypeDef usage example
from mypy_boto3_events.type_defs import UpdateConnectionOAuthClientRequestParametersTypeDef
def get_value() -> UpdateConnectionOAuthClientRequestParametersTypeDef:
return {
"ClientID": ...,
}
# UpdateConnectionOAuthClientRequestParametersTypeDef definition
class UpdateConnectionOAuthClientRequestParametersTypeDef(TypedDict):
ClientID: NotRequired[str],
ClientSecret: NotRequired[str],
UpdateConnectionResponseTypeDef#
# UpdateConnectionResponseTypeDef usage example
from mypy_boto3_events.type_defs import UpdateConnectionResponseTypeDef
def get_value() -> UpdateConnectionResponseTypeDef:
return {
"ConnectionArn": ...,
"ConnectionState": ...,
"CreationTime": ...,
"LastModifiedTime": ...,
"LastAuthorizedTime": ...,
"ResponseMetadata": ...,
}
# UpdateConnectionResponseTypeDef definition
class UpdateConnectionResponseTypeDef(TypedDict):
ConnectionArn: str,
ConnectionState: ConnectionStateType, # (1)
CreationTime: datetime,
LastModifiedTime: datetime,
LastAuthorizedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListApiDestinationsResponseTypeDef#
# ListApiDestinationsResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListApiDestinationsResponseTypeDef
def get_value() -> ListApiDestinationsResponseTypeDef:
return {
"ApiDestinations": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListApiDestinationsResponseTypeDef definition
class ListApiDestinationsResponseTypeDef(TypedDict):
ApiDestinations: List[ApiDestinationTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListArchivesResponseTypeDef#
# ListArchivesResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListArchivesResponseTypeDef
def get_value() -> ListArchivesResponseTypeDef:
return {
"Archives": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListArchivesResponseTypeDef definition
class ListArchivesResponseTypeDef(TypedDict):
Archives: List[ArchiveTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NetworkConfigurationTypeDef#
# NetworkConfigurationTypeDef usage example
from mypy_boto3_events.type_defs import NetworkConfigurationTypeDef
def get_value() -> NetworkConfigurationTypeDef:
return {
"awsvpcConfiguration": ...,
}
# NetworkConfigurationTypeDef definition
class NetworkConfigurationTypeDef(TypedDict):
awsvpcConfiguration: NotRequired[AwsVpcConfigurationTypeDef], # (1)
BatchParametersTypeDef#
# BatchParametersTypeDef usage example
from mypy_boto3_events.type_defs import BatchParametersTypeDef
def get_value() -> BatchParametersTypeDef:
return {
"JobDefinition": ...,
"JobName": ...,
}
# BatchParametersTypeDef definition
class BatchParametersTypeDef(TypedDict):
JobDefinition: str,
JobName: str,
ArrayProperties: NotRequired[BatchArrayPropertiesTypeDef], # (1)
RetryStrategy: NotRequired[BatchRetryStrategyTypeDef], # (2)
PutPermissionRequestRequestTypeDef#
# PutPermissionRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import PutPermissionRequestRequestTypeDef
def get_value() -> PutPermissionRequestRequestTypeDef:
return {
"EventBusName": ...,
}
# PutPermissionRequestRequestTypeDef definition
class PutPermissionRequestRequestTypeDef(TypedDict):
EventBusName: NotRequired[str],
Action: NotRequired[str],
Principal: NotRequired[str],
StatementId: NotRequired[str],
Condition: NotRequired[ConditionTypeDef], # (1)
Policy: NotRequired[str],
- See ConditionTypeDef
ConnectionHttpParametersTypeDef#
# ConnectionHttpParametersTypeDef usage example
from mypy_boto3_events.type_defs import ConnectionHttpParametersTypeDef
def get_value() -> ConnectionHttpParametersTypeDef:
return {
"HeaderParameters": ...,
}
# ConnectionHttpParametersTypeDef definition
class ConnectionHttpParametersTypeDef(TypedDict):
HeaderParameters: NotRequired[Sequence[ConnectionHeaderParameterTypeDef]], # (1)
QueryStringParameters: NotRequired[Sequence[ConnectionQueryStringParameterTypeDef]], # (2)
BodyParameters: NotRequired[Sequence[ConnectionBodyParameterTypeDef]], # (3)
- See ConnectionHeaderParameterTypeDef
- See ConnectionQueryStringParameterTypeDef
- See ConnectionBodyParameterTypeDef
ListConnectionsResponseTypeDef#
# ListConnectionsResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListConnectionsResponseTypeDef
def get_value() -> ListConnectionsResponseTypeDef:
return {
"Connections": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListConnectionsResponseTypeDef definition
class ListConnectionsResponseTypeDef(TypedDict):
Connections: List[ConnectionTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateEventBusRequestRequestTypeDef#
# CreateEventBusRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import CreateEventBusRequestRequestTypeDef
def get_value() -> CreateEventBusRequestRequestTypeDef:
return {
"Name": ...,
}
# CreateEventBusRequestRequestTypeDef definition
class CreateEventBusRequestRequestTypeDef(TypedDict):
Name: str,
EventSourceName: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"Tags": ...,
"ResponseMetadata": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
Tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
PutRuleRequestRequestTypeDef#
# PutRuleRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import PutRuleRequestRequestTypeDef
def get_value() -> PutRuleRequestRequestTypeDef:
return {
"Name": ...,
}
# PutRuleRequestRequestTypeDef definition
class PutRuleRequestRequestTypeDef(TypedDict):
Name: str,
ScheduleExpression: NotRequired[str],
EventPattern: NotRequired[str],
State: NotRequired[RuleStateType], # (1)
Description: NotRequired[str],
RoleArn: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (2)
EventBusName: NotRequired[str],
- See RuleStateType
- See TagTypeDef
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"ResourceARN": ...,
"Tags": ...,
}
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
DescribeReplayResponseTypeDef#
# DescribeReplayResponseTypeDef usage example
from mypy_boto3_events.type_defs import DescribeReplayResponseTypeDef
def get_value() -> DescribeReplayResponseTypeDef:
return {
"ReplayName": ...,
"ReplayArn": ...,
"Description": ...,
"State": ...,
"StateReason": ...,
"EventSourceArn": ...,
"Destination": ...,
"EventStartTime": ...,
"EventEndTime": ...,
"EventLastReplayedTime": ...,
"ReplayStartTime": ...,
"ReplayEndTime": ...,
"ResponseMetadata": ...,
}
# DescribeReplayResponseTypeDef definition
class DescribeReplayResponseTypeDef(TypedDict):
ReplayName: str,
ReplayArn: str,
Description: str,
State: ReplayStateType, # (1)
StateReason: str,
EventSourceArn: str,
Destination: ReplayDestinationTypeDef, # (2)
EventStartTime: datetime,
EventEndTime: datetime,
EventLastReplayedTime: datetime,
ReplayStartTime: datetime,
ReplayEndTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
StartReplayRequestRequestTypeDef#
# StartReplayRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import StartReplayRequestRequestTypeDef
def get_value() -> StartReplayRequestRequestTypeDef:
return {
"ReplayName": ...,
"EventSourceArn": ...,
"EventStartTime": ...,
"EventEndTime": ...,
"Destination": ...,
}
# StartReplayRequestRequestTypeDef definition
class StartReplayRequestRequestTypeDef(TypedDict):
ReplayName: str,
EventSourceArn: str,
EventStartTime: Union[datetime, str],
EventEndTime: Union[datetime, str],
Destination: ReplayDestinationTypeDef, # (1)
Description: NotRequired[str],
ListEventBusesResponseTypeDef#
# ListEventBusesResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListEventBusesResponseTypeDef
def get_value() -> ListEventBusesResponseTypeDef:
return {
"EventBuses": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListEventBusesResponseTypeDef definition
class ListEventBusesResponseTypeDef(TypedDict):
EventBuses: List[EventBusTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListEventSourcesResponseTypeDef#
# ListEventSourcesResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListEventSourcesResponseTypeDef
def get_value() -> ListEventSourcesResponseTypeDef:
return {
"EventSources": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListEventSourcesResponseTypeDef definition
class ListEventSourcesResponseTypeDef(TypedDict):
EventSources: List[EventSourceTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
FailoverConfigTypeDef#
# FailoverConfigTypeDef usage example
from mypy_boto3_events.type_defs import FailoverConfigTypeDef
def get_value() -> FailoverConfigTypeDef:
return {
"Primary": ...,
"Secondary": ...,
}
# FailoverConfigTypeDef definition
class FailoverConfigTypeDef(TypedDict):
Primary: PrimaryTypeDef, # (1)
Secondary: SecondaryTypeDef, # (2)
- See PrimaryTypeDef
- See SecondaryTypeDef
ListPartnerEventSourceAccountsResponseTypeDef#
# ListPartnerEventSourceAccountsResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListPartnerEventSourceAccountsResponseTypeDef
def get_value() -> ListPartnerEventSourceAccountsResponseTypeDef:
return {
"PartnerEventSourceAccounts": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListPartnerEventSourceAccountsResponseTypeDef definition
class ListPartnerEventSourceAccountsResponseTypeDef(TypedDict):
PartnerEventSourceAccounts: List[PartnerEventSourceAccountTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListPartnerEventSourcesResponseTypeDef#
# ListPartnerEventSourcesResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListPartnerEventSourcesResponseTypeDef
def get_value() -> ListPartnerEventSourcesResponseTypeDef:
return {
"PartnerEventSources": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListPartnerEventSourcesResponseTypeDef definition
class ListPartnerEventSourcesResponseTypeDef(TypedDict):
PartnerEventSources: List[PartnerEventSourceTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListReplaysResponseTypeDef#
# ListReplaysResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListReplaysResponseTypeDef
def get_value() -> ListReplaysResponseTypeDef:
return {
"Replays": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListReplaysResponseTypeDef definition
class ListReplaysResponseTypeDef(TypedDict):
Replays: List[ReplayTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See ReplayTypeDef
- See ResponseMetadataTypeDef
ListRulesResponseTypeDef#
# ListRulesResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListRulesResponseTypeDef
def get_value() -> ListRulesResponseTypeDef:
return {
"Rules": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListRulesResponseTypeDef definition
class ListRulesResponseTypeDef(TypedDict):
Rules: List[RuleTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See RuleTypeDef
- See ResponseMetadataTypeDef
PutEventsRequestRequestTypeDef#
# PutEventsRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import PutEventsRequestRequestTypeDef
def get_value() -> PutEventsRequestRequestTypeDef:
return {
"Entries": ...,
}
# PutEventsRequestRequestTypeDef definition
class PutEventsRequestRequestTypeDef(TypedDict):
Entries: Sequence[PutEventsRequestEntryTypeDef], # (1)
EndpointId: NotRequired[str],
PutEventsResponseTypeDef#
# PutEventsResponseTypeDef usage example
from mypy_boto3_events.type_defs import PutEventsResponseTypeDef
def get_value() -> PutEventsResponseTypeDef:
return {
"FailedEntryCount": ...,
"Entries": ...,
"ResponseMetadata": ...,
}
# PutEventsResponseTypeDef definition
class PutEventsResponseTypeDef(TypedDict):
FailedEntryCount: int,
Entries: List[PutEventsResultEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutPartnerEventsRequestRequestTypeDef#
# PutPartnerEventsRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import PutPartnerEventsRequestRequestTypeDef
def get_value() -> PutPartnerEventsRequestRequestTypeDef:
return {
"Entries": ...,
}
# PutPartnerEventsRequestRequestTypeDef definition
class PutPartnerEventsRequestRequestTypeDef(TypedDict):
Entries: Sequence[PutPartnerEventsRequestEntryTypeDef], # (1)
PutPartnerEventsResponseTypeDef#
# PutPartnerEventsResponseTypeDef usage example
from mypy_boto3_events.type_defs import PutPartnerEventsResponseTypeDef
def get_value() -> PutPartnerEventsResponseTypeDef:
return {
"FailedEntryCount": ...,
"Entries": ...,
"ResponseMetadata": ...,
}
# PutPartnerEventsResponseTypeDef definition
class PutPartnerEventsResponseTypeDef(TypedDict):
FailedEntryCount: int,
Entries: List[PutPartnerEventsResultEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutTargetsResponseTypeDef#
# PutTargetsResponseTypeDef usage example
from mypy_boto3_events.type_defs import PutTargetsResponseTypeDef
def get_value() -> PutTargetsResponseTypeDef:
return {
"FailedEntryCount": ...,
"FailedEntries": ...,
"ResponseMetadata": ...,
}
# PutTargetsResponseTypeDef definition
class PutTargetsResponseTypeDef(TypedDict):
FailedEntryCount: int,
FailedEntries: List[PutTargetsResultEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RemoveTargetsResponseTypeDef#
# RemoveTargetsResponseTypeDef usage example
from mypy_boto3_events.type_defs import RemoveTargetsResponseTypeDef
def get_value() -> RemoveTargetsResponseTypeDef:
return {
"FailedEntryCount": ...,
"FailedEntries": ...,
"ResponseMetadata": ...,
}
# RemoveTargetsResponseTypeDef definition
class RemoveTargetsResponseTypeDef(TypedDict):
FailedEntryCount: int,
FailedEntries: List[RemoveTargetsResultEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RunCommandParametersTypeDef#
# RunCommandParametersTypeDef usage example
from mypy_boto3_events.type_defs import RunCommandParametersTypeDef
def get_value() -> RunCommandParametersTypeDef:
return {
"RunCommandTargets": ...,
}
# RunCommandParametersTypeDef definition
class RunCommandParametersTypeDef(TypedDict):
RunCommandTargets: List[RunCommandTargetTypeDef], # (1)
SageMakerPipelineParametersTypeDef#
# SageMakerPipelineParametersTypeDef usage example
from mypy_boto3_events.type_defs import SageMakerPipelineParametersTypeDef
def get_value() -> SageMakerPipelineParametersTypeDef:
return {
"PipelineParameterList": ...,
}
# SageMakerPipelineParametersTypeDef definition
class SageMakerPipelineParametersTypeDef(TypedDict):
PipelineParameterList: NotRequired[List[SageMakerPipelineParameterTypeDef]], # (1)
EcsParametersTypeDef#
# EcsParametersTypeDef usage example
from mypy_boto3_events.type_defs import EcsParametersTypeDef
def get_value() -> EcsParametersTypeDef:
return {
"TaskDefinitionArn": ...,
}
# EcsParametersTypeDef definition
class EcsParametersTypeDef(TypedDict):
TaskDefinitionArn: str,
TaskCount: NotRequired[int],
LaunchType: NotRequired[LaunchTypeType], # (1)
NetworkConfiguration: NotRequired[NetworkConfigurationTypeDef], # (2)
PlatformVersion: NotRequired[str],
Group: NotRequired[str],
CapacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]], # (3)
EnableECSManagedTags: NotRequired[bool],
EnableExecuteCommand: NotRequired[bool],
PlacementConstraints: NotRequired[List[PlacementConstraintTypeDef]], # (4)
PlacementStrategy: NotRequired[List[PlacementStrategyTypeDef]], # (5)
PropagateTags: NotRequired[PropagateTagsType], # (6)
ReferenceId: NotRequired[str],
Tags: NotRequired[List[TagTypeDef]], # (7)
- See LaunchTypeType
- See NetworkConfigurationTypeDef
- See CapacityProviderStrategyItemTypeDef
- See PlacementConstraintTypeDef
- See PlacementStrategyTypeDef
- See PropagateTagsType
- See TagTypeDef
ConnectionOAuthResponseParametersTypeDef#
# ConnectionOAuthResponseParametersTypeDef usage example
from mypy_boto3_events.type_defs import ConnectionOAuthResponseParametersTypeDef
def get_value() -> ConnectionOAuthResponseParametersTypeDef:
return {
"ClientParameters": ...,
}
# ConnectionOAuthResponseParametersTypeDef definition
class ConnectionOAuthResponseParametersTypeDef(TypedDict):
ClientParameters: NotRequired[ConnectionOAuthClientResponseParametersTypeDef], # (1)
AuthorizationEndpoint: NotRequired[str],
HttpMethod: NotRequired[ConnectionOAuthHttpMethodType], # (2)
OAuthHttpParameters: NotRequired[ConnectionHttpParametersTypeDef], # (3)
- See ConnectionOAuthClientResponseParametersTypeDef
- See ConnectionOAuthHttpMethodType
- See ConnectionHttpParametersTypeDef
CreateConnectionOAuthRequestParametersTypeDef#
# CreateConnectionOAuthRequestParametersTypeDef usage example
from mypy_boto3_events.type_defs import CreateConnectionOAuthRequestParametersTypeDef
def get_value() -> CreateConnectionOAuthRequestParametersTypeDef:
return {
"ClientParameters": ...,
"AuthorizationEndpoint": ...,
"HttpMethod": ...,
}
# CreateConnectionOAuthRequestParametersTypeDef definition
class CreateConnectionOAuthRequestParametersTypeDef(TypedDict):
ClientParameters: CreateConnectionOAuthClientRequestParametersTypeDef, # (1)
AuthorizationEndpoint: str,
HttpMethod: ConnectionOAuthHttpMethodType, # (2)
OAuthHttpParameters: NotRequired[ConnectionHttpParametersTypeDef], # (3)
- See CreateConnectionOAuthClientRequestParametersTypeDef
- See ConnectionOAuthHttpMethodType
- See ConnectionHttpParametersTypeDef
UpdateConnectionOAuthRequestParametersTypeDef#
# UpdateConnectionOAuthRequestParametersTypeDef usage example
from mypy_boto3_events.type_defs import UpdateConnectionOAuthRequestParametersTypeDef
def get_value() -> UpdateConnectionOAuthRequestParametersTypeDef:
return {
"ClientParameters": ...,
}
# UpdateConnectionOAuthRequestParametersTypeDef definition
class UpdateConnectionOAuthRequestParametersTypeDef(TypedDict):
ClientParameters: NotRequired[UpdateConnectionOAuthClientRequestParametersTypeDef], # (1)
AuthorizationEndpoint: NotRequired[str],
HttpMethod: NotRequired[ConnectionOAuthHttpMethodType], # (2)
OAuthHttpParameters: NotRequired[ConnectionHttpParametersTypeDef], # (3)
- See UpdateConnectionOAuthClientRequestParametersTypeDef
- See ConnectionOAuthHttpMethodType
- See ConnectionHttpParametersTypeDef
RoutingConfigTypeDef#
# RoutingConfigTypeDef usage example
from mypy_boto3_events.type_defs import RoutingConfigTypeDef
def get_value() -> RoutingConfigTypeDef:
return {
"FailoverConfig": ...,
}
# RoutingConfigTypeDef definition
class RoutingConfigTypeDef(TypedDict):
FailoverConfig: FailoverConfigTypeDef, # (1)
TargetTypeDef#
# TargetTypeDef usage example
from mypy_boto3_events.type_defs import TargetTypeDef
def get_value() -> TargetTypeDef:
return {
"Id": ...,
"Arn": ...,
}
# TargetTypeDef definition
class TargetTypeDef(TypedDict):
Id: str,
Arn: str,
RoleArn: NotRequired[str],
Input: NotRequired[str],
InputPath: NotRequired[str],
InputTransformer: NotRequired[InputTransformerTypeDef], # (1)
KinesisParameters: NotRequired[KinesisParametersTypeDef], # (2)
RunCommandParameters: NotRequired[RunCommandParametersTypeDef], # (3)
EcsParameters: NotRequired[EcsParametersTypeDef], # (4)
BatchParameters: NotRequired[BatchParametersTypeDef], # (5)
SqsParameters: NotRequired[SqsParametersTypeDef], # (6)
HttpParameters: NotRequired[HttpParametersTypeDef], # (7)
RedshiftDataParameters: NotRequired[RedshiftDataParametersTypeDef], # (8)
SageMakerPipelineParameters: NotRequired[SageMakerPipelineParametersTypeDef], # (9)
DeadLetterConfig: NotRequired[DeadLetterConfigTypeDef], # (10)
RetryPolicy: NotRequired[RetryPolicyTypeDef], # (11)
- See InputTransformerTypeDef
- See KinesisParametersTypeDef
- See RunCommandParametersTypeDef
- See EcsParametersTypeDef
- See BatchParametersTypeDef
- See SqsParametersTypeDef
- See HttpParametersTypeDef
- See RedshiftDataParametersTypeDef
- See SageMakerPipelineParametersTypeDef
- See DeadLetterConfigTypeDef
- See RetryPolicyTypeDef
ConnectionAuthResponseParametersTypeDef#
# ConnectionAuthResponseParametersTypeDef usage example
from mypy_boto3_events.type_defs import ConnectionAuthResponseParametersTypeDef
def get_value() -> ConnectionAuthResponseParametersTypeDef:
return {
"BasicAuthParameters": ...,
}
# ConnectionAuthResponseParametersTypeDef definition
class ConnectionAuthResponseParametersTypeDef(TypedDict):
BasicAuthParameters: NotRequired[ConnectionBasicAuthResponseParametersTypeDef], # (1)
OAuthParameters: NotRequired[ConnectionOAuthResponseParametersTypeDef], # (2)
ApiKeyAuthParameters: NotRequired[ConnectionApiKeyAuthResponseParametersTypeDef], # (3)
InvocationHttpParameters: NotRequired[ConnectionHttpParametersTypeDef], # (4)
- See ConnectionBasicAuthResponseParametersTypeDef
- See ConnectionOAuthResponseParametersTypeDef
- See ConnectionApiKeyAuthResponseParametersTypeDef
- See ConnectionHttpParametersTypeDef
CreateConnectionAuthRequestParametersTypeDef#
# CreateConnectionAuthRequestParametersTypeDef usage example
from mypy_boto3_events.type_defs import CreateConnectionAuthRequestParametersTypeDef
def get_value() -> CreateConnectionAuthRequestParametersTypeDef:
return {
"BasicAuthParameters": ...,
}
# CreateConnectionAuthRequestParametersTypeDef definition
class CreateConnectionAuthRequestParametersTypeDef(TypedDict):
BasicAuthParameters: NotRequired[CreateConnectionBasicAuthRequestParametersTypeDef], # (1)
OAuthParameters: NotRequired[CreateConnectionOAuthRequestParametersTypeDef], # (2)
ApiKeyAuthParameters: NotRequired[CreateConnectionApiKeyAuthRequestParametersTypeDef], # (3)
InvocationHttpParameters: NotRequired[ConnectionHttpParametersTypeDef], # (4)
- See CreateConnectionBasicAuthRequestParametersTypeDef
- See CreateConnectionOAuthRequestParametersTypeDef
- See CreateConnectionApiKeyAuthRequestParametersTypeDef
- See ConnectionHttpParametersTypeDef
UpdateConnectionAuthRequestParametersTypeDef#
# UpdateConnectionAuthRequestParametersTypeDef usage example
from mypy_boto3_events.type_defs import UpdateConnectionAuthRequestParametersTypeDef
def get_value() -> UpdateConnectionAuthRequestParametersTypeDef:
return {
"BasicAuthParameters": ...,
}
# UpdateConnectionAuthRequestParametersTypeDef definition
class UpdateConnectionAuthRequestParametersTypeDef(TypedDict):
BasicAuthParameters: NotRequired[UpdateConnectionBasicAuthRequestParametersTypeDef], # (1)
OAuthParameters: NotRequired[UpdateConnectionOAuthRequestParametersTypeDef], # (2)
ApiKeyAuthParameters: NotRequired[UpdateConnectionApiKeyAuthRequestParametersTypeDef], # (3)
InvocationHttpParameters: NotRequired[ConnectionHttpParametersTypeDef], # (4)
- See UpdateConnectionBasicAuthRequestParametersTypeDef
- See UpdateConnectionOAuthRequestParametersTypeDef
- See UpdateConnectionApiKeyAuthRequestParametersTypeDef
- See ConnectionHttpParametersTypeDef
CreateEndpointRequestRequestTypeDef#
# CreateEndpointRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import CreateEndpointRequestRequestTypeDef
def get_value() -> CreateEndpointRequestRequestTypeDef:
return {
"Name": ...,
"RoutingConfig": ...,
"EventBuses": ...,
}
# CreateEndpointRequestRequestTypeDef definition
class CreateEndpointRequestRequestTypeDef(TypedDict):
Name: str,
RoutingConfig: RoutingConfigTypeDef, # (1)
EventBuses: Sequence[EndpointEventBusTypeDef], # (2)
Description: NotRequired[str],
ReplicationConfig: NotRequired[ReplicationConfigTypeDef], # (3)
RoleArn: NotRequired[str],
CreateEndpointResponseTypeDef#
# CreateEndpointResponseTypeDef usage example
from mypy_boto3_events.type_defs import CreateEndpointResponseTypeDef
def get_value() -> CreateEndpointResponseTypeDef:
return {
"Name": ...,
"Arn": ...,
"RoutingConfig": ...,
"ReplicationConfig": ...,
"EventBuses": ...,
"RoleArn": ...,
"State": ...,
"ResponseMetadata": ...,
}
# CreateEndpointResponseTypeDef definition
class CreateEndpointResponseTypeDef(TypedDict):
Name: str,
Arn: str,
RoutingConfig: RoutingConfigTypeDef, # (1)
ReplicationConfig: ReplicationConfigTypeDef, # (2)
EventBuses: List[EndpointEventBusTypeDef], # (3)
RoleArn: str,
State: EndpointStateType, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See RoutingConfigTypeDef
- See ReplicationConfigTypeDef
- See EndpointEventBusTypeDef
- See EndpointStateType
- See ResponseMetadataTypeDef
DescribeEndpointResponseTypeDef#
# DescribeEndpointResponseTypeDef usage example
from mypy_boto3_events.type_defs import DescribeEndpointResponseTypeDef
def get_value() -> DescribeEndpointResponseTypeDef:
return {
"Name": ...,
"Description": ...,
"Arn": ...,
"RoutingConfig": ...,
"ReplicationConfig": ...,
"EventBuses": ...,
"RoleArn": ...,
"EndpointId": ...,
"EndpointUrl": ...,
"State": ...,
"StateReason": ...,
"CreationTime": ...,
"LastModifiedTime": ...,
"ResponseMetadata": ...,
}
# DescribeEndpointResponseTypeDef definition
class DescribeEndpointResponseTypeDef(TypedDict):
Name: str,
Description: str,
Arn: str,
RoutingConfig: RoutingConfigTypeDef, # (1)
ReplicationConfig: ReplicationConfigTypeDef, # (2)
EventBuses: List[EndpointEventBusTypeDef], # (3)
RoleArn: str,
EndpointId: str,
EndpointUrl: str,
State: EndpointStateType, # (4)
StateReason: str,
CreationTime: datetime,
LastModifiedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See RoutingConfigTypeDef
- See ReplicationConfigTypeDef
- See EndpointEventBusTypeDef
- See EndpointStateType
- See ResponseMetadataTypeDef
EndpointTypeDef#
# EndpointTypeDef usage example
from mypy_boto3_events.type_defs import EndpointTypeDef
def get_value() -> EndpointTypeDef:
return {
"Name": ...,
}
# EndpointTypeDef definition
class EndpointTypeDef(TypedDict):
Name: NotRequired[str],
Description: NotRequired[str],
Arn: NotRequired[str],
RoutingConfig: NotRequired[RoutingConfigTypeDef], # (1)
ReplicationConfig: NotRequired[ReplicationConfigTypeDef], # (2)
EventBuses: NotRequired[List[EndpointEventBusTypeDef]], # (3)
RoleArn: NotRequired[str],
EndpointId: NotRequired[str],
EndpointUrl: NotRequired[str],
State: NotRequired[EndpointStateType], # (4)
StateReason: NotRequired[str],
CreationTime: NotRequired[datetime],
LastModifiedTime: NotRequired[datetime],
- See RoutingConfigTypeDef
- See ReplicationConfigTypeDef
- See EndpointEventBusTypeDef
- See EndpointStateType
UpdateEndpointRequestRequestTypeDef#
# UpdateEndpointRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import UpdateEndpointRequestRequestTypeDef
def get_value() -> UpdateEndpointRequestRequestTypeDef:
return {
"Name": ...,
}
# UpdateEndpointRequestRequestTypeDef definition
class UpdateEndpointRequestRequestTypeDef(TypedDict):
Name: str,
Description: NotRequired[str],
RoutingConfig: NotRequired[RoutingConfigTypeDef], # (1)
ReplicationConfig: NotRequired[ReplicationConfigTypeDef], # (2)
EventBuses: NotRequired[Sequence[EndpointEventBusTypeDef]], # (3)
RoleArn: NotRequired[str],
UpdateEndpointResponseTypeDef#
# UpdateEndpointResponseTypeDef usage example
from mypy_boto3_events.type_defs import UpdateEndpointResponseTypeDef
def get_value() -> UpdateEndpointResponseTypeDef:
return {
"Name": ...,
"Arn": ...,
"RoutingConfig": ...,
"ReplicationConfig": ...,
"EventBuses": ...,
"RoleArn": ...,
"EndpointId": ...,
"EndpointUrl": ...,
"State": ...,
"ResponseMetadata": ...,
}
# UpdateEndpointResponseTypeDef definition
class UpdateEndpointResponseTypeDef(TypedDict):
Name: str,
Arn: str,
RoutingConfig: RoutingConfigTypeDef, # (1)
ReplicationConfig: ReplicationConfigTypeDef, # (2)
EventBuses: List[EndpointEventBusTypeDef], # (3)
RoleArn: str,
EndpointId: str,
EndpointUrl: str,
State: EndpointStateType, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See RoutingConfigTypeDef
- See ReplicationConfigTypeDef
- See EndpointEventBusTypeDef
- See EndpointStateType
- See ResponseMetadataTypeDef
ListTargetsByRuleResponseTypeDef#
# ListTargetsByRuleResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListTargetsByRuleResponseTypeDef
def get_value() -> ListTargetsByRuleResponseTypeDef:
return {
"Targets": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListTargetsByRuleResponseTypeDef definition
class ListTargetsByRuleResponseTypeDef(TypedDict):
Targets: List[TargetTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TargetTypeDef
- See ResponseMetadataTypeDef
PutTargetsRequestRequestTypeDef#
# PutTargetsRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import PutTargetsRequestRequestTypeDef
def get_value() -> PutTargetsRequestRequestTypeDef:
return {
"Rule": ...,
"Targets": ...,
}
# PutTargetsRequestRequestTypeDef definition
class PutTargetsRequestRequestTypeDef(TypedDict):
Rule: str,
Targets: Sequence[TargetTypeDef], # (1)
EventBusName: NotRequired[str],
- See TargetTypeDef
DescribeConnectionResponseTypeDef#
# DescribeConnectionResponseTypeDef usage example
from mypy_boto3_events.type_defs import DescribeConnectionResponseTypeDef
def get_value() -> DescribeConnectionResponseTypeDef:
return {
"ConnectionArn": ...,
"Name": ...,
"Description": ...,
"ConnectionState": ...,
"StateReason": ...,
"AuthorizationType": ...,
"SecretArn": ...,
"AuthParameters": ...,
"CreationTime": ...,
"LastModifiedTime": ...,
"LastAuthorizedTime": ...,
"ResponseMetadata": ...,
}
# DescribeConnectionResponseTypeDef definition
class DescribeConnectionResponseTypeDef(TypedDict):
ConnectionArn: str,
Name: str,
Description: str,
ConnectionState: ConnectionStateType, # (1)
StateReason: str,
AuthorizationType: ConnectionAuthorizationTypeType, # (2)
SecretArn: str,
AuthParameters: ConnectionAuthResponseParametersTypeDef, # (3)
CreationTime: datetime,
LastModifiedTime: datetime,
LastAuthorizedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See ConnectionStateType
- See ConnectionAuthorizationTypeType
- See ConnectionAuthResponseParametersTypeDef
- See ResponseMetadataTypeDef
CreateConnectionRequestRequestTypeDef#
# CreateConnectionRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import CreateConnectionRequestRequestTypeDef
def get_value() -> CreateConnectionRequestRequestTypeDef:
return {
"Name": ...,
"AuthorizationType": ...,
"AuthParameters": ...,
}
# CreateConnectionRequestRequestTypeDef definition
class CreateConnectionRequestRequestTypeDef(TypedDict):
Name: str,
AuthorizationType: ConnectionAuthorizationTypeType, # (1)
AuthParameters: CreateConnectionAuthRequestParametersTypeDef, # (2)
Description: NotRequired[str],
UpdateConnectionRequestRequestTypeDef#
# UpdateConnectionRequestRequestTypeDef usage example
from mypy_boto3_events.type_defs import UpdateConnectionRequestRequestTypeDef
def get_value() -> UpdateConnectionRequestRequestTypeDef:
return {
"Name": ...,
}
# UpdateConnectionRequestRequestTypeDef definition
class UpdateConnectionRequestRequestTypeDef(TypedDict):
Name: str,
Description: NotRequired[str],
AuthorizationType: NotRequired[ConnectionAuthorizationTypeType], # (1)
AuthParameters: NotRequired[UpdateConnectionAuthRequestParametersTypeDef], # (2)
ListEndpointsResponseTypeDef#
# ListEndpointsResponseTypeDef usage example
from mypy_boto3_events.type_defs import ListEndpointsResponseTypeDef
def get_value() -> ListEndpointsResponseTypeDef:
return {
"Endpoints": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListEndpointsResponseTypeDef definition
class ListEndpointsResponseTypeDef(TypedDict):
Endpoints: List[EndpointTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)