aws_sdk_applicationinsights/client/describe_log_pattern.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 [`DescribeLogPattern`](crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - [`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 Amazon Web Services account ID for the resource group owner.</p><br>
10 /// - On success, responds with [`DescribeLogPatternOutput`](crate::operation::describe_log_pattern::DescribeLogPatternOutput) with field(s):
11 /// - [`resource_group_name(Option<String>)`](crate::operation::describe_log_pattern::DescribeLogPatternOutput::resource_group_name): <p>The name of the resource group.</p>
12 /// - [`account_id(Option<String>)`](crate::operation::describe_log_pattern::DescribeLogPatternOutput::account_id): <p>The Amazon Web Services account ID for the resource group owner.</p>
13 /// - [`log_pattern(Option<LogPattern>)`](crate::operation::describe_log_pattern::DescribeLogPatternOutput::log_pattern): <p>The successfully created log pattern.</p>
14 /// - On failure, responds with [`SdkError<DescribeLogPatternError>`](crate::operation::describe_log_pattern::DescribeLogPatternError)
15 pub fn describe_log_pattern(&self) -> crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder {
16 crate::operation::describe_log_pattern::builders::DescribeLogPatternFluentBuilder::new(self.handle.clone())
17 }
18}