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 is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
Synopsis
- data DeleteHsm = DeleteHsm' {}
- newDeleteHsm :: Text -> DeleteHsm
- deleteHsm_hsmArn :: Lens' DeleteHsm Text
- data DeleteHsmResponse = DeleteHsmResponse' {
- httpStatus :: Int
- status :: Text
- newDeleteHsmResponse :: Int -> Text -> DeleteHsmResponse
- deleteHsmResponse_httpStatus :: Lens' DeleteHsmResponse Int
- deleteHsmResponse_status :: Lens' DeleteHsmResponse Text
Creating a Request
Contains the inputs for the DeleteHsm operation.
See: newDeleteHsm
smart constructor.
Instances
Create a value of DeleteHsm
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:hsmArn:DeleteHsm'
, deleteHsm_hsmArn
- The ARN of the HSM to delete.
Request Lenses
Destructuring the Response
data DeleteHsmResponse Source #
Contains the output of the DeleteHsm operation.
See: newDeleteHsmResponse
smart constructor.
DeleteHsmResponse' | |
|
Instances
Create a value of DeleteHsmResponse
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:httpStatus:DeleteHsmResponse'
, deleteHsmResponse_httpStatus
- The response's http status code.
$sel:status:DeleteHsmResponse'
, deleteHsmResponse_status
- The status of the operation.
Response Lenses
deleteHsmResponse_httpStatus :: Lens' DeleteHsmResponse Int Source #
The response's http status code.
deleteHsmResponse_status :: Lens' DeleteHsmResponse Text Source #
The status of the operation.