Module Values.DescribeSnapshotsRequestSource

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 a NextToken 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.

Sourcetype nonrec t = {
  1. snapshotIds : SnapshotIds.t option;
    (*

    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.

    *)
  2. filters : SnapshotFilters.t option;
    (*

    The filters structure. The supported names are file-system-id or volume-id.

    *)
  3. maxResults : MaxResults.t option;
  4. nextToken : NextToken.t option;
  5. includeShared : IncludeShared.t option;
    (*

    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.

    *)
}
Sourceval make : ?snapshotIds:??? -> ?filters:??? -> ?maxResults:??? -> ?nextToken:??? -> ?includeShared:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of IncludeShared.t | `Integer of MaxResults.t | `List of [> `String of SnapshotId.t | `Structure of (string * [> `Enum of string | `List of [> `String of SnapshotFilterValue.t ] list ]) list ] list | `String of NextToken.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t