Package-level declarations
Types
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:
Functions
Activates a partner event source that has been deactivated. Once activated, your matching event bus will start receiving events from the event source.
Cancels the specified replay.
Creates an API destination, which is an HTTP invocation endpoint configured as a target for events.
Creates an archive of events with the specified settings. When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events. Replayed events are not sent to an archive.
Creates a connection. A connection defines the authorization type and credentials to use for authorization with an API destination HTTP endpoint.
Creates a global endpoint. Global endpoints improve your application's availability by making it regional-fault tolerant. To do this, you define a primary and secondary Region with event buses in each Region. You also create a Amazon Route 53 health check that will tell EventBridge to route events to the secondary Region when an "unhealthy" state is encountered and events will be routed back to the primary Region when the health check reports a "healthy" state.
Creates a new event bus within your account. This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source.
Called by an SaaS partner to create a partner event source. This operation is not used by Amazon Web Services customers.
You can use this operation to temporarily stop receiving events from the specified partner event source. The matching event bus is not deleted.
Removes all authorization parameters from the connection. This lets you remove the secret from the connection so you can reuse it without having to create a new connection.
Deletes the specified API destination.
Deletes the specified archive.
Deletes a connection.
Delete an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
Deletes the specified custom event bus or partner event bus. All rules associated with this event bus need to be deleted. You can't delete your account's default event bus.
This operation is used by SaaS partners to delete a partner event source. This operation is not used by Amazon Web Services customers.
Deletes the specified rule.
Retrieves details about an API destination.
Retrieves details about an archive.
Retrieves details about a connection.
Get the information about an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
Displays details about an event bus in your account. This can include the external Amazon Web Services accounts that are permitted to write events to your default event bus, and the associated policy. For custom event buses and partner event buses, it displays the name, ARN, policy, state, and creation time.
This operation lists details about a partner event source that is shared with your account.
An SaaS partner can use this operation to list details about a partner event source that they have created. Amazon Web Services customers do not use this operation. Instead, Amazon Web Services customers can use DescribeEventSource to see details about a partner event source that is shared with them.
Retrieves details about a replay. Use DescribeReplay
to determine the progress of a running replay. A replay processes events to replay based on the time in the event, and replays them using 1 minute intervals. If you use StartReplay
and specify an EventStartTime
and an EventEndTime
that covers a 20 minute time range, the events are replayed from the first minute of that 20 minute range first. Then the events from the second minute are replayed. You can use DescribeReplay
to determine the progress of a replay. The value returned for EventLastReplayedTime
indicates the time within the specified time range associated with the last event replayed.
Describes the specified rule.
Disables the specified rule. A disabled rule won't match any events, and won't self-trigger if it has a schedule expression.
Enables the specified rule. If the rule does not exist, the operation fails.
Retrieves a list of API destination in the account in the current Region.
Lists your archives. You can either list all the archives or you can provide a prefix to match to the archive names. Filter parameters are exclusive.
Retrieves a list of connections from the account.
List the global endpoints associated with this account. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
Lists all the event buses in your account, including the default event bus, custom event buses, and partner event buses.
You can use this to see all the partner event sources that have been shared with your Amazon Web Services account. For more information about partner event sources, see CreateEventBus.
An SaaS partner can use this operation to display the Amazon Web Services account ID that a particular partner event source name is associated with. This operation is not used by Amazon Web Services customers.
An SaaS partner can use this operation to list all the partner event source names that they have created. This operation is not used by Amazon Web Services customers.
Lists your replays. You can either list all the replays or you can provide a prefix to match to the replay names. Filter parameters are exclusive.
Lists the rules for the specified target. You can see which of the rules in Amazon EventBridge can invoke a specific target in your account.
Lists your Amazon EventBridge rules. You can either list all the rules or you can provide a prefix to match to the rule names.
Displays the tags associated with an EventBridge resource. In EventBridge, rules and event buses can be tagged.
Lists the targets assigned to the specified rule.
Sends custom events to Amazon EventBridge so that they can be matched to rules.
This is used by SaaS partners to write events to a customer's partner event bus. Amazon Web Services customers do not use this operation.
Running PutPermission
permits the specified Amazon Web Services account or Amazon Web Services organization to put events to the specified event bus. Amazon EventBridge (CloudWatch Events) rules in your account are triggered by these events arriving to an event bus in your account.
Creates or updates the specified rule. Rules are enabled by default, or based on value of the state. You can disable a rule using DisableRule.
Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule.
Revokes the permission of another Amazon Web Services account to be able to put events to the specified event bus. Specify the account to revoke by the StatementId
value that you associated with the account when you granted it permission with PutPermission
. You can find the StatementId
by using DescribeEventBus.
Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked.
Starts the specified replay. Events are not necessarily replayed in the exact same order that they were added to the archive. A replay processes events to replay based on the time in the event, and replays them using 1 minute intervals. If you specify an EventStartTime
and an EventEndTime
that covers a 20 minute time range, the events are replayed from the first minute of that 20 minute range first. Then the events from the second minute are replayed. You can use DescribeReplay
to determine the progress of a replay. The value returned for EventLastReplayedTime
indicates the time within the specified time range associated with the last event replayed.
Assigns one or more tags (key-value pairs) to the specified EventBridge resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In EventBridge, rules and event buses can be tagged.
Tests whether the specified event pattern matches the provided event.
Removes one or more tags from the specified EventBridge resource. In Amazon EventBridge (CloudWatch Events), rules and event buses can be tagged.
Updates an API destination.
Updates the specified archive.
Updates settings for a connection.
Update an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.