Class SetPlatformApplicationAttributesRequest
- Namespace
- Amazon.SimpleNotificationService.Model
- Assembly
- AWSSDK.SimpleNotificationService.dll
Container for the parameters to the SetPlatformApplicationAttributes operation. 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.
public class SetPlatformApplicationAttributesRequest : AmazonSimpleNotificationServiceRequest
- Inheritance
-
SetPlatformApplicationAttributesRequest
Constructors
SetPlatformApplicationAttributesRequest()
public SetPlatformApplicationAttributesRequest()
Properties
Attributes
Gets and sets the property Attributes.
A map of the platform application attributes. Attributes in this map include the following:
– The credential received from the notification service. ForPlatformCredential
andAPNS
,APNS_SANDBOX
isPlatformCredential
. Forprivate key
(Firebase Cloud Messaging),GCM
isPlatformCredential
. ForAPI key
,ADM
isPlatformCredential
.client secret
– The principal received from the notification service. ForPlatformPrincipal
andAPNS
,APNS_SANDBOX
isPlatformPrincipal
. ForSSL certificate
(Firebase Cloud Messaging), there is noGCM
. ForPlatformPrincipal
,ADM
isPlatformPrincipal
.client id
– Topic ARN to whichEventEndpointCreated
event notifications are sent.EndpointCreated
– Topic ARN to whichEventEndpointDeleted
event notifications are sent.EndpointDeleted
– Topic ARN to whichEventEndpointUpdated
event notifications are sent.EndpointUpdate
– Topic ARN to whichEventDeliveryFailure
event notifications are sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.DeliveryFailure
– IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf.SuccessFeedbackRoleArn
– IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf.FailureFeedbackRoleArn
– Sample rate percentage (0-100) of successfully delivered messages.SuccessFeedbackSampleRate
public Dictionary<string, string> Attributes { get; set; }
Property Value
PlatformApplicationArn
Gets and sets the property PlatformApplicationArn.
PlatformApplicationArn for SetPlatformApplicationAttributes action.
public string PlatformApplicationArn { get; set; }