1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisableFastSnapshotRestores`](crate::operation::disable_fast_snapshot_restores::builders::DisableFastSnapshotRestoresFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`availability_zones(impl Into<String>)`](crate::operation::disable_fast_snapshot_restores::builders::DisableFastSnapshotRestoresFluentBuilder::availability_zones) / [`set_availability_zones(Option<Vec::<String>>)`](crate::operation::disable_fast_snapshot_restores::builders::DisableFastSnapshotRestoresFluentBuilder::set_availability_zones):<br>required: **true**<br><p>One or more Availability Zones. For example, <code>us-east-2a</code>.</p><br>
    ///   - [`source_snapshot_ids(impl Into<String>)`](crate::operation::disable_fast_snapshot_restores::builders::DisableFastSnapshotRestoresFluentBuilder::source_snapshot_ids) / [`set_source_snapshot_ids(Option<Vec::<String>>)`](crate::operation::disable_fast_snapshot_restores::builders::DisableFastSnapshotRestoresFluentBuilder::set_source_snapshot_ids):<br>required: **true**<br><p>The IDs of one or more snapshots. For example, <code>snap-1234567890abcdef0</code>.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::disable_fast_snapshot_restores::builders::DisableFastSnapshotRestoresFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::disable_fast_snapshot_restores::builders::DisableFastSnapshotRestoresFluentBuilder::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 [`DisableFastSnapshotRestoresOutput`](crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresOutput) with field(s):
    ///   - [`successful(Option<Vec::<DisableFastSnapshotRestoreSuccessItem>>)`](crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresOutput::successful): <p>Information about the snapshots for which fast snapshot restores were successfully disabled.</p>
    ///   - [`unsuccessful(Option<Vec::<DisableFastSnapshotRestoreErrorItem>>)`](crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresOutput::unsuccessful): <p>Information about the snapshots for which fast snapshot restores could not be disabled.</p>
    /// - On failure, responds with [`SdkError<DisableFastSnapshotRestoresError>`](crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError)
    pub fn disable_fast_snapshot_restores(
        &self,
    ) -> crate::operation::disable_fast_snapshot_restores::builders::DisableFastSnapshotRestoresFluentBuilder {
        crate::operation::disable_fast_snapshot_restores::builders::DisableFastSnapshotRestoresFluentBuilder::new(self.handle.clone())
    }
}