aws_sdk_glue/client/
test_connection.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// 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:
    ///   - [`connection_name(impl Into<String>)`](crate::operation::test_connection::builders::TestConnectionFluentBuilder::connection_name) / [`set_connection_name(Option<String>)`](crate::operation::test_connection::builders::TestConnectionFluentBuilder::set_connection_name):<br>required: **false**<br><p>Optional. The name of the connection to test. If only name is provided, the operation will get the connection and use that for testing.</p><br>
    ///   - [`test_connection_input(TestConnectionInput)`](crate::operation::test_connection::builders::TestConnectionFluentBuilder::test_connection_input) / [`set_test_connection_input(Option<TestConnectionInput>)`](crate::operation::test_connection::builders::TestConnectionFluentBuilder::set_test_connection_input):<br>required: **false**<br><p>A structure that is used to specify testing a connection to a service.</p><br>
    /// - On success, responds with [`TestConnectionOutput`](crate::operation::test_connection::TestConnectionOutput)
    /// - 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())
    }
}