DescribeAccountAttributesCommand

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

This command doesn't take any parameters.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { RDSClient, DescribeAccountAttributesCommand } from "@aws-sdk/client-rds"; // ES Modules import
// const { RDSClient, DescribeAccountAttributesCommand } = require("@aws-sdk/client-rds"); // CommonJS import
const client = new RDSClient(config);
const input = {};
const command = new DescribeAccountAttributesCommand(input);
const response = await client.send(command);
// { // AccountAttributesMessage
//   AccountQuotas: [ // AccountQuotaList
//     { // AccountQuota
//       AccountQuotaName: "STRING_VALUE",
//       Used: Number("long"),
//       Max: Number("long"),
//     },
//   ],
// };

Example Usage

 There was an error loading the code editor. Retry

DescribeAccountAttributesCommand Input

See DescribeAccountAttributesCommandInput for more details
DescribeAccountAttributesCommandInput extends DescribeAccountAttributesMessage 

DescribeAccountAttributesCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
AccountQuotas
AccountQuota[] | undefined

A list of AccountQuota objects. Within this list, each quota has a name, a count of usage toward the quota maximum, and a maximum value for the quota.

Throws

Name
Fault
Details
RDSServiceException
Base exception class for all service exceptions from RDS service.