Class: Aws::CognitoSync::Types::RegisterDeviceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitosync/types.rb

Overview

A request to RegisterDevice.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#identity_idString

The unique ID for this identity.

Returns:

  • (String)


961
962
963
964
965
966
967
968
# File 'lib/aws-sdk-cognitosync/types.rb', line 961

class RegisterDeviceRequest < Struct.new(
  :identity_pool_id,
  :identity_id,
  :platform,
  :token)
  SENSITIVE = []
  include Aws::Structure
end

#identity_pool_idString

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.

Returns:

  • (String)


961
962
963
964
965
966
967
968
# File 'lib/aws-sdk-cognitosync/types.rb', line 961

class RegisterDeviceRequest < Struct.new(
  :identity_pool_id,
  :identity_id,
  :platform,
  :token)
  SENSITIVE = []
  include Aws::Structure
end

#platformString

The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).

Returns:

  • (String)


961
962
963
964
965
966
967
968
# File 'lib/aws-sdk-cognitosync/types.rb', line 961

class RegisterDeviceRequest < Struct.new(
  :identity_pool_id,
  :identity_id,
  :platform,
  :token)
  SENSITIVE = []
  include Aws::Structure
end

#tokenString

The push token.

Returns:

  • (String)


961
962
963
964
965
966
967
968
# File 'lib/aws-sdk-cognitosync/types.rb', line 961

class RegisterDeviceRequest < Struct.new(
  :identity_pool_id,
  :identity_id,
  :platform,
  :token)
  SENSITIVE = []
  include Aws::Structure
end