SNS#
Client#
- class SNS.Client#
A low-level client representing Amazon Simple Notification Service (SNS)
Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. Applications can use Amazon SNS to easily push real-time notification messages to interested subscribers over multiple delivery protocols. For more information about this product see the Amazon SNS product page. For detailed information about Amazon SNS features and their associated API calls, see the Amazon SNS Developer Guide.
For information on the permissions you need to use this API, see Identity and access management in Amazon SNS in the Amazon SNS Developer Guide.
We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, retrying requests, and handling error responses. For a list of available SDKs, go to Tools for Amazon Web Services.
import boto3 client = boto3.client('sns')
These are the available methods:
- add_permission
- can_paginate
- check_if_phone_number_is_opted_out
- close
- confirm_subscription
- create_platform_application
- create_platform_endpoint
- create_sms_sandbox_phone_number
- create_topic
- delete_endpoint
- delete_platform_application
- delete_sms_sandbox_phone_number
- delete_topic
- get_data_protection_policy
- get_endpoint_attributes
- get_paginator
- get_platform_application_attributes
- get_sms_attributes
- get_sms_sandbox_account_status
- get_subscription_attributes
- get_topic_attributes
- get_waiter
- list_endpoints_by_platform_application
- list_origination_numbers
- list_phone_numbers_opted_out
- list_platform_applications
- list_sms_sandbox_phone_numbers
- list_subscriptions
- list_subscriptions_by_topic
- list_tags_for_resource
- list_topics
- opt_in_phone_number
- publish
- publish_batch
- put_data_protection_policy
- remove_permission
- set_endpoint_attributes
- set_platform_application_attributes
- set_sms_attributes
- set_subscription_attributes
- set_topic_attributes
- subscribe
- tag_resource
- unsubscribe
- untag_resource
- verify_sms_sandbox_phone_number
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are:
Resources#
Resources are available in boto3 via the resource
method. For more detailed instructions and examples on the usage of resources, see the resources user guide.
The available resources are: