Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ResetSnapshotAttribute.html
- data ResetSnapshotAttribute
- resetSnapshotAttribute :: Text -> SnapshotAttributeName -> ResetSnapshotAttribute
- rsaAttribute :: Lens' ResetSnapshotAttribute SnapshotAttributeName
- rsaDryRun :: Lens' ResetSnapshotAttribute (Maybe Bool)
- rsaSnapshotId :: Lens' ResetSnapshotAttribute Text
- data ResetSnapshotAttributeResponse
- resetSnapshotAttributeResponse :: ResetSnapshotAttributeResponse
Request
data ResetSnapshotAttribute Source
Request constructor
ResetSnapshotAttribute
constructor.
The fields accessible through corresponding lenses are:
Request lenses
rsaAttribute :: Lens' ResetSnapshotAttribute SnapshotAttributeName Source
The attribute to reset (currently only the attribute for permission to create volumes can be reset).
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
.
rsaSnapshotId :: Lens' ResetSnapshotAttribute Text Source
The ID of the snapshot.