aws_sdk_elasticache/client/
describe_serverless_caches.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 [`DescribeServerlessCaches`](crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`serverless_cache_name(impl Into<String>)`](crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder::serverless_cache_name) / [`set_serverless_cache_name(Option<String>)`](crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder::set_serverless_cache_name):<br>required: **false**<br><p>The identifier for the serverless cache. If this parameter is specified, only information about that specific serverless cache is returned. Default: NULL</p><br>
8    ///   - [`max_results(i32)`](crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of records in the response. If more records exist than the specified max-records value, the next token is included in the response so that remaining results can be retrieved. The default is 50.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder::set_next_token):<br>required: **false**<br><p>An optional marker returned from a prior request to support 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 MaxResults.</p><br>
10    /// - On success, responds with [`DescribeServerlessCachesOutput`](crate::operation::describe_serverless_caches::DescribeServerlessCachesOutput) with field(s):
11    ///   - [`next_token(Option<String>)`](crate::operation::describe_serverless_caches::DescribeServerlessCachesOutput::next_token): <p>An optional marker returned from a prior request to support 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 MaxResults.</p>
12    ///   - [`serverless_caches(Option<Vec::<ServerlessCache>>)`](crate::operation::describe_serverless_caches::DescribeServerlessCachesOutput::serverless_caches): <p>The serverless caches associated with a given description request.</p>
13    /// - On failure, responds with [`SdkError<DescribeServerlessCachesError>`](crate::operation::describe_serverless_caches::DescribeServerlessCachesError)
14    pub fn describe_serverless_caches(&self) -> crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder {
15        crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder::new(self.handle.clone())
16    }
17}