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.ServiceUnavailableException
Transfer.Client.exceptions.InternalServiceError
Transfer.Client.exceptions.InvalidRequestException
Transfer.Client.exceptions.ResourceNotFoundException
Transfer.Client.exceptions.ThrottlingException