amazonka-ec2-1.0.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ResetSnapshotAttribute

Contents

Description

Resets permission settings for the specified snapshot.

For more information on modifying snapshot permissions, see Sharing Snapshots in the Amazon Elastic Compute Cloud User Guide.

See: AWS API Reference for ResetSnapshotAttribute.

Synopsis

Creating a Request

resetSnapshotAttribute Source

Creates a value of ResetSnapshotAttribute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

rsaDryRun :: Lens' ResetSnapshotAttribute (Maybe Bool) Source

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.

rsaAttribute :: Lens' ResetSnapshotAttribute SnapshotAttributeName Source

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

Destructuring the Response

resetSnapshotAttributeResponse :: ResetSnapshotAttributeResponse Source

Creates a value of ResetSnapshotAttributeResponse with the minimum fields required to make a request.