Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data CampaignHook Source #
Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign.
See: newCampaignHook
smart constructor.
CampaignHook' | |
|
Instances
newCampaignHook :: CampaignHook Source #
Create a value of CampaignHook
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lambdaFunctionName:CampaignHook'
, campaignHook_lambdaFunctionName
- The name or Amazon Resource Name (ARN) of the AWS Lambda function that
Amazon Pinpoint invokes to customize a segment for a campaign.
$sel:mode:CampaignHook'
, campaignHook_mode
- The mode that Amazon Pinpoint uses to invoke the AWS Lambda function.
Possible values are:
- FILTER - Invoke the function to customize the segment that's used by a campaign.
- DELIVERY - (Deprecated) Previously, invoked the function to send a campaign through a custom channel. This functionality is not supported anymore. To send a campaign through a custom channel, use the CustomDeliveryConfiguration and CampaignCustomMessage objects of the campaign.
$sel:webUrl:CampaignHook'
, campaignHook_webUrl
- The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function
over HTTPS.
campaignHook_lambdaFunctionName :: Lens' CampaignHook (Maybe Text) Source #
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to customize a segment for a campaign.
campaignHook_mode :: Lens' CampaignHook (Maybe Mode) Source #
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function. Possible values are:
- FILTER - Invoke the function to customize the segment that's used by a campaign.
- DELIVERY - (Deprecated) Previously, invoked the function to send a campaign through a custom channel. This functionality is not supported anymore. To send a campaign through a custom channel, use the CustomDeliveryConfiguration and CampaignCustomMessage objects of the campaign.
campaignHook_webUrl :: Lens' CampaignHook (Maybe Text) Source #
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.