From e0eccf56f961d7b49a6f777408ee36bb292e8b76 Mon Sep 17 00:00:00 2001 From: "adam.gloyne" Date: Thu, 26 Oct 2023 14:52:51 +0100 Subject: [PATCH] Use enums --- sqs/json_schemas/channel.json | 2 ++ sqs/json_schemas/operation.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sqs/json_schemas/channel.json b/sqs/json_schemas/channel.json index fd8d4460..c5856e77 100644 --- a/sqs/json_schemas/channel.json +++ b/sqs/json_schemas/channel.json @@ -49,11 +49,13 @@ }, "deduplicationScope": { "type": "string", + "enum": ["queue", "messageGroup"], "description": "Specifies whether message deduplication occurs at the message group or queue level. Valid values are messageGroup and queue (default).", "default": "queue" }, "fifoThroughputLimit": { "type": "string", + "enum": ["perQueue", "perMessageGroupId"], "description": "Specifies whether the FIFO queue throughput quota applies to the entire queue or per message group. Valid values are perQueue (default) and perMessageGroupId.", "default": "perQueue" }, diff --git a/sqs/json_schemas/operation.json b/sqs/json_schemas/operation.json index 0320c7de..48a14a14 100644 --- a/sqs/json_schemas/operation.json +++ b/sqs/json_schemas/operation.json @@ -52,11 +52,13 @@ }, "deduplicationScope": { "type": "string", + "enum": ["queue", "messageGroup"], "description": "Specifies whether message deduplication occurs at the message group or queue level. Valid values are messageGroup and queue (default).", "default": "queue" }, "fifoThroughputLimit": { "type": "string", + "enum": ["perQueue", "perMessageGroupId"], "description": "Specifies whether the FIFO queue throughput quota applies to the entire queue or per message group. Valid values are perQueue (default) and perMessageGroupId.", "default": "perQueue" },