Skip to main content

aws_sdk_cloudwatchlogs/client/
delete_syslog_configuration.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 [`DeleteSyslogConfiguration`](crate::operation::delete_syslog_configuration::builders::DeleteSyslogConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`log_group_identifier(impl Into<String>)`](crate::operation::delete_syslog_configuration::builders::DeleteSyslogConfigurationFluentBuilder::log_group_identifier) / [`set_log_group_identifier(Option<String>)`](crate::operation::delete_syslog_configuration::builders::DeleteSyslogConfigurationFluentBuilder::set_log_group_identifier):<br>required: **true**<br><p>The name or ARN of the log group to remove the syslog configuration from.</p><br>
7    ///   - [`vpc_endpoint_id(impl Into<String>)`](crate::operation::delete_syslog_configuration::builders::DeleteSyslogConfigurationFluentBuilder::vpc_endpoint_id) / [`set_vpc_endpoint_id(Option<String>)`](crate::operation::delete_syslog_configuration::builders::DeleteSyslogConfigurationFluentBuilder::set_vpc_endpoint_id):<br>required: **false**<br><p>The ID of the VPC endpoint associated with the syslog configuration to delete.</p><br>
8    /// - On success, responds with [`DeleteSyslogConfigurationOutput`](crate::operation::delete_syslog_configuration::DeleteSyslogConfigurationOutput)
9    /// - On failure, responds with [`SdkError<DeleteSyslogConfigurationError>`](crate::operation::delete_syslog_configuration::DeleteSyslogConfigurationError)
10    pub fn delete_syslog_configuration(&self) -> crate::operation::delete_syslog_configuration::builders::DeleteSyslogConfigurationFluentBuilder {
11        crate::operation::delete_syslog_configuration::builders::DeleteSyslogConfigurationFluentBuilder::new(self.handle.clone())
12    }
13}