reset_snapshot_attribute(**kwargs)¶Resets permission settings for the specified snapshot.
For more information about modifying snapshot permissions, see Share a snapshot in the Amazon Elastic Compute Cloud User Guide .
See also: AWS API Documentation
Request Syntax
response = client.reset_snapshot_attribute(
    Attribute='productCodes'|'createVolumePermission',
    SnapshotId='string',
    DryRun=True|False
)
[REQUIRED]
The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
[REQUIRED]
The ID of the snapshot.
DryRunOperation . Otherwise, it is UnauthorizedOperation .None
Examples
This example resets the create volume permissions for snapshot snap-1234567890abcdef0. If the command succeeds, no output is returned.
response = client.reset_snapshot_attribute(
    Attribute='createVolumePermission',
    SnapshotId='snap-1234567890abcdef0',
)
print(response)
Expected Output:
{
    'ResponseMetadata': {
        '...': '...',
    },
}