Menu
AWS Support
API Reference (API Version 2013-04-15)

DescribeServices

Returns the current list of AWS services and a list of service categories that applies to each one. You then use service names and categories in your CreateCase requests. Each AWS service has its own set of categories.

The service codes and category codes correspond to the values that are displayed in the Service and Category drop-down lists on the AWS Support Center Create Case page. The values in those fields, however, do not necessarily match the service codes and categories returned by the DescribeServices request. Always use the service codes and categories obtained programmatically. This practice ensures that you always have the most recent set of service and category codes.

Request Syntax

{
   "language": "string",
   "serviceCodeList": [ "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.

language

The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.

Type: String

serviceCodeList

A JSON-formatted list of service codes available for AWS services.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 100 items.

Response Syntax

{
   "services": [ 
      { 
         "categories": [ 
            { 
               "code": "string",
               "name": "string"
            }
         ],
         "code": "string",
         "name": "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.

services

A JSON-formatted list of AWS services.

Type: Array of Service objects

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerError

An internal server error occurred.

HTTP Status Code: 500

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: