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'
)
[REQUIRED]
The name of the rule.
None
Exceptions
EventBridge.Client.exceptions.ResourceNotFoundException
EventBridge.Client.exceptions.ConcurrentModificationException
EventBridge.Client.exceptions.ManagedRuleException
EventBridge.Client.exceptions.InternalException