aws_sdk_pinpoint/client/
get_apns_sandbox_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 [`GetApnsSandboxChannel`](crate::operation::get_apns_sandbox_channel::builders::GetApnsSandboxChannelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::get_apns_sandbox_channel::builders::GetApnsSandboxChannelFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_apns_sandbox_channel::builders::GetApnsSandboxChannelFluentBuilder::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 [`GetApnsSandboxChannelOutput`](crate::operation::get_apns_sandbox_channel::GetApnsSandboxChannelOutput) with field(s):
8    ///   - [`apns_sandbox_channel_response(Option<ApnsSandboxChannelResponse>)`](crate::operation::get_apns_sandbox_channel::GetApnsSandboxChannelOutput::apns_sandbox_channel_response): <p>Provides information about the status and settings of the APNs (Apple Push Notification service) sandbox channel for an application.</p>
9    /// - On failure, responds with [`SdkError<GetApnsSandboxChannelError>`](crate::operation::get_apns_sandbox_channel::GetApnsSandboxChannelError)
10    pub fn get_apns_sandbox_channel(&self) -> crate::operation::get_apns_sandbox_channel::builders::GetApnsSandboxChannelFluentBuilder {
11        crate::operation::get_apns_sandbox_channel::builders::GetApnsSandboxChannelFluentBuilder::new(self.handle.clone())
12    }
13}