aws_sdk_opsworks/client/describe_rds_db_instances.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 [`DescribeRdsDbInstances`](crate::operation::describe_rds_db_instances::builders::DescribeRdsDbInstancesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`stack_id(impl Into<String>)`](crate::operation::describe_rds_db_instances::builders::DescribeRdsDbInstancesFluentBuilder::stack_id) / [`set_stack_id(Option<String>)`](crate::operation::describe_rds_db_instances::builders::DescribeRdsDbInstancesFluentBuilder::set_stack_id):<br>required: **true**<br><p>The ID of the stack with which the instances are registered. The operation returns descriptions of all registered Amazon RDS instances.</p><br>
7 /// - [`rds_db_instance_arns(impl Into<String>)`](crate::operation::describe_rds_db_instances::builders::DescribeRdsDbInstancesFluentBuilder::rds_db_instance_arns) / [`set_rds_db_instance_arns(Option<Vec::<String>>)`](crate::operation::describe_rds_db_instances::builders::DescribeRdsDbInstancesFluentBuilder::set_rds_db_instance_arns):<br>required: **false**<br><p>An array containing the ARNs of the instances to be described.</p><br>
8 /// - On success, responds with [`DescribeRdsDbInstancesOutput`](crate::operation::describe_rds_db_instances::DescribeRdsDbInstancesOutput) with field(s):
9 /// - [`rds_db_instances(Option<Vec::<RdsDbInstance>>)`](crate::operation::describe_rds_db_instances::DescribeRdsDbInstancesOutput::rds_db_instances): <p>An a array of <code>RdsDbInstance</code> objects that describe the instances.</p>
10 /// - On failure, responds with [`SdkError<DescribeRdsDbInstancesError>`](crate::operation::describe_rds_db_instances::DescribeRdsDbInstancesError)
11 pub fn describe_rds_db_instances(&self) -> crate::operation::describe_rds_db_instances::builders::DescribeRdsDbInstancesFluentBuilder {
12 crate::operation::describe_rds_db_instances::builders::DescribeRdsDbInstancesFluentBuilder::new(self.handle.clone())
13 }
14}