Skip to content

/AWS1/CL_IMG=>LISTLCEXECUTIONRESOURCES()

About ListLifecycleExecutionResources

List resources that the runtime instance of the image lifecycle identified for lifecycle actions.

Method Signature

IMPORTING

Required arguments:

IV_LIFECYCLEEXECUTIONID TYPE /AWS1/IMGLIFECYCLEEXECUTIONID /AWS1/IMGLIFECYCLEEXECUTIONID

Use the unique identifier for a runtime instance of the lifecycle policy to get runtime details.

Optional arguments:

IV_PARENTRESOURCEID TYPE /AWS1/IMGNONEMPTYSTRING /AWS1/IMGNONEMPTYSTRING

You can leave this empty to get a list of Image Builder resources that were identified for lifecycle actions.

To get a list of associated resources that are impacted for an individual resource (the parent), specify its Amazon Resource Name (ARN). Associated resources are produced from your image and distributed when you run a build, such as AMIs or container images stored in ECR repositories.

IV_MAXRESULTS TYPE /AWS1/IMGRESTRICTEDINTEGER /AWS1/IMGRESTRICTEDINTEGER

The maximum items to return in a request.

IV_NEXTTOKEN TYPE /AWS1/IMGPAGINATIONTOKEN /AWS1/IMGPAGINATIONTOKEN

A token to specify where to start paginating. This is the nextToken from a previously truncated response.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IMGLSTLCEXECRESRCSRSP /AWS1/CL_IMGLSTLCEXECRESRCSRSP