aws_sdk_securityhub/client/get_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 [`GetConnector`](crate::operation::get_connector::builders::GetConnectorFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetConnectorOutput`](crate::operation::get_connector::GetConnectorOutput) with field(s):
8 /// - [`connector_arn(Option<String>)`](crate::operation::get_connector::GetConnectorOutput::connector_arn): <p>The Amazon Resource Name (ARN) of the connector.</p>
9 /// - [`connector_id(Option<String>)`](crate::operation::get_connector::GetConnectorOutput::connector_id): <p>The unique identifier of the connector.</p>
10 /// - [`name(Option<String>)`](crate::operation::get_connector::GetConnectorOutput::name): <p>The name of the connector.</p>
11 /// - [`description(Option<String>)`](crate::operation::get_connector::GetConnectorOutput::description): <p>The description of the connector.</p>
12 /// - [`created_at(Option<DateTime>)`](crate::operation::get_connector::GetConnectorOutput::created_at): <p>The ISO 8601 UTC timestamp indicating when the connector was created.</p>
13 /// - [`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>
14 /// - [`health(Option<CspmHealthCheck>)`](crate::operation::get_connector::GetConnectorOutput::health): <p>The health status of the connector, including connectivity status and last check time.</p>
15 /// - [`provider_detail(Option<CspmProviderDetail>)`](crate::operation::get_connector::GetConnectorOutput::provider_detail): <p>The cloud provider configuration details for the connector.</p>
16 /// - [`created_by(Option<String>)`](crate::operation::get_connector::GetConnectorOutput::created_by): <p>The service principal that created the connector.</p>
17 /// - [`enablement_status(Option<CspmEnablementStatus>)`](crate::operation::get_connector::GetConnectorOutput::enablement_status): <p>The enablement status of the connector.</p>
18 /// - On failure, responds with [`SdkError<GetConnectorError>`](crate::operation::get_connector::GetConnectorError)
19 pub fn get_connector(&self) -> crate::operation::get_connector::builders::GetConnectorFluentBuilder {
20 crate::operation::get_connector::builders::GetConnectorFluentBuilder::new(self.handle.clone())
21 }
22}