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 [`DescribeConnector`](crate::operation::describe_connector::builders::DescribeConnectorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`connector_type(ConnectorType)`](crate::operation::describe_connector::builders::DescribeConnectorFluentBuilder::connector_type) / [`set_connector_type(Option<ConnectorType>)`](crate::operation::describe_connector::builders::DescribeConnectorFluentBuilder::set_connector_type):<br>required: **true**<br><p>The connector type, such as CUSTOMCONNECTOR, Saleforce, Marketo. Please choose CUSTOMCONNECTOR for Lambda based custom connectors.</p><br>
    ///   - [`connector_label(impl Into<String>)`](crate::operation::describe_connector::builders::DescribeConnectorFluentBuilder::connector_label) / [`set_connector_label(Option<String>)`](crate::operation::describe_connector::builders::DescribeConnectorFluentBuilder::set_connector_label):<br>required: **false**<br><p>The label of the connector. The label is unique for each <code>ConnectorRegistration</code> in your Amazon Web Services account. Only needed if calling for CUSTOMCONNECTOR connector type/.</p><br>
    /// - On success, responds with [`DescribeConnectorOutput`](crate::operation::describe_connector::DescribeConnectorOutput) with field(s):
    ///   - [`connector_configuration(Option<ConnectorConfiguration>)`](crate::operation::describe_connector::DescribeConnectorOutput::connector_configuration): <p>Configuration info of all the connectors that the user requested.</p>
    /// - On failure, responds with [`SdkError<DescribeConnectorError>`](crate::operation::describe_connector::DescribeConnectorError)
    pub fn describe_connector(&self) -> crate::operation::describe_connector::builders::DescribeConnectorFluentBuilder {
        crate::operation::describe_connector::builders::DescribeConnectorFluentBuilder::new(self.handle.clone())
    }
}