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.UpdateCertificate

Description

Updates the active and inactive dates for a certificate.

Synopsis

Creating a Request

data UpdateCertificate Source #

See: newUpdateCertificate smart constructor.

Constructors

UpdateCertificate' 

Fields

Instances

Instances details
ToJSON UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

ToHeaders UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

ToPath UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

ToQuery UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

AWSRequest UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

Associated Types

type AWSResponse UpdateCertificate #

Generic UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

Associated Types

type Rep UpdateCertificate :: Type -> Type #

Read UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

Show UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

NFData UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

Methods

rnf :: UpdateCertificate -> () #

Eq UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

Hashable UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

type AWSResponse UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

type Rep UpdateCertificate Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

type Rep UpdateCertificate = D1 ('MetaData "UpdateCertificate" "Amazonka.Transfer.UpdateCertificate" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "UpdateCertificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activeDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "inactiveDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "certificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateCertificate Source #

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

UpdateCertificate, updateCertificate_activeDate - An optional date that specifies when the certificate becomes active.

UpdateCertificate, updateCertificate_description - A short description to help identify the certificate.

UpdateCertificate, updateCertificate_inactiveDate - An optional date that specifies when the certificate becomes inactive.

UpdateCertificate, updateCertificate_certificateId - The identifier of the certificate object that you are updating.

Request Lenses

updateCertificate_activeDate :: Lens' UpdateCertificate (Maybe UTCTime) Source #

An optional date that specifies when the certificate becomes active.

updateCertificate_description :: Lens' UpdateCertificate (Maybe Text) Source #

A short description to help identify the certificate.

updateCertificate_inactiveDate :: Lens' UpdateCertificate (Maybe UTCTime) Source #

An optional date that specifies when the certificate becomes inactive.

updateCertificate_certificateId :: Lens' UpdateCertificate Text Source #

The identifier of the certificate object that you are updating.

Destructuring the Response

data UpdateCertificateResponse Source #

See: newUpdateCertificateResponse smart constructor.

Constructors

UpdateCertificateResponse' 

Fields

Instances

Instances details
Generic UpdateCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

Associated Types

type Rep UpdateCertificateResponse :: Type -> Type #

Read UpdateCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

Show UpdateCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

NFData UpdateCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

Eq UpdateCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

type Rep UpdateCertificateResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateCertificate

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

newUpdateCertificateResponse Source #

Create a value of UpdateCertificateResponse 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:UpdateCertificateResponse', updateCertificateResponse_httpStatus - The response's http status code.

UpdateCertificate, updateCertificateResponse_certificateId - Returns the identifier of the certificate object that you are updating.

Response Lenses

updateCertificateResponse_certificateId :: Lens' UpdateCertificateResponse Text Source #

Returns the identifier of the certificate object that you are updating.