Bugfix: RedrivePolicy Issue SNS (#3186)

* Bugfix: S3 time precision issue fixed

* Bugfix: S3 time precision issue fixed

* s3 timeformat fix

* Quickfix S3 timefix

* Bugfix: Redrive Policy Allow

* Linting Fixed
This commit is contained in:
Macwan Nevil 2020-07-27 23:23:15 +05:30 committed by GitHub
parent 1db42fb865
commit 6adee0cbaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -580,7 +580,12 @@ class SNSBackend(BaseBackend):
return subscription.attributes return subscription.attributes
def set_subscription_attributes(self, arn, name, value): def set_subscription_attributes(self, arn, name, value):
if name not in ["RawMessageDelivery", "DeliveryPolicy", "FilterPolicy"]: if name not in [
"RawMessageDelivery",
"DeliveryPolicy",
"FilterPolicy",
"RedrivePolicy",
]:
raise SNSInvalidParameter("AttributeName") raise SNSInvalidParameter("AttributeName")
# TODO: should do validation # TODO: should do validation