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 |
Delete a custom tape pool. A custom tape pool can only be deleted if there are no tapes in the pool and if there are no automatic tape creation policies that reference the custom tape pool.
Synopsis
- data DeleteTapePool = DeleteTapePool' {}
- newDeleteTapePool :: Text -> DeleteTapePool
- deleteTapePool_poolARN :: Lens' DeleteTapePool Text
- data DeleteTapePoolResponse = DeleteTapePoolResponse' {
- poolARN :: Maybe Text
- httpStatus :: Int
- newDeleteTapePoolResponse :: Int -> DeleteTapePoolResponse
- deleteTapePoolResponse_poolARN :: Lens' DeleteTapePoolResponse (Maybe Text)
- deleteTapePoolResponse_httpStatus :: Lens' DeleteTapePoolResponse Int
Creating a Request
data DeleteTapePool Source #
See: newDeleteTapePool
smart constructor.
Instances
Create a value of DeleteTapePool
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:poolARN:DeleteTapePool'
, deleteTapePool_poolARN
- The Amazon Resource Name (ARN) of the custom tape pool to delete.
Request Lenses
deleteTapePool_poolARN :: Lens' DeleteTapePool Text Source #
The Amazon Resource Name (ARN) of the custom tape pool to delete.
Destructuring the Response
data DeleteTapePoolResponse Source #
See: newDeleteTapePoolResponse
smart constructor.
DeleteTapePoolResponse' | |
|
Instances
newDeleteTapePoolResponse Source #
Create a value of DeleteTapePoolResponse
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:poolARN:DeleteTapePool'
, deleteTapePoolResponse_poolARN
- The Amazon Resource Name (ARN) of the custom tape pool being deleted.
$sel:httpStatus:DeleteTapePoolResponse'
, deleteTapePoolResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTapePoolResponse_poolARN :: Lens' DeleteTapePoolResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the custom tape pool being deleted.
deleteTapePoolResponse_httpStatus :: Lens' DeleteTapePoolResponse Int Source #
The response's http status code.