Class Amazon::AWS::CustomerContentSearch
In: lib/amazon/aws.rb
Parent: Operation

Retrieve basic Amazon customer data.



Public Class methods

Retrieve customer information, using an e-mail address or name.

If customer_id contains an ’@’ sign, it is assumed to be an e-mail address. Otherwise, it is assumed to be the customer‘s name.


 ccs = '' )

In the above example, we look up customer information about The CustomerInfo response group will return, amongst other things, a customer_id property, which can then be plugged into CustomerContentLookup to retrieve more detailed customer information.


# File lib/amazon/aws.rb, line 1102
      def initialize(customer_id)
        id = customer_id =~ /@/ ? 'Email' : 'Name'
        super( { id => customer_id } )