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::ALL_PARAMETERS, Operation::OPERATIONS, Operation::OPT_PARAMETERS, Operation::PARAMETERS

Instance Attribute Summary

Attributes inherited from Operation

#kind, #params

Instance Method Summary collapse

Methods inherited from Operation

#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 a hash of parameters that narrows 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.



994
995
996
# File 'lib/amazon/aws.rb', line 994

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