aws_sdk_redshiftserverless/client/
update_snapshot_copy_configuration.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateSnapshotCopyConfiguration`](crate::operation::update_snapshot_copy_configuration::builders::UpdateSnapshotCopyConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`snapshot_copy_configuration_id(impl Into<String>)`](crate::operation::update_snapshot_copy_configuration::builders::UpdateSnapshotCopyConfigurationFluentBuilder::snapshot_copy_configuration_id) / [`set_snapshot_copy_configuration_id(Option<String>)`](crate::operation::update_snapshot_copy_configuration::builders::UpdateSnapshotCopyConfigurationFluentBuilder::set_snapshot_copy_configuration_id):<br>required: **true**<br><p>The ID of the snapshot copy configuration to update.</p><br>
7    ///   - [`snapshot_retention_period(i32)`](crate::operation::update_snapshot_copy_configuration::builders::UpdateSnapshotCopyConfigurationFluentBuilder::snapshot_retention_period) / [`set_snapshot_retention_period(Option<i32>)`](crate::operation::update_snapshot_copy_configuration::builders::UpdateSnapshotCopyConfigurationFluentBuilder::set_snapshot_retention_period):<br>required: **false**<br><p>The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.</p><br>
8    /// - On success, responds with [`UpdateSnapshotCopyConfigurationOutput`](crate::operation::update_snapshot_copy_configuration::UpdateSnapshotCopyConfigurationOutput) with field(s):
9    ///   - [`snapshot_copy_configuration(Option<SnapshotCopyConfiguration>)`](crate::operation::update_snapshot_copy_configuration::UpdateSnapshotCopyConfigurationOutput::snapshot_copy_configuration): <p>The updated snapshot copy configuration object.</p>
10    /// - On failure, responds with [`SdkError<UpdateSnapshotCopyConfigurationError>`](crate::operation::update_snapshot_copy_configuration::UpdateSnapshotCopyConfigurationError)
11    pub fn update_snapshot_copy_configuration(
12        &self,
13    ) -> crate::operation::update_snapshot_copy_configuration::builders::UpdateSnapshotCopyConfigurationFluentBuilder {
14        crate::operation::update_snapshot_copy_configuration::builders::UpdateSnapshotCopyConfigurationFluentBuilder::new(self.handle.clone())
15    }
16}