aws_sdk_sns/client/
get_platform_application_attributes.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 [`GetPlatformApplicationAttributes`](crate::operation::get_platform_application_attributes::builders::GetPlatformApplicationAttributesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`platform_application_arn(impl Into<String>)`](crate::operation::get_platform_application_attributes::builders::GetPlatformApplicationAttributesFluentBuilder::platform_application_arn) / [`set_platform_application_arn(Option<String>)`](crate::operation::get_platform_application_attributes::builders::GetPlatformApplicationAttributesFluentBuilder::set_platform_application_arn):<br>required: **true**<br><p><code>PlatformApplicationArn</code> for GetPlatformApplicationAttributesInput.</p><br>
7    /// - On success, responds with [`GetPlatformApplicationAttributesOutput`](crate::operation::get_platform_application_attributes::GetPlatformApplicationAttributesOutput) with field(s):
8    ///   - [`attributes(Option<HashMap::<String, String>>)`](crate::operation::get_platform_application_attributes::GetPlatformApplicationAttributesOutput::attributes): <p>Attributes include the following:</p> <ul>  <li>   <p><code>AppleCertificateExpiryDate</code> – The expiry date of the SSL certificate used to configure certificate-based authentication.</p></li>  <li>   <p><code>ApplePlatformTeamID</code> – The Apple developer account ID used to configure token-based authentication.</p></li>  <li>   <p><code>ApplePlatformBundleID</code> – The app identifier used to configure token-based authentication.</p></li>  <li>   <p><code>AuthenticationMethod</code> – Returns the credential type used when sending push notifications from application to APNS/APNS_Sandbox, or application to GCM.</p>   <ul>    <li>     <p>APNS – Returns the token or certificate.</p></li>    <li>     <p>GCM – Returns the token or key.</p></li>   </ul></li>  <li>   <p><code>EventEndpointCreated</code> – Topic ARN to which EndpointCreated event notifications should be sent.</p></li>  <li>   <p><code>EventEndpointDeleted</code> – Topic ARN to which EndpointDeleted event notifications should be sent.</p></li>  <li>   <p><code>EventEndpointUpdated</code> – Topic ARN to which EndpointUpdate event notifications should be sent.</p></li>  <li>   <p><code>EventDeliveryFailure</code> – Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.</p></li> </ul>
9    /// - On failure, responds with [`SdkError<GetPlatformApplicationAttributesError>`](crate::operation::get_platform_application_attributes::GetPlatformApplicationAttributesError)
10    pub fn get_platform_application_attributes(
11        &self,
12    ) -> crate::operation::get_platform_application_attributes::builders::GetPlatformApplicationAttributesFluentBuilder {
13        crate::operation::get_platform_application_attributes::builders::GetPlatformApplicationAttributesFluentBuilder::new(self.handle.clone())
14    }
15}