Skip to content

/AWS1/CL_EC2=>LISTIMAGESINRECYCLEBIN()

About ListImagesInRecycleBin

Lists one or more AMIs that are currently in the Recycle Bin. For more information, see Recycle Bin in the Amazon EC2 User Guide.

Method Signature

IMPORTING

Optional arguments:

IT_IMAGEIDS TYPE /AWS1/CL_EC2IMAGEIDSTRLIST_W=>TT_IMAGEIDSTRINGLIST TT_IMAGEIDSTRINGLIST

The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the Recycle Bin. You can specify up to 20 IDs in a single request.

IV_NEXTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

IV_MAXRESULTS TYPE /AWS1/EC2LSTIMAGESINRECYCLEB00 /AWS1/EC2LSTIMAGESINRECYCLEB00

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2LSTIMAGESINRECYC01 /AWS1/CL_EC2LSTIMAGESINRECYC01