aws-sdk-securityhub 1.118.0

AWS SDK for AWS SecurityHub
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetConnector`](crate::operation::get_connector::builders::GetConnectorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`connector_id(impl Into<String>)`](crate::operation::get_connector::builders::GetConnectorFluentBuilder::connector_id) / [`set_connector_id(Option<String>)`](crate::operation::get_connector::builders::GetConnectorFluentBuilder::set_connector_id):<br>required: **true**<br><p>The unique identifier of the connector to retrieve.</p><br>
    /// - On success, responds with [`GetConnectorOutput`](crate::operation::get_connector::GetConnectorOutput) with field(s):
    ///   - [`connector_arn(Option<String>)`](crate::operation::get_connector::GetConnectorOutput::connector_arn): <p>The Amazon Resource Name (ARN) of the connector.</p>
    ///   - [`connector_id(Option<String>)`](crate::operation::get_connector::GetConnectorOutput::connector_id): <p>The unique identifier of the connector.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_connector::GetConnectorOutput::name): <p>The name of the connector.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_connector::GetConnectorOutput::description): <p>The description of the connector.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_connector::GetConnectorOutput::created_at): <p>The ISO 8601 UTC timestamp indicating when the connector was created.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_connector::GetConnectorOutput::last_updated_at): <p>The ISO 8601 UTC timestamp indicating when the connector was last updated.</p>
    ///   - [`health(Option<CspmHealthCheck>)`](crate::operation::get_connector::GetConnectorOutput::health): <p>The health status of the connector, including connectivity status and last check time.</p>
    ///   - [`provider_detail(Option<CspmProviderDetail>)`](crate::operation::get_connector::GetConnectorOutput::provider_detail): <p>The cloud provider configuration details for the connector.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::get_connector::GetConnectorOutput::created_by): <p>The service principal that created the connector.</p>
    ///   - [`enablement_status(Option<CspmEnablementStatus>)`](crate::operation::get_connector::GetConnectorOutput::enablement_status): <p>The enablement status of the connector.</p>
    /// - On failure, responds with [`SdkError<GetConnectorError>`](crate::operation::get_connector::GetConnectorError)
    pub fn get_connector(&self) -> crate::operation::get_connector::builders::GetConnectorFluentBuilder {
        crate::operation::get_connector::builders::GetConnectorFluentBuilder::new(self.handle.clone())
    }
}