Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for Amazon Translate.
Note: All the list below are in alphabetical order.
Service Code: translate
Python Code to get Attribute Names for Amazon Translate using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='translate')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for Amazon Translate
- inputMode
- location
- locationType
- operation
- outputMode
- productFamily
- Restriction
- servicecode
- servicename
- termType
- usagetype
Python Code to get the Attribute Values List for Amazon Translate using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='translate')
attribute_names = response['Services'][0]['AttributeNames']
for attribute_name in attribute_names:
attribute_values = []
response_iterator = pricing_client.get_paginator('get_attribute_values').paginate(
ServiceCode='translate',
AttributeName=attribute_name
)
for response in response_iterator:
for attribute_value in response['AttributeValues']:
attribute_values.append(attribute_value['Value'])
print('Attribute Name:', attribute_name)
print(attribute_values)
print()
Attribute Values List for Amazon Translate
Attribute Name: inputMode
Values:
Text
Attribute Name: location
Values:
Any
Asia Pacific (Hong Kong)
Asia Pacific (Mumbai)
Asia Pacific (Seoul)
Asia Pacific (Singapore)
Asia Pacific (Sydney)
Asia Pacific (Tokyo)
AWS GovCloud (US-West)
Canada (Central)
EU (Frankfurt)
EU (Ireland)
EU (London)
EU (Paris)
EU (Stockholm)
US East (N. Virginia)
US East (Ohio)
US West (N. California)
US West (Oregon)
Attribute Name: locationType
Values:
AWS Region
Attribute Name: operation
Values:
ActiveCustomTranslationJob
TextTranslationJob
TranslateText
Attribute Name: outputMode
Values:
Text
Attribute Name: productFamily
Values:
Text Translation
Attribute Name: Restriction
Values:
Limited SKU Usage
Attribute Name: servicecode
Values:
translate
Attribute Name: servicename
Values:
Amazon Translate
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
APE1-TranslateText
APN1-TranslateText
APN2-TextTranslationJob
APN2-TranslateText
APS1-TranslateText
APS2-TranslateText
APS3-TranslateText
CAN1-TranslateText
EU-ActiveCustomTranslationJob
EU-TextTranslationJob
EU-TranslateText
EUC1-TextTranslationJob
EUC1-TranslateText
EUN1-TranslateText
EUW2-TextTranslationJob
EUW2-TranslateText
EUW3-TranslateText
Global-ActiveCustomTranslationJob
Global-TranslateText
UGW1-TranslateText
USE1-ActiveCustomTranslationJob
USE1-TextTranslationJob
USE1-TranslateText
USE2-TextTranslationJob
USE2-TranslateText
USW1-TranslateText
USW2-ActiveCustomTranslationJob
USW2-TextTranslationJob
USW2-TranslateText
We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon Translate.
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.