@aws-sdk/client-sqs 3.183.0 → 3.185.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 +11 -0
  2. package/dist-cjs/protocols/Aws_query.js +2 -2
  3. package/dist-es/SQS.js +89 -82
  4. package/dist-es/SQSClient.js +28 -22
  5. package/dist-es/commands/AddPermissionCommand.js +29 -22
  6. package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +28 -21
  7. package/dist-es/commands/ChangeMessageVisibilityCommand.js +29 -22
  8. package/dist-es/commands/CreateQueueCommand.js +28 -21
  9. package/dist-es/commands/DeleteMessageBatchCommand.js +28 -21
  10. package/dist-es/commands/DeleteMessageCommand.js +29 -22
  11. package/dist-es/commands/DeleteQueueCommand.js +29 -22
  12. package/dist-es/commands/GetQueueAttributesCommand.js +28 -21
  13. package/dist-es/commands/GetQueueUrlCommand.js +28 -21
  14. package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +28 -21
  15. package/dist-es/commands/ListQueueTagsCommand.js +28 -21
  16. package/dist-es/commands/ListQueuesCommand.js +28 -21
  17. package/dist-es/commands/PurgeQueueCommand.js +29 -22
  18. package/dist-es/commands/ReceiveMessageCommand.js +28 -21
  19. package/dist-es/commands/RemovePermissionCommand.js +29 -22
  20. package/dist-es/commands/SendMessageBatchCommand.js +28 -21
  21. package/dist-es/commands/SendMessageCommand.js +28 -21
  22. package/dist-es/commands/SetQueueAttributesCommand.js +29 -22
  23. package/dist-es/commands/TagQueueCommand.js +29 -22
  24. package/dist-es/commands/UntagQueueCommand.js +29 -22
  25. package/dist-es/endpoints.js +8 -8
  26. package/dist-es/models/SQSServiceException.js +10 -5
  27. package/dist-es/models/models_0.js +234 -315
  28. package/dist-es/pagination/ListDeadLetterSourceQueuesPaginator.js +68 -25
  29. package/dist-es/pagination/ListQueuesPaginator.js +68 -25
  30. package/dist-es/protocols/Aws_query.js +1910 -1414
  31. package/dist-es/runtimeConfig.browser.js +12 -27
  32. package/dist-es/runtimeConfig.js +12 -31
  33. package/dist-es/runtimeConfig.native.js +5 -8
  34. package/dist-es/runtimeConfig.shared.js +11 -8
  35. package/package.json +5 -5
