Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for AWS IoT Things Graph.
Note: All the list below are in alphabetical order.
Service Code: AWSIoTThingsGraph
Python Code to get Attribute Names for AWS IoT Things Graph using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AWSIoTThingsGraph')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for AWS IoT Things Graph
Python Code to get the Attribute Values List for AWS IoT Things Graph using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AWSIoTThingsGraph')
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='AWSIoTThingsGraph',
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 AWS IoT Things Graph
Attribute Name: group
Values:
Deployments
Steps Executed
Attribute Name: location
Values:
Any
Asia Pacific (Seoul)
Asia Pacific (Sydney)
Asia Pacific (Tokyo)
EU (Ireland)
US East (N. Virginia)
US West (Oregon)
Attribute Name: locationType
Values:
AWS Region
Attribute Name: operation
Values:
Deployment
StepExecuted
Attribute Name: productFamily
Values:
AWSIoT
Attribute Name: servicecode
Values:
AWSIoTThingsGraph
Attribute Name: servicename
Values:
AWS IoT Things Graph
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
APN1-Cloud-Workflows
APN1-Edge-Deployment
APN2-Cloud-Workflows
APN2-Edge-Deployment
APS2-Cloud-Workflows
APS2-Edge-Deployment
EU-Cloud-Workflows
EU-Edge-Deployment
Global-Edge-Deployment
USE1-Cloud-Workflows
USE1-Edge-Deployment
USW2-Cloud-Workflows
USW2-Edge-Deployment
We hope the above list of attribute names and values helps when using the AWS Price List API for AWS IoT Things Graph.
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.