aws_sdk_pinpoint/client/update_adm_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 [`UpdateAdmChannel`](crate::operation::update_adm_channel::builders::UpdateAdmChannelFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`adm_channel_request(AdmChannelRequest)`](crate::operation::update_adm_channel::builders::UpdateAdmChannelFluentBuilder::adm_channel_request) / [`set_adm_channel_request(Option<AdmChannelRequest>)`](crate::operation::update_adm_channel::builders::UpdateAdmChannelFluentBuilder::set_adm_channel_request):<br>required: **true**<br><p>Specifies the status and settings of the ADM (Amazon Device Messaging) channel for an application.</p><br>
7 /// - [`application_id(impl Into<String>)`](crate::operation::update_adm_channel::builders::UpdateAdmChannelFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::update_adm_channel::builders::UpdateAdmChannelFluentBuilder::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>
8 /// - On success, responds with [`UpdateAdmChannelOutput`](crate::operation::update_adm_channel::UpdateAdmChannelOutput) with field(s):
9 /// - [`adm_channel_response(Option<AdmChannelResponse>)`](crate::operation::update_adm_channel::UpdateAdmChannelOutput::adm_channel_response): <p>Provides information about the status and settings of the ADM (Amazon Device Messaging) channel for an application.</p>
10 /// - On failure, responds with [`SdkError<UpdateAdmChannelError>`](crate::operation::update_adm_channel::UpdateAdmChannelError)
11 pub fn update_adm_channel(&self) -> crate::operation::update_adm_channel::builders::UpdateAdmChannelFluentBuilder {
12 crate::operation::update_adm_channel::builders::UpdateAdmChannelFluentBuilder::new(self.handle.clone())
13 }
14}