Class: Aws::Pricing::Types::GetProductsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pricing::Types::GetProductsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pricing/types.rb
Overview
When making an API call, you may pass GetProductsRequest data as a 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
-
#filters ⇒ Array<Types::Filter>
The list of filters that limit the returned products.
-
#format_version ⇒ String
The format version that you want the response to be in.
-
#max_results ⇒ Integer
The maximum number of results to return in the response.
-
#next_token ⇒ String
The pagination token that indicates the next set of results that you want to retrieve.
-
#service_code ⇒ String
The code for the service whose products you want to retrieve.
Instance Attribute Details
#filters ⇒ Array<Types::Filter>
The list of filters that limit the returned products. only products that match all filters are returned.
240 241 242 243 244 245 246 247 |
# File 'lib/aws-sdk-pricing/types.rb', line 240 class GetProductsRequest < Struct.new( :service_code, :filters, :format_version, :next_token, :max_results) include Aws::Structure end |
#format_version ⇒ String
The format version that you want the response to be in.
Valid values are: ‘aws_v1`
240 241 242 243 244 245 246 247 |
# File 'lib/aws-sdk-pricing/types.rb', line 240 class GetProductsRequest < Struct.new( :service_code, :filters, :format_version, :next_token, :max_results) include Aws::Structure end |
#max_results ⇒ Integer
The maximum number of results to return in the response.
240 241 242 243 244 245 246 247 |
# File 'lib/aws-sdk-pricing/types.rb', line 240 class GetProductsRequest < Struct.new( :service_code, :filters, :format_version, :next_token, :max_results) include Aws::Structure end |
#next_token ⇒ String
The pagination token that indicates the next set of results that you want to retrieve.
240 241 242 243 244 245 246 247 |
# File 'lib/aws-sdk-pricing/types.rb', line 240 class GetProductsRequest < Struct.new( :service_code, :filters, :format_version, :next_token, :max_results) include Aws::Structure end |
#service_code ⇒ String
The code for the service whose products you want to retrieve.
240 241 242 243 244 245 246 247 |
# File 'lib/aws-sdk-pricing/types.rb', line 240 class GetProductsRequest < Struct.new( :service_code, :filters, :format_version, :next_token, :max_results) include Aws::Structure end |