amazonka-redshift-1.4.2: Amazon Redshift SDK.

Copyright(c) 2013-2016 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.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:

data CreateHSMClientCertificate Source #

See: createHSMClientCertificate smart constructor.

Instances

Eq CreateHSMClientCertificate Source # 
Data CreateHSMClientCertificate Source # 

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 # 
Show CreateHSMClientCertificate Source # 
Generic CreateHSMClientCertificate Source # 
Hashable CreateHSMClientCertificate Source # 
NFData CreateHSMClientCertificate Source # 
AWSRequest CreateHSMClientCertificate Source # 
ToPath CreateHSMClientCertificate Source # 
ToHeaders CreateHSMClientCertificate Source # 
ToQuery CreateHSMClientCertificate Source # 
type Rep CreateHSMClientCertificate Source # 
type Rep CreateHSMClientCertificate = D1 (MetaData "CreateHSMClientCertificate" "Network.AWS.Redshift.CreateHSMClientCertificate" "amazonka-redshift-1.4.2-6pcb6KeSjlW7uTiZZqVkvG" False) (C1 (MetaCons "CreateHSMClientCertificate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_chccTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) (S1 (MetaSel (Just Symbol "_chccHSMClientCertificateIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateHSMClientCertificate Source # 

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 # 
Data CreateHSMClientCertificateResponse Source # 

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 # 
Show CreateHSMClientCertificateResponse Source # 
Generic CreateHSMClientCertificateResponse Source # 
NFData CreateHSMClientCertificateResponse Source # 
type Rep CreateHSMClientCertificateResponse Source # 
type Rep CreateHSMClientCertificateResponse = D1 (MetaData "CreateHSMClientCertificateResponse" "Network.AWS.Redshift.CreateHSMClientCertificate" "amazonka-redshift-1.4.2-6pcb6KeSjlW7uTiZZqVkvG" False) (C1 (MetaCons "CreateHSMClientCertificateResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_chccrsHSMClientCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HSMClientCertificate))) (S1 (MetaSel (Just Symbol "_chccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses