@aws-sdk/client-sqs 3.183.0 → 3.186.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/CHANGELOG.md +19 -0
- package/dist-cjs/protocols/Aws_query.js +2 -2
- package/dist-es/SQS.js +89 -82
- package/dist-es/SQSClient.js +28 -22
- package/dist-es/commands/AddPermissionCommand.js +29 -22
- package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +28 -21
- package/dist-es/commands/ChangeMessageVisibilityCommand.js +29 -22
- package/dist-es/commands/CreateQueueCommand.js +28 -21
- package/dist-es/commands/DeleteMessageBatchCommand.js +28 -21
- package/dist-es/commands/DeleteMessageCommand.js +29 -22
- package/dist-es/commands/DeleteQueueCommand.js +29 -22
- package/dist-es/commands/GetQueueAttributesCommand.js +28 -21
- package/dist-es/commands/GetQueueUrlCommand.js +28 -21
- package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +28 -21
- package/dist-es/commands/ListQueueTagsCommand.js +28 -21
- package/dist-es/commands/ListQueuesCommand.js +28 -21
- package/dist-es/commands/PurgeQueueCommand.js +29 -22
- package/dist-es/commands/ReceiveMessageCommand.js +28 -21
- package/dist-es/commands/RemovePermissionCommand.js +29 -22
- package/dist-es/commands/SendMessageBatchCommand.js +28 -21
- package/dist-es/commands/SendMessageCommand.js +28 -21
- package/dist-es/commands/SetQueueAttributesCommand.js +29 -22
- package/dist-es/commands/TagQueueCommand.js +29 -22
- package/dist-es/commands/UntagQueueCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SQSServiceException.js +10 -5
- package/dist-es/models/models_0.js +234 -315
- package/dist-es/pagination/ListDeadLetterSourceQueuesPaginator.js +68 -25
- package/dist-es/pagination/ListQueuesPaginator.js +68 -25
- package/dist-es/protocols/Aws_query.js +1910 -1414
- package/dist-es/runtimeConfig.browser.js +12 -27
- package/dist-es/runtimeConfig.js +12 -31
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +35 -35
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PurgeQueueRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryPurgeQueueCommand, serializeAws_queryPurgeQueueCommand } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PurgeQueueCommand = (function (_super) {
|
|
7
|
+
__extends(PurgeQueueCommand, _super);
|
|
8
|
+
function PurgeQueueCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PurgeQueueCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SQSClient";
|
|
18
|
+
var commandName = "PurgeQueueCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PurgeQueueRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
PurgeQueueCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryPurgeQueueCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PurgeQueueCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryPurgeQueueCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PurgeQueueCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PurgeQueueCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getReceiveMessagePlugin } from "@aws-sdk/middleware-sdk-sqs";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { ReceiveMessageRequestFilterSensitiveLog, ReceiveMessageResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_queryReceiveMessageCommand, serializeAws_queryReceiveMessageCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var ReceiveMessageCommand = (function (_super) {
|
|
8
|
+
__extends(ReceiveMessageCommand, _super);
|
|
9
|
+
function ReceiveMessageCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
ReceiveMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getReceiveMessagePlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "SQSClient";
|
|
20
|
+
var commandName = "ReceiveMessageCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: ReceiveMessageRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: ReceiveMessageResultFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
ReceiveMessageCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_queryReceiveMessageCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
ReceiveMessageCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_queryReceiveMessageCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return ReceiveMessageCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { ReceiveMessageCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RemovePermissionRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryRemovePermissionCommand, serializeAws_queryRemovePermissionCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RemovePermissionCommand = (function (_super) {
|
|
7
|
+
__extends(RemovePermissionCommand, _super);
|
|
8
|
+
function RemovePermissionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RemovePermissionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SQSClient";
|
|
18
|
+
var commandName = "RemovePermissionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RemovePermissionRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RemovePermissionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryRemovePermissionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RemovePermissionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryRemovePermissionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RemovePermissionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RemovePermissionCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSendMessageBatchPlugin } from "@aws-sdk/middleware-sdk-sqs";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { SendMessageBatchRequestFilterSensitiveLog, SendMessageBatchResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_querySendMessageBatchCommand, serializeAws_querySendMessageBatchCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var SendMessageBatchCommand = (function (_super) {
|
|
8
|
+
__extends(SendMessageBatchCommand, _super);
|
|
9
|
+
function SendMessageBatchCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
SendMessageBatchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getSendMessageBatchPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "SQSClient";
|
|
20
|
+
var commandName = "SendMessageBatchCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: SendMessageBatchRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: SendMessageBatchResultFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
SendMessageBatchCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_querySendMessageBatchCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
SendMessageBatchCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_querySendMessageBatchCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return SendMessageBatchCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { SendMessageBatchCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSendMessagePlugin } from "@aws-sdk/middleware-sdk-sqs";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { SendMessageRequestFilterSensitiveLog, SendMessageResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_querySendMessageCommand, serializeAws_querySendMessageCommand } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var SendMessageCommand = (function (_super) {
|
|
8
|
+
__extends(SendMessageCommand, _super);
|
|
9
|
+
function SendMessageCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
SendMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getSendMessagePlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "SQSClient";
|
|
20
|
+
var commandName = "SendMessageCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: SendMessageRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: SendMessageResultFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
SendMessageCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_querySendMessageCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
SendMessageCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_querySendMessageCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return SendMessageCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { SendMessageCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SetQueueAttributesRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_querySetQueueAttributesCommand, serializeAws_querySetQueueAttributesCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SetQueueAttributesCommand = (function (_super) {
|
|
7
|
+
__extends(SetQueueAttributesCommand, _super);
|
|
8
|
+
function SetQueueAttributesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SetQueueAttributesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SQSClient";
|
|
18
|
+
var commandName = "SetQueueAttributesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SetQueueAttributesRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SetQueueAttributesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_querySetQueueAttributesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SetQueueAttributesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_querySetQueueAttributesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SetQueueAttributesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SetQueueAttributesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { TagQueueRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryTagQueueCommand, serializeAws_queryTagQueueCommand } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var TagQueueCommand = (function (_super) {
|
|
7
|
+
__extends(TagQueueCommand, _super);
|
|
8
|
+
function TagQueueCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
TagQueueCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SQSClient";
|
|
18
|
+
var commandName = "TagQueueCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: TagQueueRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
TagQueueCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryTagQueueCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
TagQueueCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryTagQueueCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return TagQueueCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TagQueueCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UntagQueueRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryUntagQueueCommand, serializeAws_queryUntagQueueCommand } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UntagQueueCommand = (function (_super) {
|
|
7
|
+
__extends(UntagQueueCommand, _super);
|
|
8
|
+
function UntagQueueCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UntagQueueCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SQSClient";
|
|
18
|
+
var commandName = "UntagQueueCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UntagQueueRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UntagQueueCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryUntagQueueCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UntagQueueCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryUntagQueueCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UntagQueueCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UntagQueueCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"us-east-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -51,7 +52,7 @@ const regionHash = {
|
|
|
51
52
|
],
|
|
52
53
|
},
|
|
53
54
|
};
|
|
54
|
-
|
|
55
|
+
var partitionHash = {
|
|
55
56
|
aws: {
|
|
56
57
|
regions: [
|
|
57
58
|
"af-south-1",
|
|
@@ -175,9 +176,8 @@ const partitionHash = {
|
|
|
175
176
|
],
|
|
176
177
|
},
|
|
177
178
|
};
|
|
178
|
-
export
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
});
|
|
179
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
180
|
+
return __generator(this, function (_a) {
|
|
181
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "sqs", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
182
|
+
});
|
|
183
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var SQSServiceException = (function (_super) {
|
|
4
|
+
__extends(SQSServiceException, _super);
|
|
5
|
+
function SQSServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, SQSServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return SQSServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { SQSServiceException };
|