404

[ Avaa Bypassed ]




Upload:

Command:

botdev@13.58.146.48: ~ $
**To retrieve the attributes of a topic**

The following ``get-topic-attributes`` example displays the attributes for the specified topic. ::

    aws sns get-topic-attributes \
        --topic-arn "arn:aws:sns:us-west-2:123456789012:my-topic"

Output::

    {
        "Attributes": {
            "SubscriptionsConfirmed": "1",
            "DisplayName": "my-topic",
            "SubscriptionsDeleted": "0",
            "EffectiveDeliveryPolicy": "{\"http\":{\"defaultHealthyRetryPolicy\":{\"minDelayTarget\":20,\"maxDelayTarget\":20,\"numRetries\":3,\"numMaxDelayRetries\":0,\"numNoDelayRetries\":0,\"numMinDelayRetries\":0,\"backoffFunction\":\"linear\"},\"disableSubscriptionOverrides\":false}}",
            "Owner": "123456789012",
            "Policy": "{\"Version\":\"2008-10-17\",\"Id\":\"__default_policy_ID\",\"Statement\":[{\"Sid\":\"__default_statement_ID\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Action\":[\"SNS:Subscribe\",\"SNS:ListSubscriptionsByTopic\",\"SNS:DeleteTopic\",\"SNS:GetTopicAttributes\",\"SNS:Publish\",\"SNS:RemovePermission\",\"SNS:AddPermission\",\"SNS:SetTopicAttributes\"],\"Resource\":\"arn:aws:sns:us-west-2:123456789012:my-topic\",\"Condition\":{\"StringEquals\":{\"AWS:SourceOwner\":\"0123456789012\"}}}]}",
            "TopicArn": "arn:aws:sns:us-west-2:123456789012:my-topic",
            "SubscriptionsPending": "0"
        }
    }

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