CreatePlatformEndpointInput

public struct CreatePlatformEndpointInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • For a list of attributes, see SetEndpointAttributes.

    Declaration

    Swift

    public let attributes: [String : String]?
  • 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

    Swift

    public let customUserData: String?
  • PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.

    Declaration

    Swift

    public let platformApplicationArn: String
  • 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 GCM (Firebase Cloud Messaging) or ADM, the device token equivalent is called the registration ID.

    Declaration

    Swift

    public let token: String
  • Undocumented

    Declaration

    Swift

    public init(attributes: [String : String]? = nil, customUserData: String? = nil, platformApplicationArn: String, token: String)