1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeServerlessCaches`](crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DescribeServerlessCachesOutput`](crate::operation::describe_serverless_caches::DescribeServerlessCachesOutput) with field(s):
    ///   - [`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>
    ///   - [`serverless_caches(Option<Vec::<ServerlessCache>>)`](crate::operation::describe_serverless_caches::DescribeServerlessCachesOutput::serverless_caches): <p>The serverless caches associated with a given description request.</p>
    /// - On failure, responds with [`SdkError<DescribeServerlessCachesError>`](crate::operation::describe_serverless_caches::DescribeServerlessCachesError)
    pub fn describe_serverless_caches(&self) -> crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder {
        crate::operation::describe_serverless_caches::builders::DescribeServerlessCachesFluentBuilder::new(self.handle.clone())
    }
}