Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates an HSM client.
See: AWS API Reference for CreateLunaClient.
- createLunaClient :: Text -> CreateLunaClient
- data CreateLunaClient
- clcLabel :: Lens' CreateLunaClient (Maybe Text)
- clcCertificate :: Lens' CreateLunaClient Text
- createLunaClientResponse :: Int -> CreateLunaClientResponse
- data CreateLunaClientResponse
- clcrsClientARN :: Lens' CreateLunaClientResponse (Maybe Text)
- clcrsStatus :: 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:
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:
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.
clcrsStatus :: Lens' CreateLunaClientResponse Int Source
The response status code.