Skip to content

Amazon SNS message data protection is no longer available to new customers

Description

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 DataProtectionPolicy document that is stored in the specified Amazon SNS topic.

Usage

sns_get_data_protection_policy(ResourceArn)

Arguments

  • ResourceArn

    [required] The ARN of the topic whose DataProtectionPolicy you want to get.

    For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

Value

A list with the following syntax:

list(
  DataProtectionPolicy = "string"
)

Request syntax

svc$get_data_protection_policy(
  ResourceArn = "string"
)