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 |
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.
DeleteTapeArchive' | |
|
Instances
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.
$sel:tapeARN: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.
DeleteTapeArchiveResponse' | |
|
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:
$sel:tapeARN: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.