@@ -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 { ChangeMessageVisibilityRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_queryChangeMessageVisibilityCommand, serializeAws_queryChangeMessageVisibilityCommand, } from "../protocols/Aws_query";
5
- export class ChangeMessageVisibilityCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ChangeMessageVisibilityCommand = (function (_super) {
7
+ __extends(ChangeMessageVisibilityCommand, _super);
8
+ function ChangeMessageVisibilityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ChangeMessageVisibilityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SQSClient";
15
- const commandName = "ChangeMessageVisibilityCommand";
16
- const handlerExecutionContext = {
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 = "ChangeMessageVisibilityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ChangeMessageVisibilityRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ChangeMessageVisibilityCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryChangeMessageVisibilityCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ChangeMessageVisibilityCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryChangeMessageVisibilityCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ChangeMessageVisibilityCommand;
38
+ }($Command));
39
+ export { ChangeMessageVisibilityCommand };
@@ -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 { CreateQueueRequestFilterSensitiveLog, CreateQueueResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryCreateQueueCommand, serializeAws_queryCreateQueueCommand } from "../protocols/Aws_query";
5
- export class CreateQueueCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateQueueCommand = (function (_super) {
7
+ __extends(CreateQueueCommand, _super);
8
+ function CreateQueueCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateQueueCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SQSClient";
15
- const commandName = "CreateQueueCommand";
16
- const handlerExecutionContext = {
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 = "CreateQueueCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateQueueRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateQueueResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateQueueCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryCreateQueueCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateQueueCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryCreateQueueCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateQueueCommand;
38
+ }($Command));
39
+ export { CreateQueueCommand };
@@ -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 { DeleteMessageBatchRequestFilterSensitiveLog, DeleteMessageBatchResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteMessageBatchCommand, serializeAws_queryDeleteMessageBatchCommand, } from "../protocols/Aws_query";
5
- export class DeleteMessageBatchCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteMessageBatchCommand = (function (_super) {
7
+ __extends(DeleteMessageBatchCommand, _super);
8
+ function DeleteMessageBatchCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteMessageBatchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SQSClient";
15
- const commandName = "DeleteMessageBatchCommand";
16
- const handlerExecutionContext = {
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 = "DeleteMessageBatchCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteMessageBatchRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteMessageBatchResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteMessageBatchCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteMessageBatchCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteMessageBatchCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteMessageBatchCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteMessageBatchCommand;
38
+ }($Command));
39
+ export { DeleteMessageBatchCommand };
@@ -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 { DeleteMessageRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteMessageCommand, serializeAws_queryDeleteMessageCommand, } from "../protocols/Aws_query";
5
- export class DeleteMessageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteMessageCommand = (function (_super) {
7
+ __extends(DeleteMessageCommand, _super);
8
+ function DeleteMessageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SQSClient";
15
- const commandName = "DeleteMessageCommand";
16
- const handlerExecutionContext = {
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 = "DeleteMessageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteMessageRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteMessageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteMessageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteMessageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteMessageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteMessageCommand;
38
+ }($Command));
39
+ export { DeleteMessageCommand };
@@ -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 { DeleteQueueRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteQueueCommand, serializeAws_queryDeleteQueueCommand } from "../protocols/Aws_query";
5
- export class DeleteQueueCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteQueueCommand = (function (_super) {
7
+ __extends(DeleteQueueCommand, _super);
8
+ function DeleteQueueCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteQueueCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SQSClient";
15
- const commandName = "DeleteQueueCommand";
16
- const handlerExecutionContext = {
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 = "DeleteQueueCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteQueueRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteQueueCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteQueueCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteQueueCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteQueueCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteQueueCommand;
38
+ }($Command));
39
+ export { DeleteQueueCommand };
@@ -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 { GetQueueAttributesRequestFilterSensitiveLog, GetQueueAttributesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryGetQueueAttributesCommand, serializeAws_queryGetQueueAttributesCommand, } from "../protocols/Aws_query";
5
- export class GetQueueAttributesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetQueueAttributesCommand = (function (_super) {
7
+ __extends(GetQueueAttributesCommand, _super);
8
+ function GetQueueAttributesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetQueueAttributesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SQSClient";
15
- const commandName = "GetQueueAttributesCommand";
16
- const handlerExecutionContext = {
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 = "GetQueueAttributesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetQueueAttributesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetQueueAttributesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetQueueAttributesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryGetQueueAttributesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetQueueAttributesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryGetQueueAttributesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetQueueAttributesCommand;
38
+ }($Command));
39
+ export { GetQueueAttributesCommand };
@@ -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 { GetQueueUrlRequestFilterSensitiveLog, GetQueueUrlResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryGetQueueUrlCommand, serializeAws_queryGetQueueUrlCommand } from "../protocols/Aws_query";
5
- export class GetQueueUrlCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetQueueUrlCommand = (function (_super) {
7
+ __extends(GetQueueUrlCommand, _super);
8
+ function GetQueueUrlCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetQueueUrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SQSClient";
15
- const commandName = "GetQueueUrlCommand";
16
- const handlerExecutionContext = {
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 = "GetQueueUrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetQueueUrlRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetQueueUrlResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetQueueUrlCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryGetQueueUrlCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetQueueUrlCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryGetQueueUrlCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetQueueUrlCommand;
38
+ }($Command));
39
+ export { GetQueueUrlCommand };
@@ -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 { ListDeadLetterSourceQueuesRequestFilterSensitiveLog, ListDeadLetterSourceQueuesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryListDeadLetterSourceQueuesCommand, serializeAws_queryListDeadLetterSourceQueuesCommand, } from "../protocols/Aws_query";
5
- export class ListDeadLetterSourceQueuesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDeadLetterSourceQueuesCommand = (function (_super) {
7
+ __extends(ListDeadLetterSourceQueuesCommand, _super);
8
+ function ListDeadLetterSourceQueuesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDeadLetterSourceQueuesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SQSClient";
15
- const commandName = "ListDeadLetterSourceQueuesCommand";
16
- const handlerExecutionContext = {
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 = "ListDeadLetterSourceQueuesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDeadLetterSourceQueuesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDeadLetterSourceQueuesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDeadLetterSourceQueuesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryListDeadLetterSourceQueuesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDeadLetterSourceQueuesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryListDeadLetterSourceQueuesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDeadLetterSourceQueuesCommand;
38
+ }($Command));
39
+ export { ListDeadLetterSourceQueuesCommand };
@@ -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 { ListQueueTagsRequestFilterSensitiveLog, ListQueueTagsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryListQueueTagsCommand, serializeAws_queryListQueueTagsCommand, } from "../protocols/Aws_query";
5
- export class ListQueueTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListQueueTagsCommand = (function (_super) {
7
+ __extends(ListQueueTagsCommand, _super);
8
+ function ListQueueTagsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListQueueTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SQSClient";
15
- const commandName = "ListQueueTagsCommand";
16
- const handlerExecutionContext = {
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 = "ListQueueTagsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListQueueTagsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListQueueTagsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListQueueTagsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryListQueueTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListQueueTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryListQueueTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListQueueTagsCommand;
38
+ }($Command));
39
+ export { ListQueueTagsCommand };
@@ -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 { ListQueuesRequestFilterSensitiveLog, ListQueuesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryListQueuesCommand, serializeAws_queryListQueuesCommand } from "../protocols/Aws_query";
5
- export class ListQueuesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListQueuesCommand = (function (_super) {
7
+ __extends(ListQueuesCommand, _super);
8
+ function ListQueuesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListQueuesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SQSClient";
15
- const commandName = "ListQueuesCommand";
16
- const handlerExecutionContext = {
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 = "ListQueuesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListQueuesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListQueuesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListQueuesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryListQueuesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListQueuesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryListQueuesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListQueuesCommand;
38
+ }($Command));
39
+ export { ListQueuesCommand };