@aws-sdk/client-sqs 3.325.0 → 3.327.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +10 -7
  2. package/dist-cjs/commands/AddPermissionCommand.js +3 -3
  3. package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +3 -3
  4. package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +3 -3
  5. package/dist-cjs/commands/CreateQueueCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteMessageBatchCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteMessageCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteQueueCommand.js +3 -3
  9. package/dist-cjs/commands/GetQueueAttributesCommand.js +3 -3
  10. package/dist-cjs/commands/GetQueueUrlCommand.js +3 -3
  11. package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +3 -3
  12. package/dist-cjs/commands/ListQueueTagsCommand.js +3 -3
  13. package/dist-cjs/commands/ListQueuesCommand.js +3 -3
  14. package/dist-cjs/commands/PurgeQueueCommand.js +3 -3
  15. package/dist-cjs/commands/ReceiveMessageCommand.js +3 -3
  16. package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
  17. package/dist-cjs/commands/SendMessageBatchCommand.js +3 -3
  18. package/dist-cjs/commands/SendMessageCommand.js +3 -3
  19. package/dist-cjs/commands/SetQueueAttributesCommand.js +3 -3
  20. package/dist-cjs/commands/TagQueueCommand.js +3 -3
  21. package/dist-cjs/commands/UntagQueueCommand.js +3 -3
  22. package/dist-cjs/endpoint/ruleset.js +2 -2
  23. package/dist-cjs/models/models_0.js +206 -26
  24. package/dist-cjs/protocols/Aws_json1_0.js +1608 -0
  25. package/dist-es/commands/AddPermissionCommand.js +1 -1
  26. package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +1 -1
  27. package/dist-es/commands/ChangeMessageVisibilityCommand.js +1 -1
  28. package/dist-es/commands/CreateQueueCommand.js +1 -1
  29. package/dist-es/commands/DeleteMessageBatchCommand.js +1 -1
  30. package/dist-es/commands/DeleteMessageCommand.js +1 -1
  31. package/dist-es/commands/DeleteQueueCommand.js +1 -1
  32. package/dist-es/commands/GetQueueAttributesCommand.js +1 -1
  33. package/dist-es/commands/GetQueueUrlCommand.js +1 -1
  34. package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +1 -1
  35. package/dist-es/commands/ListQueueTagsCommand.js +1 -1
  36. package/dist-es/commands/ListQueuesCommand.js +1 -1
  37. package/dist-es/commands/PurgeQueueCommand.js +1 -1
  38. package/dist-es/commands/ReceiveMessageCommand.js +1 -1
  39. package/dist-es/commands/RemovePermissionCommand.js +1 -1
  40. package/dist-es/commands/SendMessageBatchCommand.js +1 -1
  41. package/dist-es/commands/SendMessageCommand.js +1 -1
  42. package/dist-es/commands/SetQueueAttributesCommand.js +1 -1
  43. package/dist-es/commands/TagQueueCommand.js +1 -1
  44. package/dist-es/commands/UntagQueueCommand.js +1 -1
  45. package/dist-es/endpoint/ruleset.js +2 -2
  46. package/dist-es/models/models_0.js +189 -20
  47. package/dist-es/protocols/Aws_json1_0.js +1565 -0
  48. package/dist-types/SQS.d.ts +24 -21
  49. package/dist-types/SQSClient.d.ts +24 -21
  50. package/dist-types/commands/AddPermissionCommand.d.ts +55 -26
  51. package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +52 -12
  52. package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +52 -15
  53. package/dist-types/commands/CreateQueueCommand.d.ts +64 -24
  54. package/dist-types/commands/DeleteMessageBatchCommand.d.ts +49 -10
  55. package/dist-types/commands/DeleteMessageCommand.d.ts +33 -1
  56. package/dist-types/commands/DeleteQueueCommand.d.ts +48 -8
  57. package/dist-types/commands/GetQueueAttributesCommand.d.ts +37 -1
  58. package/dist-types/commands/GetQueueUrlCommand.d.ts +41 -4
  59. package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +48 -11
  60. package/dist-types/commands/ListQueueTagsCommand.d.ts +44 -4
  61. package/dist-types/commands/ListQueuesCommand.d.ts +49 -10
  62. package/dist-types/commands/PurgeQueueCommand.d.ts +40 -7
  63. package/dist-types/commands/ReceiveMessageCommand.d.ts +118 -15
  64. package/dist-types/commands/RemovePermissionCommand.d.ts +41 -5
  65. package/dist-types/commands/SendMessageBatchCommand.d.ts +99 -16
  66. package/dist-types/commands/SendMessageCommand.d.ts +72 -3
  67. package/dist-types/commands/SetQueueAttributesCommand.d.ts +54 -6
  68. package/dist-types/commands/TagQueueCommand.d.ts +38 -4
  69. package/dist-types/commands/UntagQueueCommand.d.ts +38 -3
  70. package/dist-types/models/models_0.d.ts +1039 -493
  71. package/dist-types/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +40 -40
  72. package/dist-types/ts3.4/models/models_0.d.ts +119 -52
  73. package/package.json +8 -9
  74. package/dist-cjs/protocols/Aws_query.js +0 -2127
  75. package/dist-es/protocols/Aws_query.js +0 -2084
  76. /package/dist-types/ts3.4/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_query";
