AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ListLanguagesAsync.

Namespace: Amazon.Translate
Assembly: AWSSDK.Translate.dll
Version: 3.x.y.z

Syntax

C#
public virtual ListLanguagesResponse ListLanguages(
         ListLanguagesRequest request
)

Parameters

request
Type: Amazon.Translate.Model.ListLanguagesRequest

Container for the necessary parameters to execute the ListLanguages service method.

Return Value


The response from the ListLanguages service method, as returned by Translate.

Exceptions

ExceptionCondition
InternalServerException An internal server error occurred. Retry your request.
InvalidParameterValueException The value of the parameter is not valid. Review the value of the parameter you are using to correct it, and then retry your operation.
TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again.
UnsupportedDisplayLanguageCodeException Requested display language code is not supported.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also