AWSPinpointTargetingMessageRequest

@interface AWSPinpointTargetingMessageRequest

Specifies the configuration and other settings for a message.

Required parameters: [MessageConfiguration]

  • A map of key-value pairs, where each key is an address and each value is an AddressConfiguration object. An address can be a push notification token, a phone number, or an email address. You can use an AddressConfiguration object to tailor the message for an address by specifying settings such as content overrides and message variables.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSDictionary<NSString *, AWSPinpointTargetingAddressConfiguration *>
            *_Nullable addresses;

    Swift

    var addresses: [String : AWSPinpointTargetingAddressConfiguration]? { get set }
  • A map of custom attributes to attach to the message. For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSDictionary<NSString *, NSString *> *_Nullable context;

    Swift

    var context: [String : String]? { get set }
  • A map of key-value pairs, where each key is an endpoint ID and each value is an EndpointSendConfiguration object. You can use an EndpointSendConfiguration object to tailor the message for an endpoint by specifying settings such as content overrides and message variables.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSDictionary<NSString *, AWSPinpointTargetingEndpointSendConfiguration *>
            *_Nullable endpoints;

    Swift

    var endpoints: [String : AWSPinpointTargetingEndpointSendConfiguration]? { get set }
  • The settings and content for the default message and any default messages that you defined for specific channels.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSPinpointTargetingDirectMessageConfiguration
            *_Nullable messageConfiguration;

    Swift

    var messageConfiguration: AWSPinpointTargetingDirectMessageConfiguration? { get set }
  • The message template to use for the message.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSPinpointTargetingTemplateConfiguration *_Nullable templateConfiguration;

    Swift

    var templateConfiguration: AWSPinpointTargetingTemplateConfiguration? { get set }
  • The unique identifier for tracing the message. This identifier is visible to message recipients.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable traceId;

    Swift

    var traceId: String? { get set }