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.
The create volume permissions fall into the following categories:
all
group. All AWS accounts have create volume
permissions for these snapshots.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, 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, amazon
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 MaxResults
value, then that number of results is returned along with a NextToken
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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class DescribeSnapshotsRequest : AmazonEC2Request IRequestEvents
The DescribeSnapshotsRequest type exposes the following members
Name | Description | |
---|---|---|
DescribeSnapshotsRequest() |
Name | Type | Description | |
---|---|---|---|
Filters | System.Collections.Generic.List<Amazon.EC2.Model.Filter> |
Gets and sets the property Filters.
One or more filters.
|
|
MaxResults | System.Int32 |
Gets and sets the property MaxResults.
The maximum number of snapshot results returned by |
|
NextToken | System.String |
Gets and sets the property NextToken.
The |
|
OwnerIds | System.Collections.Generic.List<System.String> |
Gets and sets the property OwnerIds.
Returns the snapshots owned by the specified owner. Multiple owners can be specified. |
|
RestorableByUserIds | System.Collections.Generic.List<System.String> |
Gets and sets the property RestorableByUserIds.
One or more AWS accounts IDs that can create volumes from the snapshot. |
|
SnapshotIds | System.Collections.Generic.List<System.String> |
Gets and sets the property SnapshotIds.
One or more snapshot IDs. Default: Describes snapshots for which you have launch permissions. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8