Transfer / Client / update_certificate

update_certificate

Transfer.Client.update_certificate(**kwargs)

Updates the active and inactive dates for a certificate.

See also: AWS API Documentation

Request Syntax

response = client.update_certificate(
    CertificateId='string',
    ActiveDate=datetime(2015, 1, 1),
    InactiveDate=datetime(2015, 1, 1),
    Description='string'
)
Parameters:
  • CertificateId (string) –

    [REQUIRED]

    The identifier of the certificate object that you are updating.

  • ActiveDate (datetime) – An optional date that specifies when the certificate becomes active. If you do not specify a value, ActiveDate takes the same value as NotBeforeDate, which is specified by the CA.

  • InactiveDate (datetime) – An optional date that specifies when the certificate becomes inactive. If you do not specify a value, InactiveDate takes the same value as NotAfterDate, which is specified by the CA.

  • Description (string) – A short description to help identify the certificate.

Return type:

dict

Returns:

Response Syntax

{
    'CertificateId': 'string'
}

Response Structure

  • (dict) –

    • CertificateId (string) –

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

Exceptions