| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Transfer.UpdateCertificate
Description
Updates the active and inactive dates for a certificate.
Synopsis
- data UpdateCertificate = UpdateCertificate' {}
- newUpdateCertificate :: Text -> UpdateCertificate
- updateCertificate_activeDate :: Lens' UpdateCertificate (Maybe UTCTime)
- updateCertificate_description :: Lens' UpdateCertificate (Maybe Text)
- updateCertificate_inactiveDate :: Lens' UpdateCertificate (Maybe UTCTime)
- updateCertificate_certificateId :: Lens' UpdateCertificate Text
- data UpdateCertificateResponse = UpdateCertificateResponse' {
- httpStatus :: Int
- certificateId :: Text
- newUpdateCertificateResponse :: Int -> Text -> UpdateCertificateResponse
- updateCertificateResponse_httpStatus :: Lens' UpdateCertificateResponse Int
- updateCertificateResponse_certificateId :: Lens' UpdateCertificateResponse Text
Creating a Request
data UpdateCertificate Source #
See: newUpdateCertificate smart constructor.
Constructors
| UpdateCertificate' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateCertificate |
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
newUpdateCertificateResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> UpdateCertificateResponse |
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_httpStatus :: Lens' UpdateCertificateResponse Int Source #
The response's http status code.
updateCertificateResponse_certificateId :: Lens' UpdateCertificateResponse Text Source #
Returns the identifier of the certificate object that you are updating.