Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- unsubscribeFromDataset :: Text -> Text -> Text -> Text -> UnsubscribeFromDataset
- data UnsubscribeFromDataset
- ufdIdentityPoolId :: Lens' UnsubscribeFromDataset Text
- ufdIdentityId :: Lens' UnsubscribeFromDataset Text
- ufdDatasetName :: Lens' UnsubscribeFromDataset Text
- ufdDeviceId :: Lens' UnsubscribeFromDataset Text
- unsubscribeFromDatasetResponse :: Int -> UnsubscribeFromDatasetResponse
- data UnsubscribeFromDatasetResponse
- ufdrsResponseStatus :: Lens' UnsubscribeFromDatasetResponse Int
Creating a Request
unsubscribeFromDataset Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> UnsubscribeFromDataset |
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:
ufdIdentityPoolId
- 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
- Unique ID for this identity.ufdDatasetName
- The name of the dataset from which to unsubcribe.ufdDeviceId
- The unique ID generated for this device by Cognito.
data UnsubscribeFromDataset Source #
A request to UnsubscribeFromDataset.
See: unsubscribeFromDataset
smart constructor.
Instances
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:
ufdrsResponseStatus
- -- | The response status code.
data UnsubscribeFromDatasetResponse Source #
Response to an UnsubscribeFromDataset request.
See: unsubscribeFromDatasetResponse
smart constructor.
Instances
Response Lenses
ufdrsResponseStatus :: Lens' UnsubscribeFromDatasetResponse Int Source #
- - | The response status code.