AWSPinpointTargetingAddressConfiguration

Objective-C

@interface AWSPinpointTargetingAddressConfiguration

Swift

class AWSPinpointTargetingAddressConfiguration

Specifies address-based configuration settings for a message that’s sent directly to an endpoint.

  • The message body to use instead of the default message body. This value overrides the default message body.

    Declaration

    Objective-C

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

    Swift

    var bodyOverride: String? { get set }
  • The channel to use when sending the message.

    Declaration

    Objective-C

    @property (nonatomic) AWSPinpointTargetingChannelType channelType;

    Swift

    var channelType: AWSPinpointTargetingChannelType { get set }
  • An object that maps custom attributes to attributes for the address and is attached to the message. Attribute names are case sensitive.

    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 (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable context;

    Swift

    var context: [String : String]? { get set }
  • The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides all other values for the message.

    Declaration

    Objective-C

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

    Swift

    var rawContent: String? { get set }
  • A map of the message variables to merge with the variables specified by properties of the DefaultMessage object. The variables specified in this map take precedence over all other variables.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSArray<NSString *> *> *_Nullable substitutions;

    Swift

    var substitutions: [String : [String]]? { get set }
  • The message title to use instead of the default message title. This value overrides the default message title.

    Declaration

    Objective-C

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

    Swift

    var titleOverride: String? { get set }