Module Values_5.DescribeSnapshotsResultSource

Describes the specified EBS snapshots available to you or all of the EBS snapshots available to you. The snapshots available to you include public snapshots, private snapshots that you own, and private snapshots owned by other Amazon Web Services accounts for which you have 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 Amazon Web Services accounts have create volume permissions for these snapshots. explicit: The owner of the snapshot granted create volume permissions to a specific Amazon Web Services account. implicit: An Amazon Web Services account has implicit create volume permissions for all snapshots it owns. The list of snapshots returned can be filtered by specifying snapshot IDs, snapshot owners, or Amazon Web Services 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 OwnerIds option, only snapshots from the specified owners and for which you have access are returned. The results can include the Amazon Web Services 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 Amazon Web Services 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, we recommend that you paginate the output to make the list more manageable. For more information, see Pagination. For more information about EBS snapshots, see Amazon EBS snapshots in the Amazon EBS User Guide. We strongly recommend using only paginated requests. Unpaginated requests are susceptible to throttling and timeouts.

Sourcetype nonrec t = {
  1. nextToken : Values_0.String_.t option;
    (*

    The token to include in another request to get the next page of items. This value is null when there are no more items to return.

    *)
  2. snapshots : Values_3.SnapshotList.t option;
    (*

    Information about the snapshots.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?nextToken:??? -> ?snapshots:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Integer of Values_1.SnapshotCompletionDurationMinutesResponse.t | `List of [> `Structure of (string * [> `String of string ]) list ] list | `Long of Values_0.Long.t | `String of Values_0.String_.t | `Timestamp of Values_0.MillisecondDateTime.t ]) list ] list | `String of Values_0.String_.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