Class: Amazon::AWS::ResponseGroup
- Inherits:
-
Object
- Object
- Amazon::AWS::ResponseGroup
- Defined in:
- lib/ruby-paa/aws.rb
Overview
Response groups determine which data pertaining to the item(s) being sought is returned. They strongly influence the amount of data returned, so you should always use the smallest response group(s) containing the data of interest to you, to avoid masses of unnecessary data being returned.
Constant Summary collapse
- DEFAULT =
The default type of response group to use with each type of operation.
{ 'BrowseNodeLookup' => [ :BrowseNodeInfo, :TopSellers ], 'CustomerContentLookup' => [ :CustomerInfo, :CustomerLists ], 'CustomerContentSearch' => :CustomerInfo, 'Help' => :Help, 'ItemLookup' => :Large, 'ItemSearch' => :Large, 'ListLookup' => [ :ListInfo, :Small ], 'ListSearch' => :ListInfo, 'SellerListingLookup' => :SellerListing, 'SellerListingSearch' => :SellerListing, 'SellerLookup' => :Seller, 'SimilarityLookup' => :Large, 'TagLookup' => [ :Tags, :TagsSummary ], 'TransactionLookup' => :TransactionDetails, 'VehiclePartLookup' => :VehiclePartFit, 'VehiclePartSearch' => :VehicleParts, 'VehicleSearch' => :VehicleMakes }
Instance Method Summary collapse
-
#initialize(*rg) ⇒ ResponseGroup
constructor
Define a set of one or more response groups to be applied to items retrieved by an AWS operation.
-
#to_s ⇒ Object
We need a form we can interpolate into query strings.
Constructor Details
#initialize(*rg) ⇒ ResponseGroup
Define a set of one or more response groups to be applied to items retrieved by an AWS operation.
Example:
rg = ResponseGroup.new( 'Medium', 'Offers', 'Reviews' )
1388 1389 1390 |
# File 'lib/ruby-paa/aws.rb', line 1388 def initialize(*rg) @list = rg.join( ',' ) end |
Instance Method Details
#to_s ⇒ Object
We need a form we can interpolate into query strings.
1395 1396 1397 |
# File 'lib/ruby-paa/aws.rb', line 1395 def to_s # :nodoc: @list end |