ListCrossAccountAuthorizations, CreateCrossAccountAuthorization - Amazon Route 53 Application Recovery Controller

ListCrossAccountAuthorizations, CreateCrossAccountAuthorization

URI

/crossaccountauthorizations

HTTP methods

GET

Operation ID: ListCrossAccountAuthorizations

Lists the cross-account readiness authorizations that are in place for an account.

Query parameters
NameTypeRequiredDescription
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
200ListCrossAccountAuthorizationsResult

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.

POST

Operation ID: CreateCrossAccountAuthorization

Creates a cross-account readiness authorization. This lets you authorize another account to work with Route 53 Application Recovery Controller, for example, to check the readiness status of resources in a separate account.

Responses
Status codeResponse modelDescription
200CreateCrossAccountAuthorizationResult

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.

409None

409 response - Conflict exception. You might be using a predefined variable.

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

Enables CORS by returning correct headers.

Responses
Status codeResponse modelDescription
200None

200 response - Success.

Schemas

Request bodies

Response bodies

{ "nextToken": "string", "crossAccountAuthorizations": [ "string" ] }

Properties

CreateCrossAccountAuthorizationParameters

Parameters used to create a cross-account authorization.

PropertyTypeRequiredDescription
crossAccountAuthorization

string

True

The cross-account authorization.

CreateCrossAccountAuthorizationResult

The result of a successful CreateCrossAccountAuthorization request.

PropertyTypeRequiredDescription
crossAccountAuthorization

string

False

The cross-account authorization.

ListCrossAccountAuthorizationsResult

The result of a successful ListCrossAccountAuthorizations request.

PropertyTypeRequiredDescription
crossAccountAuthorizations

Array of type string

True

A list of cross-account authorizations.

nextToken

string

False

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

See also

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

ListCrossAccountAuthorizations

CreateCrossAccountAuthorization