aws_sdk_databasemigration/client/
test_connection.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`TestConnection`](crate::operation::test_connection::builders::TestConnectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`replication_instance_arn(impl Into<String>)`](crate::operation::test_connection::builders::TestConnectionFluentBuilder::replication_instance_arn) / [`set_replication_instance_arn(Option<String>)`](crate::operation::test_connection::builders::TestConnectionFluentBuilder::set_replication_instance_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the replication instance.</p><br>
    ///   - [`endpoint_arn(impl Into<String>)`](crate::operation::test_connection::builders::TestConnectionFluentBuilder::endpoint_arn) / [`set_endpoint_arn(Option<String>)`](crate::operation::test_connection::builders::TestConnectionFluentBuilder::set_endpoint_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p><br>
    /// - On success, responds with [`TestConnectionOutput`](crate::operation::test_connection::TestConnectionOutput) with field(s):
    ///   - [`connection(Option<Connection>)`](crate::operation::test_connection::TestConnectionOutput::connection): <p>The connection tested.</p>
    /// - On failure, responds with [`SdkError<TestConnectionError>`](crate::operation::test_connection::TestConnectionError)
    pub fn test_connection(&self) -> crate::operation::test_connection::builders::TestConnectionFluentBuilder {
        crate::operation::test_connection::builders::TestConnectionFluentBuilder::new(self.handle.clone())
    }
}