404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.149.253.148: ~ $
**To set data protection policy**

**Example 1: To deny publishers from publishing messages with CreditCardNumber**

The following ``put-data-protection-policy`` example denies publishers from publishing messages with CreditCardNumber. ::

    aws sns put-data-protection-policy \
        --resource-arn arn:aws:sns:us-east-1:123456789012:mytopic \
        --data-protection-policy "{\"Name\":\"data_protection_policy\",\"Description\":\"Example data protection policy\",\"Version\":\"2021-06-01\",\"Statement\":[{\"DataDirection\":\"Inbound\",\"Principal\":[\"*\"],\"DataIdentifier\":[\"arn:aws:dataprotection::aws:data-identifier/CreditCardNumber\"],\"Operation\":{\"Deny\":{}}}]}"

This command produces no output.

**Example 2: To load parameters from a file**

The following ``put-data-protection-policy`` loads parameters from a file. ::

    aws sns put-data-protection-policy \
        --resource-arn arn:aws:sns:us-west-2:123456789012:MyTopic \
        --data-protection-policy file://policy.json

This command produces no output.

Filemanager

Name Type Size Permission Actions
add-permission.rst File 460 B 0644
check-if-phone-number-is-opted-out.rst File 374 B 0644
confirm-subscription.rst File 781 B 0644
create-platform-application.rst File 478 B 0644
create-platform-endpoint.rst File 500 B 0644
create-topic.rst File 583 B 0644
delete-endpoint.rst File 332 B 0644
delete-platform-application.rst File 308 B 0644
delete-topic.rst File 231 B 0644
get-endpoint-attributes.rst File 465 B 0644
get-platform-application-attributes.rst File 454 B 0644
get-sms-attributes.rst File 280 B 0644
get-subscription-attributes.rst File 858 B 0644
get-topic-attributes.rst File 1.36 KB 0644
list-endpoints-by-platform-application.rst File 704 B 0644
list-phone-numbers-opted-out.rst File 281 B 0644
list-platform-applications.rst File 803 B 0644
list-subscriptions-by-topic.rst File 699 B 0644
list-subscriptions.rst File 589 B 0644
list-tags-for-resource.rst File 380 B 0644
list-topics.rst File 293 B 0644
opt-in-phone-number.rst File 253 B 0644
publish.rst File 856 B 0644
put-data-protection-policy.rst File 1.04 KB 0644
remove-permission.rst File 327 B 0644
set-endpoint-attributes.rst File 465 B 0644
set-platform-application-attributes.rst File 507 B 0644
set-sms-attributes.rst File 254 B 0644
set-subscription-attributes.rst File 1.2 KB 0644
set-topic-attributes.rst File 366 B 0644
subscribe.rst File 364 B 0644
tag-resource.rst File 292 B 0644
unsubscribe.rst File 293 B 0644
untag-resource.rst File 312 B 0644