Class: Aws::Pinpoint::Types::CampaignHook

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass CampaignHook data as a hash:

{
  lambda_function_name: "__string",
  mode: "DELIVERY", # accepts DELIVERY, FILTER
  web_url: "__string",
}

Campaign hook information.

Instance Attribute Summary collapse

Instance Attribute Details

#lambda_function_nameString

Lambda function name or arn to be called for delivery

Returns:

  • (String)


1564
1565
1566
1567
1568
1569
# File 'lib/aws-sdk-pinpoint/types.rb', line 1564

class CampaignHook < Struct.new(
  :lambda_function_name,
  :mode,
  :web_url)
  include Aws::Structure
end

#modeString

What mode Lambda should be invoked in.

Returns:

  • (String)


1564
1565
1566
1567
1568
1569
# File 'lib/aws-sdk-pinpoint/types.rb', line 1564

class CampaignHook < Struct.new(
  :lambda_function_name,
  :mode,
  :web_url)
  include Aws::Structure
end

#web_urlString

Web URL to call for hook. If the URL has authentication specified it will be added as authentication to the request

Returns:

  • (String)


1564
1565
1566
1567
1568
1569
# File 'lib/aws-sdk-pinpoint/types.rb', line 1564

class CampaignHook < Struct.new(
  :lambda_function_name,
  :mode,
  :web_url)
  include Aws::Structure
end