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 |
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
See: AWS API Reference for GetConfig.
- 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)
- gcrsStatus :: 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:
See: getConfig
smart constructor.
Request Lenses
gcClientARN :: Lens' GetConfig Text Source
The ARN of the client.
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:
data GetConfigResponse Source
See: getConfigResponse
smart constructor.
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.
gcrsStatus :: Lens' GetConfigResponse Int Source
The response status code.