@aws-sdk/client-chime-sdk-messaging 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 (71) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/ChimeSDKMessaging.js +197 -190
  4. package/dist-es/ChimeSDKMessagingClient.js +28 -22
  5. package/dist-es/commands/AssociateChannelFlowCommand.js +29 -22
  6. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +28 -21
  7. package/dist-es/commands/ChannelFlowCallbackCommand.js +28 -21
  8. package/dist-es/commands/CreateChannelBanCommand.js +28 -21
  9. package/dist-es/commands/CreateChannelCommand.js +28 -21
  10. package/dist-es/commands/CreateChannelFlowCommand.js +28 -21
  11. package/dist-es/commands/CreateChannelMembershipCommand.js +28 -21
  12. package/dist-es/commands/CreateChannelModeratorCommand.js +28 -21
  13. package/dist-es/commands/DeleteChannelBanCommand.js +29 -22
  14. package/dist-es/commands/DeleteChannelCommand.js +29 -22
  15. package/dist-es/commands/DeleteChannelFlowCommand.js +29 -22
  16. package/dist-es/commands/DeleteChannelMembershipCommand.js +29 -22
  17. package/dist-es/commands/DeleteChannelMessageCommand.js +29 -22
  18. package/dist-es/commands/DeleteChannelModeratorCommand.js +29 -22
  19. package/dist-es/commands/DescribeChannelBanCommand.js +28 -21
  20. package/dist-es/commands/DescribeChannelCommand.js +28 -21
  21. package/dist-es/commands/DescribeChannelFlowCommand.js +28 -21
  22. package/dist-es/commands/DescribeChannelMembershipCommand.js +28 -21
  23. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +28 -21
  24. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +28 -21
  25. package/dist-es/commands/DescribeChannelModeratorCommand.js +28 -21
  26. package/dist-es/commands/DisassociateChannelFlowCommand.js +29 -22
  27. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +28 -21
  28. package/dist-es/commands/GetChannelMessageCommand.js +28 -21
  29. package/dist-es/commands/GetChannelMessageStatusCommand.js +28 -21
  30. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +28 -21
  31. package/dist-es/commands/ListChannelBansCommand.js +28 -21
  32. package/dist-es/commands/ListChannelFlowsCommand.js +28 -21
  33. package/dist-es/commands/ListChannelMembershipsCommand.js +28 -21
  34. package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +28 -21
  35. package/dist-es/commands/ListChannelMessagesCommand.js +28 -21
  36. package/dist-es/commands/ListChannelModeratorsCommand.js +28 -21
  37. package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +28 -21
  38. package/dist-es/commands/ListChannelsCommand.js +28 -21
  39. package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +28 -21
  40. package/dist-es/commands/ListSubChannelsCommand.js +28 -21
  41. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  42. package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +28 -21
  43. package/dist-es/commands/RedactChannelMessageCommand.js +28 -21
  44. package/dist-es/commands/SearchChannelsCommand.js +28 -21
  45. package/dist-es/commands/SendChannelMessageCommand.js +28 -21
  46. package/dist-es/commands/TagResourceCommand.js +29 -22
  47. package/dist-es/commands/UntagResourceCommand.js +29 -22
  48. package/dist-es/commands/UpdateChannelCommand.js +28 -21
  49. package/dist-es/commands/UpdateChannelFlowCommand.js +28 -21
  50. package/dist-es/commands/UpdateChannelMessageCommand.js +28 -21
  51. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +28 -21
  52. package/dist-es/endpoints.js +8 -8
  53. package/dist-es/models/ChimeSDKMessagingServiceException.js +10 -5
  54. package/dist-es/models/models_0.js +282 -627
  55. package/dist-es/pagination/ListChannelBansPaginator.js +68 -25
  56. package/dist-es/pagination/ListChannelFlowsPaginator.js +68 -25
  57. package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +68 -25
  58. package/dist-es/pagination/ListChannelMembershipsPaginator.js +68 -25
  59. package/dist-es/pagination/ListChannelMessagesPaginator.js +68 -25
  60. package/dist-es/pagination/ListChannelModeratorsPaginator.js +68 -25
  61. package/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js +68 -25
  62. package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +68 -25
  63. package/dist-es/pagination/ListChannelsPaginator.js +68 -25
  64. package/dist-es/pagination/ListSubChannelsPaginator.js +68 -25
  65. package/dist-es/pagination/SearchChannelsPaginator.js +68 -25
  66. package/dist-es/protocols/Aws_restJson1.js +5312 -3792
  67. package/dist-es/runtimeConfig.browser.js +12 -26
  68. package/dist-es/runtimeConfig.js +12 -30
  69. package/dist-es/runtimeConfig.native.js +5 -8
  70. package/dist-es/runtimeConfig.shared.js +11 -8
  71. 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 { ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog, ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand, serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelMembershipsForAppInstanceUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListChannelMembershipsForAppInstanceUserCommand = (function (_super) {
7
+ __extends(ListChannelMembershipsForAppInstanceUserCommand, _super);
8
+ function ListChannelMembershipsForAppInstanceUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelMembershipsForAppInstanceUserCommand.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 = "ChimeSDKMessagingClient";
15
- const commandName = "ListChannelMembershipsForAppInstanceUserCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeSDKMessagingClient";
18
+ var commandName = "ListChannelMembershipsForAppInstanceUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog,
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
+ ListChannelMembershipsForAppInstanceUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelMembershipsForAppInstanceUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelMembershipsForAppInstanceUserCommand;
38
+ }($Command));
39
+ export { ListChannelMembershipsForAppInstanceUserCommand };
@@ -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 { ListChannelMessagesRequestFilterSensitiveLog, ListChannelMessagesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelMessagesCommand, serializeAws_restJson1ListChannelMessagesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelMessagesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListChannelMessagesCommand = (function (_super) {
7
+ __extends(ListChannelMessagesCommand, _super);
8
+ function ListChannelMessagesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelMessagesCommand.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 = "ChimeSDKMessagingClient";
15
- const commandName = "ListChannelMessagesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeSDKMessagingClient";
18
+ var commandName = "ListChannelMessagesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelMessagesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelMessagesResponseFilterSensitiveLog,
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
+ ListChannelMessagesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelMessagesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelMessagesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelMessagesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelMessagesCommand;
38
+ }($Command));
39
+ export { ListChannelMessagesCommand };
@@ -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 { ListChannelModeratorsRequestFilterSensitiveLog, ListChannelModeratorsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelModeratorsCommand, serializeAws_restJson1ListChannelModeratorsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelModeratorsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListChannelModeratorsCommand = (function (_super) {
7
+ __extends(ListChannelModeratorsCommand, _super);
8
+ function ListChannelModeratorsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelModeratorsCommand.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 = "ChimeSDKMessagingClient";
15
- const commandName = "ListChannelModeratorsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeSDKMessagingClient";
18
+ var commandName = "ListChannelModeratorsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelModeratorsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelModeratorsResponseFilterSensitiveLog,
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
+ ListChannelModeratorsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelModeratorsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelModeratorsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelModeratorsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelModeratorsCommand;
38
+ }($Command));
39
+ export { ListChannelModeratorsCommand };
@@ -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 { ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog, ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand, serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelsAssociatedWithChannelFlowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListChannelsAssociatedWithChannelFlowCommand = (function (_super) {
7
+ __extends(ListChannelsAssociatedWithChannelFlowCommand, _super);
8
+ function ListChannelsAssociatedWithChannelFlowCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelsAssociatedWithChannelFlowCommand.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 = "ChimeSDKMessagingClient";
15
- const commandName = "ListChannelsAssociatedWithChannelFlowCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeSDKMessagingClient";
18
+ var commandName = "ListChannelsAssociatedWithChannelFlowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog,
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
+ ListChannelsAssociatedWithChannelFlowCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelsAssociatedWithChannelFlowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelsAssociatedWithChannelFlowCommand;
38
+ }($Command));
39
+ export { ListChannelsAssociatedWithChannelFlowCommand };
@@ -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 { ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelsCommand, serializeAws_restJson1ListChannelsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListChannelsCommand = (function (_super) {
7
+ __extends(ListChannelsCommand, _super);
8
+ function ListChannelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelsCommand.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 = "ChimeSDKMessagingClient";
15
- const commandName = "ListChannelsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeSDKMessagingClient";
18
+ var commandName = "ListChannelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelsResponseFilterSensitiveLog,
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
+ ListChannelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelsCommand;
38
+ }($Command));
39
+ export { ListChannelsCommand };
@@ -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 { ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog, ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand, serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelsModeratedByAppInstanceUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListChannelsModeratedByAppInstanceUserCommand = (function (_super) {
7
+ __extends(ListChannelsModeratedByAppInstanceUserCommand, _super);
8
+ function ListChannelsModeratedByAppInstanceUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelsModeratedByAppInstanceUserCommand.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 = "ChimeSDKMessagingClient";
15
- const commandName = "ListChannelsModeratedByAppInstanceUserCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeSDKMessagingClient";
18
+ var commandName = "ListChannelsModeratedByAppInstanceUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog,
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
+ ListChannelsModeratedByAppInstanceUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelsModeratedByAppInstanceUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelsModeratedByAppInstanceUserCommand;
38
+ }($Command));
39
+ export { ListChannelsModeratedByAppInstanceUserCommand };
@@ -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 { ListSubChannelsRequestFilterSensitiveLog, ListSubChannelsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListSubChannelsCommand, serializeAws_restJson1ListSubChannelsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListSubChannelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListSubChannelsCommand = (function (_super) {
7
+ __extends(ListSubChannelsCommand, _super);
8
+ function ListSubChannelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListSubChannelsCommand.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 = "ChimeSDKMessagingClient";
15
- const commandName = "ListSubChannelsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeSDKMessagingClient";
18
+ var commandName = "ListSubChannelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListSubChannelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListSubChannelsResponseFilterSensitiveLog,
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
+ ListSubChannelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListSubChannelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListSubChannelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListSubChannelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListSubChannelsCommand;
38
+ }($Command));
39
+ export { ListSubChannelsCommand };
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "ChimeSDKMessagingClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeSDKMessagingClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { PutChannelMembershipPreferencesRequestFilterSensitiveLog, PutChannelMembershipPreferencesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutChannelMembershipPreferencesCommand, serializeAws_restJson1PutChannelMembershipPreferencesCommand, } from "../protocols/Aws_restJson1";
5
- export class PutChannelMembershipPreferencesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutChannelMembershipPreferencesCommand = (function (_super) {
7
+ __extends(PutChannelMembershipPreferencesCommand, _super);
8
+ function PutChannelMembershipPreferencesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutChannelMembershipPreferencesCommand.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 = "ChimeSDKMessagingClient";
15
- const commandName = "PutChannelMembershipPreferencesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeSDKMessagingClient";
18
+ var commandName = "PutChannelMembershipPreferencesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutChannelMembershipPreferencesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutChannelMembershipPreferencesResponseFilterSensitiveLog,
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
+ PutChannelMembershipPreferencesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutChannelMembershipPreferencesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutChannelMembershipPreferencesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutChannelMembershipPreferencesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutChannelMembershipPreferencesCommand;
38
+ }($Command));
39
+ export { PutChannelMembershipPreferencesCommand };
@@ -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 { RedactChannelMessageRequestFilterSensitiveLog, RedactChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RedactChannelMessageCommand, serializeAws_restJson1RedactChannelMessageCommand, } from "../protocols/Aws_restJson1";
5
- export class RedactChannelMessageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RedactChannelMessageCommand = (function (_super) {
7
+ __extends(RedactChannelMessageCommand, _super);
8
+ function RedactChannelMessageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RedactChannelMessageCommand.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 = "ChimeSDKMessagingClient";
15
- const commandName = "RedactChannelMessageCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeSDKMessagingClient";
18
+ var commandName = "RedactChannelMessageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RedactChannelMessageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RedactChannelMessageResponseFilterSensitiveLog,
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
+ RedactChannelMessageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RedactChannelMessageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RedactChannelMessageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RedactChannelMessageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RedactChannelMessageCommand;
38
+ }($Command));
39
+ export { RedactChannelMessageCommand };