aws-sdk-pinpoint 1.59.0

AWS SDK for Amazon Pinpoint
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetChannels`](crate::operation::get_channels::builders::GetChannelsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetChannelsOutput`](crate::operation::get_channels::GetChannelsOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetChannelsError>`](crate::operation::get_channels::GetChannelsError)
    pub fn get_channels(&self) -> crate::operation::get_channels::builders::GetChannelsFluentBuilder {
        crate::operation::get_channels::builders::GetChannelsFluentBuilder::new(self.handle.clone())
    }
}