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 |
Deletes the specific dataset. The dataset will be deleted permanently, and the action can't be undone. Datasets that this dataset was merged with will no longer report the merge. Any subsequent operation on this dataset will result in a ResourceNotFoundException.
This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.
See: AWS API Reference for DeleteDataset.
- deleteDataset :: Text -> Text -> Text -> DeleteDataset
- data DeleteDataset
- delIdentityPoolId :: Lens' DeleteDataset Text
- delIdentityId :: Lens' DeleteDataset Text
- delDatasetName :: Lens' DeleteDataset Text
- deleteDatasetResponse :: Int -> DeleteDatasetResponse
- data DeleteDatasetResponse
- drsDataset :: Lens' DeleteDatasetResponse (Maybe Dataset)
- drsResponseStatus :: Lens' DeleteDatasetResponse Int
Creating a Request
Creates a value of DeleteDataset
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteDataset Source
A request to delete the specific dataset.
See: deleteDataset
smart constructor.
Request Lenses
delIdentityPoolId :: Lens' DeleteDataset Text Source
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
delIdentityId :: Lens' DeleteDataset Text Source
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
delDatasetName :: Lens' DeleteDataset Text Source
A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
Destructuring the Response
Creates a value of DeleteDatasetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteDatasetResponse Source
Response to a successful DeleteDataset request.
See: deleteDatasetResponse
smart constructor.
Response Lenses
drsDataset :: Lens' DeleteDatasetResponse (Maybe Dataset) Source
A collection of data for an identity pool. An identity pool can have multiple datasets. A dataset is per identity and can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs.
drsResponseStatus :: Lens' DeleteDatasetResponse Int Source
The response status code.