ListClusters, CreateCluster - Amazon Route 53 Application Recovery Controller

ListClusters, CreateCluster

URI

/cluster

HTTP methods

GET

Operation ID: ListClusters

Returns an array of all the clusters in an account.

Query parameters
Name Type Required Description
MaxResults String False

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

NextToken String False

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

Responses
Status code Response model Description
200 ListClustersResponse

200 response - Success.

400 ValidationException

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

403 AccessDeniedException

403 response - AccessDeniedException. You do not hace sufficient access to perform this action.

404 ResourceNotFoundException

404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

429 ThrottlingException

429 response - LimitExceededException or TooManyRequestsException.

500 InternalServerException

500 response - InternalServiceError. Temporary service error. Retry the request.

POST

Operation ID: CreateCluster

Create a new cluster. A cluster is a set of redundant Regional endpoints against which you can run API calls to update or get the state of one or more routing controls. Each cluster has a name, status, Amazon Resource Name (ARN), and an array of the five cluster endpoints (one for each supported AWS Region) that you can use with API calls to the cluster data plane.

Responses
Status code Response model Description
200 CreateClusterResponse

200 response - Success.

400 ValidationException

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

402 ServiceQuotaExceededException

402 response

403 AccessDeniedException

403 response - AccessDeniedException. You do not hace sufficient access to perform this action.

404 ResourceNotFoundException

404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

409 ConflictException

409 response - ConflictException. You might be using a predefined variable.

429 ThrottlingException

429 response - LimitExceededException or TooManyRequestsException.

500 InternalServerException

500 response - InternalServiceError. Temporary service error. Retry the request.

OPTIONS

Responses
Status code Response model Description
200 None

200 response - Success.

Schemas

Request bodies

{ "ClusterName": "string", "ClientToken": "string" }

Response bodies

{ "NextToken": "string", "Clusters": [ { "ClusterArn": "string", "Status": enum, "ClusterEndpoints": [ { "Endpoint": "string", "Region": "string" } ], "Name": "string" } ] }
{ "Cluster": { "ClusterArn": "string", "Status": enum, "ClusterEndpoints": [ { "Endpoint": "string", "Region": "string" } ], "Name": "string" } }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }

Properties

AccessDeniedException

Property Type Required Description
message

string

True

Cluster

Property Type Required Description
ClusterArn

string

False

The Amazon Resource Name (ARN) of the cluster.

ClusterEndpoints

Array of type ClusterEndpoint

False

Endpoints for a cluster. Specify one of these endpoints when you want to set or retrieve a routing control state in the cluster.

To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Cluster (Data Plane) Actions.

Name

string

Pattern: ^\S+$

MinLength: 1

MaxLength: 64

False

The name of the cluster.

Status

Status

False

Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

ClusterEndpoint

A cluster endpoint. Specify an endpoint when you want to set or retrieve a routing control state in the cluster.

Property Type Required Description
Endpoint

string

MinLength: 1

MaxLength: 128

False

A cluster endpoint. Specify an endpoint and AWS Region when you want to set or retrieve a routing control state in the cluster.

To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Cluster (Data Plane) Actions.

Region

string

MinLength: 1

MaxLength: 32

False

The AWS Region for a cluster endpoint.

ConflictException

Property Type Required Description
message

string

True

CreateClusterRequest

The properties of a request to create a cluster.

Property Type Required Description
ClientToken

string

MaxLength: 64

False
ClusterName

string

Pattern: ^\S+$

MinLength: 1

MaxLength: 64

True

The name of the cluster.

CreateClusterResponse

The result of a successful CreateCluster request.

Property Type Required Description
Cluster

Cluster

True

The cluster that was created.

InternalServerException

Property Type Required Description
message

string

True

ListClustersResponse

The result of a successful ListClusters request.

Property Type Required Description
Clusters

Array of type Cluster

False

An array of the clusters in an account.

NextToken

string

MaxLength: 8096

False

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

ResourceNotFoundException

Property Type Required Description
message

string

True

ServiceQuotaExceededException

Property Type Required Description
message

string

True

Status

The deployment status of a resource. Status can be one of the following:

PENDING: Amazon Route 53 Application Recovery Controller is creating the resource.

DEPLOYED: The resource is deployed and ready to use.

PENDING_DELETION: Amazon Route 53 Application Recovery Controller is deleting the resource.

  • PENDING

  • DEPLOYED

  • PENDING_DELETION

ThrottlingException

Property Type Required Description
message

string

True

ValidationException

Property Type Required Description
message

string

True

See also

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

ListClusters

CreateCluster