amazonka-cloudhsm-1.6.1: Amazon CloudHSM SDK.

Copyright(c) 2013-2018 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 # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Data GetConfig Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

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 # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Show GetConfig Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Generic GetConfig Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Associated Types

type Rep GetConfig :: Type -> Type #

Hashable GetConfig Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

ToJSON GetConfig Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

AWSRequest GetConfig Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Associated Types

type Rs GetConfig :: Type #

ToHeaders GetConfig Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Methods

toHeaders :: GetConfig -> [Header] #

ToPath GetConfig Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

ToQuery GetConfig Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

NFData GetConfig Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Methods

rnf :: GetConfig -> () #

type Rep GetConfig Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

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

Defined in Network.AWS.CloudHSM.GetConfig

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 # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Data GetConfigResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

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 # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Show GetConfigResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Generic GetConfigResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Associated Types

type Rep GetConfigResponse :: Type -> Type #

NFData GetConfigResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

Methods

rnf :: GetConfigResponse -> () #

type Rep GetConfigResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.GetConfig

type Rep GetConfigResponse = D1 (MetaData "GetConfigResponse" "Network.AWS.CloudHSM.GetConfig" "amazonka-cloudhsm-1.6.1-4znIKUA0fUEDSYNWkcPcz3" False) (C1 (MetaCons "GetConfigResponse'" PrefixI True) ((S1 (MetaSel (Just "_gcrsConfigFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcrsConfigCred") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gcrsConfigType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.