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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CampaignHook as input to an Aws::Client method, you can use a vanilla Hash:

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

Specifies the AWS Lambda function to use as a code hook for a campaign.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#lambda_function_nameString

The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to send messages for a campaign.

Returns:

  • (String)

    The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to send messages for a campaign.

#modeString

Specifies which Lambda mode to use when invoking the AWS Lambda function.

Possible values:

  • DELIVERY
  • FILTER

Returns:

  • (String)

    Specifies which Lambda mode to use when invoking the AWS Lambda function.

#web_urlString

The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.

Returns:

  • (String)

    The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.