Class: Aws::Pricing::Types::ListPriceListsRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#currency_codeString

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

Returns:

  • (String)


392
393
394
395
396
397
398
399
400
401
# File 'lib/aws-sdk-pricing/types.rb', line 392

class ListPriceListsRequest < Struct.new(
  :service_code,
  :effective_date,
  :region_code,
  :currency_code,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#effective_dateTime

The date that the Price List file prices are effective from.

Returns:

  • (Time)


392
393
394
395
396
397
398
399
400
401
# File 'lib/aws-sdk-pricing/types.rb', line 392

class ListPriceListsRequest < Struct.new(
  :service_code,
  :effective_date,
  :region_code,
  :currency_code,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return in the response.

Returns:

  • (Integer)


392
393
394
395
396
397
398
399
400
401
# File 'lib/aws-sdk-pricing/types.rb', line 392

class ListPriceListsRequest < Struct.new(
  :service_code,
  :effective_date,
  :region_code,
  :currency_code,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The pagination token that indicates the next set of results that you want to retrieve.

Returns:

  • (String)


392
393
394
395
396
397
398
399
400
401
# File 'lib/aws-sdk-pricing/types.rb', line 392

class ListPriceListsRequest < Struct.new(
  :service_code,
  :effective_date,
  :region_code,
  :currency_code,
  :next_token,
  :max_results)
  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] API.

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

Returns:

  • (String)


392
393
394
395
396
397
398
399
400
401
# File 'lib/aws-sdk-pricing/types.rb', line 392

class ListPriceListsRequest < Struct.new(
  :service_code,
  :effective_date,
  :region_code,
  :currency_code,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#service_codeString

The service code or the Savings Plan service code for the attributes that you want to retrieve. For example, to get the list of applicable Amazon EC2 price lists, use ‘AmazonEC2`. For a full list of service codes containing On-Demand and Reserved Instance (RI) pricing, use the [DescribeServices] API.

To retrieve the Reserved Instance and Compute Savings Plan price lists, use ‘ComputeSavingsPlans`.

To retrieve Machine Learning Savings Plans price lists, use ‘MachineLearningSavingsPlans`.

[1]: docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_DescribeServices.html#awscostmanagement-pricing_DescribeServices-request-FormatVersion

Returns:

  • (String)


392
393
394
395
396
397
398
399
400
401
# File 'lib/aws-sdk-pricing/types.rb', line 392

class ListPriceListsRequest < Struct.new(
  :service_code,
  :effective_date,
  :region_code,
  :currency_code,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end