:doc:`Snapshot <index>` / Action / reset_attribute

***************
reset_attribute
***************



.. py:method:: EC2.Snapshot.reset_attribute(**kwargs)

  

  Resets permission settings for the specified snapshot.

   

  For more information about modifying snapshot permissions, see `Share a snapshot <https://docs.aws.amazon.com/ebs/latest/userguide/ebs-modifying-snapshot-permissions.html>`__ in the *Amazon EBS User Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttribute>`_  


  **Request Syntax**
  ::

    response = snapshot.reset_attribute(
        Attribute='productCodes'|'createVolumePermission',
        DryRun=True|False
    )
    
  :type Attribute: string
  :param Attribute: **[REQUIRED]** 

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

    

  
  :type DryRun: boolean
  :param 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 is ``UnauthorizedOperation``.

    

  
  
  :returns: None