aws_sdk_applicationinsights/client/
list_log_pattern_sets.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 [`ListLogPatternSets`](crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`resource_group_name(impl Into<String>)`](crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder::resource_group_name) / [`set_resource_group_name(Option<String>)`](crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder::set_resource_group_name):<br>required: **true**<br><p>The name of the resource group.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned <code>NextToken</code> value.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to request the next page of results.</p><br>
10    ///   - [`account_id(impl Into<String>)`](crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder::set_account_id):<br>required: **false**<br><p>The Amazon Web Services account ID for the resource group owner.</p><br>
11    /// - On success, responds with [`ListLogPatternSetsOutput`](crate::operation::list_log_pattern_sets::ListLogPatternSetsOutput) with field(s):
12    ///   - [`resource_group_name(Option<String>)`](crate::operation::list_log_pattern_sets::ListLogPatternSetsOutput::resource_group_name): <p>The name of the resource group.</p>
13    ///   - [`account_id(Option<String>)`](crate::operation::list_log_pattern_sets::ListLogPatternSetsOutput::account_id): <p>The Amazon Web Services account ID for the resource group owner.</p>
14    ///   - [`log_pattern_sets(Option<Vec::<String>>)`](crate::operation::list_log_pattern_sets::ListLogPatternSetsOutput::log_pattern_sets): <p>The list of log pattern sets.</p>
15    ///   - [`next_token(Option<String>)`](crate::operation::list_log_pattern_sets::ListLogPatternSetsOutput::next_token): <p>The token used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
16    /// - On failure, responds with [`SdkError<ListLogPatternSetsError>`](crate::operation::list_log_pattern_sets::ListLogPatternSetsError)
17    pub fn list_log_pattern_sets(&self) -> crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder {
18        crate::operation::list_log_pattern_sets::builders::ListLogPatternSetsFluentBuilder::new(self.handle.clone())
19    }
20}