amazonka-dms-2.0: Amazon Database Migration Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DMS.ImportCertificate

Description

Uploads the specified certificate.

Synopsis

Creating a Request

data ImportCertificate Source #

See: newImportCertificate smart constructor.

Constructors

ImportCertificate' 

Fields

  • certificatePem :: Maybe (Sensitive Text)

    The contents of a .pem file, which contains an X.509 certificate.

  • certificateWallet :: Maybe Base64

    The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso file using the fileb:// prefix. You can't provide the certificate inline.

    Example: filebase64("${path.root}/rds-ca-2019-root.sso")

  • tags :: Maybe [Tag]

    The tags associated with the certificate.

  • certificateIdentifier :: Text

    A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

Instances

Instances details
ToJSON ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

ToHeaders ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

ToPath ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

ToQuery ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

AWSRequest ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Associated Types

type AWSResponse ImportCertificate #

Generic ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Associated Types

type Rep ImportCertificate :: Type -> Type #

Show ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

NFData ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Methods

rnf :: ImportCertificate -> () #

Eq ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Hashable ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

type AWSResponse ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

type Rep ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

type Rep ImportCertificate = D1 ('MetaData "ImportCertificate" "Amazonka.DMS.ImportCertificate" "amazonka-dms-2.0-LVCLJv4CY4nJuf0WXCDs3O" 'False) (C1 ('MetaCons "ImportCertificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "certificatePem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "certificateWallet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "certificateIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newImportCertificate Source #

Create a value of ImportCertificate 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:

ImportCertificate, importCertificate_certificatePem - The contents of a .pem file, which contains an X.509 certificate.

ImportCertificate, importCertificate_certificateWallet - The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso file using the fileb:// prefix. You can't provide the certificate inline.

Example: filebase64("${path.root}/rds-ca-2019-root.sso")-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:tags:ImportCertificate', importCertificate_tags - The tags associated with the certificate.

ImportCertificate, importCertificate_certificateIdentifier - A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

Request Lenses

importCertificate_certificatePem :: Lens' ImportCertificate (Maybe Text) Source #

The contents of a .pem file, which contains an X.509 certificate.

importCertificate_certificateWallet :: Lens' ImportCertificate (Maybe ByteString) Source #

The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso file using the fileb:// prefix. You can't provide the certificate inline.

Example: filebase64("${path.root}/rds-ca-2019-root.sso")-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

importCertificate_tags :: Lens' ImportCertificate (Maybe [Tag]) Source #

The tags associated with the certificate.

importCertificate_certificateIdentifier :: Lens' ImportCertificate Text Source #

A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

Destructuring the Response

data ImportCertificateResponse Source #

See: newImportCertificateResponse smart constructor.

Constructors

ImportCertificateResponse' 

Fields

Instances

Instances details
Generic ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Associated Types

type Rep ImportCertificateResponse :: Type -> Type #

Read ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Show ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

NFData ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Eq ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

type Rep ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

type Rep ImportCertificateResponse = D1 ('MetaData "ImportCertificateResponse" "Amazonka.DMS.ImportCertificate" "amazonka-dms-2.0-LVCLJv4CY4nJuf0WXCDs3O" 'False) (C1 ('MetaCons "ImportCertificateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Certificate)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newImportCertificateResponse Source #

Create a value of ImportCertificateResponse 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:certificate:ImportCertificateResponse', importCertificateResponse_certificate - The certificate to be uploaded.

$sel:httpStatus:ImportCertificateResponse', importCertificateResponse_httpStatus - The response's http status code.

Response Lenses