aws_sdk_pinpoint/client/update_baidu_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 [`UpdateBaiduChannel`](crate::operation::update_baidu_channel::builders::UpdateBaiduChannelFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`application_id(impl Into<String>)`](crate::operation::update_baidu_channel::builders::UpdateBaiduChannelFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::update_baidu_channel::builders::UpdateBaiduChannelFluentBuilder::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 /// - [`baidu_channel_request(BaiduChannelRequest)`](crate::operation::update_baidu_channel::builders::UpdateBaiduChannelFluentBuilder::baidu_channel_request) / [`set_baidu_channel_request(Option<BaiduChannelRequest>)`](crate::operation::update_baidu_channel::builders::UpdateBaiduChannelFluentBuilder::set_baidu_channel_request):<br>required: **true**<br><p>Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.</p><br>
8 /// - On success, responds with [`UpdateBaiduChannelOutput`](crate::operation::update_baidu_channel::UpdateBaiduChannelOutput) with field(s):
9 /// - [`baidu_channel_response(Option<BaiduChannelResponse>)`](crate::operation::update_baidu_channel::UpdateBaiduChannelOutput::baidu_channel_response): <p>Provides information about the status and settings of the Baidu (Baidu Cloud Push) channel for an application.</p>
10 /// - On failure, responds with [`SdkError<UpdateBaiduChannelError>`](crate::operation::update_baidu_channel::UpdateBaiduChannelError)
11 pub fn update_baidu_channel(&self) -> crate::operation::update_baidu_channel::builders::UpdateBaiduChannelFluentBuilder {
12 crate::operation::update_baidu_channel::builders::UpdateBaiduChannelFluentBuilder::new(self.handle.clone())
13 }
14}