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:
parent
1db42fb865
commit
6adee0cbaf
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user