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::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(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 a hash of parameters that serves to further define 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.



1084
1085
1086
# File 'lib/amazon/aws.rb', line 1084

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