ListServices
Lists the names and codes for the AWS services integrated with Service Quotas.
Related Actions
Request Syntax
{
"MaxResults": number
,
"NextToken": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- MaxResults
-
The maximum number of results to return with a single call. To retrieve the remaining results, if any, make another call with the token returned from this call.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 100.
Required: No
- NextToken
-
The token for the next page of results.
Type: String
Length Constraints: Maximum length of 2048.
Pattern:
^[a-zA-Z0-9/+]*={0,2}$
Required: No
Response Syntax
{
"NextToken": "string",
"Services": [
{
"ServiceCode": "string",
"ServiceName": "string"
}
]
}
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.
- NextToken
-
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Type: String
Length Constraints: Maximum length of 2048.
Pattern:
^[a-zA-Z0-9/+]*={0,2}$
- Services
-
Information about the AWS services.
Type: Array of ServiceInfo objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
You do not have sufficient permission to perform this action.
HTTP Status Code: 400
- IllegalArgumentException
-
Invalid input was provided.
HTTP Status Code: 400
- InvalidPaginationTokenException
-
Invalid input was provided.
HTTP Status Code: 400
- ServiceException
-
Something went wrong.
HTTP Status Code: 500
- TooManyRequestsException
-
Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: