EventBridge.Client.
list_rule_names_by_target
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.list_rule_names_by_target(
TargetArn='string',
EventBusName='string',
NextToken='string',
Limit=123
)
[REQUIRED]
The Amazon Resource Name (ARN) of the target resource.
dict
Response Syntax
{
'RuleNames': [
'string',
],
'NextToken': 'string'
}
Response Structure
(dict) --
RuleNames (list) --
The names of the rules that can invoke the given target.
NextToken (string) --
Indicates whether there are additional results to retrieve. If there are no more results, the value is null.
Exceptions
EventBridge.Client.exceptions.InternalException
EventBridge.Client.exceptions.ResourceNotFoundException