Class: Amazon::AWS::ListSearch

Inherits:
Operation show all
Defined in:
lib/amazon/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, #batch_parameters

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.



1148
1149
1150
# File 'lib/amazon/aws.rb', line 1148

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