Class: Aws::Pinpoint::Types::CampaignHook
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::Pinpoint::Types::CampaignHook
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-pinpoint/types.rb
 
Overview
Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign.
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #lambda_function_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to customize a segment for a campaign.
 - 
  
    
      #mode  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function.
 - 
  
    
      #web_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
 
Instance Attribute Details
#lambda_function_name ⇒ String
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to customize a segment for a campaign.
      2135 2136 2137 2138 2139 2140 2141  | 
    
      # File 'lib/aws-sdk-pinpoint/types.rb', line 2135 class CampaignHook < Struct.new( :lambda_function_name, :mode, :web_url) SENSITIVE = [] include Aws::Structure end  | 
  
#mode ⇒ String
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.
 
      2135 2136 2137 2138 2139 2140 2141  | 
    
      # File 'lib/aws-sdk-pinpoint/types.rb', line 2135 class CampaignHook < Struct.new( :lambda_function_name, :mode, :web_url) SENSITIVE = [] include Aws::Structure end  | 
  
#web_url ⇒ String
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
      2135 2136 2137 2138 2139 2140 2141  | 
    
      # File 'lib/aws-sdk-pinpoint/types.rb', line 2135 class CampaignHook < Struct.new( :lambda_function_name, :mode, :web_url) SENSITIVE = [] include Aws::Structure end  |