list_rules
(**kwargs)¶Lists all readiness rules, or lists the readiness rules for a specific resource type.
See also: AWS API Documentation
Request Syntax
response = client.list_rules(
MaxResults=123,
NextToken='string',
ResourceType='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Rules': [
{
'ResourceType': 'string',
'RuleDescription': 'string',
'RuleId': 'string'
},
]
}
Response Structure
(dict) --
200 response - Success.
NextToken (string) --
The token that identifies which batch of results you want to see.
Rules (list) --
A list of readiness rules for a specific resource type.
(dict) --
Readiness rule information, including the resource type, rule ID, and rule description.
ResourceType (string) --
The resource type that the readiness rule applies to.
RuleDescription (string) --
The description of a readiness rule.
RuleId (string) --
The ID for the readiness rule.
Exceptions
Route53RecoveryReadiness.Client.exceptions.ThrottlingException
Route53RecoveryReadiness.Client.exceptions.ValidationException
Route53RecoveryReadiness.Client.exceptions.InternalServerException
Route53RecoveryReadiness.Client.exceptions.AccessDeniedException