Support / Client / describe_supported_languages

describe_supported_languages#

Support.Client.describe_supported_languages(**kwargs)#

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 Amazon Web Services Support API.

  • If you call the Amazon Web Services 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 Amazon Web Services Support.

See also: AWS API Documentation

Request Syntax

response = client.describe_supported_languages(
    issueType='string',
    serviceCode='string',
    categoryCode='string'
)
Parameters:
  • issueType (string) –

    [REQUIRED]

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

  • serviceCode (string) –

    [REQUIRED]

    The code for the Amazon Web Services service. You can use the DescribeServices operation to get the possible serviceCode values.

  • 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.

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, language name and langauge display value. The language code is what should be used in the CreateCase call.

        • code (string) –

          2 digit ISO 639-1 code. e.g. en

        • language (string) –

          Full language description e.g. ENGLISH

        • display (string) –

          Language display value e.g. ENGLISH

Exceptions

  • Support.Client.exceptions.InternalServerError

  • Support.Client.exceptions.ThrottlingException