ListRules - Amazon Route 53 Application Recovery Controller

ListRules

URI

/rules

HTTP methods

GET

Operation ID: ListRules

Lists all readiness rules, or lists the readiness rules for a specific resource type.

Query parameters
NameTypeRequiredDescription
resourceTypeStringFalse

The resource type that a readiness rule applies to.

nextTokenStringFalse

The token that identifies which batch of results you want to see.

maxResultsStringFalse

The number of objects that you want to return with this call.

Responses
Status codeResponse modelDescription
200ListRulesResult

200 response - Success.

400None

400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.

403None

403 response - Access denied exception. You do not have sufficient access to perform this action.

429None

429 response - Limit exceeded exception or too many requests exception.

500None

500 response - Internal service error or temporary service error. Retry the request.

OPTIONS

Enable CORS by returning correct headers

Responses
Status codeResponse modelDescription
200None

200 response - Success.

Schemas

Response bodies

{ "nextToken": "string", "rules": [ { "ruleId": "string", "ruleDescription": "string", "resourceType": "string" } ] }

Properties

ListRulesOutput

Readiness rule information, including the resource type, rule ID, and rule description.

PropertyTypeRequiredDescription
resourceType

string

MaxLength: 64

True

The resource type that the readiness rule applies to.

ruleDescription

string

MaxLength: 256

True

The description of a readiness rule.

ruleId

string

MaxLength: 64

True

The ID for the readiness rule.

ListRulesResult

The result of a successful ListRules request.

PropertyTypeRequiredDescription
nextToken

string

False

The token that identifies which batch of results you want to see.

rules

Array of type ListRulesOutput

False

A list of readiness rules for a specific resource type.

See also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

ListRules