AWS Shield 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 Shield.

Note: All the list below are in alphabetical order.

Service Code: AWSShield

Python Code to get Attribute Names for AWS Shield using Boto3

import boto3

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

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

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

print(attribute_names)
Python

Attribute Name List for AWS Shield


Python Code to get the Attribute Values List for AWS Shield using Boto3

import boto3

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

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

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='AWSShield',
        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()
Python

Attribute Values List for AWS Shield

Attribute Name: description
Values:

Monthly fees for AWS Shield Advanced
Plain text

Attribute Name: fromLocation
Values:

Africa (Cape Town)
Asia Pacific (Hong Kong)
Asia Pacific (Seoul)
Asia Pacific (Singapore)
Asia Pacific (Sydney)
Asia Pacific (Tokyo)
EU (Frankfurt)
EU (Ireland)
EU (London)
EU (Milan)
EU (Stockholm)
Global
Middle East (Bahrain)
US East (N. Virginia)
US East (Ohio)
US West (N. California)
US West (Oregon)
Plain text

Attribute Name: fromLocationType
Values:

AWS Edge Location
AWS Region
Plain text

Attribute Name: location
Values:

Any
Plain text

Attribute Name: locationType
Values:

AWS Region
Plain text

Attribute Name: operation
Values:

CloudFrontDistribution
GlobalAccelerator
LoadBalancing
ShieldProtectionEIP
Plain text

Attribute Name: productFamily
Values:

Shield Advanced Monthly Fee
Shield-DataTransfer
Plain text

Attribute Name: resourceType
Values:

CloudFront
GlobalAccelerator
LoadBalancing
ShieldProtectionEIP
Plain text

Attribute Name: servicecode
Values:

AWSShield
Plain text

Attribute Name: servicename
Values:

AWS Shield
Plain text

Attribute Name: termType
Values:

OnDemand
Plain text

Attribute Name: toLocation
Values:

External
Plain text

Attribute Name: toLocationType
Values:

Other
Plain text

Attribute Name: usagetype
Values:

AFS1-DataTransfer-Shield-Bytes
APE1-DataTransfer-Shield-Bytes
APN1-DataTransfer-Shield-Bytes
APN2-DataTransfer-Shield-Bytes
APS1-DataTransfer-Shield-Bytes
APS2-DataTransfer-Shield-Bytes
EU-DataTransfer-Shield-Bytes
EUC1-DataTransfer-Shield-Bytes
EUN1-DataTransfer-Shield-Bytes
EUS1-DataTransfer-Shield-Bytes
EUW2-DataTransfer-Shield-Bytes
Global-DataTransfer-Shield-Bytes
MES1-DataTransfer-Shield-Bytes
Shield-Monthly-Fee
USE1-DataTransfer-Shield-Bytes
USE2-DataTransfer-Shield-Bytes
USW1-DataTransfer-Shield-Bytes
USW2-DataTransfer-Shield-Bytes
Plain text

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

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 *