Skip to content

PutDataProtectionPolicyInput

Source code in docs_src/capo_sns/types/put_data_protection_policy_input.py
class PutDataProtectionPolicyInput(TypedDict, closed=True):
    resource_arn: "capo_sns.types.topic_arn.topicARN"
    """<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>"""
    data_protection_policy: "capo_sns.types.attribute_value.attributeValue"
    """<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>"""

data_protection_policy instance-attribute

data_protection_policy: attributeValue

The JSON serialization of the topic's DataProtectionPolicy.

The DataProtectionPolicy must be in JSON string format.

Length Constraints: Maximum length of 30,720.

resource_arn instance-attribute

resource_arn: topicARN

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.