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.
Describes one or more of the EBS snapshots available to you. Available snapshots include public snapshots available for any AWS account to launch, private snapshots that you own, and private snapshots owned by another AWS account but for which you've been given explicit create volume permissions.
The create volume permissions fall into the following categories:
public: The owner of the snapshot granted create volume permissions for the
snapshot to the
all group. All AWS accounts have create volume permissions
for these snapshots.
explicit: The owner of the snapshot granted create volume permissions to a specific AWS account.
implicit: An AWS account has implicit create volume permissions for all snapshots it owns.
The list of snapshots returned can be modified by specifying snapshot IDs, snapshot owners, or AWS accounts with create volume permissions. If no options are specified, Amazon EC2 returns all snapshots for which you have create volume permissions.
If you specify one or more snapshot IDs, only snapshots that have the specified IDs are returned. If you specify an invalid snapshot ID, an error is returned. If you specify a snapshot ID for which you do not have access, it is not included in the returned results.
If you specify one or more snapshot owners using the
only snapshots from the specified owners and for which you have access are returned.
The results can include the AWS account IDs of the specified owners,
for snapshots owned by Amazon, or
self for snapshots that you own.
If you specify a list of restorable users, only snapshots with create snapshot permissions
for those users are returned. You can specify AWS account IDs (if you own the snapshots),
self for snapshots for which you own or have explicit permissions, or
all for public snapshots.
If you are describing a long list of snapshots, you can paginate the output to make
the list more manageable. The
MaxResults parameter sets the maximum number
of results returned in a single page. If the list of results exceeds your
value, then that number of results is returned along with a
value that can be passed to a subsequent
DescribeSnapshots request to
retrieve the remaining results.
For more information about EBS snapshots, see Amazon EBS Snapshots in the Amazon Elastic Compute Cloud User Guide.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginDescribeSnapshots and EndDescribeSnapshots.
public abstract Task<DescribeSnapshotsResponse> DescribeSnapshotsAsync( CancellationToken cancellationToken )
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Supported in: 1.3
Supported in: 4.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms