CmdID / aws / aws service-quotas
aws service-quotas list-services
Lists the names and codes for the Amazon Web Services services integrated with Service Quotas. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To list the available services
The following list-services example lists the services that are available in Service Quotas.
aws service-quotas list-servicesIdentifyIts output
{
"Services": [
{
"ServiceCode": "AWSCloudMap",
"ServiceName": "AWS Cloud Map"
},
{
"ServiceCode": "access-analyzer",
"ServiceName": "Access Analyzer"
},
{
"ServiceCode": "acm",
"ServiceName": "AWS Certificate Manager (ACM)"
},
{
"ServiceCode": "xray",
"ServiceName": "AWS X-Ray"
}
]
}You can add the --query parameter to filter the display to the information that you are interested in. The following example displays only the service codes.
aws service-quotas list-services --query Services[*].ServiceCodeIdentify--queryA JMESPath query to use in filtering the response data.Its output
[
"AWSCloudMap",
"access-analyzer",
"acm",
"acm-pca",
"amplify",
"apigateway",
"application-autoscaling",
"xray"
]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.