Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
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.
- createLunaClient :: Text -> CreateLunaClient
- data CreateLunaClient
- clcLabel :: Lens' CreateLunaClient (Maybe Text)
- clcCertificate :: Lens' CreateLunaClient Text
- createLunaClientResponse :: Int -> CreateLunaClientResponse
- data CreateLunaClientResponse
- clcrsClientARN :: Lens' CreateLunaClientResponse (Maybe Text)
- clcrsResponseStatus :: Lens' CreateLunaClientResponse Int
Creating a Request
Creates a value of CreateLunaClient
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
clcLabel
- The label for the client.clcCertificate
- The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client.
data CreateLunaClient Source #
Contains the inputs for the CreateLunaClient
action.
See: createLunaClient
smart constructor.
Request Lenses
clcCertificate :: 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
createLunaClientResponse Source #
Creates a value of CreateLunaClientResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
clcrsClientARN
- The ARN of the client.clcrsResponseStatus
- -- | The response status code.
data CreateLunaClientResponse Source #
Contains the output of the CreateLunaClient
action.
See: createLunaClientResponse
smart constructor.
Response Lenses
clcrsClientARN :: Lens' CreateLunaClientResponse (Maybe Text) Source #
The ARN of the client.
clcrsResponseStatus :: Lens' CreateLunaClientResponse Int Source #
- - | The response status code.