Amazon MemoryDB
API Reference
API Version 2021-01-01
Amazon MemoryDB: API Reference
Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved.
Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.
Table of Contents
Welcome ... 1
Actions ... 2
BatchUpdateCluster ... 3
Request Syntax ... 3
Request Parameters ... 3
Response Syntax ... 3
Response Elements ... 5
Errors ... 5
See Also ... 5
CopySnapshot ... 6
Request Syntax ... 6
Request Parameters ... 6
Response Syntax ... 7
Response Elements ... 7
Errors ... 8
See Also ... 8
CreateACL ... 10
Request Syntax ... 10
Request Parameters ... 10
Response Syntax ... 11
Response Elements ... 11
Errors ... 11
See Also ... 12
CreateCluster ... 13
Request Syntax ... 13
Request Parameters ... 13
Response Syntax ... 16
Response Elements ... 17
Errors ... 18
See Also ... 19
CreateParameterGroup ... 20
Request Syntax ... 20
Request Parameters ... 20
Response Syntax ... 21
Response Elements ... 21
Errors ... 21
See Also ... 22
CreateSnapshot ... 23
Request Syntax ... 23
Request Parameters ... 23
Response Syntax ... 24
Response Elements ... 24
Errors ... 24
See Also ... 25
CreateSubnetGroup ... 26
Request Syntax ... 26
Request Parameters ... 26
Response Syntax ... 27
Response Elements ... 27
Errors ... 27
See Also ... 28
CreateUser ... 29
Request Syntax ... 29
Request Parameters ... 29
Response Syntax ... 30
Response Elements ... 30
Errors ... 30
See Also ... 31
DeleteACL ... 32
Request Syntax ... 32
Request Parameters ... 32
Response Syntax ... 32
Response Elements ... 32
Errors ... 33
See Also ... 33
DeleteCluster ... 34
Request Syntax ... 34
Request Parameters ... 34
Response Syntax ... 34
Response Elements ... 35
Errors ... 36
See Also ... 36
DeleteParameterGroup ... 37
Request Syntax ... 37
Request Parameters ... 37
Response Syntax ... 37
Response Elements ... 37
Errors ... 37
See Also ... 38
DeleteSnapshot ... 39
Request Syntax ... 39
Request Parameters ... 39
Response Syntax ... 39
Response Elements ... 40
Errors ... 40
See Also ... 40
DeleteSubnetGroup ... 42
Request Syntax ... 42
Request Parameters ... 42
Response Syntax ... 42
Response Elements ... 42
Errors ... 43
See Also ... 43
DeleteUser ... 44
Request Syntax ... 44
Request Parameters ... 44
Response Syntax ... 44
Response Elements ... 44
Errors ... 45
See Also ... 45
DescribeACLs ... 46
Request Syntax ... 46
Request Parameters ... 46
Response Syntax ... 46
Response Elements ... 47
Errors ... 47
See Also ... 47
DescribeClusters ... 49
Request Syntax ... 49
Request Parameters ... 49
Response Syntax ... 50
Response Elements ... 51
Errors ... 51
See Also ... 51
DescribeEngineVersions ... 53
Request Syntax ... 53
Request Parameters ... 53
Response Syntax ... 54
Response Elements ... 54
Errors ... 54
See Also ... 55
DescribeEvents ... 56
Request Syntax ... 56
Request Parameters ... 56
Response Syntax ... 57
Response Elements ... 57
Errors ... 58
See Also ... 58
DescribeParameterGroups ... 59
Request Syntax ... 59
Request Parameters ... 59
Response Syntax ... 59
Response Elements ... 60
Errors ... 60
See Also ... 60
DescribeParameters ... 62
Request Syntax ... 62
Request Parameters ... 62
Response Syntax ... 62
Response Elements ... 63
Errors ... 63
See Also ... 63
DescribeServiceUpdates ... 65
Request Syntax ... 65
Request Parameters ... 65
Response Syntax ... 66
Response Elements ... 66
Errors ... 66
See Also ... 67
DescribeSnapshots ... 68
Request Syntax ... 68
Request Parameters ... 68
Response Syntax ... 69
Response Elements ... 70
Errors ... 70
See Also ... 70
DescribeSubnetGroups ... 72
Request Syntax ... 72
Request Parameters ... 72
Response Syntax ... 72
Response Elements ... 73
Errors ... 73
See Also ... 73
DescribeUsers ... 75
Request Syntax ... 75
Request Parameters ... 75
Response Syntax ... 76
Response Elements ... 76
Errors ... 76
See Also ... 77
FailoverShard ... 78
Request Syntax ... 78
Request Parameters ... 78
Response Syntax ... 78
Response Elements ... 79
Errors ... 80
See Also ... 80
ListAllowedNodeTypeUpdates ... 81
Request Syntax ... 81
Request Parameters ... 81
Response Syntax ... 81
Response Elements ... 81
Errors ... 82
See Also ... 82
ListTags ... 83
Request Syntax ... 83
Request Parameters ... 83
Response Syntax ... 83
Response Elements ... 83
Errors ... 83
See Also ... 84
ResetParameterGroup ... 85
Request Syntax ... 85
Request Parameters ... 85
Response Syntax ... 85
Response Elements ... 86
Errors ... 86
See Also ... 86
TagResource ... 87
Request Syntax ... 87
Request Parameters ... 87
Response Syntax ... 87
Response Elements ... 88
Errors ... 88
See Also ... 89
UntagResource ... 90
Request Syntax ... 90
Request Parameters ... 90
Response Syntax ... 90
Response Elements ... 90
Errors ... 91
See Also ... 91
UpdateACL ... 93
Request Syntax ... 93
Request Parameters ... 93
Response Syntax ... 93
Response Elements ... 94
Errors ... 94
See Also ... 95
UpdateCluster ... 96
Request Syntax ... 96
Request Parameters ... 96
Response Syntax ... 98
Response Elements ... 99
Errors ... 100
See Also ... 101
UpdateParameterGroup ... 102
Request Syntax ... 102
Request Parameters ... 102
Response Syntax ... 102
Response Elements ... 102
Errors ... 103
See Also ... 103
UpdateSubnetGroup ... 104
Request Syntax ... 104
Request Parameters ... 104
Response Syntax ... 104
Response Elements ... 105
Errors ... 105
See Also ... 105
UpdateUser ... 107
Request Syntax ... 107
Request Parameters ... 107
Response Syntax ... 107
Response Elements ... 108
Errors ... 108
See Also ... 108
Data Types ... 110
ACL ... 112
Contents ... 112
See Also ... 113
ACLPendingChanges ... 114
Contents ... 114
See Also ... 114
ACLsUpdateStatus ... 115
Contents ... 115
See Also ... 115
Authentication ... 116
Contents ... 116
See Also ... 116
AuthenticationMode ... 117
Contents ... 117
See Also ... 117
AvailabilityZone ... 118
Contents ... 118
See Also ... 118
Cluster ... 119
Contents ... 119
See Also ... 122
ClusterConfiguration ... 123
Contents ... 123
See Also ... 124
ClusterPendingUpdates ... 125
Contents ... 125
See Also ... 125
Endpoint ... 126
Contents ... 126
See Also ... 126
EngineVersionInfo ... 127
Contents ... 127
See Also ... 127
Event ... 128
Contents ... 128
See Also ... 128
Filter ... 129
Contents ... 129
See Also ... 129
Node ... 130
Contents ... 130
See Also ... 130
Parameter ... 131
Contents ... 131
See Also ... 131
ParameterGroup ... 133
Contents ... 133
See Also ... 133
ParameterNameValue ... 134
Contents ... 134
See Also ... 134
PendingModifiedServiceUpdate ... 135
Contents ... 135
See Also ... 135
ReplicaConfigurationRequest ... 136
Contents ... 136
See Also ... 136
ReshardingStatus ... 137
Contents ... 137
See Also ... 137
SecurityGroupMembership ... 138
Contents ... 138
See Also ... 138
ServiceUpdate ... 139
Contents ... 139
See Also ... 140
ServiceUpdateRequest ... 141
Contents ... 141
See Also ... 141
Shard ... 142
Contents ... 142
See Also ... 142
ShardConfiguration ... 143
Contents ... 143
See Also ... 143
ShardConfigurationRequest ... 144
Contents ... 144
See Also ... 144
ShardDetail ... 145
Contents ... 145
See Also ... 145
SlotMigration ... 146
Contents ... 146
See Also ... 146
Snapshot ... 147
Contents ... 147
See Also ... 147
Subnet ... 149
Contents ... 149
See Also ... 149
SubnetGroup ... 150
Contents ... 150
See Also ... 150
Tag ... 152
Contents ... 152
See Also ... 152
UnprocessedCluster ... 153
Contents ... 153
See Also ... 153
User ... 154
Contents ... 154
See Also ... 155
Common Parameters ... 156
Common Errors ... 158
Welcome
MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.
MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access.
It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.
This document was last published on March 6, 2022.
Actions
The following actions are supported:
• BatchUpdateCluster (p. 3)
• CopySnapshot (p. 6)
• CreateACL (p. 10)
• CreateCluster (p. 13)
• CreateParameterGroup (p. 20)
• CreateSnapshot (p. 23)
• CreateSubnetGroup (p. 26)
• CreateUser (p. 29)
• DeleteACL (p. 32)
• DeleteCluster (p. 34)
• DeleteParameterGroup (p. 37)
• DeleteSnapshot (p. 39)
• DeleteSubnetGroup (p. 42)
• DeleteUser (p. 44)
• DescribeACLs (p. 46)
• DescribeClusters (p. 49)
• DescribeEngineVersions (p. 53)
• DescribeEvents (p. 56)
• DescribeParameterGroups (p. 59)
• DescribeParameters (p. 62)
• DescribeServiceUpdates (p. 65)
• DescribeSnapshots (p. 68)
• DescribeSubnetGroups (p. 72)
• DescribeUsers (p. 75)
• FailoverShard (p. 78)
• ListAllowedNodeTypeUpdates (p. 81)
• ListTags (p. 83)
• ResetParameterGroup (p. 85)
• TagResource (p. 87)
• UntagResource (p. 90)
• UpdateACL (p. 93)
• UpdateCluster (p. 96)
• UpdateParameterGroup (p. 102)
• UpdateSubnetGroup (p. 104)
• UpdateUser (p. 107)
BatchUpdateCluster
BatchUpdateCluster
Apply the service update to a list of clusters supplied. For more information on service updates and applying them, see Applying the service updates.
Request Syntax
{
"ClusterNames": [ "string" ], "ServiceUpdate": {
"ServiceUpdateNameToApply": "string"
}}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
ClusterNames (p. 3)
The cluster names to apply the updates.
Type: Array of strings
Array Members: Maximum number of 20 items.
Required: Yes ServiceUpdate (p. 3)
The unique ID of the service update Type: ServiceUpdateRequest (p. 141) object Required: No
Response Syntax
{
"ProcessedClusters": [ {
"ACLName": "string", "ARN": "string",
"AutoMinorVersionUpgrade": boolean, "AvailabilityMode": "string", "ClusterEndpoint": {
"Address": "string", "Port": number },
"Description": "string", "EnginePatchVersion": "string", "EngineVersion": "string", "KmsKeyId": "string",
"MaintenanceWindow": "string", "Name": "string",
"NodeType": "string",
Response Syntax
"NumberOfShards": number, "ParameterGroupName": "string", "ParameterGroupStatus": "string", "PendingUpdates": {
"ACLs": {
"ACLToApply": "string"
},
"Resharding": { "SlotMigration": {
"ProgressPercentage": number }
},
"ServiceUpdates": [ {
"ServiceUpdateName": "string", "Status": "string"
} ] },
"SecurityGroups": [ {
"SecurityGroupId": "string", "Status": "string"
} ],
"Shards": [ {
"Name": "string", "Nodes": [ {
"AvailabilityZone": "string", "CreateTime": number,
"Endpoint": {
"Address": "string", "Port": number },
"Name": "string", "Status": "string"
} ],
"NumberOfNodes": number, "Slots": "string", "Status": "string"
} ],
"SnapshotRetentionLimit": number, "SnapshotWindow": "string", "SnsTopicArn": "string", "SnsTopicStatus": "string", "Status": "string",
"SubnetGroupName": "string", "TLSEnabled": boolean }
],
"UnprocessedClusters": [ {
"ClusterName": "string", "ErrorMessage": "string", "ErrorType": "string"
} ] }
Response Elements
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.
ProcessedClusters (p. 3)
The list of clusters that have been updated.
Type: Array of Cluster (p. 119) objects UnprocessedClusters (p. 3)
The list of clusters where updates have not been applied.
Type: Array of UnprocessedCluster (p. 153) objects
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
InvalidParameterValueException
HTTP Status Code: 400 ServiceUpdateNotFoundFault
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CopySnapshot
CopySnapshot
Makes a copy of an existing snapshot.
Request Syntax
{ "KmsKeyId": "string",
"SourceSnapshotName": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ],
"TargetBucket": "string", "TargetSnapshotName": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
KmsKeyId (p. 6)
The ID of the KMS key used to encrypt the target snapshot.
Type: String
Length Constraints: Maximum length of 2048.
Required: No
SourceSnapshotName (p. 6)
The name of an existing snapshot from which to make a copy.
Type: String Required: Yes Tags (p. 6)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Type: Array of Tag (p. 152) objects
Array Members: Maximum number of 200 items.
Required: No TargetBucket (p. 6)
The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a snapshot for external access. When using this parameter to export a snapshot, be sure
Response Syntax
MemoryDB has the needed permissions to this S3 bucket. For more information, see Step 2: Grant MemoryDB Access to Your Amazon S3 Bucket.
Type: String
Length Constraints: Maximum length of 255.
Pattern: ^[A-Za-z0-9._-]+$
Required: No
TargetSnapshotName (p. 6)
A name for the snapshot copy. MemoryDB does not permit overwriting a snapshot, therefore this name must be unique within its context - MemoryDB or an Amazon S3 bucket if exporting.
Type: String Required: Yes
Response Syntax
{
"Snapshot": { "ARN": "string",
"ClusterConfiguration": { "Description": "string", "EngineVersion": "string", "MaintenanceWindow": "string", "Name": "string",
"NodeType": "string", "NumShards": number,
"ParameterGroupName": "string", "Port": number,
"Shards": [ {
"Configuration": {
"ReplicaCount": number, "Slots": "string"
},
"Name": "string", "Size": "string",
"SnapshotCreationTime": number }
],
"SnapshotRetentionLimit": number, "SnapshotWindow": "string", "SubnetGroupName": "string", "TopicArn": "string",
"VpcId": "string"
},
"KmsKeyId": "string", "Name": "string", "Source": "string", "Status": "string"
} }
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
Errors
The following data is returned in JSON format by the service.
Snapshot (p. 7)
Represents a copy of an entire cluster as of the time when the snapshot was taken.
Type: Snapshot (p. 147) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
InvalidParameterCombinationException
HTTP Status Code: 400 InvalidParameterValueException
HTTP Status Code: 400 InvalidSnapshotStateFault
HTTP Status Code: 400 ServiceLinkedRoleNotFoundFault
HTTP Status Code: 400 SnapshotAlreadyExistsFault
HTTP Status Code: 400 SnapshotNotFoundFault
HTTP Status Code: 400 SnapshotQuotaExceededFault
HTTP Status Code: 400 TagQuotaPerResourceExceeded
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
See Also
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateACL
CreateACL
Creates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).
Request Syntax
{ "ACLName": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ],
"UserNames": [ "string" ] }
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
ACLName (p. 10)
The name of the Access Control List.
Type: String Required: Yes Tags (p. 10)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Type: Array of Tag (p. 152) objects
Array Members: Maximum number of 200 items.
Required: No UserNames (p. 10)
The list of users that belong to the Access Control List.
Type: Array of strings
Array Members: Minimum number of 1 item.
Length Constraints: Minimum length of 1.
Pattern: [a-zA-Z][a-zA-Z0-9\-]*
Required: No
Response Syntax
Response Syntax
{
"ACL": {
"ARN": "string",
"Clusters": [ "string" ],
"MinimumEngineVersion": "string", "Name": "string",
"PendingChanges": {
"UserNamesToAdd": [ "string" ], "UserNamesToRemove": [ "string" ] },
"Status": "string", "UserNames": [ "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.
ACL (p. 11)
The newly-created Access Control List.
Type: ACL (p. 112) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
ACLAlreadyExistsFault
HTTP Status Code: 400 ACLQuotaExceededFault
HTTP Status Code: 400 DefaultUserRequired
HTTP Status Code: 400 DuplicateUserNameFault
HTTP Status Code: 400 InvalidParameterValueException
HTTP Status Code: 400 TagQuotaPerResourceExceeded
HTTP Status Code: 400
See Also
UserNotFoundFault
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateCluster
CreateCluster
Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.
Request Syntax
{
"ACLName": "string",
"AutoMinorVersionUpgrade": boolean, "ClusterName": "string",
"Description": "string", "EngineVersion": "string", "KmsKeyId": "string",
"MaintenanceWindow": "string", "NodeType": "string",
"NumReplicasPerShard": number, "NumShards": number,
"ParameterGroupName": "string", "Port": number,
"SecurityGroupIds": [ "string" ], "SnapshotArns": [ "string" ], "SnapshotName": "string",
"SnapshotRetentionLimit": number, "SnapshotWindow": "string", "SnsTopicArn": "string", "SubnetGroupName": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ],
"TLSEnabled": boolean }
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
ACLName (p. 13)
The name of the Access Control List to associate with the cluster.
Type: String
Length Constraints: Minimum length of 1.
Pattern: [a-zA-Z][a-zA-Z0-9\-]*
Required: Yes
AutoMinorVersionUpgrade (p. 13)
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
Type: Boolean
Request Parameters
Required: No ClusterName (p. 13)
The name of the cluster. This value must be unique as it also serves as the cluster identifier.
Type: String Required: Yes Description (p. 13)
An optional description of the cluster.
Type: String Required: No EngineVersion (p. 13)
The version number of the Redis engine to be used for the cluster.
Type: String Required: No KmsKeyId (p. 13)
The ID of the KMS key used to encrypt the cluster.
Type: String Required: No
MaintenanceWindow (p. 13)
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
Valid values for ddd are:
• sun
• mon
• tue
• wed
• thu
• fri
• sat
Example: sun:23:00-mon:01:30 Type: String
Required: No NodeType (p. 13)
The compute and memory capacity of the nodes in the cluster.
Type: String Required: Yes
Request Parameters
NumReplicasPerShard (p. 13)
The number of replicas to apply to each shard. The default value is 1. The maximum is 5.
Type: Integer Required: No NumShards (p. 13)
The number of shards the cluster will contain. The default value is 1.
Type: Integer Required: No
ParameterGroupName (p. 13)
The name of the parameter group associated with the cluster.
Type: String Required: No Port (p. 13)
The port number on which each of the nodes accepts connections.
Type: Integer Required: No SecurityGroupIds (p. 13)
A list of security group names to associate with this cluster.
Type: Array of strings Required: No
SnapshotArns (p. 13)
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot contain any commas.
Type: Array of strings Required: No
SnapshotName (p. 13)
The name of a snapshot from which to restore data into the new cluster. The snapshot status changes to restoring while the new cluster is being created.
Type: String Required: No
SnapshotRetentionLimit (p. 13)
The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
Type: Integer
Response Syntax
Required: No
SnapshotWindow (p. 13)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
Example: 05:00-09:00
If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
Type: String Required: No SnsTopicArn (p. 13)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
Type: String Required: No
SubnetGroupName (p. 13)
The name of the subnet group to be used for the cluster.
Type: String Required: No Tags (p. 13)
A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g.
Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
Type: Array of Tag (p. 152) objects
Array Members: Maximum number of 200 items.
Required: No TLSEnabled (p. 13)
A flag to enable in-transit encryption on the cluster.
Type: Boolean Required: No
Response Syntax
{
"Cluster": {
"ACLName": "string", "ARN": "string",
"AutoMinorVersionUpgrade": boolean, "AvailabilityMode": "string", "ClusterEndpoint": {
"Address": "string", "Port": number },
"Description": "string",
Response Elements
"EnginePatchVersion": "string", "EngineVersion": "string", "KmsKeyId": "string",
"MaintenanceWindow": "string", "Name": "string",
"NodeType": "string", "NumberOfShards": number, "ParameterGroupName": "string", "ParameterGroupStatus": "string", "PendingUpdates": {
"ACLs": {
"ACLToApply": "string"
},
"Resharding": { "SlotMigration": {
"ProgressPercentage": number }
},
"ServiceUpdates": [ {
"ServiceUpdateName": "string", "Status": "string"
} ] },
"SecurityGroups": [ {
"SecurityGroupId": "string", "Status": "string"
} ],
"Shards": [ {
"Name": "string", "Nodes": [ {
"AvailabilityZone": "string", "CreateTime": number,
"Endpoint": {
"Address": "string", "Port": number },
"Name": "string", "Status": "string"
} ],
"NumberOfNodes": number, "Slots": "string", "Status": "string"
} ],
"SnapshotRetentionLimit": number, "SnapshotWindow": "string", "SnsTopicArn": "string", "SnsTopicStatus": "string", "Status": "string",
"SubnetGroupName": "string", "TLSEnabled": boolean }
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
Errors
The following data is returned in JSON format by the service.
Cluster (p. 16)
The newly-created cluster.
Type: Cluster (p. 119) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
ACLNotFoundFault
HTTP Status Code: 400 ClusterAlreadyExistsFault
HTTP Status Code: 400
ClusterQuotaForCustomerExceededFault
HTTP Status Code: 400 InsufficientClusterCapacityFault
HTTP Status Code: 400 InvalidACLStateFault
HTTP Status Code: 400 InvalidCredentialsException
HTTP Status Code: 400
InvalidParameterCombinationException
HTTP Status Code: 400 InvalidParameterValueException
HTTP Status Code: 400 InvalidVPCNetworkStateFault
HTTP Status Code: 400
NodeQuotaForClusterExceededFault
HTTP Status Code: 400
NodeQuotaForCustomerExceededFault HTTP Status Code: 400
ParameterGroupNotFoundFault
See Also
HTTP Status Code: 400 ServiceLinkedRoleNotFoundFault
HTTP Status Code: 400
ShardsPerClusterQuotaExceededFault
HTTP Status Code: 400 SubnetGroupNotFoundFault
HTTP Status Code: 400 TagQuotaPerResourceExceeded
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateParameterGroup
CreateParameterGroup
Creates a new MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For more information, see Configuring engine parameters using parameter groups.
Request Syntax
{ "Description": "string", "Family": "string",
"ParameterGroupName": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ] }
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
Description (p. 20)
An optional description of the parameter group.
Type: String Required: No Family (p. 20)
The name of the parameter group family that the parameter group can be used with.
Type: String Required: Yes
ParameterGroupName (p. 20)
The name of the parameter group.
Type: String Required: Yes Tags (p. 20)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Type: Array of Tag (p. 152) objects
Array Members: Maximum number of 200 items.
Response Syntax
Required: No
Response Syntax
{ "ParameterGroup": { "ARN": "string",
"Description": "string", "Family": "string", "Name": "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.
ParameterGroup (p. 21)
The newly-created parameter group.
Type: ParameterGroup (p. 133) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
InvalidParameterCombinationException
HTTP Status Code: 400 InvalidParameterGroupStateFault
HTTP Status Code: 400 InvalidParameterValueException
HTTP Status Code: 400
ParameterGroupAlreadyExistsFault
HTTP Status Code: 400
ParameterGroupQuotaExceededFault
HTTP Status Code: 400 ServiceLinkedRoleNotFoundFault
HTTP Status Code: 400 TagQuotaPerResourceExceeded
See Also
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateSnapshot
CreateSnapshot
Creates a copy of an entire cluster at a specific moment in time.
Request Syntax
{ "ClusterName": "string", "KmsKeyId": "string", "SnapshotName": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ] }
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
ClusterName (p. 23)
The snapshot is created from this cluster.
Type: String Required: Yes KmsKeyId (p. 23)
The ID of the KMS key used to encrypt the snapshot.
Type: String Required: No SnapshotName (p. 23)
A name for the snapshot being created.
Type: String Required: Yes Tags (p. 23)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Type: Array of Tag (p. 152) objects
Array Members: Maximum number of 200 items.
Required: No
Response Syntax
Response Syntax
{ "Snapshot": { "ARN": "string",
"ClusterConfiguration": { "Description": "string", "EngineVersion": "string", "MaintenanceWindow": "string", "Name": "string",
"NodeType": "string", "NumShards": number,
"ParameterGroupName": "string", "Port": number,
"Shards": [ {
"Configuration": {
"ReplicaCount": number, "Slots": "string"
},
"Name": "string", "Size": "string",
"SnapshotCreationTime": number }
],
"SnapshotRetentionLimit": number, "SnapshotWindow": "string", "SubnetGroupName": "string", "TopicArn": "string",
"VpcId": "string"
},
"KmsKeyId": "string", "Name": "string", "Source": "string", "Status": "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.
Snapshot (p. 24)
The newly-created snapshot.
Type: Snapshot (p. 147) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
ClusterNotFoundFault HTTP Status Code: 400 InvalidClusterStateFault
See Also
HTTP Status Code: 400
InvalidParameterCombinationException
HTTP Status Code: 400 InvalidParameterValueException
HTTP Status Code: 400 ServiceLinkedRoleNotFoundFault
HTTP Status Code: 400 SnapshotAlreadyExistsFault
HTTP Status Code: 400 SnapshotQuotaExceededFault
HTTP Status Code: 400 TagQuotaPerResourceExceeded
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateSubnetGroup
CreateSubnetGroup
Creates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups.
Request Syntax
{
"Description": "string", "SubnetGroupName": "string", "SubnetIds": [ "string" ], "Tags": [
{
"Key": "string", "Value": "string"
} ]}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
Description (p. 26)
A description for the subnet group.
Type: String Required: No
SubnetGroupName (p. 26)
The name of the subnet group.
Type: String Required: Yes SubnetIds (p. 26)
A list of VPC subnet IDs for the subnet group.
Type: Array of strings Required: Yes Tags (p. 26)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Type: Array of Tag (p. 152) objects
Response Syntax
Array Members: Maximum number of 200 items.
Required: No
Response Syntax
{ "SubnetGroup": { "ARN": "string",
"Description": "string", "Name": "string", "Subnets": [ {
"AvailabilityZone": { "Name": "string"
},
"Identifier": "string"
} ],
"VpcId": "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.
SubnetGroup (p. 27)
The newly-created subnet group Type: SubnetGroup (p. 150) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
InvalidSubnet
HTTP Status Code: 400 ServiceLinkedRoleNotFoundFault
HTTP Status Code: 400 SubnetGroupAlreadyExistsFault
HTTP Status Code: 400 SubnetGroupQuotaExceededFault
HTTP Status Code: 400 SubnetNotAllowedFault
See Also
HTTP Status Code: 400 SubnetQuotaExceededFault
HTTP Status Code: 400 TagQuotaPerResourceExceeded
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateUser
CreateUser
Creates a MemoryDB user. For more information, see Authenticating users with Access Contol Lists (ACLs).
Request Syntax
{
"AccessString": "string", "AuthenticationMode": { "Passwords": [ "string" ], "Type": "string"
},
"Tags": [ {
"Key": "string", "Value": "string"
} ],
"UserName": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
AccessString (p. 29)
Access permissions string used for this user.
Type: String Pattern: .*\S.*
Required: Yes
AuthenticationMode (p. 29)
Denotes the user's authentication properties, such as whether it requires a password to authenticate.
Type: AuthenticationMode (p. 117) object Required: Yes
Tags (p. 29)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Type: Array of Tag (p. 152) objects
Array Members: Maximum number of 200 items.
Required: No UserName (p. 29)
The name of the user. This value must be unique as it also serves as the user identifier.
Response Syntax
Type: String
Length Constraints: Minimum length of 1.
Pattern: [a-zA-Z][a-zA-Z0-9\-]*
Required: Yes
Response Syntax
{ "User": {
"AccessString": "string", "ACLNames": [ "string" ], "ARN": "string",
"Authentication": { "PasswordCount": number, "Type": "string"
},
"MinimumEngineVersion": "string", "Name": "string",
"Status": "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.
User (p. 30)
The newly-created user.
Type: User (p. 154) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
DuplicateUserNameFault
HTTP Status Code: 400
InvalidParameterCombinationException
HTTP Status Code: 400 InvalidParameterValueException
HTTP Status Code: 400 TagQuotaPerResourceExceeded
HTTP Status Code: 400
See Also
UserAlreadyExistsFault
HTTP Status Code: 400 UserQuotaExceededFault
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeleteACL
DeleteACL
Deletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see Authenticating users with Access Contol Lists (ACLs).
Request Syntax
{ "ACLName": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
ACLName (p. 32)
The name of the Access Control List to delete Type: String
Required: Yes
Response Syntax
{
"ACL": {
"ARN": "string",
"Clusters": [ "string" ],
"MinimumEngineVersion": "string", "Name": "string",
"PendingChanges": {
"UserNamesToAdd": [ "string" ], "UserNamesToRemove": [ "string" ] },
"Status": "string", "UserNames": [ "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.
ACL (p. 32)
The Access Control List object that has been deleted.
Type: ACL (p. 112) object
Errors
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
ACLNotFoundFault
HTTP Status Code: 400 InvalidACLStateFault
HTTP Status Code: 400 InvalidParameterValueException
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeleteCluster
DeleteCluster
Deletes a cluster. It also deletes all associated nodes and node endpoints
Request Syntax
{
"ClusterName": "string", "FinalSnapshotName": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
ClusterName (p. 34)
The name of the cluster to be deleted Type: String
Required: Yes
FinalSnapshotName (p. 34)
The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward.
Type: String Required: No
Response Syntax
{ "Cluster": {
"ACLName": "string", "ARN": "string",
"AutoMinorVersionUpgrade": boolean, "AvailabilityMode": "string", "ClusterEndpoint": {
"Address": "string", "Port": number },
"Description": "string",
"EnginePatchVersion": "string", "EngineVersion": "string", "KmsKeyId": "string",
"MaintenanceWindow": "string", "Name": "string",
"NodeType": "string", "NumberOfShards": number, "ParameterGroupName": "string",
Response Elements
"ParameterGroupStatus": "string", "PendingUpdates": {
"ACLs": {
"ACLToApply": "string"
},
"Resharding": { "SlotMigration": {
"ProgressPercentage": number }
},
"ServiceUpdates": [ {
"ServiceUpdateName": "string", "Status": "string"
} ] },
"SecurityGroups": [ {
"SecurityGroupId": "string", "Status": "string"
} ],
"Shards": [ {
"Name": "string", "Nodes": [ {
"AvailabilityZone": "string", "CreateTime": number,
"Endpoint": {
"Address": "string", "Port": number },
"Name": "string", "Status": "string"
} ],
"NumberOfNodes": number, "Slots": "string", "Status": "string"
} ],
"SnapshotRetentionLimit": number, "SnapshotWindow": "string", "SnsTopicArn": "string", "SnsTopicStatus": "string", "Status": "string",
"SubnetGroupName": "string", "TLSEnabled": boolean }
}
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.
Cluster (p. 34)
The cluster object that has been deleted Type: Cluster (p. 119) object
Errors
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
ClusterNotFoundFault
HTTP Status Code: 400 InvalidClusterStateFault
HTTP Status Code: 400
InvalidParameterCombinationException
HTTP Status Code: 400 InvalidParameterValueException
HTTP Status Code: 400 ServiceLinkedRoleNotFoundFault
HTTP Status Code: 400 SnapshotAlreadyExistsFault
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeleteParameterGroup
DeleteParameterGroup
Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters. You cannot delete the default parameter groups in your account.
Request Syntax
{ "ParameterGroupName": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
ParameterGroupName (p. 37)
The name of the parameter group to delete.
Type: String Required: Yes
Response Syntax
{
"ParameterGroup": { "ARN": "string",
"Description": "string", "Family": "string", "Name": "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.
ParameterGroup (p. 37)
The parameter group that has been deleted.
Type: ParameterGroup (p. 133) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
See Also
InvalidParameterCombinationException
HTTP Status Code: 400 InvalidParameterGroupStateFault
HTTP Status Code: 400 InvalidParameterValueException
HTTP Status Code: 400 ParameterGroupNotFoundFault
HTTP Status Code: 400 ServiceLinkedRoleNotFoundFault
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeleteSnapshot
DeleteSnapshot
Deletes an existing snapshot. When you receive a successful response from this operation, MemoryDB immediately begins deleting the snapshot; you cannot cancel or revert this operation.
Request Syntax
{ "SnapshotName": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
SnapshotName (p. 39)
The name of the snapshot to delete Type: String
Required: Yes
Response Syntax
{ "Snapshot": { "ARN": "string",
"ClusterConfiguration": { "Description": "string", "EngineVersion": "string", "MaintenanceWindow": "string", "Name": "string",
"NodeType": "string", "NumShards": number,
"ParameterGroupName": "string", "Port": number,
"Shards": [ {
"Configuration": {
"ReplicaCount": number, "Slots": "string"
},
"Name": "string", "Size": "string",
"SnapshotCreationTime": number }
],
"SnapshotRetentionLimit": number, "SnapshotWindow": "string", "SubnetGroupName": "string", "TopicArn": "string",
"VpcId": "string"
},
Response Elements
"KmsKeyId": "string", "Name": "string", "Source": "string", "Status": "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.
Snapshot (p. 39)
The snapshot object that has been deleted.
Type: Snapshot (p. 147) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
InvalidParameterCombinationException
HTTP Status Code: 400 InvalidParameterValueException
HTTP Status Code: 400 InvalidSnapshotStateFault
HTTP Status Code: 400 ServiceLinkedRoleNotFoundFault
HTTP Status Code: 400 SnapshotNotFoundFault
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
See Also
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeleteSubnetGroup
DeleteSubnetGroup
Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.
Request Syntax
{ "SubnetGroupName": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
SubnetGroupName (p. 42)
The name of the subnet group to delete Type: String
Required: Yes
Response Syntax
{ "SubnetGroup": { "ARN": "string",
"Description": "string", "Name": "string", "Subnets": [ {
"AvailabilityZone": { "Name": "string"
},
"Identifier": "string"
} ],
"VpcId": "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.
SubnetGroup (p. 42)
The subnet group object that has been deleted.
Errors
Type: SubnetGroup (p. 150) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
ServiceLinkedRoleNotFoundFault
HTTP Status Code: 400 SubnetGroupInUseFault
HTTP Status Code: 400 SubnetGroupNotFoundFault
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeleteUser
DeleteUser
Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.
Request Syntax
{
"UserName": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
UserName (p. 44)
The name of the user to delete Type: String
Length Constraints: Minimum length of 1.
Pattern: [a-zA-Z][a-zA-Z0-9\-]*
Required: Yes
Response Syntax
{ "User": {
"AccessString": "string", "ACLNames": [ "string" ], "ARN": "string",
"Authentication": { "PasswordCount": number, "Type": "string"
},
"MinimumEngineVersion": "string", "Name": "string",
"Status": "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.
User (p. 44)
The user object that has been deleted.
Errors
Type: User (p. 154) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
InvalidParameterValueException
HTTP Status Code: 400 InvalidUserStateFault
HTTP Status Code: 400 UserNotFoundFault
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DescribeACLs
DescribeACLs
Returns a list of ACLs
Request Syntax
{
"ACLName": "string", "MaxResults": number, "NextToken": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
ACLName (p. 46) The name of the ACL Type: String
Required: No MaxResults (p. 46)
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
Type: Integer Required: No NextToken (p. 46)
An optional argument to pass in case the total number of records exceeds the value of MaxResults.
If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Type: String Required: No
Response Syntax
{
"ACLs": [ {
"ARN": "string",
"Clusters": [ "string" ],
"MinimumEngineVersion": "string", "Name": "string",
"PendingChanges": {
Response Elements
"UserNamesToAdd": [ "string" ], "UserNamesToRemove": [ "string" ] },
"Status": "string", "UserNames": [ "string" ] }
],
"NextToken": "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.
ACLs (p. 46) The list of ACLs
Type: Array of ACL (p. 112) objects NextToken (p. 46)
If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors (p. 158).
ACLNotFoundFault
HTTP Status Code: 400
InvalidParameterCombinationException
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
See Also
• AWS SDK for Ruby V3
DescribeClusters
DescribeClusters
Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.
Request Syntax
{
"ClusterName": "string", "MaxResults": number, "NextToken": "string", "ShowShardDetails": boolean }
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 156).
The request accepts the following data in JSON format.
ClusterName (p. 49) The name of the cluster Type: String
Required: No MaxResults (p. 49)
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
Type: Integer Required: No NextToken (p. 49)
An optional argument to pass in case the total number of records exceeds the value of MaxResults.
If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Type: String Required: No
ShowShardDetails (p. 49)
An optional flag that can be included in the request to retrieve information about the individual shard(s).
Type: Boolean Required: No