EventBridge#
Client#
- class EventBridge.Client#
A low-level client representing Amazon EventBridge
Amazon EventBridge helps you to respond to state changes in your Amazon Web Services resources. When your resources change state, they automatically send events to an event stream. You can create rules that match selected events in the stream and route them to targets to take action. You can also use rules to take action on a predetermined schedule. For example, you can configure rules to:
Automatically invoke an Lambda function to update DNS entries when an event notifies you that Amazon EC2 instance enters the running state.
Direct specific API records from CloudTrail to an Amazon Kinesis data stream for detailed analysis of potential security or availability risks.
Periodically invoke a built-in target to create a snapshot of an Amazon EBS volume.
For more information about the features of Amazon EventBridge, see the Amazon EventBridge User Guide.
client = session.create_client('events')
These are the available methods:
- activate_event_source
- can_paginate
- cancel_replay
- close
- create_api_destination
- create_archive
- create_connection
- create_endpoint
- create_event_bus
- create_partner_event_source
- deactivate_event_source
- deauthorize_connection
- delete_api_destination
- delete_archive
- delete_connection
- delete_endpoint
- delete_event_bus
- delete_partner_event_source
- delete_rule
- describe_api_destination
- describe_archive
- describe_connection
- describe_endpoint
- describe_event_bus
- describe_event_source
- describe_partner_event_source
- describe_replay
- describe_rule
- disable_rule
- enable_rule
- get_paginator
- get_waiter
- list_api_destinations
- list_archives
- list_connections
- list_endpoints
- list_event_buses
- list_event_sources
- list_partner_event_source_accounts
- list_partner_event_sources
- list_replays
- list_rule_names_by_target
- list_rules
- list_tags_for_resource
- list_targets_by_rule
- put_events
- put_partner_events
- put_permission
- put_rule
- put_targets
- remove_permission
- remove_targets
- start_replay
- tag_resource
- test_event_pattern
- untag_resource
- update_api_destination
- update_archive
- update_connection
- update_endpoint
- update_event_bus
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
- AccessDeniedException
- ConcurrentModificationException
- IllegalStatusException
- InternalException
- InvalidEventPatternException
- InvalidStateException
- LimitExceededException
- ManagedRuleException
- OperationDisabledException
- PolicyLengthExceededException
- ResourceAlreadyExistsException
- ResourceNotFoundException
- ThrottlingException
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are: