Copyright | (c) 2013-2018 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 .
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
Synopsis
- getConfig :: Text -> ClientVersion -> GetConfig
- data GetConfig
- gcClientARN :: Lens' GetConfig Text
- gcClientVersion :: Lens' GetConfig ClientVersion
- gcHAPGList :: Lens' GetConfig [Text]
- getConfigResponse :: Int -> GetConfigResponse
- data GetConfigResponse
- gcrsConfigFile :: Lens' GetConfigResponse (Maybe Text)
- gcrsConfigCred :: Lens' GetConfigResponse (Maybe Text)
- gcrsConfigType :: Lens' GetConfigResponse (Maybe Text)
- gcrsResponseStatus :: Lens' GetConfigResponse Int
Creating a Request
Creates a value of GetConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcClientARN
- The ARN of the client.gcClientVersion
- The client version.gcHAPGList
- A list of ARNs that identify the high-availability partition groups that are associated with the client.
See: getConfig
smart constructor.
Instances
Request Lenses
gcClientVersion :: Lens' GetConfig ClientVersion Source #
The client version.
gcHAPGList :: Lens' GetConfig [Text] Source #
A list of ARNs that identify the high-availability partition groups that are associated with the client.
Destructuring the Response
Creates a value of GetConfigResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcrsConfigFile
- The chrystoki.conf configuration file.gcrsConfigCred
- The certificate file containing the server.pem files of the HSMs.gcrsConfigType
- The type of credentials.gcrsResponseStatus
- -- | The response status code.
data GetConfigResponse Source #
See: getConfigResponse
smart constructor.
Instances
Response Lenses
gcrsConfigFile :: Lens' GetConfigResponse (Maybe Text) Source #
The chrystoki.conf configuration file.
gcrsConfigCred :: Lens' GetConfigResponse (Maybe Text) Source #
The certificate file containing the server.pem files of the HSMs.
gcrsConfigType :: Lens' GetConfigResponse (Maybe Text) Source #
The type of credentials.
gcrsResponseStatus :: Lens' GetConfigResponse Int Source #
- - | The response status code.