// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeSubnetGroups`](crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`subnet_group_name(impl Into<String>)`](crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder::subnet_group_name) / [`set_subnet_group_name(Option<String>)`](crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder::set_subnet_group_name):<br>required: **false**<br><p>The name of the subnet group to return details for.</p><br>
/// - [`max_results(i32)`](crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder::set_next_token):<br>required: **false**<br><p>An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. </p><br>
/// - On success, responds with [`DescribeSubnetGroupsOutput`](crate::operation::describe_subnet_groups::DescribeSubnetGroupsOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::describe_subnet_groups::DescribeSubnetGroupsOutput::next_token): <p>An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. </p>
/// - [`subnet_groups(Option<Vec::<SubnetGroup>>)`](crate::operation::describe_subnet_groups::DescribeSubnetGroupsOutput::subnet_groups): <p>A list of subnet groups. Each element in the list contains detailed information about one group.</p>
/// - On failure, responds with [`SdkError<DescribeSubnetGroupsError>`](crate::operation::describe_subnet_groups::DescribeSubnetGroupsError)
pub fn describe_subnet_groups(&self) -> crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder {
crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder::new(self.handle.clone())
}
}