Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for Amazon Lookout Metrics for anomaly detection.
Note: All the list below are in alphabetical order.
Service Code: AmazonLookoutMetrics
Python Code to get Attribute Names for Amazon Lookout Metrics using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonLookoutMetrics')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for Amazon Lookout Metrics
Python Code to get the Attribute Values List for Amazon Lookout Metrics using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonLookoutMetrics')
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='AmazonLookoutMetrics',
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 Lookout Metrics
Attribute Name: groupDescription
Values:
Anomaly Detection - Price per metric
Attribute Name: location
Values:
Asia Pacific (Singapore)
Asia Pacific (Sydney)
Asia Pacific (Tokyo)
EU (Frankfurt)
EU (Ireland)
EU (Stockholm)
US East (N. Virginia)
US East (Ohio)
US West (Oregon)
Attribute Name: locationType
Values:
AWS Region
Attribute Name: productFamily
Values:
Machine Learning
Attribute Name: servicecode
Values:
AmazonLookoutMetrics
Attribute Name: servicename
Values:
AmazonLookoutMetrics
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
APN1-ANOMALY_DETECTION
APS1-ANOMALY_DETECTION
APS2-ANOMALY_DETECTION
EU-ANOMALY_DETECTION
EUC1-ANOMALY_DETECTION
EUN1-ANOMALY_DETECTION
USE1-ANOMALY_DETECTION
USE2-ANOMALY_DETECTION
USW2-ANOMALY_DETECTION
We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon Lookout Metrics.
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.