Skip to content

/AWS1/CL_EC2=>DESCRIBELOCKEDSNAPSHOTS()

About DescribeLockedSnapshots

Describes the lock status for a snapshot.

Method Signature

IMPORTING

Optional arguments:

IT_FILTERS TYPE /AWS1/CL_EC2FILTER=>TT_FILTERLIST TT_FILTERLIST

The filters.

  • lock-state - The state of the snapshot lock (compliance-cooloff | governance | compliance | expired).

IV_MAXRESULTS TYPE /AWS1/EC2DSCLOCKEDSNAPSMAXRSS /AWS1/EC2DSCLOCKEDSNAPSMAXRSS

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_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.

IT_SNAPSHOTIDS TYPE /AWS1/CL_EC2SNAPIDSTRINGLIST_W=>TT_SNAPSHOTIDSTRINGLIST TT_SNAPSHOTIDSTRINGLIST

The IDs of the snapshots for which to view the lock status.

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_EC2DSCLOCKEDSNAPSRS /AWS1/CL_EC2DSCLOCKEDSNAPSRS