aws_sdk_backup/client/
list_frameworks.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 [`ListFrameworks`](crate::operation::list_frameworks::builders::ListFrameworksFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_frameworks::builders::ListFrameworksFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_frameworks::builders::ListFrameworksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_frameworks::builders::ListFrameworksFluentBuilder::set_max_results):<br>required: **false**<br><p>The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_frameworks::builders::ListFrameworksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_frameworks::builders::ListFrameworksFluentBuilder::set_next_token):<br>required: **false**<br><p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p><br>
9    /// - On success, responds with [`ListFrameworksOutput`](crate::operation::list_frameworks::ListFrameworksOutput) with field(s):
10    ///   - [`frameworks(Option<Vec::<Framework>>)`](crate::operation::list_frameworks::ListFrameworksOutput::frameworks): <p>The frameworks with details for each framework, including the framework name, Amazon Resource Name (ARN), description, number of controls, creation time, and deployment status.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_frameworks::ListFrameworksOutput::next_token): <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
12    /// - On failure, responds with [`SdkError<ListFrameworksError>`](crate::operation::list_frameworks::ListFrameworksError)
13    pub fn list_frameworks(&self) -> crate::operation::list_frameworks::builders::ListFrameworksFluentBuilder {
14        crate::operation::list_frameworks::builders::ListFrameworksFluentBuilder::new(self.handle.clone())
15    }
16}