EventBridge module#
Index > EventBridge
Auto-generated documentation for EventBridge type annotations stubs module mypy-boto3-events.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
EventBridge
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and EventBridge
.
From PyPI with pip#
Install boto3-stubs
for EventBridge
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[events]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[events]'
# standalone installation
python -m pip install mypy-boto3-events
How to uninstall#
python -m pip uninstall -y mypy-boto3-events
Usage#
Code samples can be found in Examples.
EventBridgeClient#
Type annotations and code completion for boto3.client("events")
as EventBridgeClient
boto3 documentation
# EventBridgeClient usage example
from boto3.session import Session
from mypy_boto3_events.client import EventBridgeClient
def get_client() -> EventBridgeClient:
return Session().client("events")
Paginators#
Type annotations and code completion for paginators
from boto3.client("events").get_paginator("...")
.
# ListRuleNamesByTargetPaginator usage example
from boto3.session import Session
from mypy_boto3_events.paginator import ListRuleNamesByTargetPaginator
def get_list_rule_names_by_target_paginator() -> ListRuleNamesByTargetPaginator:
return Session().client("events").get_paginator("list_rule_names_by_target"))
Literals#
Type annotations for literals used in methods and schema.
# ApiDestinationHttpMethodType usage example
from mypy_boto3_events.literals import ApiDestinationHttpMethodType
def get_value() -> ApiDestinationHttpMethodType:
return "DELETE"
- ApiDestinationHttpMethodType
- ApiDestinationStateType
- ArchiveStateType
- AssignPublicIpType
- ConnectionAuthorizationTypeType
- ConnectionOAuthHttpMethodType
- ConnectionStateType
- EndpointStateType
- EventSourceStateType
- LaunchTypeType
- ListRuleNamesByTargetPaginatorName
- ListRulesPaginatorName
- ListTargetsByRulePaginatorName
- PlacementConstraintTypeType
- PlacementStrategyTypeType
- PropagateTagsType
- ReplayStateType
- ReplicationStateType
- RuleStateType
- EventBridgeServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- ActivateEventSourceRequestRequestTypeDef
- ApiDestinationTypeDef
- AppSyncParametersTypeDef
- ArchiveTypeDef
- AwsVpcConfigurationOutputTypeDef
- AwsVpcConfigurationTypeDef
- BatchArrayPropertiesTypeDef
- BatchRetryStrategyTypeDef
- CancelReplayRequestRequestTypeDef
- ResponseMetadataTypeDef
- CapacityProviderStrategyItemTypeDef
- ConditionTypeDef
- ConnectionApiKeyAuthResponseParametersTypeDef
- ConnectionBasicAuthResponseParametersTypeDef
- ConnectionBodyParameterTypeDef
- ConnectionHeaderParameterTypeDef
- ConnectionQueryStringParameterTypeDef
- ConnectionOAuthClientResponseParametersTypeDef
- ConnectionTypeDef
- ConnectivityResourceConfigurationArnTypeDef
- CreateApiDestinationRequestRequestTypeDef
- CreateArchiveRequestRequestTypeDef
- CreateConnectionApiKeyAuthRequestParametersTypeDef
- CreateConnectionBasicAuthRequestParametersTypeDef
- CreateConnectionOAuthClientRequestParametersTypeDef
- EndpointEventBusTypeDef
- ReplicationConfigTypeDef
- DeadLetterConfigTypeDef
- TagTypeDef
- CreatePartnerEventSourceRequestRequestTypeDef
- DeactivateEventSourceRequestRequestTypeDef
- DeauthorizeConnectionRequestRequestTypeDef
- DeleteApiDestinationRequestRequestTypeDef
- DeleteArchiveRequestRequestTypeDef
- DeleteConnectionRequestRequestTypeDef
- DeleteEndpointRequestRequestTypeDef
- DeleteEventBusRequestRequestTypeDef
- DeletePartnerEventSourceRequestRequestTypeDef
- DeleteRuleRequestRequestTypeDef
- DescribeApiDestinationRequestRequestTypeDef
- DescribeArchiveRequestRequestTypeDef
- DescribeConnectionResourceParametersTypeDef
- DescribeConnectionRequestRequestTypeDef
- DescribeEndpointRequestRequestTypeDef
- DescribeEventBusRequestRequestTypeDef
- DescribeEventSourceRequestRequestTypeDef
- DescribePartnerEventSourceRequestRequestTypeDef
- DescribeReplayRequestRequestTypeDef
- ReplayDestinationOutputTypeDef
- DescribeRuleRequestRequestTypeDef
- DisableRuleRequestRequestTypeDef
- PlacementConstraintTypeDef
- PlacementStrategyTypeDef
- EnableRuleRequestRequestTypeDef
- EventBusTypeDef
- EventSourceTypeDef
- PrimaryTypeDef
- SecondaryTypeDef
- HttpParametersOutputTypeDef
- HttpParametersTypeDef
- InputTransformerOutputTypeDef
- InputTransformerTypeDef
- KinesisParametersTypeDef
- ListApiDestinationsRequestRequestTypeDef
- ListArchivesRequestRequestTypeDef
- ListConnectionsRequestRequestTypeDef
- ListEndpointsRequestRequestTypeDef
- ListEventBusesRequestRequestTypeDef
- ListEventSourcesRequestRequestTypeDef
- ListPartnerEventSourceAccountsRequestRequestTypeDef
- PartnerEventSourceAccountTypeDef
- ListPartnerEventSourcesRequestRequestTypeDef
- PartnerEventSourceTypeDef
- ListReplaysRequestRequestTypeDef
- ReplayTypeDef
- PaginatorConfigTypeDef
- ListRuleNamesByTargetRequestRequestTypeDef
- ListRulesRequestRequestTypeDef
- RuleTypeDef
- ListTagsForResourceRequestRequestTypeDef
- ListTargetsByRuleRequestRequestTypeDef
- TimestampTypeDef
- PutEventsResultEntryTypeDef
- PutPartnerEventsResultEntryTypeDef
- PutTargetsResultEntryTypeDef
- RedshiftDataParametersOutputTypeDef
- RedshiftDataParametersTypeDef
- RemovePermissionRequestRequestTypeDef
- RemoveTargetsRequestRequestTypeDef
- RemoveTargetsResultEntryTypeDef
- ReplayDestinationTypeDef
- RetryPolicyTypeDef
- RunCommandTargetOutputTypeDef
- RunCommandTargetTypeDef
- SageMakerPipelineParameterTypeDef
- SqsParametersTypeDef
- TestEventPatternRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateApiDestinationRequestRequestTypeDef
- UpdateArchiveRequestRequestTypeDef
- UpdateConnectionApiKeyAuthRequestParametersTypeDef
- UpdateConnectionBasicAuthRequestParametersTypeDef
- UpdateConnectionOAuthClientRequestParametersTypeDef
- NetworkConfigurationOutputTypeDef
- AwsVpcConfigurationUnionTypeDef
- BatchParametersTypeDef
- CancelReplayResponseTypeDef
- CreateApiDestinationResponseTypeDef
- CreateArchiveResponseTypeDef
- CreateConnectionResponseTypeDef
- CreatePartnerEventSourceResponseTypeDef
- DeauthorizeConnectionResponseTypeDef
- DeleteConnectionResponseTypeDef
- DescribeApiDestinationResponseTypeDef
- DescribeArchiveResponseTypeDef
- DescribeEventSourceResponseTypeDef
- DescribePartnerEventSourceResponseTypeDef
- DescribeRuleResponseTypeDef
- EmptyResponseMetadataTypeDef
- ListApiDestinationsResponseTypeDef
- ListArchivesResponseTypeDef
- ListRuleNamesByTargetResponseTypeDef
- PutRuleResponseTypeDef
- StartReplayResponseTypeDef
- TestEventPatternResponseTypeDef
- UpdateApiDestinationResponseTypeDef
- UpdateArchiveResponseTypeDef
- UpdateConnectionResponseTypeDef
- PutPermissionRequestRequestTypeDef
- ConnectionHttpParametersOutputTypeDef
- ConnectionHttpParametersTypeDef
- ListConnectionsResponseTypeDef
- ConnectivityResourceParametersTypeDef
- CreateEventBusResponseTypeDef
- DescribeEventBusResponseTypeDef
- UpdateEventBusRequestRequestTypeDef
- UpdateEventBusResponseTypeDef
- CreateEventBusRequestRequestTypeDef
- ListTagsForResourceResponseTypeDef
- PutRuleRequestRequestTypeDef
- TagResourceRequestRequestTypeDef
- DescribeConnectionConnectivityParametersTypeDef
- DescribeReplayResponseTypeDef
- ListEventBusesResponseTypeDef
- ListEventSourcesResponseTypeDef
- FailoverConfigTypeDef
- HttpParametersUnionTypeDef
- InputTransformerUnionTypeDef
- ListPartnerEventSourceAccountsResponseTypeDef
- ListPartnerEventSourcesResponseTypeDef
- ListReplaysResponseTypeDef
- ListRuleNamesByTargetRequestPaginateTypeDef
- ListRulesRequestPaginateTypeDef
- ListTargetsByRuleRequestPaginateTypeDef
- ListRulesResponseTypeDef
- PutEventsRequestEntryTypeDef
- PutPartnerEventsRequestEntryTypeDef
- PutEventsResponseTypeDef
- PutPartnerEventsResponseTypeDef
- PutTargetsResponseTypeDef
- RedshiftDataParametersUnionTypeDef
- RemoveTargetsResponseTypeDef
- StartReplayRequestRequestTypeDef
- RunCommandParametersOutputTypeDef
- RunCommandTargetUnionTypeDef
- SageMakerPipelineParametersOutputTypeDef
- SageMakerPipelineParametersTypeDef
- EcsParametersOutputTypeDef
- NetworkConfigurationTypeDef
- ConnectionOAuthResponseParametersTypeDef
- ConnectionHttpParametersUnionTypeDef
- RoutingConfigTypeDef
- PutEventsRequestRequestTypeDef
- PutPartnerEventsRequestRequestTypeDef
- RunCommandParametersTypeDef
- SageMakerPipelineParametersUnionTypeDef
- TargetOutputTypeDef
- NetworkConfigurationUnionTypeDef
- ConnectionAuthResponseParametersTypeDef
- CreateConnectionOAuthRequestParametersTypeDef
- UpdateConnectionOAuthRequestParametersTypeDef
- CreateEndpointRequestRequestTypeDef
- CreateEndpointResponseTypeDef
- DescribeEndpointResponseTypeDef
- EndpointTypeDef
- UpdateEndpointRequestRequestTypeDef
- UpdateEndpointResponseTypeDef
- RunCommandParametersUnionTypeDef
- ListTargetsByRuleResponseTypeDef
- EcsParametersTypeDef
- DescribeConnectionResponseTypeDef
- CreateConnectionAuthRequestParametersTypeDef
- UpdateConnectionAuthRequestParametersTypeDef
- ListEndpointsResponseTypeDef
- EcsParametersUnionTypeDef
- CreateConnectionRequestRequestTypeDef
- UpdateConnectionRequestRequestTypeDef
- TargetTypeDef
- TargetUnionTypeDef
- PutTargetsRequestRequestTypeDef