Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for Amazon Elastic Inference.
Note: All the list below are in alphabetical order.
Service Code: AmazonEI
Python Code to get Attribute Names for Amazon Elastic Inference using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonEI')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for Amazon Elastic Inference
- acceleratorSize
- acceleratorType
- location
- locationType
- operation
- productFamily
- servicecode
- servicename
- termType
- usagetype
Python Code to get the Attribute Values List for Amazon Elastic Inference using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonEI')
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='AmazonEI',
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 Elastic Inference
Attribute Name: acceleratorSize
Values:
Large
Medium
Xlarge
Attribute Name: acceleratorType
Values:
eia1
eia2
Attribute Name: location
Values:
Asia Pacific (Seoul)
Asia Pacific (Tokyo)
EU (Ireland)
US East (N. Virginia)
US East (Ohio)
US West (Oregon)
Attribute Name: locationType
Values:
AWS Region
Attribute Name: operation
Values:
RunInstances
Attribute Name: productFamily
Values:
Elastic Inference
Attribute Name: servicecode
Values:
AmazonEI
Attribute Name: servicename
Values:
Amazon Elastic Inference
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
APN1-eia1.large
APN1-eia1.medium
APN1-eia1.xlarge
APN1-eia2.large
APN1-eia2.medium
APN1-eia2.xlarge
APN2-eia1.large
APN2-eia1.medium
APN2-eia1.xlarge
APN2-eia2.large
APN2-eia2.medium
APN2-eia2.xlarge
EU-eia1.large
EU-eia1.medium
EU-eia1.xlarge
EU-eia2.large
EU-eia2.medium
EU-eia2.xlarge
USE1-eia1.large
USE1-eia1.medium
USE1-eia1.xlarge
USE1-eia2.large
USE1-eia2.medium
USE1-eia2.xlarge
USE2-eia1.large
USE2-eia1.medium
USE2-eia1.xlarge
USE2-eia2.large
USE2-eia2.medium
USE2-eia2.xlarge
USW2-eia1.large
USW2-eia1.medium
USW2-eia1.xlarge
USW2-eia2.large
USW2-eia2.medium
USW2-eia2.xlarge
We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon Elastic Inference.
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.