AWSPinpointTargetingEndpointMessageResult

Objective-C

@interface AWSPinpointTargetingEndpointMessageResult

Swift

class AWSPinpointTargetingEndpointMessageResult

Provides information about the delivery status and results of sending a message directly to an endpoint.

Required parameters: [DeliveryStatus, StatusCode]

  • The endpoint address that the message was delivered to.

    Declaration

    Objective-C

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

    Swift

    var address: String? { get set }
  • The delivery status of the message. Possible values are:

    • DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won’t attempt to send the message again.

    • OPT_OUT - The user who’s associated with the endpoint has opted out of receiving messages from you. Amazon Pinpoint won’t attempt to send the message again.

    • PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint. Amazon Pinpoint won’t attempt to send the message again.

    • SUCCESSFUL - The message was successfully delivered to the endpoint.

    • TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won’t attempt to send the message again.

    • THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint.

    • TIMEOUT - The message couldn’t be sent within the timeout period.

    • UNKNOWN_FAILURE - An unknown error occurred.

    Declaration

    Objective-C

    @property (nonatomic) AWSPinpointTargetingDeliveryStatus deliveryStatus;

    Swift

    var deliveryStatus: AWSPinpointTargetingDeliveryStatus { get set }
  • The unique identifier for the message that was sent.

    Declaration

    Objective-C

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

    Swift

    var messageId: String? { get set }
  • The downstream service status code for delivering the message.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable statusCode;

    Swift

    var statusCode: NSNumber? { get set }
  • The status message for delivering the message.

    Declaration

    Objective-C

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

    Swift

    var statusMessage: String? { get set }
  • For push notifications that are sent through the GCM channel, specifies whether the endpoint’s device registration token was updated as part of delivering the message.

    Declaration

    Objective-C

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

    Swift

    var updatedToken: String? { get set }