Adds or updates an inline policy document that is stored in the specified Amazon SNS topic
Source:R/sns_operations.R
sns_put_data_protection_policy.RdAdds 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.
Arguments
- ResourceArn
[required] The ARN of the topic whose
DataProtectionPolicyyou 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
DataProtectionPolicymust be in JSON string format.Length Constraints: Maximum length of 30,720.