pub struct DescribeDBInstanceAutomatedBackups { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeDBInstanceAutomatedBackups.
Displays backups for both current and deleted instances. For example, use this operation to find details about automated backups for previously deleted instances. Current instances with retention periods greater than zero (0) are returned for both the DescribeDBInstanceAutomatedBackups and DescribeDBInstances operations.
All parameters are optional.
Implementations
sourceimpl DescribeDBInstanceAutomatedBackups
impl DescribeDBInstanceAutomatedBackups
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeDBInstanceAutomatedBackups, AwsResponseRetryClassifier>, SdkError<DescribeDBInstanceAutomatedBackupsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeDBInstanceAutomatedBackups, AwsResponseRetryClassifier>, SdkError<DescribeDBInstanceAutomatedBackupsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeDbInstanceAutomatedBackupsOutput, SdkError<DescribeDBInstanceAutomatedBackupsError>>
pub async fn send(
self
) -> Result<DescribeDbInstanceAutomatedBackupsOutput, SdkError<DescribeDBInstanceAutomatedBackupsError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> DescribeDbInstanceAutomatedBackupsPaginator
pub fn into_paginator(self) -> DescribeDbInstanceAutomatedBackupsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn dbi_resource_id(self, input: impl Into<String>) -> Self
pub fn dbi_resource_id(self, input: impl Into<String>) -> Self
The resource ID of the DB instance that is the source of the automated backup. This parameter isn't case-sensitive.
sourcepub fn set_dbi_resource_id(self, input: Option<String>) -> Self
pub fn set_dbi_resource_id(self, input: Option<String>) -> Self
The resource ID of the DB instance that is the source of the automated backup. This parameter isn't case-sensitive.
sourcepub fn db_instance_identifier(self, input: impl Into<String>) -> Self
pub fn db_instance_identifier(self, input: impl Into<String>) -> Self
(Optional) The user-supplied instance identifier. If this parameter is specified, it must match the identifier of an existing DB instance. It returns information from the specific DB instance' automated backup. This parameter isn't case-sensitive.
sourcepub fn set_db_instance_identifier(self, input: Option<String>) -> Self
pub fn set_db_instance_identifier(self, input: Option<String>) -> Self
(Optional) The user-supplied instance identifier. If this parameter is specified, it must match the identifier of an existing DB instance. It returns information from the specific DB instance' automated backup. This parameter isn't case-sensitive.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to Filters.
To override the contents of this collection use set_filters.
A filter that specifies which resources to return based on status.
Supported filters are the following:
-
status-
active- automated backups for current instances -
retained- automated backups for deleted instances and after backup replication is stopped -
creating- automated backups that are waiting for the first automated snapshot to be available
-
-
db-instance-id- Accepts DB instance identifiers and Amazon Resource Names (ARNs). The results list includes only information about the DB instance automated backups identified by these ARNs. -
dbi-resource-id- Accepts DB resource identifiers and Amazon Resource Names (ARNs). The results list includes only information about the DB instance resources identified by these ARNs.
Returns all resources by default. The status for each resource is specified in the response.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
A filter that specifies which resources to return based on status.
Supported filters are the following:
-
status-
active- automated backups for current instances -
retained- automated backups for deleted instances and after backup replication is stopped -
creating- automated backups that are waiting for the first automated snapshot to be available
-
-
db-instance-id- Accepts DB instance identifiers and Amazon Resource Names (ARNs). The results list includes only information about the DB instance automated backups identified by these ARNs. -
dbi-resource-id- Accepts DB resource identifiers and Amazon Resource Names (ARNs). The results list includes only information about the DB instance resources identified by these ARNs.
Returns all resources by default. The status for each resource is specified in the response.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.
sourcepub fn db_instance_automated_backups_arn(self, input: impl Into<String>) -> Self
pub fn db_instance_automated_backups_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the replicated automated backups, for example, arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE.
This setting doesn't apply to RDS Custom.
sourcepub fn set_db_instance_automated_backups_arn(self, input: Option<String>) -> Self
pub fn set_db_instance_automated_backups_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the replicated automated backups, for example, arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE.
This setting doesn't apply to RDS Custom.
Trait Implementations
sourceimpl Clone for DescribeDBInstanceAutomatedBackups
impl Clone for DescribeDBInstanceAutomatedBackups
sourcefn clone(&self) -> DescribeDBInstanceAutomatedBackups
fn clone(&self) -> DescribeDBInstanceAutomatedBackups
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more