aws_sdk_backup/client/
list_restore_testing_plans.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 [`ListRestoreTestingPlans`](crate::operation::list_restore_testing_plans::builders::ListRestoreTestingPlansFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_restore_testing_plans::builders::ListRestoreTestingPlansFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_restore_testing_plans::builders::ListRestoreTestingPlansFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_restore_testing_plans::builders::ListRestoreTestingPlansFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to be returned.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_restore_testing_plans::builders::ListRestoreTestingPlansFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_restore_testing_plans::builders::ListRestoreTestingPlansFluentBuilder::set_next_token):<br>required: **false**<br><p>The next item following a partial list of returned items. For example, if a request is made to return <code>MaxResults</code> number of items, <code>NextToken</code> allows you to return more items in your list starting at the location pointed to by the nexttoken.</p><br>
9    /// - On success, responds with [`ListRestoreTestingPlansOutput`](crate::operation::list_restore_testing_plans::ListRestoreTestingPlansOutput) with field(s):
10    ///   - [`next_token(Option<String>)`](crate::operation::list_restore_testing_plans::ListRestoreTestingPlansOutput::next_token): <p>The next item following a partial list of returned items. For example, if a request is made to return <code>MaxResults</code> number of items, <code>NextToken</code> allows you to return more items in your list starting at the location pointed to by the nexttoken.</p>
11    ///   - [`restore_testing_plans(Vec::<RestoreTestingPlanForList>)`](crate::operation::list_restore_testing_plans::ListRestoreTestingPlansOutput::restore_testing_plans): <p>This is a returned list of restore testing plans.</p>
12    /// - On failure, responds with [`SdkError<ListRestoreTestingPlansError>`](crate::operation::list_restore_testing_plans::ListRestoreTestingPlansError)
13    pub fn list_restore_testing_plans(&self) -> crate::operation::list_restore_testing_plans::builders::ListRestoreTestingPlansFluentBuilder {
14        crate::operation::list_restore_testing_plans::builders::ListRestoreTestingPlansFluentBuilder::new(self.handle.clone())
15    }
16}