Bert Blommers
29d01c35bc
Update Black + formatting ( #4926 )
2022-03-10 13:39:59 -01:00
Bert Blommers
c53dc4c21c
SNS Improvements ( #4881 )
2022-02-21 21:01:38 -01:00
Ranjithkumar Krishnan
4d4e82a7f7
Fix : SNS get attributes on FIFO topic ( #4444 )
2021-10-20 12:11:40 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules ( #4432 )
2021-10-18 19:44:29 +00:00
Bert Blommers
7693d77333
Remove Py2 support ( #3915 )
2021-07-26 07:40:39 +01:00
usmangani1
651998853b
Fix:SNS Create FIFO Topic ( #3533 )
...
* Fix:SNS Create FIFO Topic
* Added more tests
* change regular expression and added tests
* Handling NPE
Co-authored-by: usmanokc <usman@okcredit.in>
2021-01-26 15:04:52 +00:00
Bert Blommers
273ca63d59
Linting
2020-11-11 15:55:37 +00:00
Matěj Cepl
5697ff87a8
Back to Black
2020-11-10 14:12:38 +01:00
Brian Pandola
28c1690fc2
Add Support for SNS Topic KmsMasterKeyId
Attribute ( #3389 )
...
We do not do any validation of the `KmsMasterKeyId` attribute, and simply
store it as-as. This mimics the behavior in AWS, where the key is not
validated until it is actually used (when publishing[1]).
[1]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
Closes #3216
2020-10-16 12:30:07 +01:00
Daniel Okey-Okoro
c321ad46b0
fix: deleting non-existent topic shouldn't raise KeyError ( #3285 )
2020-09-10 08:32:41 +01:00
Fabio Dias
743dd46399
black linting
2019-12-16 21:25:20 -05:00
Fabio Dias
fd9ac4b9a5
ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override
2019-12-16 21:05:29 -05:00
Fabio Dias
b83a750630
Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id
2019-12-16 19:56:11 -05:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
gruebel
6b7294a018
Fix sns.add_permission & remove_permission
2019-10-25 17:57:50 +02:00
gruebel
26ef792690
Add sns.untag_resource
2019-10-12 21:10:51 +02:00
gruebel
726775678c
Add sns.tag_resource
2019-10-12 20:37:59 +02:00
gruebel
8d527743d5
Add sns.list_tags_for_resource
2019-10-11 17:58:48 +02:00
Berislav Kovacki
7e863b0260
Add attributes parameter support for sns create_topic API
2019-02-21 22:08:46 +01:00
Ben Jolitz
45b529fef4
parameterize topic name create/delete
2018-05-04 19:17:56 -07:00
Adam Gilman
2ad0f2fc1c
SNS create_topic should only accept valid characters ( #1329 )
...
* SNS create_topic should only accept valid characters
Closes #1328
* Fix flake8 errors
* Updated regex to match full TopicName constraints
Fixed test_server as it contained invalid TopicNames’ per constraints
* fix error message for invalid topic name
2017-11-13 18:27:11 +00:00
Adam Gilman
307ef8ead1
Makes Creating SNS topics idempotent ( #1324 )
...
Make creating SNS topics idempotent
Closes #1323
2017-11-06 19:06:55 +00:00
Terry Cain
18cb0bce54
General tidy up
2017-09-21 21:16:00 +01:00
Steve Pulec
1287d53817
Fix tests for py26 and py3.
2017-02-27 20:53:57 -05:00
Steve Pulec
a22caf27ab
Cleanup sns default topic.
2017-02-27 10:20:53 -05: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