AWS CloudTrail Price List API all Attribute Names and Values

Last Updated on April 28, 2021

Below is a reference for all attribute names and attribute values in AWS Price List API for AWS CloudTrail.

Note: All the list below are in alphabetical order.

Service Code: AWSCloudTrail

Python Code to get Attribute Names for AWSCloudTrail using Boto3

import boto3

pricing_client = boto3.client('pricing', region_name='us-east-1')

response = pricing_client.describe_services(ServiceCode='AWSCloudTrail')

attribute_names = response['Services'][0]['AttributeNames']

print(attribute_names)

Attribute Name List for AWSCloudTrail


Python Code to get the Attribute Values List for AWSCloudTrail using Boto3

import boto3

pricing_client = boto3.client('pricing', region_name='us-east-1')

response = pricing_client.describe_services(ServiceCode='AWSCloudTrail')

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='AWSCloudTrail',
        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 AWSCloudTrail

Attribute Name: insightstype
Values:

APICallVolume

Attribute Name: location
Values:

Africa (Cape Town)
Asia Pacific (Hong Kong)
Asia Pacific (Mumbai)
Asia Pacific (Osaka)
Asia Pacific (Seoul)
Asia Pacific (Singapore)
Asia Pacific (Sydney)
Asia Pacific (Tokyo)
AWS GovCloud (US-East)
AWS GovCloud (US-West)
Canada (Central)
EU (Frankfurt)
EU (Ireland)
EU (London)
EU (Milan)
EU (Paris)
EU (Stockholm)
Middle East (Bahrain)
South America (Sao Paulo)
US East (N. Virginia)
US East (Ohio)
US West (N. California)
US West (Oregon)

Attribute Name: locationType
Values:

AWS Region

Attribute Name: productFamily
Values:

Management Tools - AWS CloudTrail Data Events Recorded
Management Tools - AWS CloudTrail Free Events Recorded
Management Tools - AWS CloudTrail Insights Events
Management Tools - AWS CloudTrail Paid Events Recorded

Attribute Name: servicecode
Values:

AWSCloudTrail

Attribute Name: servicename
Values:

AWS CloudTrail

Attribute Name: termType
Values:

OnDemand

Attribute Name: usagetype
Values:

AFS1-DataEventsRecorded    APS3-InsightsEvents        MES1-DataEventsRecorded    USW2-InsightsEvents        
AFS1-FreeEventsRecorded    APS3-PaidEventsRecorded    MES1-FreeEventsRecorded    USW2-PaidEventsRecorded    
AFS1-InsightsEvents        CAN1-DataEventsRecorded    MES1-InsightsEvents        
AFS1-PaidEventsRecorded    CAN1-FreeEventsRecorded    MES1-PaidEventsRecorded    
APE1-DataEventsRecorded    CAN1-InsightsEvents        SAE1-DataEventsRecorded    
APE1-FreeEventsRecorded    CAN1-PaidEventsRecorded    SAE1-FreeEventsRecorded    
APE1-InsightsEvents        EU-DataEventsRecorded      SAE1-InsightsEvents        
APE1-PaidEventsRecorded    EU-FreeEventsRecorded      SAE1-PaidEventsRecorded    
APN1-DataEventsRecorded    EU-InsightsEvents          UGE1-DataEventsRecorded    
APN1-FreeEventsRecorded    EU-PaidEventsRecorded      UGE1-FreeEventsRecorded    
APN1-InsightsEvents        EUC1-DataEventsRecorded    UGE1-InsightsEvents        
APN1-PaidEventsRecorded    EUC1-FreeEventsRecorded    UGE1-PaidEventsRecorded    
APN2-DataEventsRecorded    EUC1-InsightsEvents        UGW1-DataEventsRecorded    
APN2-FreeEventsRecorded    EUC1-PaidEventsRecorded    UGW1-FreeEventsRecorded    
APN2-InsightsEvents        EUN1-DataEventsRecorded    UGW1-InsightsEvents        
APN2-PaidEventsRecorded    EUN1-FreeEventsRecorded    UGW1-PaidEventsRecorded    
APN3-DataEventsRecorded    EUN1-InsightsEvents        USE1-DataEventsRecorded    
APN3-FreeEventsRecorded    EUN1-PaidEventsRecorded    USE1-FreeEventsRecorded    
APN3-InsightsEvents        EUS1-DataEventsRecorded    USE1-InsightsEvents        
APN3-PaidEventsRecorded    EUS1-FreeEventsRecorded    USE1-PaidEventsRecorded    
APS1-DataEventsRecorded    EUS1-InsightsEvents        USE2-DataEventsRecorded    
APS1-FreeEventsRecorded    EUS1-PaidEventsRecorded    USE2-FreeEventsRecorded    
APS1-InsightsEvents        EUW2-DataEventsRecorded    USE2-InsightsEvents        
APS1-PaidEventsRecorded    EUW2-FreeEventsRecorded    USE2-PaidEventsRecorded    
APS2-DataEventsRecorded    EUW2-InsightsEvents        USW1-DataEventsRecorded    
APS2-FreeEventsRecorded    EUW2-PaidEventsRecorded    USW1-FreeEventsRecorded    
APS2-InsightsEvents        EUW3-DataEventsRecorded    USW1-InsightsEvents        
APS2-PaidEventsRecorded    EUW3-FreeEventsRecorded    USW1-PaidEventsRecorded    
APS3-DataEventsRecorded    EUW3-InsightsEvents        USW2-DataEventsRecorded    
APS3-FreeEventsRecorded    EUW3-PaidEventsRecorded    USW2-FreeEventsRecorded    

We hope the above list of attribute names and values helps when using the AWS Price List API for AWS CloudTrail.

If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.

Leave a Reply

Your email address will not be published. Required fields are marked *