aws_sdk_tnb/client/
list_sol_function_packages.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 [`ListSolFunctionPackages`](crate::operation::list_sol_function_packages::builders::ListSolFunctionPackagesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_sol_function_packages::builders::ListSolFunctionPackagesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_sol_function_packages::builders::ListSolFunctionPackagesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_sol_function_packages::builders::ListSolFunctionPackagesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to include in the response.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_sol_function_packages::builders::ListSolFunctionPackagesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_sol_function_packages::builders::ListSolFunctionPackagesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
9    /// - On success, responds with [`ListSolFunctionPackagesOutput`](crate::operation::list_sol_function_packages::ListSolFunctionPackagesOutput) with field(s):
10    ///   - [`next_token(Option<String>)`](crate::operation::list_sol_function_packages::ListSolFunctionPackagesOutput::next_token): <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
11    ///   - [`function_packages(Vec::<ListSolFunctionPackageInfo>)`](crate::operation::list_sol_function_packages::ListSolFunctionPackagesOutput::function_packages): <p>Function packages. A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.</p>
12    /// - On failure, responds with [`SdkError<ListSolFunctionPackagesError>`](crate::operation::list_sol_function_packages::ListSolFunctionPackagesError)
13    pub fn list_sol_function_packages(&self) -> crate::operation::list_sol_function_packages::builders::ListSolFunctionPackagesFluentBuilder {
14        crate::operation::list_sol_function_packages::builders::ListSolFunctionPackagesFluentBuilder::new(self.handle.clone())
15    }
16}