aws_sdk_devopsguru/client/list_notification_channels.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 [`ListNotificationChannels`](crate::operation::list_notification_channels::builders::ListNotificationChannelsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_notification_channels::builders::ListNotificationChannelsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`next_token(impl Into<String>)`](crate::operation::list_notification_channels::builders::ListNotificationChannelsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_notification_channels::builders::ListNotificationChannelsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.</p><br>
8 /// - On success, responds with [`ListNotificationChannelsOutput`](crate::operation::list_notification_channels::ListNotificationChannelsOutput) with field(s):
9 /// - [`channels(Option<Vec::<NotificationChannel>>)`](crate::operation::list_notification_channels::ListNotificationChannelsOutput::channels): <p>An array that contains the requested notification channels.</p>
10 /// - [`next_token(Option<String>)`](crate::operation::list_notification_channels::ListNotificationChannelsOutput::next_token): <p>The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
11 /// - On failure, responds with [`SdkError<ListNotificationChannelsError>`](crate::operation::list_notification_channels::ListNotificationChannelsError)
12 pub fn list_notification_channels(&self) -> crate::operation::list_notification_channels::builders::ListNotificationChannelsFluentBuilder {
13 crate::operation::list_notification_channels::builders::ListNotificationChannelsFluentBuilder::new(self.handle.clone())
14 }
15}