GetCluster - Amazon Aurora DSQL

GetCluster

Retrieves information about a cluster.

Request Syntax

GET /cluster/identifier HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

identifier

The ID of the cluster to retrieve.

Pattern: [a-z0-9]{26}

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "arn": "string", "creationTime": number, "deletionProtectionEnabled": boolean, "encryptionDetails": { "encryptionStatus": "string", "encryptionType": "string", "kmsKeyArn": "string" }, "identifier": "string", "multiRegionProperties": { "clusters": [ "string" ], "witnessRegion": "string" }, "status": "string", "tags": { "string" : "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

arn

The ARN of the retrieved cluster.

Type: String

Pattern: arn:aws(-[^:]+)?:dsql:[a-z0-9-]{1,20}:[0-9]{12}:cluster/[a-z0-9]{26}

creationTime

The time of when the cluster was created.

Type: Timestamp

deletionProtectionEnabled

Whether deletion protection is enabled in this cluster.

Type: Boolean

encryptionDetails

The current encryption configuration details for the cluster.

Type: EncryptionDetails object

identifier

The ID of the retrieved cluster.

Type: String

Pattern: [a-z0-9]{26}

multiRegionProperties

Returns the current multi-Region cluster configuration, including witness region and linked cluster information.

Type: MultiRegionProperties object

status

The status of the retrieved cluster.

Type: String

Valid Values: CREATING | ACTIVE | IDLE | INACTIVE | UPDATING | DELETING | DELETED | FAILED | PENDING_SETUP | PENDING_DELETE

tags

Map of tags.

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 200 items.

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Key Pattern: [a-zA-Z0-9_.:/=+\-@ ]*

Value Length Constraints: Minimum length of 0. Maximum length of 256.

Value Pattern: [a-zA-Z0-9_.:/=+\-@ ]*

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403

InternalServerException

The request processing has failed because of an unknown error, exception or failure.

HTTP Status Code: 500

ResourceNotFoundException

The resource could not be found.

HTTP Status Code: 404

ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 429

ValidationException

The input failed to satisfy the constraints specified by an AWS service.

HTTP Status Code: 400

See Also

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