aws_sdk_applicationinsights/client/
list_components.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 [`ListComponents`](crate::operation::list_components::builders::ListComponentsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_components::builders::ListComponentsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`resource_group_name(impl Into<String>)`](crate::operation::list_components::builders::ListComponentsFluentBuilder::resource_group_name) / [`set_resource_group_name(Option<String>)`](crate::operation::list_components::builders::ListComponentsFluentBuilder::set_resource_group_name):<br>required: **true**<br><p>The name of the resource group.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_components::builders::ListComponentsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_components::builders::ListComponentsFluentBuilder::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_components::builders::ListComponentsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_components::builders::ListComponentsFluentBuilder::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_components::builders::ListComponentsFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::list_components::builders::ListComponentsFluentBuilder::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 [`ListComponentsOutput`](crate::operation::list_components::ListComponentsOutput) with field(s):
12    ///   - [`application_component_list(Option<Vec::<ApplicationComponent>>)`](crate::operation::list_components::ListComponentsOutput::application_component_list): <p>The list of application components.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::list_components::ListComponentsOutput::next_token): <p>The token to request the next page of results.</p>
14    /// - On failure, responds with [`SdkError<ListComponentsError>`](crate::operation::list_components::ListComponentsError)
15    pub fn list_components(&self) -> crate::operation::list_components::builders::ListComponentsFluentBuilder {
16        crate::operation::list_components::builders::ListComponentsFluentBuilder::new(self.handle.clone())
17    }
18}