@aws-sdk/client-sqs 3.445.0 → 3.446.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 (84) hide show
  1. package/README.md +8 -7
  2. package/dist-cjs/commands/AddPermissionCommand.js +3 -3
  3. package/dist-cjs/commands/CancelMessageMoveTaskCommand.js +3 -3
  4. package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +3 -3
  5. package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +3 -3
  6. package/dist-cjs/commands/CreateQueueCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteMessageBatchCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteMessageCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteQueueCommand.js +3 -3
  10. package/dist-cjs/commands/GetQueueAttributesCommand.js +3 -3
  11. package/dist-cjs/commands/GetQueueUrlCommand.js +3 -3
  12. package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +3 -3
  13. package/dist-cjs/commands/ListMessageMoveTasksCommand.js +3 -3
  14. package/dist-cjs/commands/ListQueueTagsCommand.js +3 -3
  15. package/dist-cjs/commands/ListQueuesCommand.js +3 -3
  16. package/dist-cjs/commands/PurgeQueueCommand.js +3 -3
  17. package/dist-cjs/commands/ReceiveMessageCommand.js +3 -3
  18. package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
  19. package/dist-cjs/commands/SendMessageBatchCommand.js +3 -3
  20. package/dist-cjs/commands/SendMessageCommand.js +3 -3
  21. package/dist-cjs/commands/SetQueueAttributesCommand.js +3 -3
  22. package/dist-cjs/commands/StartMessageMoveTaskCommand.js +3 -3
  23. package/dist-cjs/commands/TagQueueCommand.js +3 -3
  24. package/dist-cjs/commands/UntagQueueCommand.js +3 -3
  25. package/dist-cjs/models/models_0.js +171 -21
  26. package/dist-cjs/protocols/Aws_json1_0.js +2025 -0
  27. package/dist-es/commands/AddPermissionCommand.js +1 -1
  28. package/dist-es/commands/CancelMessageMoveTaskCommand.js +1 -1
  29. package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +1 -1
  30. package/dist-es/commands/ChangeMessageVisibilityCommand.js +1 -1
  31. package/dist-es/commands/CreateQueueCommand.js +1 -1
  32. package/dist-es/commands/DeleteMessageBatchCommand.js +1 -1
  33. package/dist-es/commands/DeleteMessageCommand.js +1 -1
  34. package/dist-es/commands/DeleteQueueCommand.js +1 -1
  35. package/dist-es/commands/GetQueueAttributesCommand.js +1 -1
  36. package/dist-es/commands/GetQueueUrlCommand.js +1 -1
  37. package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +1 -1
  38. package/dist-es/commands/ListMessageMoveTasksCommand.js +1 -1
  39. package/dist-es/commands/ListQueueTagsCommand.js +1 -1
  40. package/dist-es/commands/ListQueuesCommand.js +1 -1
  41. package/dist-es/commands/PurgeQueueCommand.js +1 -1
  42. package/dist-es/commands/ReceiveMessageCommand.js +1 -1
  43. package/dist-es/commands/RemovePermissionCommand.js +1 -1
  44. package/dist-es/commands/SendMessageBatchCommand.js +1 -1
  45. package/dist-es/commands/SendMessageCommand.js +1 -1
  46. package/dist-es/commands/SetQueueAttributesCommand.js +1 -1
  47. package/dist-es/commands/StartMessageMoveTaskCommand.js +1 -1
  48. package/dist-es/commands/TagQueueCommand.js +1 -1
  49. package/dist-es/commands/UntagQueueCommand.js +1 -1
  50. package/dist-es/models/models_0.js +155 -16
  51. package/dist-es/protocols/Aws_json1_0.js +1976 -0
  52. package/dist-types/SQS.d.ts +8 -7
  53. package/dist-types/SQSClient.d.ts +8 -7
  54. package/dist-types/commands/AddPermissionCommand.d.ts +46 -11
  55. package/dist-types/commands/CancelMessageMoveTaskCommand.d.ts +25 -0
  56. package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +34 -1
  57. package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +48 -8
  58. package/dist-types/commands/CreateQueueCommand.d.ts +45 -10
  59. package/dist-types/commands/DeleteMessageBatchCommand.d.ts +34 -1
  60. package/dist-types/commands/DeleteMessageCommand.d.ts +37 -6
  61. package/dist-types/commands/DeleteQueueCommand.d.ts +34 -3
  62. package/dist-types/commands/GetQueueAttributesCommand.d.ts +33 -1
  63. package/dist-types/commands/GetQueueUrlCommand.d.ts +30 -2
  64. package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +28 -0
  65. package/dist-types/commands/ListMessageMoveTasksCommand.d.ts +26 -1
  66. package/dist-types/commands/ListQueueTagsCommand.d.ts +38 -6
  67. package/dist-types/commands/ListQueuesCommand.d.ts +32 -4
  68. package/dist-types/commands/PurgeQueueCommand.d.ts +28 -0
  69. package/dist-types/commands/ReceiveMessageCommand.d.ts +73 -6
  70. package/dist-types/commands/RemovePermissionCommand.d.ts +37 -4
  71. package/dist-types/commands/SendMessageBatchCommand.d.ts +78 -9
  72. package/dist-types/commands/SendMessageCommand.d.ts +70 -3
  73. package/dist-types/commands/SetQueueAttributesCommand.d.ts +53 -9
  74. package/dist-types/commands/StartMessageMoveTaskCommand.d.ts +25 -0
  75. package/dist-types/commands/TagQueueCommand.d.ts +44 -10
  76. package/dist-types/commands/UntagQueueCommand.d.ts +38 -5
  77. package/dist-types/index.d.ts +8 -7
  78. package/dist-types/models/models_0.d.ts +633 -374
  79. package/dist-types/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +46 -46
  80. package/dist-types/ts3.4/models/models_0.d.ts +87 -22
  81. package/package.json +1 -2
  82. package/dist-cjs/protocols/Aws_query.js +0 -2367
  83. package/dist-es/protocols/Aws_query.js +0 -2318
  84. /package/dist-types/ts3.4/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +0 -0
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_query";
5
+ import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class AddPermissionCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_CancelMessageMoveTaskCommand, se_CancelMessageMoveTaskCommand } from "../protocols/Aws_query";
5
+ import { de_CancelMessageMoveTaskCommand, se_CancelMessageMoveTaskCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class CancelMessageMoveTaskCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_ChangeMessageVisibilityBatchCommand, se_ChangeMessageVisibilityBatchCommand } from "../protocols/Aws_query";
5
+ import { de_ChangeMessageVisibilityBatchCommand, se_ChangeMessageVisibilityBatchCommand, } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class ChangeMessageVisibilityBatchCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_ChangeMessageVisibilityCommand, se_ChangeMessageVisibilityCommand } from "../protocols/Aws_query";
5
+ import { de_ChangeMessageVisibilityCommand, se_ChangeMessageVisibilityCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class ChangeMessageVisibilityCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_CreateQueueCommand, se_CreateQueueCommand } from "../protocols/Aws_query";
5
+ import { de_CreateQueueCommand, se_CreateQueueCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class CreateQueueCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_DeleteMessageBatchCommand, se_DeleteMessageBatchCommand } from "../protocols/Aws_query";
5
+ import { de_DeleteMessageBatchCommand, se_DeleteMessageBatchCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class DeleteMessageBatchCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_DeleteMessageCommand, se_DeleteMessageCommand } from "../protocols/Aws_query";
5
+ import { de_DeleteMessageCommand, se_DeleteMessageCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class DeleteMessageCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_DeleteQueueCommand, se_DeleteQueueCommand } from "../protocols/Aws_query";
5
+ import { de_DeleteQueueCommand, se_DeleteQueueCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class DeleteQueueCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_GetQueueAttributesCommand, se_GetQueueAttributesCommand } from "../protocols/Aws_query";
5
+ import { de_GetQueueAttributesCommand, se_GetQueueAttributesCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class GetQueueAttributesCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_GetQueueUrlCommand, se_GetQueueUrlCommand } from "../protocols/Aws_query";
5
+ import { de_GetQueueUrlCommand, se_GetQueueUrlCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class GetQueueUrlCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_ListDeadLetterSourceQueuesCommand, se_ListDeadLetterSourceQueuesCommand } from "../protocols/Aws_query";
5
+ import { de_ListDeadLetterSourceQueuesCommand, se_ListDeadLetterSourceQueuesCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class ListDeadLetterSourceQueuesCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_ListMessageMoveTasksCommand, se_ListMessageMoveTasksCommand } from "../protocols/Aws_query";
5
+ import { de_ListMessageMoveTasksCommand, se_ListMessageMoveTasksCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class ListMessageMoveTasksCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_ListQueueTagsCommand, se_ListQueueTagsCommand } from "../protocols/Aws_query";
5
+ import { de_ListQueueTagsCommand, se_ListQueueTagsCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class ListQueueTagsCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_ListQueuesCommand, se_ListQueuesCommand } from "../protocols/Aws_query";
5
+ import { de_ListQueuesCommand, se_ListQueuesCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class ListQueuesCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_PurgeQueueCommand, se_PurgeQueueCommand } from "../protocols/Aws_query";
5
+ import { de_PurgeQueueCommand, se_PurgeQueueCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class PurgeQueueCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -3,7 +3,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
5
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
- import { de_ReceiveMessageCommand, se_ReceiveMessageCommand } from "../protocols/Aws_query";
6
+ import { de_ReceiveMessageCommand, se_ReceiveMessageCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
8
  export class ReceiveMessageCommand extends $Command {
9
9
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_query";
5
+ import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class RemovePermissionCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -3,7 +3,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
5
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
- import { de_SendMessageBatchCommand, se_SendMessageBatchCommand } from "../protocols/Aws_query";
6
+ import { de_SendMessageBatchCommand, se_SendMessageBatchCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
8
  export class SendMessageBatchCommand extends $Command {
9
9
  static getEndpointParameterInstructions() {
@@ -3,7 +3,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
5
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
- import { de_SendMessageCommand, se_SendMessageCommand } from "../protocols/Aws_query";
6
+ import { de_SendMessageCommand, se_SendMessageCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
8
  export class SendMessageCommand extends $Command {
9
9
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_SetQueueAttributesCommand, se_SetQueueAttributesCommand } from "../protocols/Aws_query";
5
+ import { de_SetQueueAttributesCommand, se_SetQueueAttributesCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class SetQueueAttributesCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_StartMessageMoveTaskCommand, se_StartMessageMoveTaskCommand } from "../protocols/Aws_query";
5
+ import { de_StartMessageMoveTaskCommand, se_StartMessageMoveTaskCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class StartMessageMoveTaskCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_TagQueueCommand, se_TagQueueCommand } from "../protocols/Aws_query";
5
+ import { de_TagQueueCommand, se_TagQueueCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class TagQueueCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
- import { de_UntagQueueCommand, se_UntagQueueCommand } from "../protocols/Aws_query";
5
+ import { de_UntagQueueCommand, se_UntagQueueCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class UntagQueueCommand extends $Command {
8
8
  static getEndpointParameterInstructions() {
@@ -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,16 +35,28 @@ export class OverLimit extends __BaseException {
11
35
  Object.setPrototypeOf(this, OverLimit.prototype);
12
36
  }
13
37
  }
14
- export class ResourceNotFoundException extends __BaseException {
38
+ export class QueueDoesNotExist extends __BaseException {
15
39
  constructor(opts) {
16
40
  super({
17
- name: "ResourceNotFoundException",
41
+ name: "QueueDoesNotExist",
18
42
  $fault: "client",
19
43
  ...opts,
20
44
  });
21
- this.name = "ResourceNotFoundException";
45
+ this.name = "QueueDoesNotExist";
22
46
  this.$fault = "client";
23
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
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);
24
60
  }
25
61
  }
26
62
  export class UnsupportedOperation extends __BaseException {
@@ -35,6 +71,18 @@ export class UnsupportedOperation extends __BaseException {
35
71
  Object.setPrototypeOf(this, UnsupportedOperation.prototype);
36
72
  }
37
73
  }
74
+ export class ResourceNotFoundException extends __BaseException {
75
+ constructor(opts) {
76
+ super({
77
+ name: "ResourceNotFoundException",
78
+ $fault: "client",
79
+ ...opts,
80
+ });
81
+ this.name = "ResourceNotFoundException";
82
+ this.$fault = "client";
83
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
84
+ }
85
+ }
38
86
  export class MessageNotInflight extends __BaseException {
39
87
  constructor(opts) {
40
88
  super({
@@ -131,6 +179,30 @@ export const QueueAttributeName = {
131
179
  SqsManagedSseEnabled: "SqsManagedSseEnabled",
132
180
  VisibilityTimeout: "VisibilityTimeout",
133
181
  };
182
+ export class InvalidAttributeName extends __BaseException {
183
+ constructor(opts) {
184
+ super({
185
+ name: "InvalidAttributeName",
186
+ $fault: "client",
187
+ ...opts,
188
+ });
189
+ this.name = "InvalidAttributeName";
190
+ this.$fault = "client";
191
+ Object.setPrototypeOf(this, InvalidAttributeName.prototype);
192
+ }
193
+ }
194
+ export class InvalidAttributeValue extends __BaseException {
195
+ constructor(opts) {
196
+ super({
197
+ name: "InvalidAttributeValue",
198
+ $fault: "client",
199
+ ...opts,
200
+ });
201
+ this.name = "InvalidAttributeValue";
202
+ this.$fault = "client";
203
+ Object.setPrototypeOf(this, InvalidAttributeValue.prototype);
204
+ }
205
+ }
134
206
  export class QueueDeletedRecently extends __BaseException {
135
207
  constructor(opts) {
136
208
  super({
@@ -167,40 +239,107 @@ export class InvalidIdFormat extends __BaseException {
167
239
  Object.setPrototypeOf(this, InvalidIdFormat.prototype);
168
240
  }
169
241
  }
170
- export class InvalidAttributeName extends __BaseException {
242
+ export const TaskStatus = {
243
+ CANCELLED: "CANCELLED",
244
+ CANCELLING: "CANCELLING",
245
+ COMPLETED: "COMPLETED",
246
+ FAILED: "FAILED",
247
+ RUNNING: "RUNNING",
248
+ };
249
+ export class PurgeQueueInProgress extends __BaseException {
171
250
  constructor(opts) {
172
251
  super({
173
- name: "InvalidAttributeName",
252
+ name: "PurgeQueueInProgress",
174
253
  $fault: "client",
175
254
  ...opts,
176
255
  });
177
- this.name = "InvalidAttributeName";
256
+ this.name = "PurgeQueueInProgress";
178
257
  this.$fault = "client";
179
- Object.setPrototypeOf(this, InvalidAttributeName.prototype);
258
+ Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
180
259
  }
181
260
  }
182
- export class QueueDoesNotExist extends __BaseException {
261
+ export class KmsAccessDenied extends __BaseException {
183
262
  constructor(opts) {
184
263
  super({
185
- name: "QueueDoesNotExist",
264
+ name: "KmsAccessDenied",
186
265
  $fault: "client",
187
266
  ...opts,
188
267
  });
189
- this.name = "QueueDoesNotExist";
268
+ this.name = "KmsAccessDenied";
190
269
  this.$fault = "client";
191
- Object.setPrototypeOf(this, QueueDoesNotExist.prototype);
270
+ Object.setPrototypeOf(this, KmsAccessDenied.prototype);
192
271
  }
193
272
  }
194
- export class PurgeQueueInProgress extends __BaseException {
273
+ export class KmsDisabled extends __BaseException {
195
274
  constructor(opts) {
196
275
  super({
197
- name: "PurgeQueueInProgress",
276
+ name: "KmsDisabled",
198
277
  $fault: "client",
199
278
  ...opts,
200
279
  });
201
- this.name = "PurgeQueueInProgress";
280
+ this.name = "KmsDisabled";
202
281
  this.$fault = "client";
203
- Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
282
+ Object.setPrototypeOf(this, KmsDisabled.prototype);
283
+ }
284
+ }
285
+ export class KmsInvalidKeyUsage extends __BaseException {
286
+ constructor(opts) {
287
+ super({
288
+ name: "KmsInvalidKeyUsage",
289
+ $fault: "client",
290
+ ...opts,
291
+ });
292
+ this.name = "KmsInvalidKeyUsage";
293
+ this.$fault = "client";
294
+ Object.setPrototypeOf(this, KmsInvalidKeyUsage.prototype);
295
+ }
296
+ }
297
+ export class KmsInvalidState extends __BaseException {
298
+ constructor(opts) {
299
+ super({
300
+ name: "KmsInvalidState",
301
+ $fault: "client",
302
+ ...opts,
303
+ });
304
+ this.name = "KmsInvalidState";
305
+ this.$fault = "client";
306
+ Object.setPrototypeOf(this, KmsInvalidState.prototype);
307
+ }
308
+ }
309
+ export class KmsNotFound extends __BaseException {
310
+ constructor(opts) {
311
+ super({
312
+ name: "KmsNotFound",
313
+ $fault: "client",
314
+ ...opts,
315
+ });
316
+ this.name = "KmsNotFound";
317
+ this.$fault = "client";
318
+ Object.setPrototypeOf(this, KmsNotFound.prototype);
319
+ }
320
+ }
321
+ export class KmsOptInRequired extends __BaseException {
322
+ constructor(opts) {
323
+ super({
324
+ name: "KmsOptInRequired",
325
+ $fault: "client",
326
+ ...opts,
327
+ });
328
+ this.name = "KmsOptInRequired";
329
+ this.$fault = "client";
330
+ Object.setPrototypeOf(this, KmsOptInRequired.prototype);
331
+ }
332
+ }
333
+ export class KmsThrottled extends __BaseException {
334
+ constructor(opts) {
335
+ super({
336
+ name: "KmsThrottled",
337
+ $fault: "client",
338
+ ...opts,
339
+ });
340
+ this.name = "KmsThrottled";
341
+ this.$fault = "client";
342
+ Object.setPrototypeOf(this, KmsThrottled.prototype);
204
343
  }
205
344
  }
206
345
  export const MessageSystemAttributeName = {