From e6632d3c8519ce4ffd10a8fd9ceca46c1a3d897a Mon Sep 17 00:00:00 2001 From: Gadam8 <44494964+Gadam8@users.noreply.github.com> Date: Wed, 20 Sep 2023 10:03:37 +0100 Subject: [PATCH] Match AWS API casing and fix example --- sns/json_schemas/operation.json | 35 ++++++++++++++++----------------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/sns/json_schemas/operation.json b/sns/json_schemas/operation.json index e928786d..25eb5935 100644 --- a/sns/json_schemas/operation.json +++ b/sns/json_schemas/operation.json @@ -123,10 +123,10 @@ "type": "string", "description": "Determines whether the FilterPolicy applies to MessageAttributes or MessageBody.", "enum": [ - "messageAttributes", - "messageBody" + "MessageAttributes", + "MessageBody" ], - "default": "messageAttributes" + "default": "MessageAttributes" }, "rawMessageDelivery": { "type": "boolean", @@ -234,22 +234,21 @@ "name": "someQueue" }, "filterPolicy": { - "attributes": { - "store": [ - "asyncapi_corp" - ], - "event": [ - { - "anything-but": "order_cancelled" - } - ], - "customer_interests": [ - "rugby", - "football", - "baseball" - ] - } + "store": [ + "asyncapi_corp" + ], + "event": [ + { + "anything-but": "order_cancelled" + } + ], + "customer_interests": [ + "rugby", + "football", + "baseball" + ] }, + "filterPolicyScope": "MessageAttributes", "rawMessageDelivery": false, "redrivePolicy": { "deadLetterQueue": {