aws_sdk_cloudwatchlogs/client/
delete_integration.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 [`DeleteIntegration`](crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`integration_name(impl Into<String>)`](crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder::integration_name) / [`set_integration_name(Option<String>)`](crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder::set_integration_name):<br>required: **true**<br><p>The name of the integration to delete. To find the name of your integration, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListIntegrations.html">ListIntegrations</a>.</p><br>
7    ///   - [`force(bool)`](crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder::force) / [`set_force(Option<bool>)`](crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder::set_force):<br>required: **false**<br><p>Specify <code>true</code> to force the deletion of the integration even if vended logs dashboards currently exist.</p> <p>The default is <code>false</code>.</p><br>
8    /// - On success, responds with [`DeleteIntegrationOutput`](crate::operation::delete_integration::DeleteIntegrationOutput)
9    /// - On failure, responds with [`SdkError<DeleteIntegrationError>`](crate::operation::delete_integration::DeleteIntegrationError)
10    pub fn delete_integration(&self) -> crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder {
11        crate::operation::delete_integration::builders::DeleteIntegrationFluentBuilder::new(self.handle.clone())
12    }
13}