aws_sdk_rds/client/
describe_source_regions.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeSourceRegions`](crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`region_name(impl Into<String>)`](crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder::region_name) / [`set_region_name(Option<String>)`](crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder::set_region_name):<br>required: **false**<br><p>The source Amazon Web Services Region name. For example, <code>us-east-1</code>.</p> <p>Constraints:</p> <ul>  <li>   <p>Must specify a valid Amazon Web Services Region name.</p></li> </ul><br>
    ///   - [`max_records(i32)`](crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder::set_max_records):<br>required: **false**<br><p>The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so you can retrieve the remaining results.</p> <p>Default: 100</p> <p>Constraints: Minimum 20, maximum 100.</p><br>
    ///   - [`marker(impl Into<String>)`](crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder::set_marker):<br>required: **false**<br><p>An optional pagination token provided by a previous <code>DescribeSourceRegions</code> request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</p><br>
    ///   - [`filters(Filter)`](crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder::set_filters):<br>required: **false**<br><p>This parameter isn't currently supported.</p><br>
    /// - On success, responds with [`DescribeSourceRegionsOutput`](crate::operation::describe_source_regions::DescribeSourceRegionsOutput) with field(s):
    ///   - [`marker(Option<String>)`](crate::operation::describe_source_regions::DescribeSourceRegionsOutput::marker): <p>An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</p>
    ///   - [`source_regions(Option<Vec::<SourceRegion>>)`](crate::operation::describe_source_regions::DescribeSourceRegionsOutput::source_regions): <p>A list of <code>SourceRegion</code> instances that contains each source Amazon Web Services Region that the current Amazon Web Services Region can get a read replica or a DB snapshot from.</p>
    /// - On failure, responds with [`SdkError<DescribeSourceRegionsError>`](crate::operation::describe_source_regions::DescribeSourceRegionsError)
    pub fn describe_source_regions(&self) -> crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder {
        crate::operation::describe_source_regions::builders::DescribeSourceRegionsFluentBuilder::new(self.handle.clone())
    }
}