pub struct SetPlatformApplicationAttributes<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to SetPlatformApplicationAttributes.
Sets the attributes of the platform application object for the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging). For more information, see Using Amazon SNS Mobile Push Notifications. For information on configuring attributes for message delivery status, see Using Amazon SNS Application Attributes for Message Delivery Status.
Implementations
impl<C, M, R> SetPlatformApplicationAttributes<C, M, R> where
    C: SmithyConnector,
    M: SmithyMiddleware<C>,
    R: NewRequestPolicy, 
impl<C, M, R> SetPlatformApplicationAttributes<C, M, R> where
    C: SmithyConnector,
    M: SmithyMiddleware<C>,
    R: NewRequestPolicy, 
pub async fn send(
    self
) -> Result<SetPlatformApplicationAttributesOutput, SdkError<SetPlatformApplicationAttributesError>> where
    R::Policy: SmithyRetryPolicy<SetPlatformApplicationAttributesInputOperationOutputAlias, SetPlatformApplicationAttributesOutput, SetPlatformApplicationAttributesError, SetPlatformApplicationAttributesInputOperationRetryAlias>, 
pub async fn send(
    self
) -> Result<SetPlatformApplicationAttributesOutput, SdkError<SetPlatformApplicationAttributesError>> where
    R::Policy: SmithyRetryPolicy<SetPlatformApplicationAttributesInputOperationOutputAlias, SetPlatformApplicationAttributesOutput, SetPlatformApplicationAttributesError, SetPlatformApplicationAttributesInputOperationRetryAlias>, 
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
PlatformApplicationArn for SetPlatformApplicationAttributes action.
PlatformApplicationArn for SetPlatformApplicationAttributes action.
Adds a key-value pair to Attributes.
To override the contents of this collection use set_attributes.
A map of the platform application attributes. Attributes in this map include the following:
-  PlatformCredential– The credential received from the notification service.-  For ADM, PlatformCredentialis client secret.
-  For Apple Services using certificate credentials, PlatformCredentialis private key.
-  For Apple Services using token credentials, PlatformCredentialis signing key.
-  For GCM (Firebase Cloud Messaging), PlatformCredentialis API key.
 
-  
-  PlatformPrincipal– The principal received from the notification service.-  For ADM, PlatformPrincipalis client id.
-  For Apple Services using certificate credentials, PlatformPrincipalis SSL certificate.
-  For Apple Services using token credentials, PlatformPrincipalis signing key ID.
-  For GCM (Firebase Cloud Messaging), there is no PlatformPrincipal.
 
-  
-  EventEndpointCreated– Topic ARN to whichEndpointCreatedevent notifications are sent.
-  EventEndpointDeleted– Topic ARN to whichEndpointDeletedevent notifications are sent.
-  EventEndpointUpdated– Topic ARN to whichEndpointUpdateevent notifications are sent.
-  EventDeliveryFailure– Topic ARN to whichDeliveryFailureevent notifications are sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.
-  SuccessFeedbackRoleArn– IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf.
-  FailureFeedbackRoleArn– IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf.
-  SuccessFeedbackSampleRate– Sample rate percentage (0-100) of successfully delivered messages.
The following attributes only apply to APNs token-based authentication:
-  ApplePlatformTeamID– The identifier that's assigned to your Apple developer account team.
-  ApplePlatformBundleID– The bundle identifier that's assigned to your iOS app.
A map of the platform application attributes. Attributes in this map include the following:
-  PlatformCredential– The credential received from the notification service.-  For ADM, PlatformCredentialis client secret.
-  For Apple Services using certificate credentials, PlatformCredentialis private key.
-  For Apple Services using token credentials, PlatformCredentialis signing key.
-  For GCM (Firebase Cloud Messaging), PlatformCredentialis API key.
 
-  
-  PlatformPrincipal– The principal received from the notification service.-  For ADM, PlatformPrincipalis client id.
-  For Apple Services using certificate credentials, PlatformPrincipalis SSL certificate.
-  For Apple Services using token credentials, PlatformPrincipalis signing key ID.
-  For GCM (Firebase Cloud Messaging), there is no PlatformPrincipal.
 
-  
-  EventEndpointCreated– Topic ARN to whichEndpointCreatedevent notifications are sent.
-  EventEndpointDeleted– Topic ARN to whichEndpointDeletedevent notifications are sent.
-  EventEndpointUpdated– Topic ARN to whichEndpointUpdateevent notifications are sent.
-  EventDeliveryFailure– Topic ARN to whichDeliveryFailureevent notifications are sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.
-  SuccessFeedbackRoleArn– IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf.
-  FailureFeedbackRoleArn– IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf.
-  SuccessFeedbackSampleRate– Sample rate percentage (0-100) of successfully delivered messages.
The following attributes only apply to APNs token-based authentication:
-  ApplePlatformTeamID– The identifier that's assigned to your Apple developer account team.
-  ApplePlatformBundleID– The bundle identifier that's assigned to your iOS app.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for SetPlatformApplicationAttributes<C, M, R>
impl<C, M, R> Send for SetPlatformApplicationAttributes<C, M, R> where
    C: Send + Sync,
    M: Send + Sync,
    R: Send + Sync, 
impl<C, M, R> Sync for SetPlatformApplicationAttributes<C, M, R> where
    C: Send + Sync,
    M: Send + Sync,
    R: Send + Sync, 
impl<C, M, R> Unpin for SetPlatformApplicationAttributes<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SetPlatformApplicationAttributes<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
