1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeFastSnapshotRestores`](crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`filters(Filter)`](crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder::set_filters):<br>required: **false**<br><p>The filters. The possible values are:</p> <ul>  <li>   <p><code>availability-zone</code>: The Availability Zone of the snapshot.</p></li>  <li>   <p><code>owner-id</code>: The ID of the Amazon Web Services account that enabled fast snapshot restore on the snapshot.</p></li>  <li>   <p><code>snapshot-id</code>: The ID of the snapshot.</p></li>  <li>   <p><code>state</code>: The state of fast snapshot restores for the snapshot (<code>enabling</code> | <code>optimizing</code> | <code>enabled</code> | <code>disabling</code> | <code>disabled</code>).</p></li> </ul><br>
    ///   - [`max_results(i32)`](crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder::set_max_results):<br>required: **false**<br><p>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 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder::set_dry_run):<br>required: **false**<br><p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    /// - On success, responds with [`DescribeFastSnapshotRestoresOutput`](crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresOutput) with field(s):
    ///   - [`fast_snapshot_restores(Option<Vec::<DescribeFastSnapshotRestoreSuccessItem>>)`](crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresOutput::fast_snapshot_restores): <p>Information about the state of fast snapshot restores.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresOutput::next_token): <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
    /// - On failure, responds with [`SdkError<DescribeFastSnapshotRestoresError>`](crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError)
    pub fn describe_fast_snapshot_restores(
        &self,
    ) -> crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder {
        crate::operation::describe_fast_snapshot_restores::builders::DescribeFastSnapshotRestoresFluentBuilder::new(self.handle.clone())
    }
}