| Class | Amazon::AWS::ResponseGroup |
| In: |
lib/amazon/aws.rb
|
| Parent: | Object |
Response groups determine which data pertaining to the item(s) being sought is returned. They can 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.
| list | [R] | |
| params | [R] |
Define a set of one or more response groups to be applied to items retrieved by an AWS operation.
If no response groups are given in rg when instantiating an object, Small will be used by default.
Example:
rg = ResponseGroup.new( 'Medium', 'Offers', 'Reviews' )
# File lib/amazon/aws.rb, line 1138 def initialize(*rg) rg << 'Small' if rg.empty? @list = rg @params = { 'ResponseGroup' => @list.join( ',' ) } end