Class DescribeSnapshotsRequest
Container for the parameters to the DescribeSnapshots operation.
Returns the description of specific Amazon FSx for OpenZFS snapshots, if a SnapshotIds
value is provided. Otherwise, this operation returns all snapshots owned by your Amazon
Web Services account in the Amazon Web Services Region of the endpoint that you're
calling.
When retrieving all snapshots, you can optionally specify the MaxResults
parameter
to limit the number of snapshots in a response. If more backups remain, Amazon FSx
returns a NextToken
value in the response. In this case, send a later request
with the NextToken
request parameter set to the value of NextToken
from
the last response.
Use this operation in an iterative process to retrieve a list of your snapshots. DescribeSnapshots
is called first without a NextToken
value. Then the operation continues to
be called with the NextToken
parameter set to the value of the last NextToken
value until a response has no NextToken
value.
When using this operation, keep the following in mind:
-
The operation might return fewer than the
MaxResults
value of snapshot descriptions while still including aNextToken
value. -
The order of snapshots returned in the response of one
DescribeSnapshots
call and the order of backups returned across the responses of a multi-call iteration is unspecified.
public class DescribeSnapshotsRequest : AmazonFSxRequest
- Inheritance
-
DescribeSnapshotsRequest
Constructors
DescribeSnapshotsRequest()
public DescribeSnapshotsRequest()
Properties
Filters
Gets and sets the property Filters.
The filters structure. The supported names are file-system-id
or volume-id
.
public List<SnapshotFilter> Filters { get; set; }
Property Value
IncludeShared
Gets and sets the property IncludeShared.
Set to false
(default) if you want to only see the snapshots owned by your
Amazon Web Services account. Set to true
if you want to see the snapshots in
your account and the ones shared with you from another account.
public bool IncludeShared { get; set; }
Property Value
MaxResults
Gets and sets the property MaxResults.
public int MaxResults { get; set; }
Property Value
NextToken
Gets and sets the property NextToken.
public string NextToken { get; set; }
Property Value
SnapshotIds
Gets and sets the property SnapshotIds.
The IDs of the snapshots that you want to retrieve. This parameter value overrides
any filters. If any IDs aren't found, a SnapshotNotFound
error occurs.
public List<string> SnapshotIds { get; set; }