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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ModifySnapshotAttribute

Contents

Description

Adds or removes permission settings for the specified snapshot. You may add or remove specified AWS account IDs from a snapshot's list of create volume permissions, but you cannot do both in a single API call. If you need to both add and remove account IDs for a snapshot, you must use multiple API calls.

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-ModifySnapshotAttribute.html

Synopsis

Request

Request constructor

Request lenses

msaCreateVolumePermission :: Lens' ModifySnapshotAttribute (Maybe CreateVolumePermissionModifications) Source

A JSON representation of the snapshot attribute modification.

msaGroupNames :: Lens' ModifySnapshotAttribute [Text] Source

The group to modify for the snapshot.

msaOperationType :: Lens' ModifySnapshotAttribute (Maybe Text) Source

The type of operation to perform to the attribute.

msaUserIds :: Lens' ModifySnapshotAttribute [Text] Source

The account ID to modify for the snapshot.

Response

Response constructor