aws_sdk_pinpoint/client/
get_gcm_channel.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 [`GetGcmChannel`](crate::operation::get_gcm_channel::builders::GetGcmChannelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::get_gcm_channel::builders::GetGcmChannelFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_gcm_channel::builders::GetGcmChannelFluentBuilder::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 [`GetGcmChannelOutput`](crate::operation::get_gcm_channel::GetGcmChannelOutput) with field(s):
8    ///   - [`gcm_channel_response(Option<GcmChannelResponse>)`](crate::operation::get_gcm_channel::GetGcmChannelOutput::gcm_channel_response): <p>Provides information about the status and settings of the GCM channel for an application. The GCM channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.</p>
9    /// - On failure, responds with [`SdkError<GetGcmChannelError>`](crate::operation::get_gcm_channel::GetGcmChannelError)
10    pub fn get_gcm_channel(&self) -> crate::operation::get_gcm_channel::builders::GetGcmChannelFluentBuilder {
11        crate::operation::get_gcm_channel::builders::GetGcmChannelFluentBuilder::new(self.handle.clone())
12    }
13}