Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for Amazon Textract.
Note: All the list below are in alphabetical order.
Service Code: AmazonTextract
Python Code to get Attribute Names for Amazon Textract using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonTextract')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for Amazon Textract
- apiType
- entityType
- group
- groupDescription
- location
- locationType
- productFamily
- servicecode
- servicename
- termType
- usagetype
Python Code to get the Attribute Values List for Amazon Textract using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonTextract')
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='AmazonTextract',
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 Textract
Attribute Name: apiType
Values:
Async
Sync
Attribute Name: entityType
Values:
Forms
Tables
Text
Attribute Name: group
Values:
Textract Analyze API Requests
Textract DocumentText API Requests
Attribute Name: groupDescription
Values:
Number of pages processed using AnalyzeDocument
Number of pages processed using DetectDocumentText
Number of pages processed using DocumentTextDetection APIs
Attribute Name: location
Values:
Asia Pacific (Mumbai)
Asia Pacific (Seoul)
Asia Pacific (Singapore)
Asia Pacific (Sydney)
AWS GovCloud (US-East)
AWS GovCloud (US-West)
Canada (Central)
EU (Frankfurt)
EU (Ireland)
EU (London)
EU (Paris)
US East (N. Virginia)
US East (Ohio)
US West (N. California)
US West (Oregon)
Attribute Name: locationType
Values:
AWS Region
Attribute Name: productFamily
Values:
API Request
Attribute Name: servicecode
Values:
AmazonTextract
Attribute Name: servicename
Values:
Amazon Textract
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
APN2-AsyncFormsPagesProcessed EU-AsyncFormsPagesProcessed UGW1-AsyncFormsPagesProcessed
APN2-AsyncTablesPagesProcessed EU-AsyncTablesPagesProcessed UGW1-AsyncTablesPagesProcessed
APN2-AsyncTextPagesProcessed EU-AsyncTextPagesProcessed UGW1-AsyncTextPagesProcessed
APN2-SyncFormsPagesProcessed EU-SyncFormsPagesProcessed UGW1-SyncFormsPagesProcessed
APN2-SyncTablesPagesProcessed EU-SyncTablesPagesProcessed UGW1-SyncTablesPagesProcessed
APN2-SyncTextPagesProcessed EU-SyncTextPagesProcessed UGW1-SyncTextPagesProcessed
APS1-AsyncFormsPagesProcessed EUC1-AsyncFormsPagesProcessed USE1-AsyncFormsPagesProcessed
APS1-AsyncTablesPagesProcessed EUC1-AsyncTablesPagesProcessed USE1-AsyncTablesPagesProcessed
APS1-AsyncTextPagesProcessed EUC1-AsyncTextPagesProcessed USE1-AsyncTextPagesProcessed
APS1-SyncFormsPagesProcessed EUC1-SyncFormsPagesProcessed USE1-SyncFormsPagesProcessed
APS1-SyncTablesPagesProcessed EUC1-SyncTablesPagesProcessed USE1-SyncTablesPagesProcessed
APS1-SyncTextPagesProcessed EUC1-SyncTextPagesProcessed USE1-SyncTextPagesProcessed
APS2-AsyncFormsPagesProcessed EUW2-AsyncFormsPagesProcessed USE2-AsyncFormsPagesProcessed
APS2-AsyncTablesPagesProcessed EUW2-AsyncTablesPagesProcessed USE2-AsyncTablesPagesProcessed
APS2-AsyncTextPagesProcessed EUW2-AsyncTextPagesProcessed USE2-AsyncTextPagesProcessed
APS2-SyncFormsPagesProcessed EUW2-SyncFormsPagesProcessed USE2-SyncFormsPagesProcessed
APS2-SyncTablesPagesProcessed EUW2-SyncTablesPagesProcessed USE2-SyncTablesPagesProcessed
APS2-SyncTextPagesProcessed EUW2-SyncTextPagesProcessed USE2-SyncTextPagesProcessed
APS3-AsyncFormsPagesProcessed EUW3-AsyncFormsPagesProcessed USW1-AsyncFormsPagesProcessed
APS3-AsyncTablesPagesProcessed EUW3-AsyncTablesPagesProcessed USW1-AsyncTablesPagesProcessed
APS3-AsyncTextPagesProcessed EUW3-AsyncTextPagesProcessed USW1-AsyncTextPagesProcessed
APS3-SyncFormsPagesProcessed EUW3-SyncFormsPagesProcessed USW1-SyncFormsPagesProcessed
APS3-SyncTablesPagesProcessed EUW3-SyncTablesPagesProcessed USW1-SyncTablesPagesProcessed
APS3-SyncTextPagesProcessed EUW3-SyncTextPagesProcessed USW1-SyncTextPagesProcessed
CAN1-AsyncFormsPagesProcessed UGE1-AsyncFormsPagesProcessed USW2-AsyncFormsPagesProcessed
CAN1-AsyncTablesPagesProcessed UGE1-AsyncTablesPagesProcessed USW2-AsyncTablesPagesProcessed
CAN1-AsyncTextPagesProcessed UGE1-AsyncTextPagesProcessed USW2-AsyncTextPagesProcessed
CAN1-SyncFormsPagesProcessed UGE1-SyncFormsPagesProcessed USW2-SyncFormsPagesProcessed
CAN1-SyncTablesPagesProcessed UGE1-SyncTablesPagesProcessed USW2-SyncTablesPagesProcessed
CAN1-SyncTextPagesProcessed UGE1-SyncTextPagesProcessed USW2-SyncTextPagesProcessed
We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon Textract.
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.