Struct aws_sdk_ec2::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresInput
source · #[non_exhaustive]pub struct DescribeFastSnapshotRestoresInput {
pub filters: Option<Vec<Filter>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub dry_run: 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.filters: Option<Vec<Filter>>The filters. The possible values are:
-
availability-zone: The Availability Zone of the snapshot. -
owner-id: The ID of the Amazon Web Services account that enabled fast snapshot restore on the snapshot. -
snapshot-id: The ID of the snapshot. -
state: The state of fast snapshot restores for the snapshot (enabling|optimizing|enabled|disabling|disabled).
max_results: Option<i32>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token: Option<String>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
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.
Implementations§
source§impl DescribeFastSnapshotRestoresInput
impl DescribeFastSnapshotRestoresInput
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
The filters. The possible values are:
-
availability-zone: The Availability Zone of the snapshot. -
owner-id: The ID of the Amazon Web Services account that enabled fast snapshot restore on the snapshot. -
snapshot-id: The ID of the snapshot. -
state: The state of fast snapshot restores for the snapshot (enabling|optimizing|enabled|disabling|disabled).
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
source§impl DescribeFastSnapshotRestoresInput
impl DescribeFastSnapshotRestoresInput
sourcepub fn builder() -> DescribeFastSnapshotRestoresInputBuilder
pub fn builder() -> DescribeFastSnapshotRestoresInputBuilder
Creates a new builder-style object to manufacture DescribeFastSnapshotRestoresInput.
Trait Implementations§
source§impl Clone for DescribeFastSnapshotRestoresInput
impl Clone for DescribeFastSnapshotRestoresInput
source§fn clone(&self) -> DescribeFastSnapshotRestoresInput
fn clone(&self) -> DescribeFastSnapshotRestoresInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<DescribeFastSnapshotRestoresInput> for DescribeFastSnapshotRestoresInput
impl PartialEq<DescribeFastSnapshotRestoresInput> for DescribeFastSnapshotRestoresInput
source§fn eq(&self, other: &DescribeFastSnapshotRestoresInput) -> bool
fn eq(&self, other: &DescribeFastSnapshotRestoresInput) -> bool
self and other values to be equal, and is used
by ==.