@aws-sdk/client-chime-sdk-messaging 3.185.0 → 3.188.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 (70) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/ChimeSDKMessaging.js +190 -197
  3. package/dist-es/ChimeSDKMessagingClient.js +22 -28
  4. package/dist-es/commands/AssociateChannelFlowCommand.js +22 -29
  5. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +21 -28
  6. package/dist-es/commands/ChannelFlowCallbackCommand.js +21 -28
  7. package/dist-es/commands/CreateChannelBanCommand.js +21 -28
  8. package/dist-es/commands/CreateChannelCommand.js +21 -28
  9. package/dist-es/commands/CreateChannelFlowCommand.js +21 -28
  10. package/dist-es/commands/CreateChannelMembershipCommand.js +21 -28
  11. package/dist-es/commands/CreateChannelModeratorCommand.js +21 -28
  12. package/dist-es/commands/DeleteChannelBanCommand.js +22 -29
  13. package/dist-es/commands/DeleteChannelCommand.js +22 -29
  14. package/dist-es/commands/DeleteChannelFlowCommand.js +22 -29
  15. package/dist-es/commands/DeleteChannelMembershipCommand.js +22 -29
  16. package/dist-es/commands/DeleteChannelMessageCommand.js +22 -29
  17. package/dist-es/commands/DeleteChannelModeratorCommand.js +22 -29
  18. package/dist-es/commands/DescribeChannelBanCommand.js +21 -28
  19. package/dist-es/commands/DescribeChannelCommand.js +21 -28
  20. package/dist-es/commands/DescribeChannelFlowCommand.js +21 -28
  21. package/dist-es/commands/DescribeChannelMembershipCommand.js +21 -28
  22. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +21 -28
  23. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +21 -28
  24. package/dist-es/commands/DescribeChannelModeratorCommand.js +21 -28
  25. package/dist-es/commands/DisassociateChannelFlowCommand.js +22 -29
  26. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +21 -28
  27. package/dist-es/commands/GetChannelMessageCommand.js +21 -28
  28. package/dist-es/commands/GetChannelMessageStatusCommand.js +21 -28
  29. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +21 -28
  30. package/dist-es/commands/ListChannelBansCommand.js +21 -28
  31. package/dist-es/commands/ListChannelFlowsCommand.js +21 -28
  32. package/dist-es/commands/ListChannelMembershipsCommand.js +21 -28
  33. package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +21 -28
  34. package/dist-es/commands/ListChannelMessagesCommand.js +21 -28
  35. package/dist-es/commands/ListChannelModeratorsCommand.js +21 -28
  36. package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +21 -28
  37. package/dist-es/commands/ListChannelsCommand.js +21 -28
  38. package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +21 -28
  39. package/dist-es/commands/ListSubChannelsCommand.js +21 -28
  40. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  41. package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +21 -28
  42. package/dist-es/commands/RedactChannelMessageCommand.js +21 -28
  43. package/dist-es/commands/SearchChannelsCommand.js +21 -28
  44. package/dist-es/commands/SendChannelMessageCommand.js +21 -28
  45. package/dist-es/commands/TagResourceCommand.js +22 -29
  46. package/dist-es/commands/UntagResourceCommand.js +22 -29
  47. package/dist-es/commands/UpdateChannelCommand.js +21 -28
  48. package/dist-es/commands/UpdateChannelFlowCommand.js +21 -28
  49. package/dist-es/commands/UpdateChannelMessageCommand.js +21 -28
  50. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +21 -28
  51. package/dist-es/endpoints.js +8 -8
  52. package/dist-es/models/ChimeSDKMessagingServiceException.js +5 -10
  53. package/dist-es/models/models_0.js +627 -282
  54. package/dist-es/pagination/ListChannelBansPaginator.js +25 -68
  55. package/dist-es/pagination/ListChannelFlowsPaginator.js +25 -68
  56. package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +25 -68
  57. package/dist-es/pagination/ListChannelMembershipsPaginator.js +25 -68
  58. package/dist-es/pagination/ListChannelMessagesPaginator.js +25 -68
  59. package/dist-es/pagination/ListChannelModeratorsPaginator.js +25 -68
  60. package/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js +25 -68
  61. package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +25 -68
  62. package/dist-es/pagination/ListChannelsPaginator.js +25 -68
  63. package/dist-es/pagination/ListSubChannelsPaginator.js +25 -68
  64. package/dist-es/pagination/SearchChannelsPaginator.js +25 -68
  65. package/dist-es/protocols/Aws_restJson1.js +3792 -5312
  66. package/dist-es/runtimeConfig.browser.js +26 -12
  67. package/dist-es/runtimeConfig.js +30 -12
  68. package/dist-es/runtimeConfig.native.js +8 -5
  69. package/dist-es/runtimeConfig.shared.js +8 -11
  70. 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 { DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog, DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand, serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeChannelModeratedByAppInstanceUserCommand = (function (_super) {
7
- __extends(DescribeChannelModeratedByAppInstanceUserCommand, _super);
8
- function DescribeChannelModeratedByAppInstanceUserCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeChannelModeratedByAppInstanceUserCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeChannelModeratedByAppInstanceUserCommand.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 = "DescribeChannelModeratedByAppInstanceUserCommand";
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 = "DescribeChannelModeratedByAppInstanceUserCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeChannelModeratedByAppInstanceUserCommand.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_restJson1DescribeChannelModeratedByAppInstanceUserCommand(input, context);
33
- };
34
- DescribeChannelModeratedByAppInstanceUserCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand(output, context);
36
- };
37
- return DescribeChannelModeratedByAppInstanceUserCommand;
38
- }($Command));
39
- export { DescribeChannelModeratedByAppInstanceUserCommand };
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 { DescribeChannelModeratorRequestFilterSensitiveLog, DescribeChannelModeratorResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeChannelModeratorCommand, serializeAws_restJson1DescribeChannelModeratorCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeChannelModeratorCommand = (function (_super) {
7
- __extends(DescribeChannelModeratorCommand, _super);
8
- function DescribeChannelModeratorCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeChannelModeratorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeChannelModeratorCommand.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 = "DescribeChannelModeratorCommand";
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 = "DescribeChannelModeratorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeChannelModeratorRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeChannelModeratorResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeChannelModeratorCommand.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_restJson1DescribeChannelModeratorCommand(input, context);
33
- };
34
- DescribeChannelModeratorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeChannelModeratorCommand(output, context);
36
- };
37
- return DescribeChannelModeratorCommand;
38
- }($Command));
39
- export { DescribeChannelModeratorCommand };
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 { DisassociateChannelFlowRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DisassociateChannelFlowCommand, serializeAws_restJson1DisassociateChannelFlowCommand, } from "../protocols/Aws_restJson1";
6
- var DisassociateChannelFlowCommand = (function (_super) {
7
- __extends(DisassociateChannelFlowCommand, _super);
8
- function DisassociateChannelFlowCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateChannelFlowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateChannelFlowCommand.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 = "DisassociateChannelFlowCommand";
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 = "DisassociateChannelFlowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateChannelFlowRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateChannelFlowCommand.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_restJson1DisassociateChannelFlowCommand(input, context);
33
- };
34
- DisassociateChannelFlowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DisassociateChannelFlowCommand(output, context);
36
- };
37
- return DisassociateChannelFlowCommand;
38
- }($Command));
39
- export { DisassociateChannelFlowCommand };
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 { GetChannelMembershipPreferencesRequestFilterSensitiveLog, GetChannelMembershipPreferencesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetChannelMembershipPreferencesCommand, serializeAws_restJson1GetChannelMembershipPreferencesCommand, } from "../protocols/Aws_restJson1";
6
- var GetChannelMembershipPreferencesCommand = (function (_super) {
7
- __extends(GetChannelMembershipPreferencesCommand, _super);
8
- function GetChannelMembershipPreferencesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetChannelMembershipPreferencesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetChannelMembershipPreferencesCommand.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 = "GetChannelMembershipPreferencesCommand";
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 = "GetChannelMembershipPreferencesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetChannelMembershipPreferencesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetChannelMembershipPreferencesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetChannelMembershipPreferencesCommand.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_restJson1GetChannelMembershipPreferencesCommand(input, context);
33
- };
34
- GetChannelMembershipPreferencesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetChannelMembershipPreferencesCommand(output, context);
36
- };
37
- return GetChannelMembershipPreferencesCommand;
38
- }($Command));
39
- export { GetChannelMembershipPreferencesCommand };
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 { GetChannelMessageRequestFilterSensitiveLog, GetChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetChannelMessageCommand, serializeAws_restJson1GetChannelMessageCommand, } from "../protocols/Aws_restJson1";
6
- var GetChannelMessageCommand = (function (_super) {
7
- __extends(GetChannelMessageCommand, _super);
8
- function GetChannelMessageCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetChannelMessageCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetChannelMessageCommand.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 = "GetChannelMessageCommand";
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 = "GetChannelMessageCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetChannelMessageRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetChannelMessageResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetChannelMessageCommand.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_restJson1GetChannelMessageCommand(input, context);
33
- };
34
- GetChannelMessageCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetChannelMessageCommand(output, context);
36
- };
37
- return GetChannelMessageCommand;
38
- }($Command));
39
- export { GetChannelMessageCommand };
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 { GetChannelMessageStatusRequestFilterSensitiveLog, GetChannelMessageStatusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetChannelMessageStatusCommand, serializeAws_restJson1GetChannelMessageStatusCommand, } from "../protocols/Aws_restJson1";
6
- var GetChannelMessageStatusCommand = (function (_super) {
7
- __extends(GetChannelMessageStatusCommand, _super);
8
- function GetChannelMessageStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetChannelMessageStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetChannelMessageStatusCommand.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 = "GetChannelMessageStatusCommand";
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 = "GetChannelMessageStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetChannelMessageStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetChannelMessageStatusResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetChannelMessageStatusCommand.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_restJson1GetChannelMessageStatusCommand(input, context);
33
- };
34
- GetChannelMessageStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetChannelMessageStatusCommand(output, context);
36
- };
37
- return GetChannelMessageStatusCommand;
38
- }($Command));
39
- export { GetChannelMessageStatusCommand };
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 { GetMessagingSessionEndpointRequestFilterSensitiveLog, GetMessagingSessionEndpointResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetMessagingSessionEndpointCommand, serializeAws_restJson1GetMessagingSessionEndpointCommand, } from "../protocols/Aws_restJson1";
6
- var GetMessagingSessionEndpointCommand = (function (_super) {
7
- __extends(GetMessagingSessionEndpointCommand, _super);
8
- function GetMessagingSessionEndpointCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetMessagingSessionEndpointCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetMessagingSessionEndpointCommand.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 = "GetMessagingSessionEndpointCommand";
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 = "GetMessagingSessionEndpointCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetMessagingSessionEndpointRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetMessagingSessionEndpointResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetMessagingSessionEndpointCommand.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_restJson1GetMessagingSessionEndpointCommand(input, context);
33
- };
34
- GetMessagingSessionEndpointCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetMessagingSessionEndpointCommand(output, context);
36
- };
37
- return GetMessagingSessionEndpointCommand;
38
- }($Command));
39
- export { GetMessagingSessionEndpointCommand };
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 { ListChannelBansRequestFilterSensitiveLog, ListChannelBansResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListChannelBansCommand, serializeAws_restJson1ListChannelBansCommand, } from "../protocols/Aws_restJson1";
6
- var ListChannelBansCommand = (function (_super) {
7
- __extends(ListChannelBansCommand, _super);
8
- function ListChannelBansCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListChannelBansCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListChannelBansCommand.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 = "ListChannelBansCommand";
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 = "ListChannelBansCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListChannelBansRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListChannelBansResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListChannelBansCommand.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_restJson1ListChannelBansCommand(input, context);
33
- };
34
- ListChannelBansCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListChannelBansCommand(output, context);
36
- };
37
- return ListChannelBansCommand;
38
- }($Command));
39
- export { ListChannelBansCommand };
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 { ListChannelFlowsRequestFilterSensitiveLog, ListChannelFlowsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListChannelFlowsCommand, serializeAws_restJson1ListChannelFlowsCommand, } from "../protocols/Aws_restJson1";
6
- var ListChannelFlowsCommand = (function (_super) {
7
- __extends(ListChannelFlowsCommand, _super);
8
- function ListChannelFlowsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListChannelFlowsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListChannelFlowsCommand.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 = "ListChannelFlowsCommand";
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 = "ListChannelFlowsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListChannelFlowsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListChannelFlowsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListChannelFlowsCommand.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_restJson1ListChannelFlowsCommand(input, context);
33
- };
34
- ListChannelFlowsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListChannelFlowsCommand(output, context);
36
- };
37
- return ListChannelFlowsCommand;
38
- }($Command));
39
- export { ListChannelFlowsCommand };
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 { ListChannelMembershipsRequestFilterSensitiveLog, ListChannelMembershipsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListChannelMembershipsCommand, serializeAws_restJson1ListChannelMembershipsCommand, } from "../protocols/Aws_restJson1";
6
- var ListChannelMembershipsCommand = (function (_super) {
7
- __extends(ListChannelMembershipsCommand, _super);
8
- function ListChannelMembershipsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListChannelMembershipsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListChannelMembershipsCommand.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 = "ListChannelMembershipsCommand";
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 = "ListChannelMembershipsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListChannelMembershipsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListChannelMembershipsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListChannelMembershipsCommand.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_restJson1ListChannelMembershipsCommand(input, context);
33
- };
34
- ListChannelMembershipsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListChannelMembershipsCommand(output, context);
36
- };
37
- return ListChannelMembershipsCommand;
38
- }($Command));
39
- export { ListChannelMembershipsCommand };
31
+ }
32
+ }