| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.CognitoSync.SubscribeToDataset
Description
Subscribes to receive notifications when a dataset is modified by another device.
http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_SubscribeToDataset.html
- data SubscribeToDataset
- subscribeToDataset :: Text -> Text -> Text -> Text -> SubscribeToDataset
- stdDatasetName :: Lens' SubscribeToDataset Text
- stdDeviceId :: Lens' SubscribeToDataset Text
- stdIdentityId :: Lens' SubscribeToDataset Text
- stdIdentityPoolId :: Lens' SubscribeToDataset Text
- data SubscribeToDatasetResponse
- subscribeToDatasetResponse :: SubscribeToDatasetResponse
Request
data SubscribeToDataset Source
Instances
Request constructor
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> SubscribeToDataset |
SubscribeToDataset constructor.
The fields accessible through corresponding lenses are:
Request lenses
stdDatasetName :: Lens' SubscribeToDataset Text Source
The name of the dataset to subcribe to.
stdDeviceId :: Lens' SubscribeToDataset Text Source
The unique ID generated for this device by Cognito.
stdIdentityId :: Lens' SubscribeToDataset Text Source
Unique ID for this identity.
stdIdentityPoolId :: Lens' SubscribeToDataset 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 the identity belongs.