1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetLinks`](crate::operation::get_links::builders::GetLinksFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::get_links::builders::GetLinksFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`global_network_id(impl Into<String>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::global_network_id) / [`set_global_network_id(Option<String>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::set_global_network_id): <p>The ID of the global network.</p>
/// - [`link_ids(Vec<String>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::link_ids) / [`set_link_ids(Option<Vec<String>>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::set_link_ids): <p>One or more link IDs. The maximum is 10.</p>
/// - [`site_id(impl Into<String>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::site_id) / [`set_site_id(Option<String>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::set_site_id): <p>The ID of the site.</p>
/// - [`r#type(impl Into<String>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::type) / [`set_type(Option<String>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::set_type): <p>The link type.</p>
/// - [`provider(impl Into<String>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::provider) / [`set_provider(Option<String>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::set_provider): <p>The link provider.</p>
/// - [`max_results(i32)`](crate::operation::get_links::builders::GetLinksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::set_max_results): <p>The maximum number of results to return.</p>
/// - [`next_token(impl Into<String>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_links::builders::GetLinksFluentBuilder::set_next_token): <p>The token for the next page of results.</p>
/// - On success, responds with [`GetLinksOutput`](crate::operation::get_links::GetLinksOutput) with field(s):
/// - [`links(Option<Vec<Link>>)`](crate::operation::get_links::GetLinksOutput::links): <p>The links.</p>
/// - [`next_token(Option<String>)`](crate::operation::get_links::GetLinksOutput::next_token): <p>The token for the next page of results.</p>
/// - On failure, responds with [`SdkError<GetLinksError>`](crate::operation::get_links::GetLinksError)
pub fn get_links(&self) -> crate::operation::get_links::builders::GetLinksFluentBuilder {
crate::operation::get_links::builders::GetLinksFluentBuilder::new(self.handle.clone())
}
}