aws_sdk_s3outposts/client/list_shared_endpoints.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 [`ListSharedEndpoints`](crate::operation::list_shared_endpoints::builders::ListSharedEndpointsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_shared_endpoints::builders::ListSharedEndpointsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`next_token(impl Into<String>)`](crate::operation::list_shared_endpoints::builders::ListSharedEndpointsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_shared_endpoints::builders::ListSharedEndpointsFluentBuilder::set_next_token):<br>required: **false**<br><p>If a previous response from this operation included a <code>NextToken</code> value, you can provide that value here to retrieve the next page of results.</p><br>
8 /// - [`max_results(i32)`](crate::operation::list_shared_endpoints::builders::ListSharedEndpointsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_shared_endpoints::builders::ListSharedEndpointsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of endpoints that will be returned in the response.</p><br>
9 /// - [`outpost_id(impl Into<String>)`](crate::operation::list_shared_endpoints::builders::ListSharedEndpointsFluentBuilder::outpost_id) / [`set_outpost_id(Option<String>)`](crate::operation::list_shared_endpoints::builders::ListSharedEndpointsFluentBuilder::set_outpost_id):<br>required: **true**<br><p>The ID of the Amazon Web Services Outpost.</p><br>
10 /// - On success, responds with [`ListSharedEndpointsOutput`](crate::operation::list_shared_endpoints::ListSharedEndpointsOutput) with field(s):
11 /// - [`endpoints(Option<Vec::<Endpoint>>)`](crate::operation::list_shared_endpoints::ListSharedEndpointsOutput::endpoints): <p>The list of endpoints associated with the specified Outpost that have been shared by Amazon Web Services Resource Access Manager (RAM).</p>
12 /// - [`next_token(Option<String>)`](crate::operation::list_shared_endpoints::ListSharedEndpointsOutput::next_token): <p>If the number of endpoints associated with the specified Outpost exceeds <code>MaxResults</code>, you can include this value in subsequent calls to this operation to retrieve more results.</p>
13 /// - On failure, responds with [`SdkError<ListSharedEndpointsError>`](crate::operation::list_shared_endpoints::ListSharedEndpointsError)
14 pub fn list_shared_endpoints(&self) -> crate::operation::list_shared_endpoints::builders::ListSharedEndpointsFluentBuilder {
15 crate::operation::list_shared_endpoints::builders::ListSharedEndpointsFluentBuilder::new(self.handle.clone())
16 }
17}