aws_sdk_apigatewayv2/client/get_api_mappings.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 [`GetApiMappings`](crate::operation::get_api_mappings::builders::GetApiMappingsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_name(impl Into<String>)`](crate::operation::get_api_mappings::builders::GetApiMappingsFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::get_api_mappings::builders::GetApiMappingsFluentBuilder::set_domain_name):<br>required: **true**<br><p>The domain name.</p><br>
7 /// - [`max_results(impl Into<String>)`](crate::operation::get_api_mappings::builders::GetApiMappingsFluentBuilder::max_results) / [`set_max_results(Option<String>)`](crate::operation::get_api_mappings::builders::GetApiMappingsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of elements to be returned for this resource.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::get_api_mappings::builders::GetApiMappingsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_api_mappings::builders::GetApiMappingsFluentBuilder::set_next_token):<br>required: **false**<br><p>The next page of elements from this collection. Not valid for the last element of the collection.</p><br>
9 /// - On success, responds with [`GetApiMappingsOutput`](crate::operation::get_api_mappings::GetApiMappingsOutput) with field(s):
10 /// - [`items(Option<Vec::<ApiMapping>>)`](crate::operation::get_api_mappings::GetApiMappingsOutput::items): <p>The elements from this collection.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::get_api_mappings::GetApiMappingsOutput::next_token): <p>The next page of elements from this collection. Not valid for the last element of the collection.</p>
12 /// - On failure, responds with [`SdkError<GetApiMappingsError>`](crate::operation::get_api_mappings::GetApiMappingsError)
13 pub fn get_api_mappings(&self) -> crate::operation::get_api_mappings::builders::GetApiMappingsFluentBuilder {
14 crate::operation::get_api_mappings::builders::GetApiMappingsFluentBuilder::new(self.handle.clone())
15 }
16}