AWSCognitoSyncRegisterDeviceRequest

Objective-C

@interface AWSCognitoSyncRegisterDeviceRequest

Swift

class AWSCognitoSyncRegisterDeviceRequest

A request to RegisterDevice.

Required parameters: [IdentityPoolId, IdentityId, Platform, Token]

  • The unique ID for this identity.

    Declaration

    Objective-C

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

    Swift

    var identityId: String? { get set }
  • A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.

    Declaration

    Objective-C

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

    Swift

    var identityPoolId: String? { get set }
  • The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).

    Declaration

    Objective-C

    @property (nonatomic) AWSCognitoSyncPlatform platform;

    Swift

    var platform: AWSCognitoSyncPlatform { get set }
  • The push token.

    Declaration

    Objective-C

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

    Swift

    var token: String? { get set }