Skip to content

/AWS1/CL_DPL=>LISTDEPLOYMENTINSTANCES()

About ListDeploymentInstances

The newer BatchGetDeploymentTargets should be used instead because it works with all compute types. ListDeploymentInstances throws an exception if it is used with a compute platform other than EC2/On-premises or Lambda.

Lists the instance for a deployment associated with the user or Amazon Web Services account.

Method Signature

IMPORTING

Required arguments:

IV_DEPLOYMENTID TYPE /AWS1/DPLDEPLOYMENTID /AWS1/DPLDEPLOYMENTID

The unique ID of a deployment.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/DPLNEXTTOKEN /AWS1/DPLNEXTTOKEN

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.

IT_INSTANCESTATUSFILTER TYPE /AWS1/CL_DPLINSTSTATUSLIST_W=>TT_INSTANCESTATUSLIST TT_INSTANCESTATUSLIST

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.

IT_INSTANCETYPEFILTER TYPE /AWS1/CL_DPLINSTANCETYPELIST_W=>TT_INSTANCETYPELIST TT_INSTANCETYPELIST

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DPLLSTDEPLOYMENTINS01 /AWS1/CL_DPLLSTDEPLOYMENTINS01