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 |
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.
Instances
:: 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.
Instances
Eq DeleteAssetResponse Source # | |
Defined in Amazonka.DataExchange.DeleteAsset (==) :: DeleteAssetResponse -> DeleteAssetResponse -> Bool # (/=) :: DeleteAssetResponse -> DeleteAssetResponse -> Bool # | |
Read DeleteAssetResponse Source # | |
Show DeleteAssetResponse Source # | |
Defined in Amazonka.DataExchange.DeleteAsset showsPrec :: Int -> DeleteAssetResponse -> ShowS # show :: DeleteAssetResponse -> String # showList :: [DeleteAssetResponse] -> ShowS # | |
Generic DeleteAssetResponse Source # | |
Defined in Amazonka.DataExchange.DeleteAsset type Rep DeleteAssetResponse :: Type -> Type # from :: DeleteAssetResponse -> Rep DeleteAssetResponse x # to :: Rep DeleteAssetResponse x -> DeleteAssetResponse # | |
NFData DeleteAssetResponse Source # | |
Defined in Amazonka.DataExchange.DeleteAsset rnf :: DeleteAssetResponse -> () # | |
type Rep DeleteAssetResponse Source # | |
newDeleteAssetResponse :: DeleteAssetResponse Source #
Create a value of DeleteAssetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.