Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for Amazon Polly.
Note: All the list below are in alphabetical order.
Service Code: AmazonPolly
Python Code to get Attribute Names for AmazonPolly using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonPolly')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for AmazonPolly
Python Code to get the Attribute Values List for AmazonPolly using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonPolly')
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='AmazonPolly',
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 AmazonPolly
Attribute Name: engine
Values:
Neural
Standard
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)
Middle East (Bahrain)
South America (Sao Paulo)
US East (N. Virginia)
US East (Ohio)
US West (N. California)
US West (Oregon)
Attribute Name: locationType
Values:
AWS Region
Attribute Name: productFamily
Values:
AmazonPolly
Synthesize Speech
Attribute Name: Restriction
Values:
Limited SKU Usage
Attribute Name: servicecode
Values:
AmazonPolly
Attribute Name: servicename
Values:
Amazon Polly
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
APE1-SynthesizeSpeech-Characters
APN1-SynthesizeSpeech-Characters
APN1-SynthesizeSpeechNeural-Characters
APN2-SynthesizeSpeech-Characters
APN2-SynthesizeSpeechNeural-Characters
APS1-SynthesizeSpeech-Characters
APS1-SynthesizeSpeechNeural-Characters
APS2-SynthesizeSpeech-Characters
APS2-SynthesizeSpeechNeural-Characters
APS3-SynthesizeSpeech-Characters
CAN1-SynthesizeSpeech-Characters
CAN1-SynthesizeSpeechNeural-Characters
EU-SynthesizeSpeech-Characters
EU-SynthesizeSpeechNeural-Characters
EUC1-SynthesizeSpeech-Characters
EUC1-SynthesizeSpeechNeural-Characters
EUN1-SynthesizeSpeech-Characters
EUW2-SynthesizeSpeech-Characters
EUW2-SynthesizeSpeechNeural-Characters
EUW3-SynthesizeSpeech-Characters
Global-SynthesizeSpeech-Chars
Global-SynthesizeSpeechNeural-Characters
MES1-SynthesizeSpeech-Characters
SAE1-SynthesizeSpeech-Characters
UGW1-SynthesizeSpeech-Characters
UGW1-SynthesizeSpeechNeural-Characters
USE1-SynthesizeSpeech-Characters
USE1-SynthesizeSpeechNeural-Characters
USE2-SynthesizeSpeech-Characters
USW1-SynthesizeSpeech-Characters
USW2-SynthesizeSpeech-Characters
USW2-SynthesizeSpeechNeural-Characters
We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon Polly.
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.