aws_sdk_securitylake/client/
delete_custom_log_source.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 [`DeleteCustomLogSource`](crate::operation::delete_custom_log_source::builders::DeleteCustomLogSourceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`source_name(impl Into<String>)`](crate::operation::delete_custom_log_source::builders::DeleteCustomLogSourceFluentBuilder::source_name) / [`set_source_name(Option<String>)`](crate::operation::delete_custom_log_source::builders::DeleteCustomLogSourceFluentBuilder::set_source_name):<br>required: **true**<br><p>The source name of custom log source that you want to delete.</p><br>
7    ///   - [`source_version(impl Into<String>)`](crate::operation::delete_custom_log_source::builders::DeleteCustomLogSourceFluentBuilder::source_version) / [`set_source_version(Option<String>)`](crate::operation::delete_custom_log_source::builders::DeleteCustomLogSourceFluentBuilder::set_source_version):<br>required: **false**<br><p>The source version for the third-party custom source. You can limit the custom source removal to the specified source version.</p><br>
8    /// - On success, responds with [`DeleteCustomLogSourceOutput`](crate::operation::delete_custom_log_source::DeleteCustomLogSourceOutput)
9    /// - On failure, responds with [`SdkError<DeleteCustomLogSourceError>`](crate::operation::delete_custom_log_source::DeleteCustomLogSourceError)
10    pub fn delete_custom_log_source(&self) -> crate::operation::delete_custom_log_source::builders::DeleteCustomLogSourceFluentBuilder {
11        crate::operation::delete_custom_log_source::builders::DeleteCustomLogSourceFluentBuilder::new(self.handle.clone())
12    }
13}