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 |
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.
Synopsis
- 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:
delIdentityPoolId
- 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
- 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
- A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore),-
(dash), and.
(dot).
data DeleteDataset Source #
A request to delete the specific dataset.
See: deleteDataset
smart constructor.
Instances
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.
Destructuring the Response
deleteDatasetResponse Source #
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:
drsDataset
- 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
- -- | The response status code.
data DeleteDatasetResponse Source #
Response to a successful DeleteDataset request.
See: deleteDatasetResponse
smart constructor.
Instances
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.