4
+ import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_json1_0";
5
5
  export class AddPermissionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_ChangeMessageVisibilityBatchCommand, se_ChangeMessageVisibilityBatchCommand } from "../protocols/Aws_query";
4
+ import { de_ChangeMessageVisibilityBatchCommand, se_ChangeMessageVisibilityBatchCommand, } from "../protocols/Aws_json1_0";
5
5
  export class ChangeMessageVisibilityBatchCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_ChangeMessageVisibilityCommand, se_ChangeMessageVisibilityCommand } from "../protocols/Aws_query";
4
+ import { de_ChangeMessageVisibilityCommand, se_ChangeMessageVisibilityCommand } from "../protocols/Aws_json1_0";
5
5
  export class ChangeMessageVisibilityCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_CreateQueueCommand, se_CreateQueueCommand } from "../protocols/Aws_query";
4
+ import { de_CreateQueueCommand, se_CreateQueueCommand } from "../protocols/Aws_json1_0";
5
5
  export class CreateQueueCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_DeleteMessageBatchCommand, se_DeleteMessageBatchCommand } from "../protocols/Aws_query";
4
+ import { de_DeleteMessageBatchCommand, se_DeleteMessageBatchCommand } from "../protocols/Aws_json1_0";
5
5
  export class DeleteMessageBatchCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_DeleteMessageCommand, se_DeleteMessageCommand } from "../protocols/Aws_query";
4
+ import { de_DeleteMessageCommand, se_DeleteMessageCommand } from "../protocols/Aws_json1_0";
5
5
  export class DeleteMessageCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_DeleteQueueCommand, se_DeleteQueueCommand } from "../protocols/Aws_query";
4
+ import { de_DeleteQueueCommand, se_DeleteQueueCommand } from "../protocols/Aws_json1_0";
5
5
  export class DeleteQueueCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_GetQueueAttributesCommand, se_GetQueueAttributesCommand } from "../protocols/Aws_query";
4
+ import { de_GetQueueAttributesCommand, se_GetQueueAttributesCommand } from "../protocols/Aws_json1_0";
5
5
  export class GetQueueAttributesCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_GetQueueUrlCommand, se_GetQueueUrlCommand } from "../protocols/Aws_query";
4
+ import { de_GetQueueUrlCommand, se_GetQueueUrlCommand } from "../protocols/Aws_json1_0";
5
5
  export class GetQueueUrlCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_ListDeadLetterSourceQueuesCommand, se_ListDeadLetterSourceQueuesCommand } from "../protocols/Aws_query";
