amazonka-transfer-2.0: Amazon Transfer Family 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.Transfer.ImportCertificate

Description

Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner profiles.

Synopsis

Creating a Request

data ImportCertificate Source #

See: newImportCertificate smart constructor.

Constructors

ImportCertificate' 

Fields

Instances

Instances details
ToJSON ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

ToHeaders ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

ToPath ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

ToQuery ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

AWSRequest ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

Associated Types

type AWSResponse ImportCertificate #

Generic ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

Associated Types

type Rep ImportCertificate :: Type -> Type #

Show ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

NFData ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

Methods

rnf :: ImportCertificate -> () #

Eq ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

Hashable ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

type AWSResponse ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

type Rep ImportCertificate Source # 
Instance details

Defined in Amazonka.Transfer.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:

ImportCertificate, importCertificate_activeDate - An optional date that specifies when the certificate becomes active.

ImportCertificate, importCertificate_certificateChain - An optional list of certificates that make up the chain for the certificate that's being imported.

ImportCertificate, importCertificate_description - A short description that helps identify the certificate.

ImportCertificate, importCertificate_inactiveDate - An optional date that specifies when the certificate becomes inactive.

$sel:privateKey:ImportCertificate', importCertificate_privateKey - The file that contains the private key for the certificate that's being imported.

ImportCertificate, importCertificate_tags - Key-value pairs that can be used to group and search for certificates.

ImportCertificate, importCertificate_usage - Specifies whether this certificate is used for signing or encryption.

ImportCertificate, importCertificate_certificate - The file that contains the certificate to import.

Request Lenses

importCertificate_activeDate :: Lens' ImportCertificate (Maybe UTCTime) Source #

An optional date that specifies when the certificate becomes active.

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

An optional list of certificates that make up the chain for the certificate that's being imported.

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

A short description that helps identify the certificate.

importCertificate_inactiveDate :: Lens' ImportCertificate (Maybe UTCTime) Source #

An optional date that specifies when the certificate becomes inactive.

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

The file that contains the private key for the certificate that's being imported.

importCertificate_tags :: Lens' ImportCertificate (Maybe (NonEmpty Tag)) Source #

Key-value pairs that can be used to group and search for certificates.

importCertificate_usage :: Lens' ImportCertificate CertificateUsageType Source #

Specifies whether this certificate is used for signing or encryption.

importCertificate_certificate :: Lens' ImportCertificate Text Source #

The file that contains the certificate to import.

Destructuring the Response

data ImportCertificateResponse Source #

See: newImportCertificateResponse smart constructor.

Constructors

ImportCertificateResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • certificateId :: Text

    An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.

Instances

Instances details
Generic ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

Associated Types

type Rep ImportCertificateResponse :: Type -> Type #

Read ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

Show ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

NFData ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

Eq ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

type Rep ImportCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.ImportCertificate

type Rep ImportCertificateResponse = D1 ('MetaData "ImportCertificateResponse" "Amazonka.Transfer.ImportCertificate" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "ImportCertificateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "certificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:httpStatus:ImportCertificateResponse', importCertificateResponse_httpStatus - The response's http status code.

ImportCertificateResponse, importCertificateResponse_certificateId - An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.

Response Lenses

importCertificateResponse_certificateId :: Lens' ImportCertificateResponse Text Source #

An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.