Skip to content

/AWS1/CL_APS=>COPYIMAGE()

About CopyImage

Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.

Method Signature

IMPORTING

Required arguments:

IV_SOURCEIMAGENAME TYPE /AWS1/APSNAME /AWS1/APSNAME

The name of the image to copy.

IV_DESTINATIONIMAGENAME TYPE /AWS1/APSNAME /AWS1/APSNAME

The name that the image will have when it is copied to the destination.

IV_DESTINATIONREGION TYPE /AWS1/APSREGIONNAME /AWS1/APSREGIONNAME

The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.

Optional arguments:

IV_DSTIMAGEDESCRIPTION TYPE /AWS1/APSDESCRIPTION /AWS1/APSDESCRIPTION

The description that the image will have when it is copied to the destination.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_APSCOPYIMAGERESPONSE /AWS1/CL_APSCOPYIMAGERESPONSE