Class: Aws::Pinpoint::Types::CustomDeliveryConfiguration

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 CustomDeliveryConfiguration data as a hash:

{
  delivery_uri: "__string", # required
  endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
}

Specifies the delivery configuration settings for sending a campaign or campaign treatment through a custom channel. This object is required if you use the CampaignCustomMessage object to define the message to send for the campaign or campaign treatment.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delivery_uriString

The destination to send the campaign or treatment to. This value can be one of the following:

  • The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment.

  • The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.

Returns:

  • (String)


4776
4777
4778
4779
4780
4781
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 4776

class CustomDeliveryConfiguration < Struct.new(
  :delivery_uri,
  :endpoint_types)
  SENSITIVE = []
  include Aws::Structure
end

#endpoint_typesArray<String>

The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel that you can associate with an endpoint by using the ChannelType property of an endpoint.

Returns:

  • (Array<String>)


4776
4777
4778
4779
4780
4781
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 4776

class CustomDeliveryConfiguration < Struct.new(
  :delivery_uri,
  :endpoint_types)
  SENSITIVE = []
  include Aws::Structure
end