amazonka-cognito-sync-1.0.0: 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.UnsubscribeFromDataset

Contents

Description

Unsubscribes from receiving 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 UnsubscribeFromDataset.

Synopsis

Creating a Request

unsubscribeFromDataset Source

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

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

Request Lenses

ufdIdentityPoolId :: Lens' UnsubscribeFromDataset 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 this identity belongs.

ufdIdentityId :: Lens' UnsubscribeFromDataset Text Source

Unique ID for this identity.

ufdDatasetName :: Lens' UnsubscribeFromDataset Text Source

The name of the dataset from which to unsubcribe.

ufdDeviceId :: Lens' UnsubscribeFromDataset Text Source

The unique ID generated for this device by Cognito.

Destructuring the Response

unsubscribeFromDatasetResponse Source

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

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

Response Lenses