Transfer.Client.update_host_key(**kwargs)¶Updates the description for the host key that's specified by the ServerId and HostKeyId parameters.
See also: AWS API Documentation
Request Syntax
response = client.update_host_key(
ServerId='string',
HostKeyId='string',
Description='string'
)
[REQUIRED]
The identifier of the server that contains the host key that you are updating.
[REQUIRED]
The identifier of the host key that you are updating.
[REQUIRED]
An updated description for the host key.
dict
Response Syntax
{
'ServerId': 'string',
'HostKeyId': 'string'
}
Response Structure
(dict) --
ServerId (string) --
Returns the server identifier for the server that contains the updated host key.
HostKeyId (string) --
Returns the host key identifier for the updated host key.
Exceptions
Transfer.Client.exceptions.ServiceUnavailableExceptionTransfer.Client.exceptions.InternalServiceErrorTransfer.Client.exceptions.InvalidRequestExceptionTransfer.Client.exceptions.ResourceNotFoundExceptionTransfer.Client.exceptions.ThrottlingException