Class: Amazon::AWS::BrowseNodeLookup

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

Overview

Amazon use browse nodes as a means of organising the millions of items in their inventory. An example might be *Carving Knives*. Looking up a browse node enables you to determine that group’s ancestors and descendants.

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(node, parameters = {}) ⇒ BrowseNodeLookup

Look up and return the details of an Amazon browse node. node is the browse node to look up and parameters is an optional hash of parameters that further refine the scope of the search. parameters is currently unused.

Example:

bnl = BrowseNodeLookup.new( '11232', {} )

In the above example, we look up the browse node with the ID 11232. This is the Social Sciences browse node.



1198
1199
1200
# File 'lib/amazon/aws.rb', line 1198

def initialize(node, parameters={})
	super( { 'BrowseNodeId' => node }.merge( parameters ) )
end