v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1458293303.1 KB

Returns a list of host keys for the server that's specified by the <code>ServerId</code> parameter.

post/#X-Amz-Target=TransferService.ListHostKeys

Headers

X-Amz-Target'TransferService.ListHostKeys' required

Request body

MaxResultsinteger

The maximum number of host keys to return.

NextTokenstring

When there are additional results that were not returned, a <code>NextToken</code> parameter is returned. You can use that value for a subsequent call to <code>ListHostKeys</code> to continue listing results.

ServerIdstring required

The identifier of the server that contains the host keys that you want to view.

Response

Success

NextTokenstring

Returns a token that you can use to call <code>ListHostKeys</code> again and receive additional results, if there are any.

ServerIdstring required

Returns the server identifier that contains the listed host keys.