libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoSync.UnsubscribeFromDataset

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

data UnsubscribeFromDataset Source #

A request to UnsubscribeFromDataset.

See: newUnsubscribeFromDataset smart constructor.

Constructors

UnsubscribeFromDataset' 

Fields

  • identityPoolId :: Text

    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.

  • identityId :: Text

    Unique ID for this identity.

  • datasetName :: Text

    The name of the dataset from which to unsubcribe.

  • deviceId :: Text

    The unique ID generated for this device by Cognito.

Instances

Instances details
Eq UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

Read UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

Show UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

Generic UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

Associated Types

type Rep UnsubscribeFromDataset :: Type -> Type #

NFData UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

Methods

rnf :: UnsubscribeFromDataset -> () #

Hashable UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

AWSRequest UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

Associated Types

type AWSResponse UnsubscribeFromDataset #

ToHeaders UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

ToPath UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

ToQuery UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

type Rep UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

type Rep UnsubscribeFromDataset = D1 ('MetaData "UnsubscribeFromDataset" "Amazonka.CognitoSync.UnsubscribeFromDataset" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "UnsubscribeFromDataset'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "identityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "datasetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UnsubscribeFromDataset Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

newUnsubscribeFromDataset Source #

Create a value of UnsubscribeFromDataset with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:identityPoolId:UnsubscribeFromDataset', unsubscribeFromDataset_identityPoolId - 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.

$sel:identityId:UnsubscribeFromDataset', unsubscribeFromDataset_identityId - Unique ID for this identity.

$sel:datasetName:UnsubscribeFromDataset', unsubscribeFromDataset_datasetName - The name of the dataset from which to unsubcribe.

$sel:deviceId:UnsubscribeFromDataset', unsubscribeFromDataset_deviceId - The unique ID generated for this device by Cognito.

Request Lenses

unsubscribeFromDataset_identityPoolId :: 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.

unsubscribeFromDataset_datasetName :: Lens' UnsubscribeFromDataset Text Source #

The name of the dataset from which to unsubcribe.

unsubscribeFromDataset_deviceId :: Lens' UnsubscribeFromDataset Text Source #

The unique ID generated for this device by Cognito.

Destructuring the Response

data UnsubscribeFromDatasetResponse Source #

Response to an UnsubscribeFromDataset request.

See: newUnsubscribeFromDatasetResponse smart constructor.

Constructors

UnsubscribeFromDatasetResponse' 

Fields

Instances

Instances details
Eq UnsubscribeFromDatasetResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

Read UnsubscribeFromDatasetResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

Show UnsubscribeFromDatasetResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

Generic UnsubscribeFromDatasetResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

Associated Types

type Rep UnsubscribeFromDatasetResponse :: Type -> Type #

NFData UnsubscribeFromDatasetResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

type Rep UnsubscribeFromDatasetResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.UnsubscribeFromDataset

type Rep UnsubscribeFromDatasetResponse = D1 ('MetaData "UnsubscribeFromDatasetResponse" "Amazonka.CognitoSync.UnsubscribeFromDataset" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "UnsubscribeFromDatasetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUnsubscribeFromDatasetResponse Source #

Create a value of UnsubscribeFromDatasetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UnsubscribeFromDatasetResponse', unsubscribeFromDatasetResponse_httpStatus - The response's http status code.

Response Lenses