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

Safe HaskellNone




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.



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 constructor