Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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 .
- resetSnapshotAttribute :: Text -> SnapshotAttributeName -> ResetSnapshotAttribute
- data ResetSnapshotAttribute
- rsaDryRun :: Lens' ResetSnapshotAttribute (Maybe Bool)
- rsaSnapshotId :: Lens' ResetSnapshotAttribute Text
- rsaAttribute :: Lens' ResetSnapshotAttribute SnapshotAttributeName
- resetSnapshotAttributeResponse :: ResetSnapshotAttributeResponse
- data ResetSnapshotAttributeResponse
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:
rsaDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.rsaSnapshotId
- The ID of the snapshot.rsaAttribute
- The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
data ResetSnapshotAttribute Source #
Contains the parameters for ResetSnapshotAttribute.
See: resetSnapshotAttribute
smart constructor.
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
.
rsaSnapshotId :: Lens' ResetSnapshotAttribute Text Source #
The ID of the snapshot.
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.
data ResetSnapshotAttributeResponse Source #
See: resetSnapshotAttributeResponse
smart constructor.