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.
For PCL this operation is only available in asynchronous form. Please refer to DescribeSnapshotsAsync.
public virtual DescribeSnapshotsResponse DescribeSnapshots()
Supported in: 4.5, 4.0, 3.5
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms