aws_sdk_apigatewayv2/client/
get_vpc_links.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 [`GetVpcLinks`](crate::operation::get_vpc_links::builders::GetVpcLinksFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`max_results(impl Into<String>)`](crate::operation::get_vpc_links::builders::GetVpcLinksFluentBuilder::max_results) / [`set_max_results(Option<String>)`](crate::operation::get_vpc_links::builders::GetVpcLinksFluentBuilder::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_vpc_links::builders::GetVpcLinksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_vpc_links::builders::GetVpcLinksFluentBuilder::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 [`GetVpcLinksOutput`](crate::operation::get_vpc_links::GetVpcLinksOutput) with field(s):
9    ///   - [`items(Option<Vec::<VpcLink>>)`](crate::operation::get_vpc_links::GetVpcLinksOutput::items): <p>A collection of VPC links.</p>
10    ///   - [`next_token(Option<String>)`](crate::operation::get_vpc_links::GetVpcLinksOutput::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<GetVpcLinksError>`](crate::operation::get_vpc_links::GetVpcLinksError)
12    pub fn get_vpc_links(&self) -> crate::operation::get_vpc_links::builders::GetVpcLinksFluentBuilder {
13        crate::operation::get_vpc_links::builders::GetVpcLinksFluentBuilder::new(self.handle.clone())
14    }
15}