Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

list_services

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