reset_attribute

EC2.Snapshot.reset_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 = snapshot.reset_attribute(
    Attribute='productCodes'|'createVolumePermission',
    DryRun=True|False
)
Parameters
  • Attribute (string) --

    [REQUIRED]

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

  • DryRun (boolean) -- 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 .
Returns

None