aws_sdk_iotmanagedintegrations/client/
get_cloud_connector.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 [`GetCloudConnector`](crate::operation::get_cloud_connector::builders::GetCloudConnectorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::get_cloud_connector::builders::GetCloudConnectorFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_cloud_connector::builders::GetCloudConnectorFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the C2C connector.</p><br>
7    /// - On success, responds with [`GetCloudConnectorOutput`](crate::operation::get_cloud_connector::GetCloudConnectorOutput) with field(s):
8    ///   - [`name(String)`](crate::operation::get_cloud_connector::GetCloudConnectorOutput::name): <p>The display name of the C2C connector.</p>
9    ///   - [`endpoint_config(Option<EndpointConfig>)`](crate::operation::get_cloud_connector::GetCloudConnectorOutput::endpoint_config): <p>The configuration details for the cloud connector endpoint, including connection parameters and authentication requirements.</p>
10    ///   - [`description(Option<String>)`](crate::operation::get_cloud_connector::GetCloudConnectorOutput::description): <p>A description of the C2C connector.</p>
11    ///   - [`endpoint_type(Option<EndpointType>)`](crate::operation::get_cloud_connector::GetCloudConnectorOutput::endpoint_type): <p>The type of endpoint used for the cloud connector, which defines how the connector communicates with external services.</p>
12    ///   - [`id(Option<String>)`](crate::operation::get_cloud_connector::GetCloudConnectorOutput::id): <p>The unique identifier of the cloud connector.</p>
13    ///   - [`r#type(Option<CloudConnectorType>)`](crate::operation::get_cloud_connector::GetCloudConnectorOutput::type): <p>The type of cloud connector created.</p>
14    /// - On failure, responds with [`SdkError<GetCloudConnectorError>`](crate::operation::get_cloud_connector::GetCloudConnectorError)
15    pub fn get_cloud_connector(&self) -> crate::operation::get_cloud_connector::builders::GetCloudConnectorFluentBuilder {
16        crate::operation::get_cloud_connector::builders::GetCloudConnectorFluentBuilder::new(self.handle.clone())
17    }
18}