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.
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
Synopsis
- data GetConfig = GetConfig' {
- clientArn :: Text
- clientVersion :: ClientVersion
- hapgList :: [Text]
- newGetConfig :: Text -> ClientVersion -> GetConfig
- getConfig_clientArn :: Lens' GetConfig Text
- getConfig_clientVersion :: Lens' GetConfig ClientVersion
- getConfig_hapgList :: Lens' GetConfig [Text]
- data GetConfigResponse = GetConfigResponse' {
- configFile :: Maybe Text
- configCred :: Maybe Text
- configType :: Maybe Text
- httpStatus :: Int
- newGetConfigResponse :: Int -> GetConfigResponse
- getConfigResponse_configFile :: Lens' GetConfigResponse (Maybe Text)
- getConfigResponse_configCred :: Lens' GetConfigResponse (Maybe Text)
- getConfigResponse_configType :: Lens' GetConfigResponse (Maybe Text)
- getConfigResponse_httpStatus :: Lens' GetConfigResponse Int
Creating a Request
See: newGetConfig
smart constructor.
GetConfig' | |
|
Instances
Create a value of GetConfig
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:GetConfig'
, getConfig_clientArn
- The ARN of the client.
$sel:clientVersion:GetConfig'
, getConfig_clientVersion
- The client version.
$sel:hapgList:GetConfig'
, getConfig_hapgList
- A list of ARNs that identify the high-availability partition groups that
are associated with the client.
Request Lenses
getConfig_clientVersion :: Lens' GetConfig ClientVersion Source #
The client version.
getConfig_hapgList :: Lens' GetConfig [Text] Source #
A list of ARNs that identify the high-availability partition groups that are associated with the client.
Destructuring the Response
data GetConfigResponse Source #
See: newGetConfigResponse
smart constructor.
GetConfigResponse' | |
|
Instances
Create a value of GetConfigResponse
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:configFile:GetConfigResponse'
, getConfigResponse_configFile
- The chrystoki.conf configuration file.
$sel:configCred:GetConfigResponse'
, getConfigResponse_configCred
- The certificate file containing the server.pem files of the HSMs.
$sel:configType:GetConfigResponse'
, getConfigResponse_configType
- The type of credentials.
$sel:httpStatus:GetConfigResponse'
, getConfigResponse_httpStatus
- The response's http status code.
Response Lenses
getConfigResponse_configFile :: Lens' GetConfigResponse (Maybe Text) Source #
The chrystoki.conf configuration file.
getConfigResponse_configCred :: Lens' GetConfigResponse (Maybe Text) Source #
The certificate file containing the server.pem files of the HSMs.
getConfigResponse_configType :: Lens' GetConfigResponse (Maybe Text) Source #
The type of credentials.
getConfigResponse_httpStatus :: Lens' GetConfigResponse Int Source #
The response's http status code.