aws_sdk_cloudwatchlogs/client/
delete_log_stream.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteLogStream`](crate::operation::delete_log_stream::builders::DeleteLogStreamFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`log_group_name(impl Into<String>)`](crate::operation::delete_log_stream::builders::DeleteLogStreamFluentBuilder::log_group_name) / [`set_log_group_name(Option<String>)`](crate::operation::delete_log_stream::builders::DeleteLogStreamFluentBuilder::set_log_group_name):<br>required: **true**<br><p>The name of the log group.</p><br>
    ///   - [`log_stream_name(impl Into<String>)`](crate::operation::delete_log_stream::builders::DeleteLogStreamFluentBuilder::log_stream_name) / [`set_log_stream_name(Option<String>)`](crate::operation::delete_log_stream::builders::DeleteLogStreamFluentBuilder::set_log_stream_name):<br>required: **true**<br><p>The name of the log stream.</p><br>
    /// - On success, responds with [`DeleteLogStreamOutput`](crate::operation::delete_log_stream::DeleteLogStreamOutput)
    /// - On failure, responds with [`SdkError<DeleteLogStreamError>`](crate::operation::delete_log_stream::DeleteLogStreamError)
    pub fn delete_log_stream(&self) -> crate::operation::delete_log_stream::builders::DeleteLogStreamFluentBuilder {
        crate::operation::delete_log_stream::builders::DeleteLogStreamFluentBuilder::new(self.handle.clone())
    }
}