amazonka-cloudhsm-1.2.0.2: Amazon CloudHSM SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudHSM.GetConfig

Contents

Description

Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.

See: AWS API Reference for GetConfig.

Synopsis

Creating a Request

getConfig Source

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:

Request Lenses

gcClientARN :: Lens' GetConfig Text Source

The ARN of the client.

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

getConfigResponse Source

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:

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.