amazonka-redshift-1.6.1: Amazon Redshift 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.Redshift.CreateHSMClientCertificate

Contents

Description

Creates an HSM client certificate that an Amazon Redshift cluster will use to connect to the client's HSM in order to store and retrieve the keys used to encrypt the cluster databases.

The command returns a public key, which you must store in the HSM. In addition to creating the HSM certificate, you must create an Amazon Redshift HSM configuration that provides a cluster the information needed to store and use encryption keys in the HSM. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.

Synopsis

Creating a Request

createHSMClientCertificate Source #

Creates a value of CreateHSMClientCertificate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • chccTags - A list of tag instances.
  • chccHSMClientCertificateIdentifier - The identifier to be assigned to the new HSM client certificate that the cluster will use to connect to the HSM to use the database encryption keys.

data CreateHSMClientCertificate Source #

See: createHSMClientCertificate smart constructor.

Instances
Eq CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Data CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Methods

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

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

toConstr :: CreateHSMClientCertificate -> Constr #

dataTypeOf :: CreateHSMClientCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Show CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Generic CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Associated Types

type Rep CreateHSMClientCertificate :: Type -> Type #

Hashable CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

AWSRequest CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Associated Types

type Rs CreateHSMClientCertificate :: Type #

ToHeaders CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

ToPath CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

ToQuery CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

NFData CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

type Rep CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

type Rep CreateHSMClientCertificate = D1 (MetaData "CreateHSMClientCertificate" "Network.AWS.Redshift.CreateHSMClientCertificate" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "CreateHSMClientCertificate'" PrefixI True) (S1 (MetaSel (Just "_chccTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 (MetaSel (Just "_chccHSMClientCertificateIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs CreateHSMClientCertificate Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Request Lenses

chccTags :: Lens' CreateHSMClientCertificate [Tag] Source #

A list of tag instances.

chccHSMClientCertificateIdentifier :: Lens' CreateHSMClientCertificate Text Source #

The identifier to be assigned to the new HSM client certificate that the cluster will use to connect to the HSM to use the database encryption keys.

Destructuring the Response

createHSMClientCertificateResponse Source #

Creates a value of CreateHSMClientCertificateResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateHSMClientCertificateResponse Source #

See: createHSMClientCertificateResponse smart constructor.

Instances
Eq CreateHSMClientCertificateResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Data CreateHSMClientCertificateResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Methods

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

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

toConstr :: CreateHSMClientCertificateResponse -> Constr #

dataTypeOf :: CreateHSMClientCertificateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateHSMClientCertificateResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Show CreateHSMClientCertificateResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Generic CreateHSMClientCertificateResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

Associated Types

type Rep CreateHSMClientCertificateResponse :: Type -> Type #

NFData CreateHSMClientCertificateResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

type Rep CreateHSMClientCertificateResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMClientCertificate

type Rep CreateHSMClientCertificateResponse = D1 (MetaData "CreateHSMClientCertificateResponse" "Network.AWS.Redshift.CreateHSMClientCertificate" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "CreateHSMClientCertificateResponse'" PrefixI True) (S1 (MetaSel (Just "_chccrsHSMClientCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HSMClientCertificate)) :*: S1 (MetaSel (Just "_chccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses