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 [`EnableFastSnapshotRestores`](crate::operation::enable_fast_snapshot_restores::builders::EnableFastSnapshotRestoresFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`availability_zones(impl Into<String>)`](crate::operation::enable_fast_snapshot_restores::builders::EnableFastSnapshotRestoresFluentBuilder::availability_zones) / [`set_availability_zones(Option<Vec::<String>>)`](crate::operation::enable_fast_snapshot_restores::builders::EnableFastSnapshotRestoresFluentBuilder::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::enable_fast_snapshot_restores::builders::EnableFastSnapshotRestoresFluentBuilder::source_snapshot_ids) / [`set_source_snapshot_ids(Option<Vec::<String>>)`](crate::operation::enable_fast_snapshot_restores::builders::EnableFastSnapshotRestoresFluentBuilder::set_source_snapshot_ids):<br>required: **true**<br><p>The IDs of one or more snapshots. For example, <code>snap-1234567890abcdef0</code>. You can specify a snapshot that was shared with you from another Amazon Web Services account.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::enable_fast_snapshot_restores::builders::EnableFastSnapshotRestoresFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::enable_fast_snapshot_restores::builders::EnableFastSnapshotRestoresFluentBuilder::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 [`EnableFastSnapshotRestoresOutput`](crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresOutput) with field(s):
    ///   - [`successful(Option<Vec::<EnableFastSnapshotRestoreSuccessItem>>)`](crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresOutput::successful): <p>Information about the snapshots for which fast snapshot restores were successfully enabled.</p>
    ///   - [`unsuccessful(Option<Vec::<EnableFastSnapshotRestoreErrorItem>>)`](crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresOutput::unsuccessful): <p>Information about the snapshots for which fast snapshot restores could not be enabled.</p>
    /// - On failure, responds with [`SdkError<EnableFastSnapshotRestoresError>`](crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError)
    pub fn enable_fast_snapshot_restores(
        &self,
    ) -> crate::operation::enable_fast_snapshot_restores::builders::EnableFastSnapshotRestoresFluentBuilder {
        crate::operation::enable_fast_snapshot_restores::builders::EnableFastSnapshotRestoresFluentBuilder::new(self.handle.clone())
    }
}