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