aws_sdk_backupexternal/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 /// - [`appliance_arn(impl Into<String>)`](crate::operation::list_nodes::builders::ListNodesFluentBuilder::appliance_arn) / [`set_appliance_arn(Option<String>)`](crate::operation::list_nodes::builders::ListNodesFluentBuilder::set_appliance_arn):<br>required: **true**<br>The Amazon Resource Name (ARN) of the appliance.<br>
8 /// - [`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>The maximum number of results to return in a single response.<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>The token returned by a previous call to retrieve the next page of results.<br>
10 /// - On success, responds with [`ListNodesOutput`](crate::operation::list_nodes::ListNodesOutput) with field(s):
11 /// - [`nodes(Vec::<ApplianceNodeListMember>)`](crate::operation::list_nodes::ListNodesOutput::nodes): The list of nodes belonging to the appliance.
12 /// - [`next_token(Option<String>)`](crate::operation::list_nodes::ListNodesOutput::next_token): The token to use to retrieve the next page of results. If there are no additional results, this value is not returned.
13 /// - On failure, responds with [`SdkError<ListNodesError>`](crate::operation::list_nodes::ListNodesError)
14 pub fn list_nodes(&self) -> crate::operation::list_nodes::builders::ListNodesFluentBuilder {
15 crate::operation::list_nodes::builders::ListNodesFluentBuilder::new(self.handle.clone())
16 }
17}