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

Copyright(c) 2013-2016 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.

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:

data UnsubscribeFromDataset Source #

A request to UnsubscribeFromDataset.

See: unsubscribeFromDataset smart constructor.

Instances

Eq UnsubscribeFromDataset Source # 
Data UnsubscribeFromDataset Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnsubscribeFromDataset -> c UnsubscribeFromDataset #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnsubscribeFromDataset #

toConstr :: UnsubscribeFromDataset -> Constr #

dataTypeOf :: UnsubscribeFromDataset -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UnsubscribeFromDataset) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnsubscribeFromDataset) #

gmapT :: (forall b. Data b => b -> b) -> UnsubscribeFromDataset -> UnsubscribeFromDataset #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnsubscribeFromDataset -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnsubscribeFromDataset -> r #

gmapQ :: (forall d. Data d => d -> u) -> UnsubscribeFromDataset -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UnsubscribeFromDataset -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnsubscribeFromDataset -> m UnsubscribeFromDataset #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnsubscribeFromDataset -> m UnsubscribeFromDataset #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnsubscribeFromDataset -> m UnsubscribeFromDataset #

Read UnsubscribeFromDataset Source # 
Show UnsubscribeFromDataset Source # 
Generic UnsubscribeFromDataset Source # 
Hashable UnsubscribeFromDataset Source # 
NFData UnsubscribeFromDataset Source # 

Methods

rnf :: UnsubscribeFromDataset -> () #

AWSRequest UnsubscribeFromDataset Source # 
ToQuery UnsubscribeFromDataset Source # 
ToPath UnsubscribeFromDataset Source # 
ToHeaders UnsubscribeFromDataset Source # 
type Rep UnsubscribeFromDataset Source # 
type Rep UnsubscribeFromDataset = D1 (MetaData "UnsubscribeFromDataset" "Network.AWS.CognitoSync.UnsubscribeFromDataset" "amazonka-cognito-sync-1.4.3-BdrRxVNpUjC2WRfH1iebqZ" False) (C1 (MetaCons "UnsubscribeFromDataset'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ufdIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ufdIdentityId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ufdDatasetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ufdDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UnsubscribeFromDataset Source # 

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:

data UnsubscribeFromDatasetResponse Source #

Response to an UnsubscribeFromDataset request.

See: unsubscribeFromDatasetResponse smart constructor.

Instances

Eq UnsubscribeFromDatasetResponse Source # 
Data UnsubscribeFromDatasetResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnsubscribeFromDatasetResponse -> c UnsubscribeFromDatasetResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnsubscribeFromDatasetResponse #

toConstr :: UnsubscribeFromDatasetResponse -> Constr #

dataTypeOf :: UnsubscribeFromDatasetResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UnsubscribeFromDatasetResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnsubscribeFromDatasetResponse) #

gmapT :: (forall b. Data b => b -> b) -> UnsubscribeFromDatasetResponse -> UnsubscribeFromDatasetResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnsubscribeFromDatasetResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnsubscribeFromDatasetResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UnsubscribeFromDatasetResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UnsubscribeFromDatasetResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnsubscribeFromDatasetResponse -> m UnsubscribeFromDatasetResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnsubscribeFromDatasetResponse -> m UnsubscribeFromDatasetResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnsubscribeFromDatasetResponse -> m UnsubscribeFromDatasetResponse #

Read UnsubscribeFromDatasetResponse Source # 
Show UnsubscribeFromDatasetResponse Source # 
Generic UnsubscribeFromDatasetResponse Source # 
NFData UnsubscribeFromDatasetResponse Source # 
type Rep UnsubscribeFromDatasetResponse Source # 
type Rep UnsubscribeFromDatasetResponse = D1 (MetaData "UnsubscribeFromDatasetResponse" "Network.AWS.CognitoSync.UnsubscribeFromDataset" "amazonka-cognito-sync-1.4.3-BdrRxVNpUjC2WRfH1iebqZ" True) (C1 (MetaCons "UnsubscribeFromDatasetResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_ufdrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses