Reset Snapshot Attribute
ec2_reset_snapshot_attribute | R Documentation |
Resets permission settings for the specified snapshot¶
Description¶
Resets permission settings for the specified snapshot.
For more information about modifying snapshot permissions, see Share a snapshot in the Amazon EBS User Guide.
Usage¶
Arguments¶
Attribute
[required] The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
SnapshotId
[required] The ID of the snapshot.
DryRun
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 isUnauthorizedOperation
.
Value¶
An empty list.
Request syntax¶
svc$reset_snapshot_attribute(
Attribute = "productCodes"|"createVolumePermission",
SnapshotId = "string",
DryRun = TRUE|FALSE
)