Class: Aws::Pricing::Types::PriceList

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pricing/types.rb

Overview

This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the <a href=“https://aws.amazon.com/service-terms/”>Amazon Web Services Service Terms</a> (Section 1.10).

This is the type of price list references that match your request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#currency_codeString

The three alphabetical character ISO-4217 currency code the Price List files are denominated in.

Returns:

  • (String)


482
483
484
485
486
487
488
489
# File 'lib/aws-sdk-pricing/types.rb', line 482

class PriceList < Struct.new(
  :price_list_arn,
  :region_code,
  :currency_code,
  :file_formats)
  SENSITIVE = []
  include Aws::Structure
end

#file_formatsArray<String>

The format you want to retrieve your Price List files. The ‘FileFormat` can be obtained from the [ `ListPriceList` ][1] response.

[1]: docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html

Returns:

  • (Array<String>)


482
483
484
485
486
487
488
489
# File 'lib/aws-sdk-pricing/types.rb', line 482

class PriceList < Struct.new(
  :price_list_arn,
  :region_code,
  :currency_code,
  :file_formats)
  SENSITIVE = []
  include Aws::Structure
end

#price_list_arnString

The unique identifier that maps to where your Price List files are located. ‘PriceListArn` can be obtained from the [ `ListPriceList` ][1] response.

[1]: docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html

Returns:

  • (String)


482
483
484
485
486
487
488
489
# File 'lib/aws-sdk-pricing/types.rb', line 482

class PriceList < Struct.new(
  :price_list_arn,
  :region_code,
  :currency_code,
  :file_formats)
  SENSITIVE = []
  include Aws::Structure
end

#region_codeString

This is used to filter the Price List by Amazon Web Services Region. For example, to get the price list only for the ‘US East (N. Virginia)` Region, use `us-east-1`. If nothing is specified, you retrieve price lists for all applicable Regions. The available `RegionCode` list can be retrieved from [ `GetAttributeValues` ][1] API.

[1]: docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_GetAttributeValues.html

Returns:

  • (String)


482
483
484
485
486
487
488
489
# File 'lib/aws-sdk-pricing/types.rb', line 482

class PriceList < Struct.new(
  :price_list_arn,
  :region_code,
  :currency_code,
  :file_formats)
  SENSITIVE = []
  include Aws::Structure
end