aws_sdk_elasticache/client/
complete_migration.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 [`CompleteMigration`](crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`replication_group_id(impl Into<String>)`](crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder::replication_group_id) / [`set_replication_group_id(Option<String>)`](crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder::set_replication_group_id):<br>required: **true**<br><p>The ID of the replication group to which data is being migrated.</p><br>
7    ///   - [`force(bool)`](crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder::force) / [`set_force(Option<bool>)`](crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder::set_force):<br>required: **false**<br><p>Forces the migration to stop without ensuring that data is in sync. It is recommended to use this option only to abort the migration and not recommended when application wants to continue migration to ElastiCache.</p><br>
8    /// - On success, responds with [`CompleteMigrationOutput`](crate::operation::complete_migration::CompleteMigrationOutput) with field(s):
9    ///   - [`replication_group(Option<ReplicationGroup>)`](crate::operation::complete_migration::CompleteMigrationOutput::replication_group): <p>Contains all of the attributes of a specific Valkey or Redis OSS replication group.</p>
10    /// - On failure, responds with [`SdkError<CompleteMigrationError>`](crate::operation::complete_migration::CompleteMigrationError)
11    pub fn complete_migration(&self) -> crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder {
12        crate::operation::complete_migration::builders::CompleteMigrationFluentBuilder::new(self.handle.clone())
13    }
14}