CmdID / aws / aws service-quotas
aws service-quotas list-service-quotas
Lists the applied quota values for the specified Amazon Web Services service. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To list the quotas for a service
The following list-service-quotas example displays details about the quotas for AWS CloudFormation.
aws service-quotas list-service-quotas --service-code cloudformationIdentify--service-codeSpecifies the service identifier.Its output
{
"Quotas": [
{
"ServiceCode": "cloudformation",
"ServiceName": "AWS CloudFormation",
"QuotaArn": "arn:aws:servicequotas:us-west-2:123456789012:cloudformation/L-87D14FB7",
"QuotaCode": "L-87D14FB7",
"QuotaName": "Output count in CloudFormation template",
"Value": 60.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "cloudformation",
"ServiceName": "AWS CloudFormation",
"QuotaArn": "arn:aws:servicequotas:us-west-2:123456789012:cloudformation/L-0485CB21",
"QuotaCode": "L-0485CB21",
"QuotaName": "Stack count",
"Value": 200.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
}
]
}For more information, see Viewing service quotas in the Service Quotas User Guide.
Options
--max-resultsSpecifies the maximum number of results that you want included on each page of the response.--next-tokenSpecifies a value for receiving additional results after you receive a NextToken response in a previous request.--quota-applied-at-levelFilters the response to return applied quota values for the ACCOUNT, RESOURCE, or ALL levels.--quota-codeSpecifies the quota identifier.--service-codeSpecifies the service identifier.