Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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.
See: AWS API Reference for UnsubscribeFromDataset.
- 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
- ufdrsStatus :: Lens' UnsubscribeFromDatasetResponse Int
Creating a Request
:: 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:
data UnsubscribeFromDataset Source
A request to UnsubscribeFromDataset.
See: unsubscribeFromDataset
smart constructor.
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.
Response Lenses
ufdrsStatus :: Lens' UnsubscribeFromDatasetResponse Int Source
The response status code.