The newer batch_get_deployment_targets
should be used instead because it works with all compute types. list_deployment_instances
throws an exception if it is used with a compute platform other than EC2/On-premises or Lambda.
See https://www.paws-r-sdk.com/docs/codedeploy_list_deployment_instances/ for full documentation.
codedeploy_list_deployment_instances(
deploymentId,
nextToken = NULL,
instanceStatusFilter = NULL,
instanceTypeFilter = NULL
)
[required] The unique ID of a deployment.
An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.
A subset of instances to list by status:
Pending
: Include those instances with pending deployments.
InProgress
: Include those instances where deployments are still in
progress.
Succeeded
: Include those instances with successful deployments.
Failed
: Include those instances with failed deployments.
Skipped
: Include those instances with skipped deployments.
Unknown
: Include those instances with deployments in an unknown
state.
The set of instances in a blue/green deployment, either those in the original environment ("BLUE") or those in the replacement environment ("GREEN"), for which you want to view instance information.