aws_sdk_ssm/client/list_nodes.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 [`ListNodes`](crate::operation::list_nodes::builders::ListNodesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_nodes::builders::ListNodesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`sync_name(impl Into<String>)`](crate::operation::list_nodes::builders::ListNodesFluentBuilder::sync_name) / [`set_sync_name(Option<String>)`](crate::operation::list_nodes::builders::ListNodesFluentBuilder::set_sync_name):<br>required: **false**<br><p>The name of the Amazon Web Services managed resource data sync to retrieve information about.</p> <p>For cross-account/cross-Region configurations, this parameter is required, and the name of the supported resource data sync is <code>AWS-QuickSetup-ManagedNode</code>.</p> <p>For single account/single-Region configurations, the parameter is not required.</p><br>
8 /// - [`filters(NodeFilter)`](crate::operation::list_nodes::builders::ListNodesFluentBuilder::filters) / [`set_filters(Option<Vec::<NodeFilter>>)`](crate::operation::list_nodes::builders::ListNodesFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters. Use a filter to return a more specific list of managed nodes.</p><br>
9 /// - [`next_token(impl Into<String>)`](crate::operation::list_nodes::builders::ListNodesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_nodes::builders::ListNodesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of items to return. (You received this token from a previous call.)</p><br>
10 /// - [`max_results(i32)`](crate::operation::list_nodes::builders::ListNodesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_nodes::builders::ListNodesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.</p><br>
11 /// - On success, responds with [`ListNodesOutput`](crate::operation::list_nodes::ListNodesOutput) with field(s):
12 /// - [`nodes(Option<Vec::<Node>>)`](crate::operation::list_nodes::ListNodesOutput::nodes): <p>A list of managed nodes that match the specified filter criteria.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::list_nodes::ListNodesOutput::next_token): <p>The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.</p>
14 /// - On failure, responds with [`SdkError<ListNodesError>`](crate::operation::list_nodes::ListNodesError)
15 pub fn list_nodes(&self) -> crate::operation::list_nodes::builders::ListNodesFluentBuilder {
16 crate::operation::list_nodes::builders::ListNodesFluentBuilder::new(self.handle.clone())
17 }
18}