Class: Aws::Pricing::Types::GetAttributeValuesRequest

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

Overview

Note:

When making an API call, you may pass GetAttributeValuesRequest data as a hash:

{
  service_code: "String", # required
  attribute_name: "String", # required
  next_token: "String",
  max_results: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

The name of the attribute that you want to retrieve the values for, such as volumeType.

Returns:

  • (String)


189
190
191
192
193
194
195
196
# File 'gems/aws-sdk-pricing/lib/aws-sdk-pricing/types.rb', line 189

class GetAttributeValuesRequest < Struct.new(
  :service_code,
  :attribute_name,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return in response.

Returns:

  • (Integer)


189
190
191
192
193
194
195
196
# File 'gems/aws-sdk-pricing/lib/aws-sdk-pricing/types.rb', line 189

class GetAttributeValuesRequest < Struct.new(
  :service_code,
  :attribute_name,
  :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)


189
190
191
192
193
194
195
196
# File 'gems/aws-sdk-pricing/lib/aws-sdk-pricing/types.rb', line 189

class GetAttributeValuesRequest < Struct.new(
  :service_code,
  :attribute_name,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#service_codeString

The service code for the service whose attributes you want to retrieve. For example, if you want the retrieve an EC2 attribute, use AmazonEC2.

Returns:

  • (String)


189
190
191
192
193
194
195
196
# File 'gems/aws-sdk-pricing/lib/aws-sdk-pricing/types.rb', line 189

class GetAttributeValuesRequest < Struct.new(
  :service_code,
  :attribute_name,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end