Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for Amazon Machine Learning (ML).
Note: All the list below are in alphabetical order.
Service Code: AmazonML
Python Code to get Attribute Names for Amazon Machine Learning (ML) using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonML')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for Amazon Machine Learning (ML)
- group
- groupDescription
- location
- locationType
- machineLearningProcess
- operation
- productFamily
- servicecode
- termType
- usagetype
Python Code to get the Attribute Values List for Amazon Machine Learning (ML) using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonML')
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='AmazonML',
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 Machine Learning (ML)
Attribute Name: group
Values:
Build Machine Learning model
Prediction-Batch
Prediction-Memory
Prediction-Realtime
Attribute Name: groupDescription
Values:
Data Analysis and Model Building
Generate predictions in batch for data records
Generate predictions one at a time in real time
Reserved capacity required for Machine Learning model - real time only
Attribute Name: location
Values:
EU (Ireland)
US East (N. Virginia)
Attribute Name: locationType
Values:
AWS Region
Attribute Name: machineLearningProcess
Values:
Batch predictions
Capacity reservation for real-time predictions
Create data statistics
Evaluate ML models
Real-time predictions
Train ML models
Attribute Name: operation
Values:
BatchPredict
DataStats
EvaluateModel
RealtimeCapacity
RealtimePredict
TrainModel
Attribute Name: productFamily
Values:
Machine Learning
Attribute Name: servicecode
Values:
AmazonML
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
EU-AMLBoxUsage
EU-BatchPredictionChunk
EU-MegabyteHour10
EU-Prediction
USE1-AMLBoxUsage
USE1-BatchPredictionChunk
USE1-MegabyteHour10
USE1-Prediction
We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon Machine Learning (ML).
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.