Skip to main content

aws_sdk_securityhub/client/
delete_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 [`DeleteConnector`](crate::operation::delete_connector::builders::DeleteConnectorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`connector_id(impl Into<String>)`](crate::operation::delete_connector::builders::DeleteConnectorFluentBuilder::connector_id) / [`set_connector_id(Option<String>)`](crate::operation::delete_connector::builders::DeleteConnectorFluentBuilder::set_connector_id):<br>required: **true**<br><p>The unique identifier of the connector to delete.</p><br>
7    /// - On success, responds with [`DeleteConnectorOutput`](crate::operation::delete_connector::DeleteConnectorOutput) with field(s):
8    ///   - [`enablement_status(Option<CspmEnablementStatus>)`](crate::operation::delete_connector::DeleteConnectorOutput::enablement_status): <p>The enablement status of the connector after the delete request.</p>
9    /// - On failure, responds with [`SdkError<DeleteConnectorError>`](crate::operation::delete_connector::DeleteConnectorError)
10    pub fn delete_connector(&self) -> crate::operation::delete_connector::builders::DeleteConnectorFluentBuilder {
11        crate::operation::delete_connector::builders::DeleteConnectorFluentBuilder::new(self.handle.clone())
12    }
13}