AWSSNSCreatePlatformEndpointInput

@interface AWSSNSCreatePlatformEndpointInput

Input for CreatePlatformEndpoint action.

Required parameters: [PlatformApplicationArn, Token]

  • For a list of attributes, see SetEndpointAttributes.

    Declaration

    Objective-C

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

    Swift

    var attributes: [String : String]? { get set }
  • Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.

    Declaration

    Objective-C

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

    Swift

    var customUserData: String? { get set }
  • PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.

    Declaration

    Objective-C

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

    Swift

    var platformApplicationArn: String? { get set }
  • Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using FCM or ADM, the device token equivalent is called the registration ID.

    Declaration

    Objective-C

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

    Swift

    var token: String? { get set }