update_certificate
¶
update_certificate(
certificate_id: CertificateId,
*,
config_overrides: Optional[TransferClientConfig] = None,
active_date: Optional[CertDate] = None,
inactive_date: Optional[CertDate] = None,
description: Optional[Description] = None,
) -> UpdateCertificateResponse
Updates the active and inactive dates for a certificate.
Parameters:
-
certificate_id(CertificateId) –The identifier of the certificate object that you are updating.
-
active_date(Optional[CertDate], default:None) –An optional date that specifies when the certificate becomes active. If you do not specify a value,
ActiveDatetakes the same value asNotBeforeDate, which is specified by the CA. -
inactive_date(Optional[CertDate], default:None) –An optional date that specifies when the certificate becomes inactive. If you do not specify a value,
InactiveDatetakes the same value asNotAfterDate, which is specified by the CA. -
description(Optional[Description], default:None) –A short description to help identify the certificate.
Raises:
-
InternalServiceError–This exception is thrown when an error occurs in the Transfer Family service.
-
InvalidRequestException–This exception is thrown when the client submits a malformed request.
-
ResourceNotFoundException–This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.
-
ServiceUnavailableException–The request has failed because the Amazon Web ServicesTransfer Family service is not available.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.