Struct aws_sdk_ec2::input::DescribeFastSnapshotRestoresInput [−][src]
#[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 results to return with a single call.
To retrieve the remaining results, make another call with the returned nextToken
value.
next_token: Option<String>
The token for the next page of results.
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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeFastSnapshotRestores, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeFastSnapshotRestores, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeFastSnapshotRestores
>
Creates a new builder-style object to manufacture DescribeFastSnapshotRestoresInput
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
).
The maximum number of results to return with a single call.
To retrieve the remaining results, make another call with the returned nextToken
value.
The token for the next page of results.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for DescribeFastSnapshotRestoresInput
impl Sync for DescribeFastSnapshotRestoresInput
impl Unpin for DescribeFastSnapshotRestoresInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more