amazonka-cognito-sync-1.3.6: Amazon Cognito Sync SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CognitoSync.SubscribeToDataset

Contents

Description

Subscribes to receive notifications when a dataset is modified by another device.

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

See: AWS API Reference for SubscribeToDataset.

Synopsis

Creating a Request

subscribeToDataset Source

Creates a value of SubscribeToDataset with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

stdIdentityPoolId :: Lens' SubscribeToDataset Text Source

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.

stdIdentityId :: Lens' SubscribeToDataset Text Source

Unique ID for this identity.

stdDatasetName :: Lens' SubscribeToDataset Text Source

The name of the dataset to subcribe to.

stdDeviceId :: Lens' SubscribeToDataset Text Source

The unique ID generated for this device by Cognito.

Destructuring the Response

subscribeToDatasetResponse Source

Creates a value of SubscribeToDatasetResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses