View a markdown version of this page

DescribeSupportedLanguages - AWS Support

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 an AWS Business Support+, AWS Enterprise Support, or AWS Unified Operations plan to use the AWS Support API. If you're in an AWS Region that doesn't offer one of these AWS Support plans, or if you haven't transitioned to one of these plans, you can use the AWS Support API with a Business, Enterprise On-Ramp, or Enterprise Support plan.

  • If you call the AWS Support API from an account that doesn't have an AWS Business Support+, AWS Enterprise Support, or AWS Unified Operations plan, the SubscriptionRequiredException error message appears. For information about changing your support plan, see AWS Support.

Request Syntax

{ "categoryCode": "string", "dryRun": boolean, "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.

dryRun

Specifies whether to validate the request without actually returning supported languages. When set to true, the request is validated but no languages are returned, and the operation returns a DryRunOperationException. When omitted or set to false, the request runs normally.

Type: Boolean

issueType

The type of issue for the case. You can specify customer-service or technical.

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 Error Types.

DryRunOperationException

The request was valid, but the operation wasn't performed because dryRun was set to true.

HTTP Status Code: 400

InternalServerError

An internal server error occurred.

message

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: