v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1427150102.0 KB

Lists the hosts associated with your account.

post/#X-Amz-Target=com.amazonaws.codeconnections.CodeConnections_20231201.ListHosts

Headers

X-Amz-Target'com.amazonaws.codeconnections.CodeConnections_20231201.ListHosts' required

Request body

MaxResultsinteger

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.

NextTokenstring

The token that was returned from the previous <code>ListHosts</code> call, which can be used to return the next set of hosts in the list.

Response

Success

NextTokenstring

A token that can be used in the next <code>ListHosts</code> call. To view all items in the list, continue to call this operation with each subsequent token until no more <code>nextToken</code> values are returned.