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.
Creates an HSM client.
Synopsis
- data CreateLunaClient = CreateLunaClient' {
- label :: Maybe Text
- certificate :: Text
- newCreateLunaClient :: Text -> CreateLunaClient
- createLunaClient_label :: Lens' CreateLunaClient (Maybe Text)
- createLunaClient_certificate :: Lens' CreateLunaClient Text
- data CreateLunaClientResponse = CreateLunaClientResponse' {
- clientArn :: Maybe Text
- httpStatus :: Int
- newCreateLunaClientResponse :: Int -> CreateLunaClientResponse
- createLunaClientResponse_clientArn :: Lens' CreateLunaClientResponse (Maybe Text)
- createLunaClientResponse_httpStatus :: Lens' CreateLunaClientResponse Int
Creating a Request
data CreateLunaClient Source #
Contains the inputs for the CreateLunaClient action.
See: newCreateLunaClient
smart constructor.
CreateLunaClient' | |
|
Instances
Create a value of CreateLunaClient
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:label:CreateLunaClient'
, createLunaClient_label
- The label for the client.
$sel:certificate:CreateLunaClient'
, createLunaClient_certificate
- The contents of a Base64-Encoded X.509 v3 certificate to be installed on
the HSMs used by this client.
Request Lenses
createLunaClient_label :: Lens' CreateLunaClient (Maybe Text) Source #
The label for the client.
createLunaClient_certificate :: Lens' CreateLunaClient Text Source #
The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client.
Destructuring the Response
data CreateLunaClientResponse Source #
Contains the output of the CreateLunaClient action.
See: newCreateLunaClientResponse
smart constructor.
CreateLunaClientResponse' | |
|
Instances
newCreateLunaClientResponse Source #
Create a value of CreateLunaClientResponse
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:CreateLunaClientResponse'
, createLunaClientResponse_clientArn
- The ARN of the client.
$sel:httpStatus:CreateLunaClientResponse'
, createLunaClientResponse_httpStatus
- The response's http status code.
Response Lenses
createLunaClientResponse_clientArn :: Lens' CreateLunaClientResponse (Maybe Text) Source #
The ARN of the client.
createLunaClientResponse_httpStatus :: Lens' CreateLunaClientResponse Int Source #
The response's http status code.