AWSPinpointTargetingCampaignHook

Objective-C

@interface AWSPinpointTargetingCampaignHook

Swift

class AWSPinpointTargetingCampaignHook

Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable lambdaFunctionName;

    Swift

    var lambdaFunctionName: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSPinpointTargetingMode mode;

    Swift

    var mode: AWSPinpointTargetingMode { get set }
  • The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable webUrl;

    Swift

    var webUrl: String? { get set }