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