| 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.StorageGateway.DeleteTapeArchive
Description
Deletes the specified virtual tape from the virtual tape shelf (VTS). This operation is only supported in the tape gateway type.
Synopsis
- data DeleteTapeArchive = DeleteTapeArchive' {}
- newDeleteTapeArchive :: Text -> DeleteTapeArchive
- deleteTapeArchive_bypassGovernanceRetention :: Lens' DeleteTapeArchive (Maybe Bool)
- deleteTapeArchive_tapeARN :: Lens' DeleteTapeArchive Text
- data DeleteTapeArchiveResponse = DeleteTapeArchiveResponse' {
- tapeARN :: Maybe Text
- httpStatus :: Int
- newDeleteTapeArchiveResponse :: Int -> DeleteTapeArchiveResponse
- deleteTapeArchiveResponse_tapeARN :: Lens' DeleteTapeArchiveResponse (Maybe Text)
- deleteTapeArchiveResponse_httpStatus :: Lens' DeleteTapeArchiveResponse Int
Creating a Request
data DeleteTapeArchive Source #
DeleteTapeArchiveInput
See: newDeleteTapeArchive smart constructor.
Constructors
| DeleteTapeArchive' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteTapeArchive |
Create a value of DeleteTapeArchive 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:bypassGovernanceRetention:DeleteTapeArchive', deleteTapeArchive_bypassGovernanceRetention - Set to TRUE to delete an archived tape that belongs to a custom pool
with tape retention lock. Only archived tapes with tape retention lock
set to governance can be deleted. Archived tapes with tape retention
lock set to compliance can't be deleted.
DeleteTapeArchive, deleteTapeArchive_tapeARN - The Amazon Resource Name (ARN) of the virtual tape to delete from the
virtual tape shelf (VTS).
Request Lenses
deleteTapeArchive_bypassGovernanceRetention :: Lens' DeleteTapeArchive (Maybe Bool) Source #
Set to TRUE to delete an archived tape that belongs to a custom pool
with tape retention lock. Only archived tapes with tape retention lock
set to governance can be deleted. Archived tapes with tape retention
lock set to compliance can't be deleted.
deleteTapeArchive_tapeARN :: Lens' DeleteTapeArchive Text Source #
The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).
Destructuring the Response
data DeleteTapeArchiveResponse Source #
DeleteTapeArchiveOutput
See: newDeleteTapeArchiveResponse smart constructor.
Constructors
| DeleteTapeArchiveResponse' | |
Fields
| |
Instances
newDeleteTapeArchiveResponse Source #
Create a value of DeleteTapeArchiveResponse 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:
DeleteTapeArchive, deleteTapeArchiveResponse_tapeARN - The Amazon Resource Name (ARN) of the virtual tape that was deleted from
the virtual tape shelf (VTS).
$sel:httpStatus:DeleteTapeArchiveResponse', deleteTapeArchiveResponse_httpStatus - The response's http status code.
Response Lenses
deleteTapeArchiveResponse_tapeARN :: Lens' DeleteTapeArchiveResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the virtual tape that was deleted from the virtual tape shelf (VTS).
deleteTapeArchiveResponse_httpStatus :: Lens' DeleteTapeArchiveResponse Int Source #
The response's http status code.