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