Support / Client / describe_supported_languages
describe_supported_languages¶
- Support.Client.describe_supported_languages(**kwargs)¶
Returns a list of supported languages for a specified
categoryCode,issueTypeandserviceCode. The returned supported languages will include a ISO 639-1 code for thelanguage, and the language display name.Note
You must have an Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan to use the Amazon Web Services Support API. If you’re in an Amazon Web Services Region that doesn’t offer one of these Amazon Web Services Support plans, or if you haven’t transitioned to one of these plans, you can use the Amazon Web Services Support API with a Business, Enterprise On-Ramp, or Enterprise Support plan.
If you call the Amazon Web Services Support API from an account that doesn’t have an Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
See also: AWS API Documentation
Request Syntax
response = client.describe_supported_languages( issueType='string', serviceCode='string', categoryCode='string', dryRun=True|False )
- Parameters:
issueType (string) –
[REQUIRED]
The type of issue for the case. You can specify
customer-serviceortechnical.serviceCode (string) –
[REQUIRED]
The code for the Amazon Web Services service. You can use the DescribeServices operation to get the possible
serviceCodevalues.categoryCode (string) –
[REQUIRED]
The category of problem for the support case. You also use the DescribeServices operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.
dryRun (boolean) – 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 aDryRunOperationException. When omitted or set tofalse, the request runs normally.
- Return type:
dict
- Returns:
Response Syntax
{ 'supportedLanguages': [ { 'code': 'string', 'language': 'string', 'display': 'string' }, ] }
Response Structure
(dict) –
supportedLanguages (list) –
A JSON-formatted array that contains the available ISO 639-1 language codes.
(dict) –
A JSON-formatted object that contains the available ISO 639-1 language
code,languagename and langaugedisplayvalue. The language code is what should be used in the CreateCase call.code (string) –
2 digit ISO 639-1 code. e.g.
enlanguage (string) –
Full language description e.g.
ENGLISHdisplay (string) –
Language display value e.g.
ENGLISH
Exceptions
Support.Client.exceptions.InternalServerErrorSupport.Client.exceptions.ThrottlingExceptionSupport.Client.exceptions.DryRunOperationException