aws_sdk_rds/client/
describe_db_security_groups.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 [`DescribeDBSecurityGroups`](crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`db_security_group_name(impl Into<String>)`](crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::db_security_group_name) / [`set_db_security_group_name(Option<String>)`](crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::set_db_security_group_name):<br>required: **false**<br><p>The name of the DB security group to return details for.</p><br>
    ///   - [`filters(Filter)`](crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::set_filters):<br>required: **false**<br><p>This parameter isn't currently supported.</p><br>
    ///   - [`max_records(i32)`](crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::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 that 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_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::set_marker):<br>required: **false**<br><p>An optional pagination token provided by a previous <code>DescribeDBSecurityGroups</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>
    /// - On success, responds with [`DescribeDbSecurityGroupsOutput`](crate::operation::describe_db_security_groups::DescribeDbSecurityGroupsOutput) with field(s):
    ///   - [`marker(Option<String>)`](crate::operation::describe_db_security_groups::DescribeDbSecurityGroupsOutput::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>
    ///   - [`db_security_groups(Option<Vec::<DbSecurityGroup>>)`](crate::operation::describe_db_security_groups::DescribeDbSecurityGroupsOutput::db_security_groups): <p>A list of <code>DBSecurityGroup</code> instances.</p>
    /// - On failure, responds with [`SdkError<DescribeDBSecurityGroupsError>`](crate::operation::describe_db_security_groups::DescribeDBSecurityGroupsError)
    pub fn describe_db_security_groups(&self) -> crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder {
        crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::new(self.handle.clone())
    }
}