Transfer.Client.delete_host_key(**kwargs)¶Deletes the host key that's specified in the HoskKeyId parameter.
See also: AWS API Documentation
Request Syntax
response = client.delete_host_key(
ServerId='string',
HostKeyId='string'
)
[REQUIRED]
The identifier of the server that contains the host key that you are deleting.
[REQUIRED]
The identifier of the host key that you are deleting.
None
Exceptions
Transfer.Client.exceptions.ServiceUnavailableExceptionTransfer.Client.exceptions.InternalServiceErrorTransfer.Client.exceptions.InvalidRequestExceptionTransfer.Client.exceptions.ResourceNotFoundExceptionTransfer.Client.exceptions.ThrottlingException