@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.
- package/README.md +10 -7
- package/dist-cjs/commands/AddPermissionCommand.js +3 -3
- package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +3 -3
- package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +3 -3
- package/dist-cjs/commands/CreateQueueCommand.js +3 -3
- package/dist-cjs/commands/DeleteMessageBatchCommand.js +3 -3
- package/dist-cjs/commands/DeleteMessageCommand.js +3 -3
- package/dist-cjs/commands/DeleteQueueCommand.js +3 -3
- package/dist-cjs/commands/GetQueueAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetQueueUrlCommand.js +3 -3
- package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +3 -3
- package/dist-cjs/commands/ListQueueTagsCommand.js +3 -3
- package/dist-cjs/commands/ListQueuesCommand.js +3 -3
- package/dist-cjs/commands/PurgeQueueCommand.js +3 -3
- package/dist-cjs/commands/ReceiveMessageCommand.js +3 -3
- package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
- package/dist-cjs/commands/SendMessageBatchCommand.js +3 -3
- package/dist-cjs/commands/SendMessageCommand.js +3 -3
- package/dist-cjs/commands/SetQueueAttributesCommand.js +3 -3
- package/dist-cjs/commands/TagQueueCommand.js +3 -3
- package/dist-cjs/commands/UntagQueueCommand.js +3 -3
- package/dist-cjs/endpoint/ruleset.js +2 -2
- package/dist-cjs/models/models_0.js +206 -26
- package/dist-cjs/protocols/Aws_json1_0.js +1608 -0
- package/dist-es/commands/AddPermissionCommand.js +1 -1
- package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +1 -1
- package/dist-es/commands/ChangeMessageVisibilityCommand.js +1 -1
- package/dist-es/commands/CreateQueueCommand.js +1 -1
- package/dist-es/commands/DeleteMessageBatchCommand.js +1 -1
- package/dist-es/commands/DeleteMessageCommand.js +1 -1
- package/dist-es/commands/DeleteQueueCommand.js +1 -1
- package/dist-es/commands/GetQueueAttributesCommand.js +1 -1
- package/dist-es/commands/GetQueueUrlCommand.js +1 -1
- package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +1 -1
- package/dist-es/commands/ListQueueTagsCommand.js +1 -1
- package/dist-es/commands/ListQueuesCommand.js +1 -1
- package/dist-es/commands/PurgeQueueCommand.js +1 -1
- package/dist-es/commands/ReceiveMessageCommand.js +1 -1
- package/dist-es/commands/RemovePermissionCommand.js +1 -1
- package/dist-es/commands/SendMessageBatchCommand.js +1 -1
- package/dist-es/commands/SendMessageCommand.js +1 -1
- package/dist-es/commands/SetQueueAttributesCommand.js +1 -1
- package/dist-es/commands/TagQueueCommand.js +1 -1
- package/dist-es/commands/UntagQueueCommand.js +1 -1
- package/dist-es/endpoint/ruleset.js +2 -2
- package/dist-es/models/models_0.js +189 -20
- package/dist-es/protocols/Aws_json1_0.js +1565 -0
- package/dist-types/SQS.d.ts +24 -21
- package/dist-types/SQSClient.d.ts +24 -21
- package/dist-types/commands/AddPermissionCommand.d.ts +55 -26
- package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +52 -12
- package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +52 -15
- package/dist-types/commands/CreateQueueCommand.d.ts +64 -24
- package/dist-types/commands/DeleteMessageBatchCommand.d.ts +49 -10
- package/dist-types/commands/DeleteMessageCommand.d.ts +33 -1
- package/dist-types/commands/DeleteQueueCommand.d.ts +48 -8
- package/dist-types/commands/GetQueueAttributesCommand.d.ts +37 -1
- package/dist-types/commands/GetQueueUrlCommand.d.ts +41 -4
- package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +48 -11
- package/dist-types/commands/ListQueueTagsCommand.d.ts +44 -4
- package/dist-types/commands/ListQueuesCommand.d.ts +49 -10
- package/dist-types/commands/PurgeQueueCommand.d.ts +40 -7
- package/dist-types/commands/ReceiveMessageCommand.d.ts +118 -15
- package/dist-types/commands/RemovePermissionCommand.d.ts +41 -5
- package/dist-types/commands/SendMessageBatchCommand.d.ts +99 -16
- package/dist-types/commands/SendMessageCommand.d.ts +72 -3
- package/dist-types/commands/SetQueueAttributesCommand.d.ts +54 -6
- package/dist-types/commands/TagQueueCommand.d.ts +38 -4
- package/dist-types/commands/UntagQueueCommand.d.ts +38 -3
- package/dist-types/models/models_0.d.ts +1039 -493
- package/dist-types/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +40 -40
- package/dist-types/ts3.4/models/models_0.d.ts +119 -52
- package/package.json +8 -9
- package/dist-cjs/protocols/Aws_query.js +0 -2127
- package/dist-es/protocols/Aws_query.js +0 -2084
- /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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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 = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
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
|
|
230
|
+
export class PurgeQueueInProgress extends __BaseException {
|
|
123
231
|
constructor(opts) {
|
|
124
232
|
super({
|
|
125
|
-
name: "
|
|
233
|
+
name: "PurgeQueueInProgress",
|
|
126
234
|
$fault: "client",
|
|
127
235
|
...opts,
|
|
128
236
|
});
|
|
129
|
-
this.name = "
|
|
237
|
+
this.name = "PurgeQueueInProgress";
|
|
130
238
|
this.$fault = "client";
|
|
131
|
-
Object.setPrototypeOf(this,
|
|
239
|
+
Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
|
|
132
240
|
}
|
|
133
241
|
}
|
|
134
|
-
export class
|
|
242
|
+
export class KmsAccessDenied extends __BaseException {
|
|
135
243
|
constructor(opts) {
|
|
136
244
|
super({
|
|
137
|
-
name: "
|
|
245
|
+
name: "KmsAccessDenied",
|
|
138
246
|
$fault: "client",
|
|
139
247
|
...opts,
|
|
140
248
|
});
|
|
141
|
-
this.name = "
|
|
249
|
+
this.name = "KmsAccessDenied";
|
|
142
250
|
this.$fault = "client";
|
|
143
|
-
Object.setPrototypeOf(this,
|
|
251
|
+
Object.setPrototypeOf(this, KmsAccessDenied.prototype);
|
|
144
252
|
}
|
|
145
253
|
}
|
|
146
|
-
export class
|
|
254
|
+
export class KmsDisabled extends __BaseException {
|
|
147
255
|
constructor(opts) {
|
|
148
256
|
super({
|
|
149
|
-
name: "
|
|
257
|
+
name: "KmsDisabled",
|
|
150
258
|
$fault: "client",
|
|
151
259
|
...opts,
|
|
152
260
|
});
|
|
153
|
-
this.name = "
|
|
261
|
+
this.name = "KmsDisabled";
|
|
154
262
|
this.$fault = "client";
|
|
155
|
-
Object.setPrototypeOf(this,
|
|
263
|
+
Object.setPrototypeOf(this, KmsDisabled.prototype);
|
|
156
264
|
}
|
|
157
265
|
}
|
|
158
|
-
export class
|
|
266
|
+
export class KmsInvalidKeyUsage extends __BaseException {
|
|
159
267
|
constructor(opts) {
|
|
160
268
|
super({
|
|
161
|
-
name: "
|
|
269
|
+
name: "KmsInvalidKeyUsage",
|
|
162
270
|
$fault: "client",
|
|
163
271
|
...opts,
|
|
164
272
|
});
|
|
165
|
-
this.name = "
|
|
273
|
+
this.name = "KmsInvalidKeyUsage";
|
|
166
274
|
this.$fault = "client";
|
|
167
|
-
Object.setPrototypeOf(this,
|
|
275
|
+
Object.setPrototypeOf(this, KmsInvalidKeyUsage.prototype);
|
|
168
276
|
}
|
|
169
277
|
}
|
|
170
|
-
export class
|
|
278
|
+
export class KmsInvalidState extends __BaseException {
|
|
171
279
|
constructor(opts) {
|
|
172
280
|
super({
|
|
173
|
-
name: "
|
|
281
|
+
name: "KmsInvalidState",
|
|
174
282
|
$fault: "client",
|
|
175
283
|
...opts,
|
|
176
284
|
});
|
|
177
|
-
this.name = "
|
|
285
|
+
this.name = "KmsInvalidState";
|
|
178
286
|
this.$fault = "client";
|
|
179
|
-
Object.setPrototypeOf(this,
|
|
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({
|