Class: Amazon::AWS::TagLookup

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

Overview

Search for entities based on user-defined tags. A tag is a descriptive word that a customer uses to label entities on Amazon’s Web site. Entities can be items for sale, Listmania lists, guides, 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(tag_name, parameters = {}) ⇒ TagLookup

Look up entities based on user-defined tags. tag_name is the tag to search on and parameters is a hash of parameters that serve to further refine the search.

Example:

tl = TagLookup.new( 'Awful' )

In the example above, we search for entities tagged by users with the word Awful.



1089
1090
1091
# File 'lib/amazon/aws.rb', line 1089

def initialize(tag_name, parameters={})
	super( { 'TagName' => tag_name }.merge( parameters ) )
end