AWSPinpointTargetingSMSMessage Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSPinpointTargetingModel.h
AWSPinpointTargetingModel.m

Overview

Specifies the default settings for a one-time SMS message that's sent directly to an endpoint.

  body

The body of the SMS message.

@property (nonatomic, strong) NSString *body

Declared In

AWSPinpointTargetingModel.h

  keyword

The SMS program name that you provided to AWS Support when you requested your dedicated number.

@property (nonatomic, strong) NSString *keyword

Declared In

AWSPinpointTargetingModel.h

  messageType

The SMS message type. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive, such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message is not critical or time-sensitive, such as a marketing message.

@property (nonatomic, assign) AWSPinpointTargetingMessageType messageType

Declared In

AWSPinpointTargetingModel.h

  originationNumber

The number that the SMS message originates from. This should be one of the dedicated long codes or short codes that you requested from AWS Support and is assigned to your AWS account. If you don't specify a long or short code, Amazon Pinpoint assigns a random long code to the SMS message.

@property (nonatomic, strong) NSString *originationNumber

Declared In

AWSPinpointTargetingModel.h

  senderId

The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country or region.

@property (nonatomic, strong) NSString *senderId

Declared In

AWSPinpointTargetingModel.h

  substitutions

The message variables to use in the SMS message. You can override the default variables with individual address variables.

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

Declared In

AWSPinpointTargetingModel.h