Class: Amazon::AWS::ListSearch

Inherits:
Operation show all
Defined in:
lib/ruby-paa/aws.rb

Overview

Find wishlists, registry lists, etc. created by users and placed on Amazon. These are items that customers would like to receive as presnets.

Constant Summary

Constants inherited from Operation

Operation::OPERATIONS

Instance Attribute Summary

Attributes inherited from Operation

#kind, #params, #response_group

Instance Method Summary collapse

Methods inherited from Operation

#batch, #query_parameters, #response_group_orig=

Constructor Details

#initialize(list_type, parameters) ⇒ ListSearch

Search for Amazon lists. list_type is the type of list to search for and parameters is an optional hash of parameters that narrow the scope of the search.

Example:

ls = ListSearch.new( 'WishList', { 'Name' => 'Peter Duff' }

In the above example, we retrieve the wishlist for the Amazon user, Peter Duff.



1124
1125
1126
# File 'lib/ruby-paa/aws.rb', line 1124

def initialize(list_type, parameters)
 super( { 'ListType' => list_type }.merge( parameters ) )
end