amazonka-cloudhsm-1.5.0: Amazon CloudHSM SDK.

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

Network.AWS.CloudHSM.GetConfig

Contents

Description

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

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:

  • 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.

data GetConfig Source #

See: getConfig smart constructor.

Instances

Eq GetConfig Source # 
Data GetConfig Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetConfig -> c GetConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetConfig #

toConstr :: GetConfig -> Constr #

dataTypeOf :: GetConfig -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetConfig) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetConfig) #

gmapT :: (forall b. Data b => b -> b) -> GetConfig -> GetConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetConfig -> m GetConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetConfig -> m GetConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetConfig -> m GetConfig #

Read GetConfig Source # 
Show GetConfig Source # 
Generic GetConfig Source # 

Associated Types

type Rep GetConfig :: * -> * #

Hashable GetConfig Source # 
ToJSON GetConfig Source # 
NFData GetConfig Source # 

Methods

rnf :: GetConfig -> () #

AWSRequest GetConfig Source # 
ToQuery GetConfig Source # 
ToPath GetConfig Source # 
ToHeaders GetConfig Source # 

Methods

toHeaders :: GetConfig -> [Header] #

type Rep GetConfig Source # 
type Rep GetConfig = D1 (MetaData "GetConfig" "Network.AWS.CloudHSM.GetConfig" "amazonka-cloudhsm-1.5.0-Ia9d98G2z3xfu0k5IeYfS" False) (C1 (MetaCons "GetConfig'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gcClientARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_gcClientVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ClientVersion)) (S1 (MetaSel (Just Symbol "_gcHAPGList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))))
type Rs GetConfig Source # 

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:

data GetConfigResponse Source #

See: getConfigResponse smart constructor.

Instances

Eq GetConfigResponse Source # 
Data GetConfigResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetConfigResponse -> c GetConfigResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetConfigResponse #

toConstr :: GetConfigResponse -> Constr #

dataTypeOf :: GetConfigResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetConfigResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetConfigResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetConfigResponse -> GetConfigResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetConfigResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetConfigResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetConfigResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetConfigResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetConfigResponse -> m GetConfigResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetConfigResponse -> m GetConfigResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetConfigResponse -> m GetConfigResponse #

Read GetConfigResponse Source # 
Show GetConfigResponse Source # 
Generic GetConfigResponse Source # 
NFData GetConfigResponse Source # 

Methods

rnf :: GetConfigResponse -> () #

type Rep GetConfigResponse Source # 
type Rep GetConfigResponse = D1 (MetaData "GetConfigResponse" "Network.AWS.CloudHSM.GetConfig" "amazonka-cloudhsm-1.5.0-Ia9d98G2z3xfu0k5IeYfS" False) (C1 (MetaCons "GetConfigResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gcrsConfigFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gcrsConfigCred") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gcrsConfigType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

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.