aws-sdk-pinpoint 1.55.0

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