aws_sdk_apigateway/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    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_domain_names::builders::GetDomainNamesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`position(impl Into<String>)`](crate::operation::get_domain_names::builders::GetDomainNamesFluentBuilder::position) / [`set_position(Option<String>)`](crate::operation::get_domain_names::builders::GetDomainNamesFluentBuilder::set_position):<br>required: **false**<br><p>The current pagination position in the paged result set.</p><br>
8    ///   - [`limit(i32)`](crate::operation::get_domain_names::builders::GetDomainNamesFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::get_domain_names::builders::GetDomainNamesFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of returned results per page. The default value is 25 and the maximum value is 500.</p><br>
9    ///   - [`resource_owner(ResourceOwner)`](crate::operation::get_domain_names::builders::GetDomainNamesFluentBuilder::resource_owner) / [`set_resource_owner(Option<ResourceOwner>)`](crate::operation::get_domain_names::builders::GetDomainNamesFluentBuilder::set_resource_owner):<br>required: **false**<br><p>The owner of the domain name access association.</p><br>
10    /// - On success, responds with [`GetDomainNamesOutput`](crate::operation::get_domain_names::GetDomainNamesOutput) with field(s):
11    ///   - [`items(Option<Vec::<DomainName>>)`](crate::operation::get_domain_names::GetDomainNamesOutput::items): <p>The current page of elements from this collection.</p>
12    ///   - [`position(Option<String>)`](crate::operation::get_domain_names::GetDomainNamesOutput::position): <p>The current pagination position in the paged result set.</p>
13    /// - On failure, responds with [`SdkError<GetDomainNamesError>`](crate::operation::get_domain_names::GetDomainNamesError)
14    pub fn get_domain_names(&self) -> crate::operation::get_domain_names::builders::GetDomainNamesFluentBuilder {
15        crate::operation::get_domain_names::builders::GetDomainNamesFluentBuilder::new(self.handle.clone())
16    }
17}