EventBridge / Client / enable_rule
enable_rule#
- EventBridge.Client.enable_rule(**kwargs)#
Enables the specified rule. If the rule does not exist, the operation fails.
When you enable a rule, incoming events might not immediately start matching to a newly enabled rule. Allow a short period of time for changes to take effect.
See also: AWS API Documentation
Request Syntax
response = client.enable_rule( Name='string', EventBusName='string' )
- Parameters:
Name (string) –
[REQUIRED]
The name of the rule.
EventBusName (string) – The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
- Returns:
None
Exceptions