Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for Amazon Comprehend.
Note: All the list below are in alphabetical order.
Service Code: comprehend
Python Code to get Attribute Names for Amazon Comprehend using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='comprehend')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for Amazon Comprehend
- group
- groupDescription
- location
- locationType
- operation
- productFamily
- Restriction
- servicecode
- servicename
- termType
- usagetype
Python Code to get the Attribute Values List for Amazon Comprehend using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='comprehend')
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='comprehend',
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 Comprehend
Attribute Name: group
Values:
comprehend - Custom Classification
comprehend - Custom Entities
Global-Comprehend-ContainsPiiEntities
Global-Comprehend-DetectEvents
Global-Comprehend-DetectPiiEntities
Global-Comprehend-DetectTopic
Global-Comprehend-DetectTopic-Fixed
Global-Comprehend-DetectTopic-PerMB
Global-Comprehend-EntityAnalysis
Global-Comprehend-KeyPhrases
Global-Comprehend-LanguageDetection
Global-Comprehend-SentimentAnalysis
Global-Comprehend-SyntaxAnalysis
Attribute Name: groupDescription
Values:
Processes Contains PII in text requests
Processes Custom Classification model storage request
Processes Custom Classification model training request
Processes Custom Classification text request
Processes Custom Entity model storage request
Processes Custom Entity model training request
Processes Custom Entity text request
Processes Entity Analysis text request
Processes Event Analysis text request
Processes Key Phrase detection text request
Processes Language Detection text request
Processes PII Analysis in text request
Processes Sentiment Analysis text request
Processes Sync custom classification text request
Processes Sync custom entities text request
Processes Syntax Analysis text request
Processes Topic Detection text request
Attribute Name: location
Values:
Any
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)
US East (N. Virginia)
US East (Ohio)
US West (Oregon)
Attribute Name: locationType
Values:
AWS Region
Attribute Name: operation
Values:
ContainsPiiEntities
DetectDominantLanguage
DetectEntities
DetectEvents
DetectKeyPhrases
DetectPiiEntities
DetectSentiment
DetectSyntax
DetectTopics
DocClassification
DocClassifier
EntityRecognizer
Attribute Name: productFamily
Values:
API Calls
Custom Classification
Custom Entities
Dominant Language Detection
Entity Detection
Key Phrases Detection
Sentiment Analysis
Syntax Analysis
Topic Modeling
Attribute Name: Restriction
Values:
Limited SKU Usage
Attribute Name: servicecode
Values:
comprehend
Attribute Name: servicename
Values:
Amazon Comprehend
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
APN1-ContainsPiiEntities APN2-DocClassification-Custom APS2-DetectPiiEntities CAN1-ContainsPiiEntities EU-DocClassification-Custom EUW2-DetectPiiEntities UGW1-DetectSentiment USE2-DetectDominantLanguage USW2-DocClassifier-Storage
APN1-DetectDominantLanguage APN2-DocClassifier-Storage APS2-DetectSentiment CAN1-DetectDominantLanguage EU-DocClassifier-Storage EUW2-DetectSentiment UGW1-DetectSyntax USE2-DetectEntities USW2-DocClassifier-Time
APN1-DetectEntities APN2-DocClassifier-Time APS2-DetectSyntax CAN1-DetectEntities EU-DocClassifier-Time EUW2-DetectSyntax UGW1-DetectTopics-1MB USE2-DetectEntities-Custom USW2-Endpoint-Time
APN1-DetectEntities-Custom APN2-Endpoint-Time APS2-DetectTopics-1MB CAN1-DetectEntities-Custom EU-Endpoint-Time EUW2-DetectTopics-1MB UGW1-DetectTopics-Fixed USE2-DetectEvents USW2-EntityRecognizer-Storage
APN1-DetectEvents APN2-EntityRecognizer-Storage APS2-DetectTopics-Fixed CAN1-DetectEvents EU-EntityRecognizer-Storage EUW2-DetectTopics-Fixed UGW1-DetectTopics-PerMB USE2-DetectKeyPhrases USW2-EntityRecognizer-Time
APN1-DetectKeyPhrases APN2-EntityRecognizer-Time APS2-DetectTopics-PerMB CAN1-DetectKeyPhrases EU-EntityRecognizer-Time EUW2-DetectTopics-PerMB UGW1-DocClassification-Custom USE2-DetectPiiEntities
APN1-DetectPiiEntities APS1-ContainsPiiEntities APS2-DocClassification-Custom CAN1-DetectPiiEntities EUC1-ContainsPiiEntities EUW2-DocClassification-Custom UGW1-DocClassifier-Storage USE2-DetectSentiment
APN1-DetectSentiment APS1-DetectDominantLanguage APS2-DocClassifier-Storage CAN1-DetectSentiment EUC1-DetectDominantLanguage EUW2-DocClassifier-Storage UGW1-DocClassifier-Time USE2-DetectSyntax
APN1-DetectSyntax APS1-DetectEntities APS2-DocClassifier-Time CAN1-DetectSyntax EUC1-DetectEntities EUW2-DocClassifier-Time UGW1-Endpoint-Time USE2-DetectTopics-1MB
APN1-DetectTopics-1MB APS1-DetectEntities-Custom APS2-Endpoint-Time CAN1-DetectTopics-1MB EUC1-DetectEntities-Custom EUW2-Endpoint-Time UGW1-EntityRecognizer-Storage USE2-DetectTopics-Fixed
APN1-DetectTopics-Fixed APS1-DetectEvents APS2-EntityRecognizer-Storage CAN1-DetectTopics-Fixed EUC1-DetectEvents EUW2-EntityRecognizer-Storage UGW1-EntityRecognizer-Time USE2-DetectTopics-PerMB
APN1-DetectTopics-PerMB APS1-DetectKeyPhrases APS2-EntityRecognizer-Time CAN1-DetectTopics-PerMB EUC1-DetectKeyPhrases EUW2-EntityRecognizer-Time USE1-ContainsPiiEntities USE2-DocClassification-Custom
APN1-DocClassification-Custom APS1-DetectPiiEntities APS3-ContainsPiiEntities CAN1-DocClassification-Custom EUC1-DetectPiiEntities Global-Comprehend-DC-Custom USE1-DetectDominantLanguage USE2-DocClassifier-Storage
APN1-DocClassifier-Storage APS1-DetectSentiment APS3-DetectDominantLanguage CAN1-DocClassifier-Storage EUC1-DetectSentiment Global-Comprehend-DE-Custom USE1-DetectEntities USE2-DocClassifier-Time
APN1-DocClassifier-Time APS1-DetectSyntax APS3-DetectEntities CAN1-DocClassifier-Time EUC1-DetectSyntax Global-Comprehend-EA USE1-DetectEntities-Custom USE2-Endpoint-Time
APN1-Endpoint-Time APS1-DetectTopics-1MB APS3-DetectEntities-Custom CAN1-Endpoint-Time EUC1-DetectTopics-1MB Global-Comprehend-KP USE1-DetectEvents USE2-EntityRecognizer-Storage
APN1-EntityRecognizer-Storage APS1-DetectTopics-Fixed APS3-DetectEvents CAN1-EntityRecognizer-Storage EUC1-DetectTopics-Fixed Global-Comprehend-LD USE1-DetectKeyPhrases USE2-EntityRecognizer-Time
APN1-EntityRecognizer-Time APS1-DetectTopics-PerMB APS3-DetectKeyPhrases CAN1-EntityRecognizer-Time EUC1-DetectTopics-PerMB Global-Comprehend-SA USE1-DetectPiiEntities USW2-ContainsPiiEntities
APN2-ContainsPiiEntities APS1-DocClassification-Custom APS3-DetectPiiEntities EU-ContainsPiiEntities EUC1-DocClassification-Custom Global-Comprehend-Syntax USE1-DetectSentiment USW2-DetectDominantLanguage
APN2-DetectDominantLanguage APS1-DocClassifier-Storage APS3-DetectSentiment EU-DetectDominantLanguage EUC1-DocClassifier-Storage Global-ContainsPiiEntities USE1-DetectSyntax USW2-DetectEntities
APN2-DetectEntities APS1-DocClassifier-Time APS3-DetectSyntax EU-DetectEntities EUC1-DocClassifier-Time Global-DetectEvents USE1-DetectTopics-1MB USW2-DetectEntities-Custom
APN2-DetectEntities-Custom APS1-Endpoint-Time APS3-DetectTopics-1MB EU-DetectEntities-Custom EUC1-Endpoint-Time Global-DetectPiiEntities USE1-DetectTopics-Fixed USW2-DetectEvents
APN2-DetectEvents APS1-EntityRecognizer-Storage APS3-DetectTopics-Fixed EU-DetectEvents EUC1-EntityRecognizer-Storage Global-DetectTopics USE1-DetectTopics-PerMB USW2-DetectKeyPhrases
APN2-DetectKeyPhrases APS1-EntityRecognizer-Time APS3-DetectTopics-PerMB EU-DetectKeyPhrases EUC1-EntityRecognizer-Time UGW1-ContainsPiiEntities USE1-DocClassification-Custom USW2-DetectPiiEntities
APN2-DetectPiiEntities APS2-ContainsPiiEntities APS3-DocClassification-Custom EU-DetectPiiEntities EUW2-ContainsPiiEntities UGW1-DetectDominantLanguage USE1-DocClassifier-Storage USW2-DetectSentiment
APN2-DetectSentiment APS2-DetectDominantLanguage APS3-DocClassifier-Storage EU-DetectSentiment EUW2-DetectDominantLanguage UGW1-DetectEntities USE1-DocClassifier-Time USW2-DetectSyntax
APN2-DetectSyntax APS2-DetectEntities APS3-DocClassifier-Time EU-DetectSyntax EUW2-DetectEntities UGW1-DetectEntities-Custom USE1-Endpoint-Time USW2-DetectTopics-1MB
APN2-DetectTopics-1MB APS2-DetectEntities-Custom APS3-Endpoint-Time EU-DetectTopics-1MB EUW2-DetectEntities-Custom UGW1-DetectEvents USE1-EntityRecognizer-Storage USW2-DetectTopics-Fixed
APN2-DetectTopics-Fixed APS2-DetectEvents APS3-EntityRecognizer-Storage EU-DetectTopics-Fixed EUW2-DetectEvents UGW1-DetectKeyPhrases USE1-EntityRecognizer-Time USW2-DetectTopics-PerMB
APN2-DetectTopics-PerMB APS2-DetectKeyPhrases APS3-EntityRecognizer-Time EU-DetectTopics-PerMB EUW2-DetectKeyPhrases UGW1-DetectPiiEntities USE2-ContainsPiiEntities USW2-DocClassification-Custom
We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon Comprehend.
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.