| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.DataExchange.DeleteAsset
Description
This operation deletes an asset.
Synopsis
- data DeleteAsset = DeleteAsset' {}
 - newDeleteAsset :: Text -> Text -> Text -> DeleteAsset
 - deleteAsset_assetId :: Lens' DeleteAsset Text
 - deleteAsset_dataSetId :: Lens' DeleteAsset Text
 - deleteAsset_revisionId :: Lens' DeleteAsset Text
 - data DeleteAssetResponse = DeleteAssetResponse' {
 - newDeleteAssetResponse :: DeleteAssetResponse
 
Creating a Request
data DeleteAsset Source #
See: newDeleteAsset smart constructor.
Constructors
| DeleteAsset' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DeleteAsset | 
Create a value of DeleteAsset with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteAsset, deleteAsset_assetId - The unique identifier for an asset.
DeleteAsset, deleteAsset_dataSetId - The unique identifier for a data set.
DeleteAsset, deleteAsset_revisionId - The unique identifier for a revision.
Request Lenses
deleteAsset_assetId :: Lens' DeleteAsset Text Source #
The unique identifier for an asset.
deleteAsset_dataSetId :: Lens' DeleteAsset Text Source #
The unique identifier for a data set.
deleteAsset_revisionId :: Lens' DeleteAsset Text Source #
The unique identifier for a revision.
Destructuring the Response
data DeleteAssetResponse Source #
See: newDeleteAssetResponse smart constructor.
Constructors
| DeleteAssetResponse' | |
Instances
newDeleteAssetResponse :: DeleteAssetResponse Source #
Create a value of DeleteAssetResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.