aws_sdk_mediapackagev2/client/list_origin_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 [`ListOriginEndpoints`](crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`channel_group_name(impl Into<String>)`](crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder::channel_group_name) / [`set_channel_group_name(Option<String>)`](crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder::set_channel_group_name):<br>required: **true**<br><p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p><br>
8 /// - [`channel_name(impl Into<String>)`](crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder::set_channel_name):<br>required: **true**<br><p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p><br>
9 /// - [`max_results(i32)`](crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the response.</p><br>
10 /// - [`next_token(impl Into<String>)`](crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token from the GET list request. Use the token to fetch the next page of results.</p><br>
11 /// - On success, responds with [`ListOriginEndpointsOutput`](crate::operation::list_origin_endpoints::ListOriginEndpointsOutput) with field(s):
12 /// - [`items(Option<Vec::<OriginEndpointListConfiguration>>)`](crate::operation::list_origin_endpoints::ListOriginEndpointsOutput::items): <p>The objects being returned.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::list_origin_endpoints::ListOriginEndpointsOutput::next_token): <p>The pagination token from the GET list request. Use the token to fetch the next page of results.</p>
14 /// - On failure, responds with [`SdkError<ListOriginEndpointsError>`](crate::operation::list_origin_endpoints::ListOriginEndpointsError)
15 pub fn list_origin_endpoints(&self) -> crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder {
16 crate::operation::list_origin_endpoints::builders::ListOriginEndpointsFluentBuilder::new(self.handle.clone())
17 }
18}