Menu
AWS Database Migration Service
API Reference (API Version 2016-01-01)

DescribeAccountAttributes

Lists all of the AWS DMS attributes for a customer account. The attributes include AWS DMS quotas for the account, such as the number of replication instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value.

This command does not take any parameters.

Response Syntax

{
   "AccountQuotas": [ 
      { 
         "AccountQuotaName": "string",
         "Max": number,
         "Used": number
      }
   ]
}

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.

AccountQuotas

Account quota information.

Type: Array of AccountQuota objects

Errors

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

Example

Sample Request

   
POST / HTTP/1.1
Host: dms.<region>.<domain>
x-amz-Date: <Date>
Authorization: AWS4-HMAC-SHA256 
Credential=<Credential>, 
SignedHeaders=contenttype;date;host;user-
agent;x-amz-date;x-amz-target;x-amzn-
requestid,Signature=<Signature>
User-Agent: <UserAgentString>
Content-Type: application/x-amz-json-1.1
Content-Length: <PayloadSizeBytes>
Connection: Keep-Alive
X-Amz-Target: AmazonDMSv20160101.DescribeAccountAttributes

 

Sample Response


 HTTP/1.1 200 OK
x-amzn-RequestId: <RequestId>
Content-Type: application/x-amz-json-1.1
Content-Length: <PayloadSizeBytes>
Date: <Date>
{
   "AccountQuotas":[
      {
         "Max":20,
         "AccountQuotaName":"ReplicationInstances",
         "Used":12
      },
      {
         "Max":10000,
         "AccountQuotaName":"AllocatedStorage",
         "Used":6339
      },
      {
         "Max":20,
         "AccountQuotaName":"ReplicationSubnetGroups",
         "Used":5
      },
      {
         "Max":20,
         "AccountQuotaName":"SubnetsPerReplicationSubnetGroup",
         "Used":4
      },
      {
         "Max":100,
         "AccountQuotaName":"Endpoints",
         "Used":10
      },
      {
         "Max":200,
         "AccountQuotaName":"ReplicationTasks",
         "Used":2
      },
      {
         "Max":20,
         "AccountQuotaName":"EndpointsPerInstance",
         "Used":8
      }
   ]
}
    
 

See Also

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