v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1447387247.5 KB

Gets a list of names for one or more on-premises instances.

Unless otherwise specified, both registered and deregistered on-premises instance names are listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.

post/#X-Amz-Target=CodeDeploy_20141006.ListOnPremisesInstances

Headers

X-Amz-Target'CodeDeploy_20141006.ListOnPremisesInstances' required

Request body

registrationStatus'Registered' | 'Deregistered'
<p>The registration status of the on-premises instances:</p> <ul> <li> <p> <code>Deregistered</code>: Include deregistered on-premises instances in the resulting list.</p> </li> <li> <p> <code>Registered</code>: Include registered on-premises instances in the resulting list.</p> </li> </ul>
nextTokenstring

An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.

Response

Success

instanceNamesInstanceName[]

The list of matching on-premises instance names.

nextTokenstring

If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list on-premises instances call to return the next set of on-premises instances in the list.