Skip to main content

aws_sdk_backup/client/
list_backup_access_points.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 [`ListBackupAccessPoints`](crate::operation::list_backup_access_points::builders::ListBackupAccessPointsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_backup_access_points::builders::ListBackupAccessPointsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_backup_access_points::builders::ListBackupAccessPointsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_backup_access_points::builders::ListBackupAccessPointsFluentBuilder::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_backup_access_points::builders::ListBackupAccessPointsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_backup_access_points::builders::ListBackupAccessPointsFluentBuilder::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 next token.</p><br>
9    /// - On success, responds with [`ListBackupAccessPointsOutput`](crate::operation::list_backup_access_points::ListBackupAccessPointsOutput) with field(s):
10    ///   - [`backup_access_points(Vec::<ListAccessPointsMember>)`](crate::operation::list_backup_access_points::ListBackupAccessPointsOutput::backup_access_points): <p>A list of backup access points, each containing metadata such as its name, ARN, status, and associated recovery point.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_backup_access_points::ListBackupAccessPointsOutput::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 next token.</p>
12    /// - On failure, responds with [`SdkError<ListBackupAccessPointsError>`](crate::operation::list_backup_access_points::ListBackupAccessPointsError)
13    pub fn list_backup_access_points(&self) -> crate::operation::list_backup_access_points::builders::ListBackupAccessPointsFluentBuilder {
14        crate::operation::list_backup_access_points::builders::ListBackupAccessPointsFluentBuilder::new(self.handle.clone())
15    }
16}