Commit Graph

15 Commits

Author SHA1 Message Date
gruebel
deaeef521b Add missing attributes to SNS subscription 2019-11-30 15:51:43 +01:00
gruebel
58daa428f3 Fix sns.subscribe validation for sms numbers 2019-11-04 22:57:53 +01:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Ivan Dromigny
123209515c Change test 2019-10-15 16:12:22 +02:00
Ivan Dromigny
02fc1fbcef Add a test 2019-10-14 18:03:01 +02:00
gruebel
d8a922811c Add exact Number, exact String.Array and attribute key matching to SNS subscription filter policy and validate filter policy 2019-08-25 21:08:02 +02:00
Michael Bell
51db19067c Allow attributes to be set with subscribe command (#1705) 2018-07-13 10:21:33 +01:00
Iain Bullard
d3d9557d49 Implement basic SNS message filtering (#1521)
* Add support for FilterPolicy to sns subscription set_filter_attributes

* Add basic support for sns message filtering

This adds support for exact string value matching along with AND/OR
logic as described here:

https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html

It does not provide support for:
- Anything-but string matching
- Prefix string matching
- Numeric Value Matching

The above filter policies (if configured) will not match messages.
2018-03-21 08:49:11 -07:00
Boris Gvozdev
633decc6c0 SNS: do not duplicate subscriptions 2018-01-02 11:30:39 +11:00
Terry Cain
56c65bc67c
Added in publish by phone number 2017-09-26 00:21:07 +01:00
Terry Cain
18cb0bce54
General tidy up 2017-09-21 21:16:00 +01:00
Toshiya Kawasaki
0c3708a8e7 Support SNS subscription attributes (#1087)
* remove code for local test

* Add SNS set_subscription_attributes and get_subscription_attributes
2017-09-07 11:19:34 -07:00
Peter Us
d76559ee7c SNS delete_topic should also delete subscriptions. 2017-07-31 13:37:29 +02:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Pior Bastida
2650eab295 Implement XML responses for SNS (for Boto3) 2015-08-20 14:57:17 -04:00