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

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,
}

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)


170
171
172
173
174
175
176
# File 'gems/aws-sdk-pricing/lib/aws-sdk-pricing/types.rb', line 170

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

#max_resultsInteger

The maximum number of results to return in response.

Returns:

  • (Integer)


170
171
172
173
174
175
176
# File 'gems/aws-sdk-pricing/lib/aws-sdk-pricing/types.rb', line 170

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

#next_tokenString

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

Returns:

  • (String)


170
171
172
173
174
175
176
# File 'gems/aws-sdk-pricing/lib/aws-sdk-pricing/types.rb', line 170

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


170
171
172
173
174
175
176
# File 'gems/aws-sdk-pricing/lib/aws-sdk-pricing/types.rb', line 170

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