aws_sdk_mediapackagev2/client/list_channel_groups.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 [`ListChannelGroups`](crate::operation::list_channel_groups::builders::ListChannelGroupsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_channel_groups::builders::ListChannelGroupsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`max_results(i32)`](crate::operation::list_channel_groups::builders::ListChannelGroupsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_channel_groups::builders::ListChannelGroupsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the response.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_channel_groups::builders::ListChannelGroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_channel_groups::builders::ListChannelGroupsFluentBuilder::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>
9 /// - On success, responds with [`ListChannelGroupsOutput`](crate::operation::list_channel_groups::ListChannelGroupsOutput) with field(s):
10 /// - [`items(Option<Vec::<ChannelGroupListConfiguration>>)`](crate::operation::list_channel_groups::ListChannelGroupsOutput::items): <p>The objects being returned.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::list_channel_groups::ListChannelGroupsOutput::next_token): <p>The pagination token from the GET list request. Use the token to fetch the next page of results.</p>
12 /// - On failure, responds with [`SdkError<ListChannelGroupsError>`](crate::operation::list_channel_groups::ListChannelGroupsError)
13 pub fn list_channel_groups(&self) -> crate::operation::list_channel_groups::builders::ListChannelGroupsFluentBuilder {
14 crate::operation::list_channel_groups::builders::ListChannelGroupsFluentBuilder::new(self.handle.clone())
15 }
16}