1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeLogPattern`](crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_group_name(impl Into<String>)`](crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder::resource_group_name) / [`set_resource_group_name(Option<String>)`](crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder::set_resource_group_name):<br>required: **true**<br><p>The name of the resource group.</p><br>
    ///   - [`pattern_set_name(impl Into<String>)`](crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder::pattern_set_name) / [`set_pattern_set_name(Option<String>)`](crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder::set_pattern_set_name):<br>required: **true**<br><p>The name of the log pattern set.</p><br>
    ///   - [`pattern_name(impl Into<String>)`](crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder::pattern_name) / [`set_pattern_name(Option<String>)`](crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder::set_pattern_name):<br>required: **true**<br><p>The name of the log pattern.</p><br>
    ///   - [`account_id(impl Into<String>)`](crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder::set_account_id):<br>required: **false**<br><p>The AWS account ID for the resource group owner.</p><br>
    /// - On success, responds with [`DescribeLogPatternOutput`](crate::operation::describe_log_pattern::DescribeLogPatternOutput) with field(s):
    ///   - [`resource_group_name(Option<String>)`](crate::operation::describe_log_pattern::DescribeLogPatternOutput::resource_group_name): <p>The name of the resource group.</p>
    ///   - [`account_id(Option<String>)`](crate::operation::describe_log_pattern::DescribeLogPatternOutput::account_id): <p>The AWS account ID for the resource group owner.</p>
    ///   - [`log_pattern(Option<LogPattern>)`](crate::operation::describe_log_pattern::DescribeLogPatternOutput::log_pattern): <p>The successfully created log pattern.</p>
    /// - On failure, responds with [`SdkError<DescribeLogPatternError>`](crate::operation::describe_log_pattern::DescribeLogPatternError)
    pub fn describe_log_pattern(&self) -> crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder {
        crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder::new(self.handle.clone())
    }
}