4
+ import { de_ListDeadLetterSourceQueuesCommand, se_ListDeadLetterSourceQueuesCommand } from "../protocols/Aws_json1_0";
5
5
  export class ListDeadLetterSourceQueuesCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_ListQueueTagsCommand, se_ListQueueTagsCommand } from "../protocols/Aws_query";
4
+ import { de_ListQueueTagsCommand, se_ListQueueTagsCommand } from "../protocols/Aws_json1_0";
5
5
  export class ListQueueTagsCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_ListQueuesCommand, se_ListQueuesCommand } from "../protocols/Aws_query";
4
+ import { de_ListQueuesCommand, se_ListQueuesCommand } from "../protocols/Aws_json1_0";
5
5
  export class ListQueuesCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_PurgeQueueCommand, se_PurgeQueueCommand } from "../protocols/Aws_query";
4
+ import { de_PurgeQueueCommand, se_PurgeQueueCommand } from "../protocols/Aws_json1_0";
5
5
  export class PurgeQueueCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getReceiveMessagePlugin } from "@aws-sdk/middleware-sdk-sqs";
3
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
4
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
- import { de_ReceiveMessageCommand, se_ReceiveMessageCommand } from "../protocols/Aws_query";
5
+ import { de_ReceiveMessageCommand, se_ReceiveMessageCommand } from "../protocols/Aws_json1_0";
6
6
  export class ReceiveMessageCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_query";
4
+ import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_json1_0";
5
5
  export class RemovePermissionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSendMessageBatchPlugin } from "@aws-sdk/middleware-sdk-sqs";
3
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
4
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
- import { de_SendMessageBatchCommand, se_SendMessageBatchCommand } from "../protocols/Aws_query";
5
+ import { de_SendMessageBatchCommand, se_SendMessageBatchCommand } from "../protocols/Aws_json1_0";
6
6
  export class SendMessageBatchCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSendMessagePlugin } from "@aws-sdk/middleware-sdk-sqs";
3
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
4
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
- import { de_SendMessageCommand, se_SendMessageCommand } from "../protocols/Aws_query";
5
+ import { de_SendMessageCommand, se_SendMessageCommand } from "../protocols/Aws_json1_0";
6
6
  export class SendMessageCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_SetQueueAttributesCommand, se_SetQueueAttributesCommand } from "../protocols/Aws_query";
4
+ import { de_SetQueueAttributesCommand, se_SetQueueAttributesCommand } from "../protocols/Aws_json1_0";
5
5
  export class SetQueueAttributesCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_TagQueueCommand, se_TagQueueCommand } from "../protocols/Aws_query";
4
+ import { de_TagQueueCommand, se_TagQueueCommand } from "../protocols/Aws_json1_0";
5
5
  export class TagQueueCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { de_UntagQueueCommand, se_UntagQueueCommand } from "../protocols/Aws_query";
4
+ import { de_UntagQueueCommand, se_UntagQueueCommand } from "../protocols/Aws_json1_0";
5
5
  export class UntagQueueCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -1,4 +1,4 @@
