Struct aws_sdk_ec2::input::DescribeSnapshotTierStatusInput [−][src]
#[non_exhaustive]pub struct DescribeSnapshotTierStatusInput {
pub filters: Option<Vec<Filter>>,
pub dry_run: Option<bool>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.
-
snapshot-id
- The snapshot ID. -
volume-id
- The ID of the volume the snapshot is for. -
last-tiering-operation
- The state of the last archive or restore action. (archiving
|archival_error
|archival_complete
|restoring
|restore_error
|restore_complete
)
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
.
next_token: Option<String>
The token for the next page of results.
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSnapshotTierStatus, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSnapshotTierStatus, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeSnapshotTierStatus
>
Creates a new builder-style object to manufacture DescribeSnapshotTierStatusInput
The filters.
-
snapshot-id
- The snapshot ID. -
volume-id
- The ID of the volume the snapshot is for. -
last-tiering-operation
- The state of the last archive or restore action. (archiving
|archival_error
|archival_complete
|restoring
|restore_error
|restore_complete
)
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
.
The token for the next page of results.
The maximum number of results to return with a single call.
To retrieve the remaining results, make another call with the returned nextToken
value.
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 DescribeSnapshotTierStatusInput
impl Sync for DescribeSnapshotTierStatusInput
impl Unpin for DescribeSnapshotTierStatusInput
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