Class: Amazon::AWS::ListLookup

Inherits:
Operation show all
Defined in:
lib/amazon/aws.rb

Overview

Find the details of specific wishlists, registries, etc.

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_id, list_type, parameters = {}) ⇒ ListLookup

Look up and return details about a specific list. list_id is the Amazon list ID, list_type is the type of list and parameters is a hash of parameters that narrows the scope of the search.

Example:

ll = ListLookup.new( '3P722DU4KUPCP', 'Listmania' )

In the above example, a Listmania list with the ID 3P722DU4KUPCP is retrieved from AWS.



1016
1017
1018
1019
1020
# File 'lib/amazon/aws.rb', line 1016

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