You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/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)


1503
1504
1505
1506
1507
1508
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1503

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

#modeString

What mode Lambda should be invoked in.

Returns:

  • (String)


1503
1504
1505
1506
1507
1508
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1503

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)


1503
1504
1505
1506
1507
1508
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1503

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