aws_sdk_elasticache/client/describe_cache_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 [`DescribeCacheSecurityGroups`](crate::operation::describe_cache_security_groups::builders::DescribeCacheSecurityGroupsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_cache_security_groups::builders::DescribeCacheSecurityGroupsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`cache_security_group_name(impl Into<String>)`](crate::operation::describe_cache_security_groups::builders::DescribeCacheSecurityGroupsFluentBuilder::cache_security_group_name) / [`set_cache_security_group_name(Option<String>)`](crate::operation::describe_cache_security_groups::builders::DescribeCacheSecurityGroupsFluentBuilder::set_cache_security_group_name):<br>required: **false**<br><p>The name of the cache security group to return details for.</p><br>
8 /// - [`max_records(i32)`](crate::operation::describe_cache_security_groups::builders::DescribeCacheSecurityGroupsFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_cache_security_groups::builders::DescribeCacheSecurityGroupsFluentBuilder::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 marker is included in the response so that the remaining results can be retrieved.</p> <p>Default: 100</p> <p>Constraints: minimum 20; maximum 100.</p><br>
9 /// - [`marker(impl Into<String>)`](crate::operation::describe_cache_security_groups::builders::DescribeCacheSecurityGroupsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_cache_security_groups::builders::DescribeCacheSecurityGroupsFluentBuilder::set_marker):<br>required: **false**<br><p>An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</p><br>
10 /// - On success, responds with [`DescribeCacheSecurityGroupsOutput`](crate::operation::describe_cache_security_groups::DescribeCacheSecurityGroupsOutput) with field(s):
11 /// - [`marker(Option<String>)`](crate::operation::describe_cache_security_groups::DescribeCacheSecurityGroupsOutput::marker): <p>Provides an identifier to allow retrieval of paginated results.</p>
12 /// - [`cache_security_groups(Option<Vec::<CacheSecurityGroup>>)`](crate::operation::describe_cache_security_groups::DescribeCacheSecurityGroupsOutput::cache_security_groups): <p>A list of cache security groups. Each element in the list contains detailed information about one group.</p>
13 /// - On failure, responds with [`SdkError<DescribeCacheSecurityGroupsError>`](crate::operation::describe_cache_security_groups::DescribeCacheSecurityGroupsError)
14 pub fn describe_cache_security_groups(
15 &self,
16 ) -> crate::operation::describe_cache_security_groups::builders::DescribeCacheSecurityGroupsFluentBuilder {
17 crate::operation::describe_cache_security_groups::builders::DescribeCacheSecurityGroupsFluentBuilder::new(self.handle.clone())
18 }
19}