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.
Modifies the certificate used by the client.
This action can potentially start a workflow to install the new certificate on the client's HSMs.
Synopsis
- data ModifyLunaClient = ModifyLunaClient' {
- clientArn :: Text
- certificate :: Text
- newModifyLunaClient :: Text -> Text -> ModifyLunaClient
- modifyLunaClient_clientArn :: Lens' ModifyLunaClient Text
- modifyLunaClient_certificate :: Lens' ModifyLunaClient Text
- data ModifyLunaClientResponse = ModifyLunaClientResponse' {
- clientArn :: Maybe Text
- httpStatus :: Int
- newModifyLunaClientResponse :: Int -> ModifyLunaClientResponse
- modifyLunaClientResponse_clientArn :: Lens' ModifyLunaClientResponse (Maybe Text)
- modifyLunaClientResponse_httpStatus :: Lens' ModifyLunaClientResponse Int
Creating a Request
data ModifyLunaClient Source #
See: newModifyLunaClient
smart constructor.
ModifyLunaClient' | |
|
Instances
Create a value of ModifyLunaClient
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:clientArn:ModifyLunaClient'
, modifyLunaClient_clientArn
- The ARN of the client.
$sel:certificate:ModifyLunaClient'
, modifyLunaClient_certificate
- The new certificate for the client.
Request Lenses
modifyLunaClient_clientArn :: Lens' ModifyLunaClient Text Source #
The ARN of the client.
modifyLunaClient_certificate :: Lens' ModifyLunaClient Text Source #
The new certificate for the client.
Destructuring the Response
data ModifyLunaClientResponse Source #
See: newModifyLunaClientResponse
smart constructor.
ModifyLunaClientResponse' | |
|
Instances
newModifyLunaClientResponse Source #
Create a value of ModifyLunaClientResponse
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:clientArn:ModifyLunaClient'
, modifyLunaClientResponse_clientArn
- The ARN of the client.
$sel:httpStatus:ModifyLunaClientResponse'
, modifyLunaClientResponse_httpStatus
- The response's http status code.
Response Lenses
modifyLunaClientResponse_clientArn :: Lens' ModifyLunaClientResponse (Maybe Text) Source #
The ARN of the client.
modifyLunaClientResponse_httpStatus :: Lens' ModifyLunaClientResponse Int Source #
The response's http status code.