DescribeSupportedLanguages
Returns a list of supported languages for a specified categoryCode
,
issueType
and serviceCode
. The returned supported languages will
include a ISO 639-1 code for the language
, and the language display name.
Note
-
You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the AWS Support API.
-
If you call the AWS Support API from an account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
error message appears. For information about changing your support plan, see AWS Support.
Request Syntax
{
"categoryCode": "string
",
"issueType": "string
",
"serviceCode": "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.
- categoryCode
-
The category of problem for the support case. You also use the DescribeServices operation to get the category code for a service. Each AWS service defines its own set of category codes.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 100.
- issueType
-
The type of issue for the case. You can specify
customer-service
ortechnical
.Type: String
Length Constraints: Minimum length of 9. Maximum length of 22.
- serviceCode
-
The code for the AWS service. You can use the DescribeServices operation to get the possible
serviceCode
values.Type: String
Length Constraints: Minimum length of 0. Maximum length of 100.
Response Syntax
{
"supportedLanguages": [
{
"code": "string",
"display": "string",
"language": "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.
- supportedLanguages
-
A JSON-formatted array that contains the available ISO 639-1 language codes.
Type: Array of SupportedLanguage objects
Array Members: Minimum number of 0 items. Maximum number of 100 items.
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
- ThrottlingException
-
You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: