AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.SimpleNotificationService.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class SetPlatformApplicationAttributesRequest : AmazonSimpleNotificationServiceRequest IRequestEvents
The SetPlatformApplicationAttributesRequest type exposes the following members
Name | Description | |
---|---|---|
SetPlatformApplicationAttributesRequest() |
Name | Type | Description | |
---|---|---|---|
Attributes | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Attributes.
A map of the platform application attributes. Attributes in this map include the following:
|
|
PlatformApplicationArn | System.String |
Gets and sets the property PlatformApplicationArn.
PlatformApplicationArn for SetPlatformApplicationAttributes action. |
This example shows how to set mobile push application attributes.
var snsClient = new AmazonSimpleNotificationServiceClient(); var request = new SetPlatformApplicationAttributesRequest { Attributes = new Dictionary<string, string>() { { "EventDeliveryFailure", "arn:aws:sns:us-east-1:80398EXAMPLE:CodingTestResults" } }, PlatformApplicationArn = "arn:aws:sns:us-east-1:80398EXAMPLE:" + "app/GCM/TimeCardProcessingApplication" }; snsClient.SetPlatformApplicationAttributes(request);
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8