package
2.0.0-preview.5+incompatible
Repository: https://github.com/aws/aws-sdk-go-v2.git
Documentation: pkg.go.dev
# Packages
Package translateiface provides an interface to enable mocking the Amazon Translate service client for testing your code.
# Functions
New creates a new instance of the Translate client with a config.
# Constants
Service ID for Regions and Endpoints metadata.
ErrCodeDetectedLanguageLowConfidenceException for service response error code "DetectedLanguageLowConfidenceException".
ErrCodeInternalServerException for service response error code "InternalServerException".
ErrCodeInvalidRequestException for service response error code "InvalidRequestException".
ErrCodeServiceUnavailableException for service response error code "ServiceUnavailableException".
ErrCodeTextSizeLimitExceededException for service response error code "TextSizeLimitExceededException".
ErrCodeTooManyRequestsException for service response error code "TooManyRequestsException".
ErrCodeUnsupportedLanguagePairException for service response error code "UnsupportedLanguagePairException".
Service endpoint prefix API calls made to.
# Structs
Please also see https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/TextRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/TextResponse.
TextRequest is a API request type for the Text API operation.
Translate provides the API operation methods for making requests to Amazon Translate.