sns_put_data_protection_policy: Adds or updates an inline policy document that is stored in...

View source: R/sns_operations.R

sns_put_data_protection_policyR Documentation

Adds or updates an inline policy document that is stored in the specified Amazon SNS topic

Description

Adds or updates an inline policy document that is stored in the specified Amazon SNS topic.

See https://www.paws-r-sdk.com/docs/sns_put_data_protection_policy/ for full documentation.

Usage

sns_put_data_protection_policy(ResourceArn, DataProtectionPolicy)

Arguments

ResourceArn

[required] The ARN of the topic whose DataProtectionPolicy you want to add or update.

For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

DataProtectionPolicy

[required] The JSON serialization of the topic's DataProtectionPolicy.

The DataProtectionPolicy must be in JSON string format.

Length Constraints: Maximum length of 30,720.


paws.application.integration documentation built on Sept. 12, 2023, 1:18 a.m.