Transfer / Client / delete_host_key

delete_host_key#

Transfer.Client.delete_host_key(**kwargs)#

Deletes the host key that’s specified in the HostKeyId parameter.

See also: AWS API Documentation

Request Syntax

response = client.delete_host_key(
    ServerId='string',
    HostKeyId='string'
)
Parameters:
  • ServerId (string) –

    [REQUIRED]

    The identifier of the server that contains the host key that you are deleting.

  • HostKeyId (string) –

    [REQUIRED]

    The identifier of the host key that you are deleting.

Returns:

None

Exceptions