libZSservicesZSamazonka-dmsZSamazonka-dms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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.

  • 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
Eq ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Show ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Generic ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Associated Types

type Rep ImportCertificate :: Type -> Type #

NFData ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Methods

rnf :: ImportCertificate -> () #

Hashable ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

ToJSON ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

AWSRequest ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Associated Types

type AWSResponse 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

type Rep ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

type Rep ImportCertificate = D1 ('MetaData "ImportCertificate" "Amazonka.DMS.ImportCertificate" "libZSservicesZSamazonka-dmsZSamazonka-dms" '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))))
type AWSResponse ImportCertificate Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

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:

$sel:certificatePem:ImportCertificate', importCertificate_certificatePem - The contents of a .pem file, which contains an X.509 certificate.

$sel:certificateWallet: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.-- -- 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.

$sel:certificateIdentifier: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.-- -- 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
Eq ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Read ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Show ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Generic ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.DMS.ImportCertificate

Associated Types

type Rep ImportCertificateResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-dmsZSamazonka-dms" '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