Class: Amazon::AWS::ListLookup

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

Overview

Find the details of specific wishlists, registries, etc.

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_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 an optional hash of parameters that narrow 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.



1146
1147
1148
1149
1150
# File 'lib/ruby-paa/aws.rb', line 1146

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