aws_sdk_pinpoint/client/get_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 [`GetChannels`](crate::operation::get_channels::builders::GetChannelsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`application_id(impl Into<String>)`](crate::operation::get_channels::builders::GetChannelsFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_channels::builders::GetChannelsFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p><br>
7 /// - On success, responds with [`GetChannelsOutput`](crate::operation::get_channels::GetChannelsOutput) with field(s):
8 /// - [`channels_response(Option<ChannelsResponse>)`](crate::operation::get_channels::GetChannelsOutput::channels_response): <p>Provides information about the general settings and status of all channels for an application, including channels that aren't enabled for the application.</p>
9 /// - On failure, responds with [`SdkError<GetChannelsError>`](crate::operation::get_channels::GetChannelsError)
10 pub fn get_channels(&self) -> crate::operation::get_channels::builders::GetChannelsFluentBuilder {
11 crate::operation::get_channels::builders::GetChannelsFluentBuilder::new(self.handle.clone())
12 }
13}