SNS / Client / get_data_protection_policy
get_data_protection_policy¶
- SNS.Client.get_data_protection_policy(**kwargs)¶
Warning
Amazon SNS message data protection is no longer available to new customers. For more information and guidance on alternatives, see Amazon SNS message data protection availability change.
Retrieves the specified inline
DataProtectionPolicydocument that is stored in the specified Amazon SNS topic.See also: AWS API Documentation
Request Syntax
response = client.get_data_protection_policy( ResourceArn='string' )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The ARN of the topic whose
DataProtectionPolicyyou want to get.For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Return type:
dict
- Returns:
Response Syntax
{ 'DataProtectionPolicy': 'string' }
Response Structure
(dict) –
DataProtectionPolicy (string) –
Retrieves the
DataProtectionPolicyin JSON string format.
Exceptions