aws sns
Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. AWS CLI reference
42 commands Its page in the AWS CLI reference
Commands
add-permissionAdds a statement to a topic's access control policy, granting access for the specified Amazon Web Services accounts to the specified actions.check-if-phone-number-is-opted-outAccepts a phone number and indicates whether the phone holder has opted out of receiving SMS messages from your Amazon Web Services account.confirm-subscriptionVerifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action.create-platform-applicationCreates a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging), to which devices and mobile apps may register.create-platform-endpointCreates an endpoint for a device and mobile app on one of the supported push notification services, such as GCM (Firebase Cloud Messaging) and APNS.create-sms-sandbox-phone-numberAdds a destination phone number to an Amazon Web Services account in the SMS sandbox and sends a one-time password (OTP) to that phone number.create-topicCreates a topic to which notifications can be published.delete-endpointDeletes the endpoint for a device and mobile app from Amazon SNS.delete-platform-applicationDeletes a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging).delete-sms-sandbox-phone-numberDeletes an Amazon Web Services account's verified or pending phone number from the SMS sandbox.delete-topicDeletes a topic and all its subscriptions.get-data-protection-policyAmazon SNS message data protection is no longer available to new customers.get-endpoint-attributesRetrieves the endpoint attributes for a device on one of the supported push notification services, such as GCM (Firebase Cloud Messaging) and APNS.get-platform-application-attributesRetrieves the attributes of the platform application object for the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging).get-sms-attributesReturns the settings for sending SMS messages from your Amazon Web Services account.get-sms-sandbox-account-statusRetrieves the SMS sandbox status for the calling Amazon Web Services account in the target Amazon Web Services Region.get-subscription-attributesReturns all of the properties of a subscription.get-topic-attributesReturns all of the properties of a topic.list-endpoints-by-platform-applicationLists the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM (Firebase Cloud Messaging) and APNS.list-origination-numbersLists the calling Amazon Web Services account's dedicated origination numbers and their metadata.list-phone-numbers-opted-outReturns a list of phone numbers that are opted out, meaning you cannot send SMS messages to them.list-platform-applicationsLists the platform application objects for the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging).list-sms-sandbox-phone-numbersLists the calling Amazon Web Services account's current verified and pending destination phone numbers in the SMS sandbox.list-subscriptionsReturns a list of the requester's subscriptions.list-subscriptions-by-topicReturns a list of the subscriptions to a specific topic.list-tags-for-resourceList all tags added to the specified Amazon SNS topic.list-topicsReturns a list of the requester's topics.opt-in-phone-numberUse this request to opt in a phone number that is opted out, which enables you to resume sending SMS messages to the number.publishSends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn).publish-batchPublishes up to 10 messages to the specified topic in a single batch.put-data-protection-policyAmazon SNS message data protection is no longer available to new customers.remove-permissionRemoves a statement from a topic's access control policy.set-endpoint-attributesSets the attributes for an endpoint for a device on one of the supported push notification services, such as GCM (Firebase Cloud Messaging) and APNS.set-platform-application-attributesSets the attributes of the platform application object for the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging).set-sms-attributesUse this request to set the default settings for sending SMS messages and receiving daily SMS usage reports.set-subscription-attributesAllows a subscription owner to set an attribute of the subscription to a new value.set-topic-attributesAllows a topic owner to set an attribute of the topic to a new value.subscribeSubscribes an endpoint to an Amazon SNS topic.tag-resourceAdd tags to the specified Amazon SNS topic.unsubscribeDeletes a subscription.untag-resourceRemove tags from the specified Amazon SNS topic.verify-sms-sandbox-phone-numberVerifies a destination phone number with a one-time password (OTP) for the calling Amazon Web Services account.