Subscribes to receive notifications when a dataset is modified by another device.
cognitosync_subscribe_to_dataset(IdentityPoolId, IdentityId,
DatasetName, DeviceId)
[required] A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which the identity belongs.
[required] Unique ID for this identity.
[required] The name of the dataset to subcribe to.
[required] The unique ID generated for this device by Cognito.
svc$subscribe_to_dataset( IdentityPoolId = "string", IdentityId = "string", DatasetName = "string", DeviceId = "string" )
This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.