Copyright | (c) 2013-2021 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 |
Amazonka.DataExchange.DeleteAsset
Description
This operation deletes an asset.
Synopsis
- data DeleteAsset = DeleteAsset' {}
- newDeleteAsset :: Text -> Text -> Text -> DeleteAsset
- deleteAsset_revisionId :: Lens' DeleteAsset Text
- deleteAsset_assetId :: Lens' DeleteAsset Text
- deleteAsset_dataSetId :: 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:
$sel:revisionId:DeleteAsset'
, deleteAsset_revisionId
- The unique identifier for a revision.
$sel:assetId:DeleteAsset'
, deleteAsset_assetId
- The unique identifier for an asset.
$sel:dataSetId:DeleteAsset'
, deleteAsset_dataSetId
- The unique identifier for a data set.
Request Lenses
deleteAsset_revisionId :: Lens' DeleteAsset Text Source #
The unique identifier for a revision.
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.
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.