cognitosync_register_device: Registers a device to receive push sync notifications

Description Usage Arguments Details Request syntax

View source: R/cognitosync_operations.R

Description

Registers a device to receive push sync notifications.

Usage

1
cognitosync_register_device(IdentityPoolId, IdentityId, Platform, Token)

Arguments

IdentityPoolId

[required] 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.

IdentityId

[required] The unique ID for this identity.

Platform

[required] The SNS platform type (e.g. GCM, SDM, APNS, APNS\_SANDBOX).

Token

[required] The push token.

Details

This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.

Request syntax

1
2
3
4
5
6
svc$register_device(
  IdentityPoolId = "string",
  IdentityId = "string",
  Platform = "APNS"|"APNS_SANDBOX"|"GCM"|"ADM",
  Token = "string"
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.