AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
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.

Snapshots with AWS Marketplace product codes cannot be made public.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: (assembly version)


public abstract ModifySnapshotAttributeResponse ModifySnapshotAttribute(
         ModifySnapshotAttributeRequest request


Type: Amazon.EC2.Model.ModifySnapshotAttributeRequest

Container for the necessary parameters to execute the ModifySnapshotAttribute service method.

Return Value
Type: Amazon.EC2.Model.ModifySnapshotAttributeResponse
The response from the ModifySnapshotAttribute service method, as returned by EC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5