75 lines
1.6 KiB
ReStructuredText
75 lines
1.6 KiB
ReStructuredText
.. _implementedservice_sns:
|
|
|
|
.. |start-h3| raw:: html
|
|
|
|
<h3>
|
|
|
|
.. |end-h3| raw:: html
|
|
|
|
</h3>
|
|
|
|
===
|
|
sns
|
|
===
|
|
|
|
.. autoclass:: moto.sns.models.SNSBackend
|
|
|
|
|start-h3| Example usage |end-h3|
|
|
|
|
.. sourcecode:: python
|
|
|
|
@mock_sns
|
|
def test_sns_behaviour:
|
|
boto3.client("sns")
|
|
...
|
|
|
|
|
|
|
|
|start-h3| Implemented features for this service |end-h3|
|
|
|
|
- [X] add_permission
|
|
- [ ] check_if_phone_number_is_opted_out
|
|
- [ ] confirm_subscription
|
|
- [X] create_platform_application
|
|
- [X] create_platform_endpoint
|
|
- [ ] create_sms_sandbox_phone_number
|
|
- [X] create_topic
|
|
- [X] delete_endpoint
|
|
- [X] delete_platform_application
|
|
- [ ] delete_sms_sandbox_phone_number
|
|
- [X] delete_topic
|
|
- [ ] get_endpoint_attributes
|
|
- [ ] get_platform_application_attributes
|
|
- [ ] get_sms_attributes
|
|
- [ ] get_sms_sandbox_account_status
|
|
- [X] get_subscription_attributes
|
|
- [ ] get_topic_attributes
|
|
- [X] list_endpoints_by_platform_application
|
|
- [ ] list_origination_numbers
|
|
- [ ] list_phone_numbers_opted_out
|
|
- [X] list_platform_applications
|
|
- [ ] list_sms_sandbox_phone_numbers
|
|
- [X] list_subscriptions
|
|
- [ ] list_subscriptions_by_topic
|
|
- [X] list_tags_for_resource
|
|
- [X] list_topics
|
|
- [ ] opt_in_phone_number
|
|
- [X] publish
|
|
- [X] publish_batch
|
|
|
|
The MessageStructure and MessageDeduplicationId-parameters have not yet been implemented.
|
|
|
|
|
|
- [X] remove_permission
|
|
- [X] set_endpoint_attributes
|
|
- [ ] set_platform_application_attributes
|
|
- [ ] set_sms_attributes
|
|
- [X] set_subscription_attributes
|
|
- [ ] set_topic_attributes
|
|
- [X] subscribe
|
|
- [X] tag_resource
|
|
- [X] unsubscribe
|
|
- [X] untag_resource
|
|
- [ ] verify_sms_sandbox_phone_number
|
|
|