aws_sdk_securityhub/client/
get_connector_v2.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 [`GetConnectorV2`](crate::operation::get_connector_v2::builders::GetConnectorV2FluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`connector_id(impl Into<String>)`](crate::operation::get_connector_v2::builders::GetConnectorV2FluentBuilder::connector_id) / [`set_connector_id(Option<String>)`](crate::operation::get_connector_v2::builders::GetConnectorV2FluentBuilder::set_connector_id):<br>required: **true**<br><p>The UUID of the connectorV2 to identify connectorV2 resource.</p><br>
7    /// - On success, responds with [`GetConnectorV2Output`](crate::operation::get_connector_v2::GetConnectorV2Output) with field(s):
8    ///   - [`connector_arn(Option<String>)`](crate::operation::get_connector_v2::GetConnectorV2Output::connector_arn): <p>The Amazon Resource Name (ARN) of the connectorV2.</p>
9    ///   - [`connector_id(Option<String>)`](crate::operation::get_connector_v2::GetConnectorV2Output::connector_id): <p>The UUID of the connectorV2 to identify connectorV2 resource.</p>
10    ///   - [`name(Option<String>)`](crate::operation::get_connector_v2::GetConnectorV2Output::name): <p>The name of the connectorV2.</p>
11    ///   - [`description(Option<String>)`](crate::operation::get_connector_v2::GetConnectorV2Output::description): <p>The description of the connectorV2.</p>
12    ///   - [`kms_key_arn(Option<String>)`](crate::operation::get_connector_v2::GetConnectorV2Output::kms_key_arn): <p>The Amazon Resource Name (ARN) of KMS key used for the connectorV2.</p>
13    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_connector_v2::GetConnectorV2Output::created_at): <p>ISO 8601 UTC timestamp for the time create the connectorV2.</p>
14    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_connector_v2::GetConnectorV2Output::last_updated_at): <p>ISO 8601 UTC timestamp for the time update the connectorV2 connectorStatus.</p>
15    ///   - [`health(Option<HealthCheck>)`](crate::operation::get_connector_v2::GetConnectorV2Output::health): <p>The current health status for connectorV2</p>
16    ///   - [`provider_detail(Option<ProviderDetail>)`](crate::operation::get_connector_v2::GetConnectorV2Output::provider_detail): <p>The third-party provider detail for a service configuration.</p>
17    /// - On failure, responds with [`SdkError<GetConnectorV2Error>`](crate::operation::get_connector_v2::GetConnectorV2Error)
18    pub fn get_connector_v2(&self) -> crate::operation::get_connector_v2::builders::GetConnectorV2FluentBuilder {
19        crate::operation::get_connector_v2::builders::GetConnectorV2FluentBuilder::new(self.handle.clone())
20    }
21}