SNSClient.set_platform_application_attributes
rboto-sns==0.4.0 · Service index · Types
Model summary (excerpt): 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 .
Install and imports
Signature
async def set_platform_application_attributes(
*,
platform_application_arn: str,
attributes: dict[str, str],
) -> None: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
platform_application_arn |
Yes | PlatformApplicationArn for SetPlatformApplicationAttributes action. |
attributes |
Yes | A map of the platform application attributes. Attributes in this map include the following: PlatformCredential – The credential received from the notification service. For ADM, PlatformCredential is client secret. For Apple Services using certificate credentials, PlatformCredential is private key. For Apple Services using token credentials, PlatformCredential is signing key. For GCM (Firebase... |
Output
None.
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
—
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_sns.exceptions:
AuthorizationError, InternalError, InvalidParameterError, NotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.