Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data CreateHsmClientCertificate = CreateHsmClientCertificate' {}
- newCreateHsmClientCertificate :: Text -> CreateHsmClientCertificate
- createHsmClientCertificate_tags :: Lens' CreateHsmClientCertificate (Maybe [Tag])
- createHsmClientCertificate_hsmClientCertificateIdentifier :: Lens' CreateHsmClientCertificate Text
- data CreateHsmClientCertificateResponse = CreateHsmClientCertificateResponse' {}
- newCreateHsmClientCertificateResponse :: Int -> CreateHsmClientCertificateResponse
- createHsmClientCertificateResponse_hsmClientCertificate :: Lens' CreateHsmClientCertificateResponse (Maybe HsmClientCertificate)
- createHsmClientCertificateResponse_httpStatus :: Lens' CreateHsmClientCertificateResponse Int
Creating a Request
data CreateHsmClientCertificate Source #
See: newCreateHsmClientCertificate
smart constructor.
CreateHsmClientCertificate' | |
|
Instances
newCreateHsmClientCertificate Source #
Create a value of CreateHsmClientCertificate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:CreateHsmClientCertificate'
, createHsmClientCertificate_tags
- A list of tag instances.
$sel:hsmClientCertificateIdentifier:CreateHsmClientCertificate'
, createHsmClientCertificate_hsmClientCertificateIdentifier
- 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.
Request Lenses
createHsmClientCertificate_tags :: Lens' CreateHsmClientCertificate (Maybe [Tag]) Source #
A list of tag instances.
createHsmClientCertificate_hsmClientCertificateIdentifier :: 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
data CreateHsmClientCertificateResponse Source #
See: newCreateHsmClientCertificateResponse
smart constructor.
CreateHsmClientCertificateResponse' | |
|
Instances
Eq CreateHsmClientCertificateResponse Source # | |
Read CreateHsmClientCertificateResponse Source # | |
Show CreateHsmClientCertificateResponse Source # | |
Generic CreateHsmClientCertificateResponse Source # | |
NFData CreateHsmClientCertificateResponse Source # | |
Defined in Amazonka.Redshift.CreateHsmClientCertificate rnf :: CreateHsmClientCertificateResponse -> () # | |
type Rep CreateHsmClientCertificateResponse Source # | |
Defined in Amazonka.Redshift.CreateHsmClientCertificate type Rep CreateHsmClientCertificateResponse = D1 ('MetaData "CreateHsmClientCertificateResponse" "Amazonka.Redshift.CreateHsmClientCertificate" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "CreateHsmClientCertificateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hsmClientCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HsmClientCertificate)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateHsmClientCertificateResponse Source #
Create a value of CreateHsmClientCertificateResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:hsmClientCertificate:CreateHsmClientCertificateResponse'
, createHsmClientCertificateResponse_hsmClientCertificate
- Undocumented member.
$sel:httpStatus:CreateHsmClientCertificateResponse'
, createHsmClientCertificateResponse_httpStatus
- The response's http status code.
Response Lenses
createHsmClientCertificateResponse_hsmClientCertificate :: Lens' CreateHsmClientCertificateResponse (Maybe HsmClientCertificate) Source #
Undocumented member.
createHsmClientCertificateResponse_httpStatus :: Lens' CreateHsmClientCertificateResponse Int Source #
The response's http status code.