aws_sdk_rds/client/describe_db_security_groups.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 [`DescribeDBSecurityGroups`](crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - [`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>
11 /// - On success, responds with [`DescribeDbSecurityGroupsOutput`](crate::operation::describe_db_security_groups::DescribeDbSecurityGroupsOutput) with field(s):
12 /// - [`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>
13 /// - [`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>
14 /// - On failure, responds with [`SdkError<DescribeDBSecurityGroupsError>`](crate::operation::describe_db_security_groups::DescribeDBSecurityGroupsError)
15 pub fn describe_db_security_groups(&self) -> crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder {
16 crate::operation::describe_db_security_groups::builders::DescribeDBSecurityGroupsFluentBuilder::new(self.handle.clone())
17 }
18}