Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for Amazon Braket.
Note: All the list below are in alphabetical order.
Service Code: AmazonBraket
Python Code to get Attribute Names for Amazon Braket using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonBraket')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for Amazon Braket
- devicename
- location
- locationType
- operation
- operationOutcome
- productFamily
- producttype
- provider
- Restriction
- servicecode
- servicename
- termType
- usagetype
- version
Python Code to get the Attribute Values List for Amazon Braket using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonBraket')
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='AmazonBraket',
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 Braket
Attribute Name: devicename
Values:
2000Q
Advantage_system
Aspen-9
IonQdevice
Attribute Name: location
Values:
Any
US East (N. Virginia)
US West (N. California)
US West (Oregon)
Attribute Name: locationType
Values:
AWS Region
Attribute Name: operation
Values:
CompleteTask
FailedTask
Task
Attribute Name: operationOutcome
Values:
Completed
Rehearsal-Completed
Attribute Name: productFamily
Values:
Quantum Task
Quantum Task-Shot
Simulator Task
Attribute Name: producttype
Values:
Managed-Simulators
StateVector
TensorNetwork
Attribute Name: provider
Values:
D-Wave
IonQ
Rigetti
Attribute Name: Restriction
Values:
Limited SKU Usage
Attribute Name: servicecode
Values:
AmazonBraket
Attribute Name: servicename
Values:
Amazon Braket
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
Global-Simulator-Task
Global-Simulators-Task
USE1-Completed-Task-ExecutionDuration-SV1
USE1-Completed-Task-ExecutionDuration-TN1
USE1-Rehearsal-Completed-Task-ExecutionDuration-TN1
USE1-Task
USE1-Task-ExecutionDuration
USE1-Task-Shot
USW1-Completed-Task-ExecutionDuration-SV1
USW1-Task
USW1-Task-ExecutionDuration
USW1-Task-Shot
USW2-Completed-Task-ExecutionDuration-SV1
USW2-Completed-Task-ExecutionDuration-TN1
USW2-Rehearsal-Completed-Task-ExecutionDuration-TN1
USW2-Task
USW2-Task-Dwave_Advantage_system
USW2-Task-ExecutionDuration
USW2-Task-Shot
USW2-Task-Shot-Dwave_Advantage_system
Attribute Name: version
Values:
MS1
SV1
TN1
We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon Braket.
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.