1
1
  const s = "required", t = "fn", u = "argv", v = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "getAttr", f = { [s]: false, "type": "String" }, g = { [s]: true, "default": false, "type": "Boolean" }, h = { [v]: "Endpoint" }, i = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, k = {}, l = { [t]: "booleanEquals", [u]: [true, { [t]: e, [u]: [{ [v]: a }, "supportsFIPS"] }] }, m = { [v]: a }, n = { [t]: "booleanEquals", [u]: [true, { [t]: e, [u]: [m, "supportsDualStack"] }] }, o = { "url": "https://sqs.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, p = [h], q = [i], r = [j];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [t]: "isSet", [u]: p }, { [t]: "parseURL", [u]: p, assign: "url" }], type: b, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { conditions: [i, j], type: b, rules: [{ conditions: [l, n], type: b, rules: [{ endpoint: { url: "https://sqs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: e, [u]: [m, "name"] }] }], endpoint: o, type: d }, { endpoint: { url: "https://sqs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://sqs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: o, type: d }] }] };
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sqs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://sqs.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://sqs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sqs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://sqs.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -1,4 +1,28 @@
1
1
  import { SQSServiceException as __BaseException } from "./SQSServiceException";
2
+ export class InvalidAddress extends __BaseException {
3
+ constructor(opts) {
4
+ super({
5
+ name: "InvalidAddress",
6
+ $fault: "client",
7
+ ...opts,
8
+ });
9
+ this.name = "InvalidAddress";
10
+ this.$fault = "client";
11
+ Object.setPrototypeOf(this, InvalidAddress.prototype);
12
+ }
13
+ }
14
+ export class InvalidSecurity extends __BaseException {
15
+ constructor(opts) {
16
+ super({
17
+ name: "InvalidSecurity",
18
+ $fault: "client",
19
+ ...opts,
20
+ });
21
+ this.name = "InvalidSecurity";
22
+ this.$fault = "client";
23
+ Object.setPrototypeOf(this, InvalidSecurity.prototype);
24
+ }
25
+ }
2
26
  export class OverLimit extends __BaseException {
3
27
  constructor(opts) {
4
28
  super({
@@ -11,6 +35,42 @@ export class OverLimit extends __BaseException {
11
35
  Object.setPrototypeOf(this, OverLimit.prototype);
12
36
  }
13
37
  }
38
+ export class QueueDoesNotExist extends __BaseException {
39
+ constructor(opts) {
40
+ super({
41
+ name: "QueueDoesNotExist",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ this.name = "QueueDoesNotExist";
46
+ this.$fault = "client";
47
+ Object.setPrototypeOf(this, QueueDoesNotExist.prototype);
48
+ }
49
+ }
50
+ export class RequestThrottled extends __BaseException {
51
+ constructor(opts) {
52
+ super({
53
+ name: "RequestThrottled",
54
+ $fault: "client",
55
+ ...opts,
56
+ });
57
+ this.name = "RequestThrottled";
58
+ this.$fault = "client";
59
+ Object.setPrototypeOf(this, RequestThrottled.prototype);
60
+ }
61
+ }
62
+ export class UnsupportedOperation extends __BaseException {
63
+ constructor(opts) {
64
+ super({
65
+ name: "UnsupportedOperation",
66
+ $fault: "client",
67
+ ...opts,
68
+ });
69
+ this.name = "UnsupportedOperation";
70
+ this.$fault = "client";
71
+ Object.setPrototypeOf(this, UnsupportedOperation.prototype);
72
+ }
73
+ }
14
74
  export class MessageNotInflight extends __BaseException {
15
75
  constructor(opts) {
16
76
  super({
@@ -83,6 +143,54 @@ export class TooManyEntriesInBatchRequest extends __BaseException {
83
143
  Object.setPrototypeOf(this, TooManyEntriesInBatchRequest.prototype);
84
144
  }
85
145
  }
146
+ export const QueueAttributeName = {
147
+ All: "All",
148
+ ApproximateNumberOfMessages: "ApproximateNumberOfMessages",
149
+ ApproximateNumberOfMessagesDelayed: "ApproximateNumberOfMessagesDelayed",
150
+ ApproximateNumberOfMessagesNotVisible: "ApproximateNumberOfMessagesNotVisible",
151
+ ContentBasedDeduplication: "ContentBasedDeduplication",
152
+ CreatedTimestamp: "CreatedTimestamp",
153
+ DeduplicationScope: "DeduplicationScope",
154
+ DelaySeconds: "DelaySeconds",
155
+ FifoQueue: "FifoQueue",
156
+ FifoThroughputLimit: "FifoThroughputLimit",
157
+ KmsDataKeyReusePeriodSeconds: "KmsDataKeyReusePeriodSeconds",
158
+ KmsMasterKeyId: "KmsMasterKeyId",
159
+ LastModifiedTimestamp: "LastModifiedTimestamp",
160
+ MaximumMessageSize: "MaximumMessageSize",
161
+ MessageRetentionPeriod: "MessageRetentionPeriod",
162
+ Policy: "Policy",
163
+ QueueArn: "QueueArn",
164
+ ReceiveMessageWaitTimeSeconds: "ReceiveMessageWaitTimeSeconds",
165
+ RedriveAllowPolicy: "RedriveAllowPolicy",
166
+ RedrivePolicy: "RedrivePolicy",
167
+ SqsManagedSseEnabled: "SqsManagedSseEnabled",
168
+ VisibilityTimeout: "VisibilityTimeout",
169
+ };
170
+ export class InvalidAttributeName extends __BaseException {
171
+ constructor(opts) {
172
+ super({
173
+ name: "InvalidAttributeName",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ this.name = "InvalidAttributeName";
178
+ this.$fault = "client";
179
+ Object.setPrototypeOf(this, InvalidAttributeName.prototype);
180
+ }
181
+ }
182
+ export class InvalidAttributeValue extends __BaseException {
183
+ constructor(opts) {
184
+ super({
185
+ name: "InvalidAttributeValue",
186
+ $fault: "client",
187
+ ...opts,
188
+ });
189
+ this.name = "InvalidAttributeValue";
190
+ this.$fault = "client";
191
+ Object.setPrototypeOf(this, InvalidAttributeValue.prototype);
192
+ }
193
+ }
86
194
  export class QueueDeletedRecently extends __BaseException {
87
195
  constructor(opts) {
88
196
  super({
@@ -119,66 +227,127 @@ export class InvalidIdFormat extends __BaseException {
119
227
  Object.setPrototypeOf(this, InvalidIdFormat.prototype);
120
228
  }
121
229
  }
122
- export class InvalidAttributeName extends __BaseException {
230
+ export class PurgeQueueInProgress extends __BaseException {
123
231
  constructor(opts) {
124
232
  super({
125
- name: "InvalidAttributeName",
233
+ name: "PurgeQueueInProgress",
126
234
  $fault: "client",
127
235
  ...opts,
128
236
  });
129
- this.name = "InvalidAttributeName";
237
+ this.name = "PurgeQueueInProgress";
130
238
  this.$fault = "client";
131
- Object.setPrototypeOf(this, InvalidAttributeName.prototype);
239
+ Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
132
240
  }
133
241
  }
134
- export class QueueDoesNotExist extends __BaseException {
242
+ export class KmsAccessDenied extends __BaseException {
135
243
  constructor(opts) {
136
244
  super({
137
- name: "QueueDoesNotExist",
245
+ name: "KmsAccessDenied",
138
246
  $fault: "client",
139
247
  ...opts,
140
248
  });
141
- this.name = "QueueDoesNotExist";
249
+ this.name = "KmsAccessDenied";
142
250
  this.$fault = "client";
143
- Object.setPrototypeOf(this, QueueDoesNotExist.prototype);
251
+ Object.setPrototypeOf(this, KmsAccessDenied.prototype);
144
252
  }
145
253
  }
146
- export class PurgeQueueInProgress extends __BaseException {
254
+ export class KmsDisabled extends __BaseException {
147
255
  constructor(opts) {
148
256
  super({
149
- name: "PurgeQueueInProgress",
257
+ name: "KmsDisabled",
150
258
  $fault: "client",
151
259
  ...opts,
152
260
  });
153
- this.name = "PurgeQueueInProgress";
261
+ this.name = "KmsDisabled";
154
262
  this.$fault = "client";
155
- Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
263
+ Object.setPrototypeOf(this, KmsDisabled.prototype);
156
264
  }
157
265
  }
158
- export class InvalidMessageContents extends __BaseException {
266
+ export class KmsInvalidKeyUsage extends __BaseException {
159
267
  constructor(opts) {
160
268
  super({
161
- name: "InvalidMessageContents",
269
+ name: "KmsInvalidKeyUsage",
162
270
  $fault: "client",
163
271
  ...opts,
164
272
  });
165
- this.name = "InvalidMessageContents";
273
+ this.name = "KmsInvalidKeyUsage";
166
274
  this.$fault = "client";
167
- Object.setPrototypeOf(this, InvalidMessageContents.prototype);
275
+ Object.setPrototypeOf(this, KmsInvalidKeyUsage.prototype);
168
276
  }
169
277
  }
170
- export class UnsupportedOperation extends __BaseException {
278
+ export class KmsInvalidState extends __BaseException {
171
279
  constructor(opts) {
172
280
  super({
173
- name: "UnsupportedOperation",
281
+ name: "KmsInvalidState",
174
282
  $fault: "client",
175
283
  ...opts,
176
284
  });
177
- this.name = "UnsupportedOperation";
285
+ this.name = "KmsInvalidState";
178
286
  this.$fault = "client";
179
- Object.setPrototypeOf(this, UnsupportedOperation.prototype);
287
+ Object.setPrototypeOf(this, KmsInvalidState.prototype);
288
+ }
289
+ }
290
+ export class KmsNotFound extends __BaseException {
291
+ constructor(opts) {
292
+ super({
293
+ name: "KmsNotFound",
294
+ $fault: "client",
295
+ ...opts,
296
+ });
297
+ this.name = "KmsNotFound";
298
+ this.$fault = "client";
299
+ Object.setPrototypeOf(this, KmsNotFound.prototype);
300
+ }
301
+ }
302
+ export class KmsOptInRequired extends __BaseException {
303
+ constructor(opts) {
304
+ super({
305
+ name: "KmsOptInRequired",
306
+ $fault: "client",
307
+ ...opts,
308
+ });
309
+ this.name = "KmsOptInRequired";
310
+ this.$fault = "client";
311
+ Object.setPrototypeOf(this, KmsOptInRequired.prototype);
312
+ }
313
+ }
314
+ export class KmsThrottled extends __BaseException {
315
+ constructor(opts) {
316
+ super({
317
+ name: "KmsThrottled",
318
+ $fault: "client",
319
+ ...opts,
320
+ });
321
+ this.name = "KmsThrottled";
322
+ this.$fault = "client";
323
+ Object.setPrototypeOf(this, KmsThrottled.prototype);
324
+ }
325
+ }
326
+ export const MessageSystemAttributeName = {
327
+ AWSTraceHeader: "AWSTraceHeader",
328
+ ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp",
329
+ ApproximateReceiveCount: "ApproximateReceiveCount",
330
+ MessageDeduplicationId: "MessageDeduplicationId",
331
+ MessageGroupId: "MessageGroupId",
332
+ SenderId: "SenderId",
333
+ SentTimestamp: "SentTimestamp",
334
+ SequenceNumber: "SequenceNumber",
335
+ };
336
+ export class InvalidMessageContents extends __BaseException {
337
+ constructor(opts) {
338
+ super({
339
+ name: "InvalidMessageContents",
340
+ $fault: "client",
341
+ ...opts,
342
+ });
343
+ this.name = "InvalidMessageContents";
344
+ this.$fault = "client";
345
+ Object.setPrototypeOf(this, InvalidMessageContents.prototype);
180
346
  }
181
347
  }
348
+ export const MessageSystemAttributeNameForSends = {
349
+ AWSTraceHeader: "AWSTraceHeader",
350
+ };
182
351
  export class BatchRequestTooLong extends __BaseException {
183
352
  constructor(opts) {
184
353
  super({