/AWS1/CL_SNS=>PUTDATAPROTECTIONPOLICY()
¶
About PutDataProtectionPolicy¶
Adds or updates an inline policy document that is stored in the specified Amazon SNS topic.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_RESOURCEARN
TYPE /AWS1/SNSTOPICARN
/AWS1/SNSTOPICARN
¶
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.
IV_DATAPROTECTIONPOLICY
TYPE /AWS1/SNSATTRIBUTEVALUE
/AWS1/SNSATTRIBUTEVALUE
¶
The JSON serialization of the topic's
DataProtectionPolicy
.The
DataProtectionPolicy
must be in JSON string format.Length Constraints: Maximum length of 30,720.