1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetApiCache`](crate::operation::get_api_cache::builders::GetApiCacheFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`api_id(impl Into<String>)`](crate::operation::get_api_cache::builders::GetApiCacheFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::get_api_cache::builders::GetApiCacheFluentBuilder::set_api_id):<br>required: **true**<br><p>The API ID.</p><br>
    /// - On success, responds with [`GetApiCacheOutput`](crate::operation::get_api_cache::GetApiCacheOutput) with field(s):
    ///   - [`api_cache(Option<ApiCache>)`](crate::operation::get_api_cache::GetApiCacheOutput::api_cache): <p>The <code>ApiCache</code> object.</p>
    /// - On failure, responds with [`SdkError<GetApiCacheError>`](crate::operation::get_api_cache::GetApiCacheError)
    pub fn get_api_cache(&self) -> crate::operation::get_api_cache::builders::GetApiCacheFluentBuilder {
        crate::operation::get_api_cache::builders::GetApiCacheFluentBuilder::new(self.handle.clone())
    }
}