Skip to content

/AWS1/CL_EC2=>UNLOCKSNAPSHOT()

About UnlockSnapshot

Unlocks a snapshot that is locked in governance mode or that is locked in compliance mode but still in the cooling-off period. You can't unlock a snapshot that is locked in compliance mode after the cooling-off period has expired.

Method Signature

IMPORTING

Required arguments:

IV_SNAPSHOTID TYPE /AWS1/EC2SNAPSHOTID /AWS1/EC2SNAPSHOTID

The ID of the snapshot to unlock.

Optional arguments:

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_EC2UNLOCKSNAPRESULT /AWS1/CL_EC2UNLOCKSNAPRESULT