aws_sdk_elasticache/client/test_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 [`TestMigration`](crate::operation::test_migration::builders::TestMigrationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`replication_group_id(impl Into<String>)`](crate::operation::test_migration::builders::TestMigrationFluentBuilder::replication_group_id) / [`set_replication_group_id(Option<String>)`](crate::operation::test_migration::builders::TestMigrationFluentBuilder::set_replication_group_id):<br>required: **true**<br><p>The ID of the replication group to which data is to be migrated.</p><br>
7 /// - [`customer_node_endpoint_list(CustomerNodeEndpoint)`](crate::operation::test_migration::builders::TestMigrationFluentBuilder::customer_node_endpoint_list) / [`set_customer_node_endpoint_list(Option<Vec::<CustomerNodeEndpoint>>)`](crate::operation::test_migration::builders::TestMigrationFluentBuilder::set_customer_node_endpoint_list):<br>required: **true**<br><p>List of endpoints from which data should be migrated. List should have only one element.</p><br>
8 /// - On success, responds with [`TestMigrationOutput`](crate::operation::test_migration::TestMigrationOutput) with field(s):
9 /// - [`replication_group(Option<ReplicationGroup>)`](crate::operation::test_migration::TestMigrationOutput::replication_group): <p>Contains all of the attributes of a specific Valkey or Redis OSS replication group.</p>
10 /// - On failure, responds with [`SdkError<TestMigrationError>`](crate::operation::test_migration::TestMigrationError)
11 pub fn test_migration(&self) -> crate::operation::test_migration::builders::TestMigrationFluentBuilder {
12 crate::operation::test_migration::builders::TestMigrationFluentBuilder::new(self.handle.clone())
13 }
14}