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.

  • InactiveDate (datetime) – An optional date that specifies when the certificate becomes inactive.

  • 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