aws_sdk_dax/client/
describe_subnet_groups.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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.
    ///
    /// - The fluent builder is configurable:
    ///   - [`subnet_group_names(impl Into<String>)`](crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder::subnet_group_names) / [`set_subnet_group_names(Option<Vec::<String>>)`](crate::operation::describe_subnet_groups::builders::DescribeSubnetGroupsFluentBuilder::set_subnet_group_names):<br>required: **false**<br><p>The name of the subnet group.</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 results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p> <p>The value for <code>MaxResults</code> must be between 20 and 100.</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 token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by <code>MaxResults</code>.</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>Provides an identifier to allow retrieval of paginated results.</p>
    ///   - [`subnet_groups(Option<Vec::<SubnetGroup>>)`](crate::operation::describe_subnet_groups::DescribeSubnetGroupsOutput::subnet_groups): <p>An array of subnet groups. Each element in the array represents a single subnet 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())
    }
}