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