- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
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
See DescribeAccountAttributesCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
AccountQuotas | AccountQuota[] | undefined | A list of |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
RDSServiceException | Base exception class for all service exceptions from RDS service. |