1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListBackups`](crate::operation::list_backups::builders::ListBackupsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`table_name(impl ::std::convert::Into<String>)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::table_name) / [`set_table_name(Option<String>)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::set_table_name): <p>The backups from the table specified by <code>TableName</code> are listed. </p>
    ///   - [`limit(i32)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::set_limit): <p>Maximum number of backups to return at once.</p>
    ///   - [`time_range_lower_bound(DateTime)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::time_range_lower_bound) / [`set_time_range_lower_bound(Option<DateTime>)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::set_time_range_lower_bound): <p>Only backups created after this time are listed. <code>TimeRangeLowerBound</code> is inclusive.</p>
    ///   - [`time_range_upper_bound(DateTime)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::time_range_upper_bound) / [`set_time_range_upper_bound(Option<DateTime>)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::set_time_range_upper_bound): <p>Only backups created before this time are listed. <code>TimeRangeUpperBound</code> is exclusive. </p>
    ///   - [`exclusive_start_backup_arn(impl ::std::convert::Into<String>)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::exclusive_start_backup_arn) / [`set_exclusive_start_backup_arn(Option<String>)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::set_exclusive_start_backup_arn): <p> <code>LastEvaluatedBackupArn</code> is the Amazon Resource Name (ARN) of the backup last evaluated when the current page of results was returned, inclusive of the current page of results. This value may be specified as the <code>ExclusiveStartBackupArn</code> of a new <code>ListBackups</code> operation in order to fetch the next page of results. </p>
    ///   - [`backup_type(BackupTypeFilter)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::backup_type) / [`set_backup_type(Option<BackupTypeFilter>)`](crate::operation::list_backups::builders::ListBackupsFluentBuilder::set_backup_type): <p>The backups from the table specified by <code>BackupType</code> are listed.</p>  <p>Where <code>BackupType</code> can be:</p>  <ul>   <li> <p> <code>USER</code> - On-demand backup created by you. (The default setting if no other backup types are specified.)</p> </li>   <li> <p> <code>SYSTEM</code> - On-demand backup automatically created by DynamoDB.</p> </li>   <li> <p> <code>ALL</code> - All types of on-demand backups (USER and SYSTEM).</p> </li>  </ul>
    /// - On success, responds with [`ListBackupsOutput`](crate::operation::list_backups::ListBackupsOutput) with field(s):
    ///   - [`backup_summaries(Option<Vec<BackupSummary>>)`](crate::operation::list_backups::ListBackupsOutput::backup_summaries): <p>List of <code>BackupSummary</code> objects.</p>
    ///   - [`last_evaluated_backup_arn(Option<String>)`](crate::operation::list_backups::ListBackupsOutput::last_evaluated_backup_arn): <p> The ARN of the backup last evaluated when the current page of results was returned, inclusive of the current page of results. This value may be specified as the <code>ExclusiveStartBackupArn</code> of a new <code>ListBackups</code> operation in order to fetch the next page of results. </p>  <p> If <code>LastEvaluatedBackupArn</code> is empty, then the last page of results has been processed and there are no more results to be retrieved. </p>  <p> If <code>LastEvaluatedBackupArn</code> is not empty, this may or may not indicate that there is more data to be returned. All results are guaranteed to have been returned if and only if no value for <code>LastEvaluatedBackupArn</code> is returned. </p>
    /// - On failure, responds with [`SdkError<ListBackupsError>`](crate::operation::list_backups::ListBackupsError)
    pub fn list_backups(
        &self,
    ) -> crate::operation::list_backups::builders::ListBackupsFluentBuilder {
        crate::operation::list_backups::builders::ListBackupsFluentBuilder::new(self.handle.clone())
    }
}