Struct aws_sdk_rds::client::fluent_builders::DescribeDBInstances
source · [−]pub struct DescribeDBInstances { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeDBInstances.
Returns information about provisioned RDS instances. This API supports pagination.
This operation can also return information for Amazon Neptune DB instances and Amazon DocumentDB instances.
Implementations
sourceimpl DescribeDBInstances
impl DescribeDBInstances
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeDBInstances, AwsResponseRetryClassifier>, SdkError<DescribeDBInstancesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeDBInstances, AwsResponseRetryClassifier>, SdkError<DescribeDBInstancesError>>
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<DescribeDbInstancesOutput, SdkError<DescribeDBInstancesError>>
pub async fn send(
self
) -> Result<DescribeDbInstancesOutput, SdkError<DescribeDBInstancesError>>
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) -> DescribeDbInstancesPaginator
pub fn into_paginator(self) -> DescribeDbInstancesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn db_instance_identifier(self, input: impl Into<String>) -> Self
pub fn db_instance_identifier(self, input: impl Into<String>) -> Self
The user-supplied instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.
Constraints:
-
If supplied, must match the identifier of an existing DBInstance.
sourcepub fn set_db_instance_identifier(self, input: Option<String>) -> Self
pub fn set_db_instance_identifier(self, input: Option<String>) -> Self
The user-supplied instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.
Constraints:
-
If supplied, must match the identifier of an existing DBInstance.
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 one or more DB instances to describe.
Supported filters:
-
db-cluster-id- Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB instances associated with the DB clusters identified by these ARNs. -
db-instance-id- Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list only includes information about the DB instances identified by these ARNs. -
dbi-resource-id- Accepts DB instance resource identifiers. The results list will only include information about the DB instances identified by these DB instance resource identifiers. -
domain- Accepts Active Directory directory IDs. The results list only includes information about the DB instances associated with these domains. -
engine- Accepts engine names. The results list only includes information about the DB instances for these engines.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
A filter that specifies one or more DB instances to describe.
Supported filters:
-
db-cluster-id- Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB instances associated with the DB clusters identified by these ARNs. -
db-instance-id- Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list only includes information about the DB instances identified by these ARNs. -
dbi-resource-id- Accepts DB instance resource identifiers. The results list will only include information about the DB instances identified by these DB instance resource identifiers. -
domain- Accepts Active Directory directory IDs. The results list only includes information about the DB instances associated with these domains. -
engine- Accepts engine names. The results list only includes information about the DB instances for these engines.
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.
Default: 100
Constraints: Minimum 20, maximum 100.
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.
Default: 100
Constraints: Minimum 20, maximum 100.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
Trait Implementations
sourceimpl Clone for DescribeDBInstances
impl Clone for DescribeDBInstances
sourcefn clone(&self) -> DescribeDBInstances
fn clone(&self) -> DescribeDBInstances
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more