aws_sdk_iot/client/list_v2_logging_levels.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 [`ListV2LoggingLevels`](crate::operation::list_v2_logging_levels::builders::ListV2LoggingLevelsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_v2_logging_levels::builders::ListV2LoggingLevelsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`target_type(LogTargetType)`](crate::operation::list_v2_logging_levels::builders::ListV2LoggingLevelsFluentBuilder::target_type) / [`set_target_type(Option<LogTargetType>)`](crate::operation::list_v2_logging_levels::builders::ListV2LoggingLevelsFluentBuilder::set_target_type):<br>required: **false**<br><p>The type of resource for which you are configuring logging. Must be <code>THING_Group</code>.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_v2_logging_levels::builders::ListV2LoggingLevelsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_v2_logging_levels::builders::ListV2LoggingLevelsFluentBuilder::set_next_token):<br>required: **false**<br><p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p><br>
9 /// - [`max_results(i32)`](crate::operation::list_v2_logging_levels::builders::ListV2LoggingLevelsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_v2_logging_levels::builders::ListV2LoggingLevelsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return at one time.</p><br>
10 /// - On success, responds with [`ListV2LoggingLevelsOutput`](crate::operation::list_v2_logging_levels::ListV2LoggingLevelsOutput) with field(s):
11 /// - [`log_target_configurations(Option<Vec::<LogTargetConfiguration>>)`](crate::operation::list_v2_logging_levels::ListV2LoggingLevelsOutput::log_target_configurations): <p>The logging configuration for a target.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::list_v2_logging_levels::ListV2LoggingLevelsOutput::next_token): <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
13 /// - On failure, responds with [`SdkError<ListV2LoggingLevelsError>`](crate::operation::list_v2_logging_levels::ListV2LoggingLevelsError)
14 pub fn list_v2_logging_levels(&self) -> crate::operation::list_v2_logging_levels::builders::ListV2LoggingLevelsFluentBuilder {
15 crate::operation::list_v2_logging_levels::builders::ListV2LoggingLevelsFluentBuilder::new(self.handle.clone())
16 }
17}