#[non_exhaustive]pub struct DescribeSnapshotsInput {
pub snapshot_ids: Option<Vec<String>>,
pub filters: Option<Vec<SnapshotFilter>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub include_shared: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.snapshot_ids: Option<Vec<String>>
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.
filters: Option<Vec<SnapshotFilter>>
The filters structure. The supported names are file-system-id
or volume-id
.
max_results: Option<i32>
The maximum number of resources to return in the response. This value must be an integer greater than zero.
next_token: Option<String>
(Optional) Opaque pagination token returned from a previous operation (String). If present, this token indicates from what point you can continue processing the request, where the previous NextToken
value left off.
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.
Implementations§
source§impl DescribeSnapshotsInput
impl DescribeSnapshotsInput
sourcepub fn snapshot_ids(&self) -> &[String]
pub fn snapshot_ids(&self) -> &[String]
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .snapshot_ids.is_none()
.
sourcepub fn filters(&self) -> &[SnapshotFilter]
pub fn filters(&self) -> &[SnapshotFilter]
The filters structure. The supported names are file-system-id
or volume-id
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of resources to return in the response. This value must be an integer greater than zero.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
(Optional) Opaque pagination token returned from a previous operation (String). If present, this token indicates from what point you can continue processing the request, where the previous NextToken
value left off.
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.
source§impl DescribeSnapshotsInput
impl DescribeSnapshotsInput
sourcepub fn builder() -> DescribeSnapshotsInputBuilder
pub fn builder() -> DescribeSnapshotsInputBuilder
Creates a new builder-style object to manufacture DescribeSnapshotsInput
.
Trait Implementations§
source§impl Clone for DescribeSnapshotsInput
impl Clone for DescribeSnapshotsInput
source§fn clone(&self) -> DescribeSnapshotsInput
fn clone(&self) -> DescribeSnapshotsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeSnapshotsInput
impl Debug for DescribeSnapshotsInput
source§impl PartialEq for DescribeSnapshotsInput
impl PartialEq for DescribeSnapshotsInput
source§fn eq(&self, other: &DescribeSnapshotsInput) -> bool
fn eq(&self, other: &DescribeSnapshotsInput) -> bool
self
and other
values to be equal, and is used
by ==
.