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'
)
[REQUIRED]
The identifier of the certificate object that you are updating.
dict
Response Syntax
{
'CertificateId': 'string'
}
Response Structure
(dict) --
CertificateId (string) --
Returns the identifier of the certificate object that you are updating.
Exceptions
Transfer.Client.exceptions.ServiceUnavailableException
Transfer.Client.exceptions.InternalServiceError
Transfer.Client.exceptions.InvalidRequestException
Transfer.Client.exceptions.ResourceNotFoundException
Transfer.Client.exceptions.ThrottlingException