v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484172300.4 KB

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

get/#Action=PutDataProtectionPolicy

Query parameters

ResourceArnstring required
<p>The ARN of the topic whose <code>DataProtectionPolicy</code> you want to add or update.</p> <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the Amazon Web Services General Reference.</p>
DataProtectionPolicystring required
<p>The JSON serialization of the topic's <code>DataProtectionPolicy</code>.</p> <p>The <code>DataProtectionPolicy</code> must be in JSON string format.</p> <p>Length Constraints: Maximum length of 30,720.</p>
Action'PutDataProtectionPolicy' required
Version'2010-03-31' required

Response

Success