Skip to content

/AWS1/CL_EC2=>RESETSNAPSHOTATTRIBUTE()

About ResetSnapshotAttribute

Resets permission settings for the specified snapshot.

For more information about modifying snapshot permissions, see Share a snapshot in the Amazon EBS User Guide.

Method Signature

IMPORTING

Required arguments:

IV_ATTRIBUTE TYPE /AWS1/EC2SNAPSHOTATTRIBUTENAME /AWS1/EC2SNAPSHOTATTRIBUTENAME

The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.

IV_SNAPSHOTID TYPE /AWS1/EC2SNAPSHOTID /AWS1/EC2SNAPSHOTID

The ID of the snapshot.

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.