aws_sdk_pinpoint/client/update_apns_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 [`UpdateApnsChannel`](crate::operation::update_apns_channel::builders::UpdateApnsChannelFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`apns_channel_request(ApnsChannelRequest)`](crate::operation::update_apns_channel::builders::UpdateApnsChannelFluentBuilder::apns_channel_request) / [`set_apns_channel_request(Option<ApnsChannelRequest>)`](crate::operation::update_apns_channel::builders::UpdateApnsChannelFluentBuilder::set_apns_channel_request):<br>required: **true**<br><p>Specifies the status and settings of the APNs (Apple Push Notification service) channel for an application.</p><br>
7 /// - [`application_id(impl Into<String>)`](crate::operation::update_apns_channel::builders::UpdateApnsChannelFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::update_apns_channel::builders::UpdateApnsChannelFluentBuilder::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 [`UpdateApnsChannelOutput`](crate::operation::update_apns_channel::UpdateApnsChannelOutput) with field(s):
9 /// - [`apns_channel_response(Option<ApnsChannelResponse>)`](crate::operation::update_apns_channel::UpdateApnsChannelOutput::apns_channel_response): <p>Provides information about the status and settings of the APNs (Apple Push Notification service) channel for an application.</p>
10 /// - On failure, responds with [`SdkError<UpdateApnsChannelError>`](crate::operation::update_apns_channel::UpdateApnsChannelError)
11 pub fn update_apns_channel(&self) -> crate::operation::update_apns_channel::builders::UpdateApnsChannelFluentBuilder {
12 crate::operation::update_apns_channel::builders::UpdateApnsChannelFluentBuilder::new(self.handle.clone())
13 }
14}