You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Pricing::Types::GetProductsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetProductsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  service_code: "String",
  filters: [
    {
      type: "TERM_MATCH", # required, accepts TERM_MATCH
      field: "String", # required
      value: "String", # required
    },
  ],
  format_version: "String",
  next_token: "String",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::Filter>

The list of filters that limit the returned products. only products that match all filters are returned.

Returns:

  • (Array<Types::Filter>)

    The list of filters that limit the returned products.

#format_versionString

The format version that you want the response to be in.

Valid values are: aws_v1

Returns:

  • (String)

    The format version that you want the response to be in.

#max_resultsInteger

The maximum number of results to return in the response.

Returns:

  • (Integer)

    The maximum number of results to return in the response.

#next_tokenString

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

Returns:

  • (String)

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

#service_codeString

The code for the service whose products you want to retrieve.

Returns:

  • (String)

    The code for the service whose products you want to retrieve.