list_services

ServiceQuotas.Client.list_services(**kwargs)

Lists the names and codes for the services integrated with Service Quotas.

See also: AWS API Documentation

Request Syntax

response = client.list_services(
    NextToken='string',
    MaxResults=123
)
Parameters
  • NextToken (string) -- The token for the next page of results.
  • MaxResults (integer) -- 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.
Return type

dict

Returns

Response Syntax

{
    'NextToken': 'string',
    'Services': [
        {
            'ServiceCode': 'string',
            'ServiceName': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • NextToken (string) --

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    • Services (list) --

      Information about the services.

      • (dict) --

        Information about a service.

        • ServiceCode (string) --

          The service identifier.

        • ServiceName (string) --

          The service name.

Exceptions

  • ServiceQuotas.Client.exceptions.AccessDeniedException
  • ServiceQuotas.Client.exceptions.IllegalArgumentException
  • ServiceQuotas.Client.exceptions.InvalidPaginationTokenException
  • ServiceQuotas.Client.exceptions.ServiceException
  • ServiceQuotas.Client.exceptions.TooManyRequestsException