[−][src]Struct rusoto_ec2::DescribeSnapshotsRequest
Fields
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
filters: Option<Vec<Filter>>
The filters.
-
description
- A description of the snapshot. -
encrypted
- Indicates whether the snapshot is encrypted (true
|false
) -
owner-alias
- Value from an Amazon-maintained list (amazon
|self
|all
|aws-marketplace
|microsoft
) of snapshot owners. Not to be confused with the user-configured AWS account alias, which is set from the IAM console. -
owner-id
- The ID of the AWS account that owns the snapshot. -
progress
- The progress of the snapshot, as a percentage (for example, 80%). -
snapshot-id
- The snapshot ID. -
start-time
- The time stamp when the snapshot was initiated. -
status
- The status of the snapshot (pending
|completed
|error
). -
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
volume-id
- The ID of the volume the snapshot is for. -
volume-size
- The size of the volume, in GiB.
max_results: Option<i64>
The maximum number of snapshot results returned by DescribeSnapshots
in paginated output. When this parameter is used, DescribeSnapshots
only returns MaxResults
results in a single page along with a NextToken
response element. The remaining results of the initial request can be seen by sending another DescribeSnapshots
request with the returned NextToken
value. This value can be between 5 and 1000; if MaxResults
is given a value larger than 1000, only 1000 results are returned. If this parameter is not used, then DescribeSnapshots
returns all results. You cannot specify this parameter and the snapshot IDs parameter in the same request.
next_token: Option<String>
The NextToken
value returned from a previous paginated DescribeSnapshots
request where MaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the NextToken
value. This value is null
when there are no more results to return.
owner_ids: Option<Vec<String>>
Describes the snapshots owned by these owners.
restorable_by_user_ids: Option<Vec<String>>
The IDs of the AWS accounts that can create volumes from the snapshot.
snapshot_ids: Option<Vec<String>>
The snapshot IDs.
Default: Describes the snapshots for which you have create volume permissions.
Trait Implementations
impl PartialEq<DescribeSnapshotsRequest> for DescribeSnapshotsRequest
[src]
fn eq(&self, other: &DescribeSnapshotsRequest) -> bool
[src]
fn ne(&self, other: &DescribeSnapshotsRequest) -> bool
[src]
impl Default for DescribeSnapshotsRequest
[src]
fn default() -> DescribeSnapshotsRequest
[src]
impl Clone for DescribeSnapshotsRequest
[src]
fn clone(&self) -> DescribeSnapshotsRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for DescribeSnapshotsRequest
[src]
Auto Trait Implementations
impl Send for DescribeSnapshotsRequest
impl Sync for DescribeSnapshotsRequest
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self