Last Updated on April 29, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for Amazon CodeGuru.
Note: All the list below are in alphabetical order.
Service Code: CodeGuru
Python Code to get Attribute Names for Amazon CodeGuru using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='CodeGuru')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for Amazon CodeGuru
- baseProductReferenceCode
- location
- locationType
- productFamily
- Restriction
- servicecode
- servicename
- termType
- usagetype
Python Code to get the Attribute Values List for Amazon CodeGuru using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='CodeGuru')
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='CodeGuru',
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 CodeGuru
Attribute Name: baseProductReferenceCode
Values:
MachineLearningBuildModels
MachineLearningFreeBuildModels
MachineLearningLambdaAbovePaidBuildModels
MachineLearningLambdaBuildModels
MachineLearningRepositorySizeAboveThresholdsBuildModels
MachineLearningRepositorySizeHighPriceTierBuildModels
MachineLearningRepositorySizeLowPriceTierBuildModels
Attribute Name: location
Values:
Any
Asia Pacific (Singapore)
Asia Pacific (Sydney)
Asia Pacific (Tokyo)
EU (Frankfurt)
EU (Ireland)
EU (London)
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: Restriction
Values:
Limited SKU Usage
Attribute Name: servicecode
Values:
CodeGuru
Attribute Name: servicename
Values:
CodeGuru
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
APN1-AbovePaidSamplingHours EUC1-LambdaAbovePaidSamplingHours USE2-LambdaSamplingHours
APN1-AboveThresholdRepositoryAnalysis EUC1-LambdaSamplingHours USE2-RepositorySizeHighPriceTier
APN1-LambdaAbovePaidSamplingHours EUC1-RepositorySizeHighPriceTier USE2-RepositorySizeLowPriceTier
APN1-LambdaSamplingHours EUC1-RepositorySizeLowPriceTier USE2-SamplingHours
APN1-RepositorySizeHighPriceTier EUC1-SamplingHours USW2-AbovePaidSamplingHours
APN1-RepositorySizeLowPriceTier EUN1-AbovePaidSamplingHours USW2-AboveThresholdRepositoryAnalysis
APN1-SamplingHours EUN1-AboveThresholdRepositoryAnalysis USW2-LambdaAbovePaidSamplingHours
APS1-AbovePaidSamplingHours EUN1-LambdaAbovePaidSamplingHours USW2-LambdaSamplingHours
APS1-AboveThresholdRepositoryAnalysis EUN1-LambdaSamplingHours USW2-RepositorySizeHighPriceTier
APS1-LambdaAbovePaidSamplingHours EUN1-RepositorySizeHighPriceTier USW2-RepositorySizeLowPriceTier
APS1-LambdaSamplingHours EUN1-RepositorySizeLowPriceTier USW2-SamplingHours
APS1-RepositorySizeHighPriceTier EUN1-SamplingHours
APS1-RepositorySizeLowPriceTier EUW2-AbovePaidSamplingHours
APS1-SamplingHours EUW2-AboveThresholdRepositoryAnalysis
APS2-AbovePaidSamplingHours EUW2-LambdaAbovePaidSamplingHours
APS2-AboveThresholdRepositoryAnalysis EUW2-LambdaSamplingHours
APS2-LambdaAbovePaidSamplingHours EUW2-RepositorySizeHighPriceTier
APS2-LambdaSamplingHours EUW2-RepositorySizeLowPriceTier
APS2-RepositorySizeHighPriceTier EUW2-SamplingHours
APS2-RepositorySizeLowPriceTier Global-Profiler-Lambda-Sampling-Hour
APS2-SamplingHours USE1-AbovePaidSamplingHours
EU-AbovePaidSamplingHours USE1-AboveThresholdRepositoryAnalysis
EU-AboveThresholdRepositoryAnalysis USE1-LambdaAbovePaidSamplingHours
EU-LambdaAbovePaidSamplingHours USE1-LambdaSamplingHours
EU-LambdaSamplingHours USE1-RepositorySizeHighPriceTier
EU-RepositorySizeHighPriceTier USE1-RepositorySizeLowPriceTier
EU-RepositorySizeLowPriceTier USE1-SamplingHours
EU-SamplingHours USE2-AbovePaidSamplingHours
EUC1-AbovePaidSamplingHours USE2-AboveThresholdRepositoryAnalysis
EUC1-AboveThresholdRepositoryAnalysis USE2-LambdaAbovePaidSamplingHours
We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon CodeGuru.
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.