amazonka-redshift-1.4.5: 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 #

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 #

See: createHSMClientCertificate smart constructor.

Instances

Eq CreateHSMClientCertificate # 
Data 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 # 
Show CreateHSMClientCertificate # 
Generic CreateHSMClientCertificate # 
Hashable CreateHSMClientCertificate # 
NFData CreateHSMClientCertificate # 
AWSRequest CreateHSMClientCertificate # 
ToQuery CreateHSMClientCertificate # 
ToPath CreateHSMClientCertificate # 
ToHeaders CreateHSMClientCertificate # 
type Rep CreateHSMClientCertificate # 
type Rep CreateHSMClientCertificate = D1 (MetaData "CreateHSMClientCertificate" "Network.AWS.Redshift.CreateHSMClientCertificate" "amazonka-redshift-1.4.5-5ygenDSSyjc71mxYPXWxi1" 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 # 

Request Lenses

chccTags :: Lens' CreateHSMClientCertificate [Tag] #

A list of tag instances.

chccHSMClientCertificateIdentifier :: Lens' CreateHSMClientCertificate Text #

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 #

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 #

See: createHSMClientCertificateResponse smart constructor.

Instances

Eq CreateHSMClientCertificateResponse # 
Data CreateHSMClientCertificateResponse # 

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

Response Lenses