@aws-sdk/client-chime-sdk-messaging 3.183.0 → 3.186.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 +19 -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 +33 -33
@@ -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 { DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog, DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand, serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelModeratedByAppInstanceUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelModeratedByAppInstanceUserCommand.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 = "DescribeChannelModeratedByAppInstanceUserCommand";
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 = "DescribeChannelModeratedByAppInstanceUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog,
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
+ DescribeChannelModeratedByAppInstanceUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelModeratedByAppInstanceUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelModeratedByAppInstanceUserCommand;
38
+ }($Command));
39
+ export { DescribeChannelModeratedByAppInstanceUserCommand };
@@ -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 { DescribeChannelModeratorRequestFilterSensitiveLog, DescribeChannelModeratorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelModeratorCommand, serializeAws_restJson1DescribeChannelModeratorCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelModeratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelModeratorCommand.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 = "DescribeChannelModeratorCommand";
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 = "DescribeChannelModeratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelModeratorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelModeratorResponseFilterSensitiveLog,
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
+ DescribeChannelModeratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelModeratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelModeratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelModeratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelModeratorCommand;
38
+ }($Command));
39
+ export { DescribeChannelModeratorCommand };
@@ -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 { DisassociateChannelFlowRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociateChannelFlowCommand, serializeAws_restJson1DisassociateChannelFlowCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociateChannelFlowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateChannelFlowCommand.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 = "DisassociateChannelFlowCommand";
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 = "DisassociateChannelFlowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateChannelFlowRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisassociateChannelFlowCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociateChannelFlowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateChannelFlowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociateChannelFlowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateChannelFlowCommand;
38
+ }($Command));
39
+ export { DisassociateChannelFlowCommand };
@@ -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 { GetChannelMembershipPreferencesRequestFilterSensitiveLog, GetChannelMembershipPreferencesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetChannelMembershipPreferencesCommand, serializeAws_restJson1GetChannelMembershipPreferencesCommand, } from "../protocols/Aws_restJson1";
5
- export class GetChannelMembershipPreferencesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetChannelMembershipPreferencesCommand.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 = "GetChannelMembershipPreferencesCommand";
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 = "GetChannelMembershipPreferencesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetChannelMembershipPreferencesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetChannelMembershipPreferencesResponseFilterSensitiveLog,
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
+ GetChannelMembershipPreferencesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetChannelMembershipPreferencesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetChannelMembershipPreferencesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetChannelMembershipPreferencesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetChannelMembershipPreferencesCommand;
38
+ }($Command));
39
+ export { GetChannelMembershipPreferencesCommand };
@@ -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 { GetChannelMessageRequestFilterSensitiveLog, GetChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetChannelMessageCommand, serializeAws_restJson1GetChannelMessageCommand, } from "../protocols/Aws_restJson1";
5
- export class GetChannelMessageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetChannelMessageCommand.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 = "GetChannelMessageCommand";
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 = "GetChannelMessageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetChannelMessageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetChannelMessageResponseFilterSensitiveLog,
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
+ GetChannelMessageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetChannelMessageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetChannelMessageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetChannelMessageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetChannelMessageCommand;
38
+ }($Command));
39
+ export { GetChannelMessageCommand };
@@ -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 { GetChannelMessageStatusRequestFilterSensitiveLog, GetChannelMessageStatusResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetChannelMessageStatusCommand, serializeAws_restJson1GetChannelMessageStatusCommand, } from "../protocols/Aws_restJson1";
5
- export class GetChannelMessageStatusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetChannelMessageStatusCommand.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 = "GetChannelMessageStatusCommand";
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 = "GetChannelMessageStatusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetChannelMessageStatusRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetChannelMessageStatusResponseFilterSensitiveLog,
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
+ GetChannelMessageStatusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetChannelMessageStatusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetChannelMessageStatusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetChannelMessageStatusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetChannelMessageStatusCommand;
38
+ }($Command));
39
+ export { GetChannelMessageStatusCommand };
@@ -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 { GetMessagingSessionEndpointRequestFilterSensitiveLog, GetMessagingSessionEndpointResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetMessagingSessionEndpointCommand, serializeAws_restJson1GetMessagingSessionEndpointCommand, } from "../protocols/Aws_restJson1";
5
- export class GetMessagingSessionEndpointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetMessagingSessionEndpointCommand.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 = "GetMessagingSessionEndpointCommand";
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 = "GetMessagingSessionEndpointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetMessagingSessionEndpointRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetMessagingSessionEndpointResponseFilterSensitiveLog,
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
+ GetMessagingSessionEndpointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetMessagingSessionEndpointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetMessagingSessionEndpointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetMessagingSessionEndpointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetMessagingSessionEndpointCommand;
38
+ }($Command));
39
+ export { GetMessagingSessionEndpointCommand };
@@ -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 { ListChannelBansRequestFilterSensitiveLog, ListChannelBansResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelBansCommand, serializeAws_restJson1ListChannelBansCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelBansCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelBansCommand.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 = "ListChannelBansCommand";
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 = "ListChannelBansCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelBansRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelBansResponseFilterSensitiveLog,
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
+ ListChannelBansCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelBansCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelBansCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelBansCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelBansCommand;
38
+ }($Command));
39
+ export { ListChannelBansCommand };
@@ -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 { ListChannelFlowsRequestFilterSensitiveLog, ListChannelFlowsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelFlowsCommand, serializeAws_restJson1ListChannelFlowsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelFlowsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelFlowsCommand.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 = "ListChannelFlowsCommand";
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 = "ListChannelFlowsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelFlowsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelFlowsResponseFilterSensitiveLog,
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
+ ListChannelFlowsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelFlowsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelFlowsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelFlowsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelFlowsCommand;
38
+ }($Command));
39
+ export { ListChannelFlowsCommand };
@@ -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 { ListChannelMembershipsRequestFilterSensitiveLog, ListChannelMembershipsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelMembershipsCommand, serializeAws_restJson1ListChannelMembershipsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelMembershipsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelMembershipsCommand.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 = "ListChannelMembershipsCommand";
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 = "ListChannelMembershipsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelMembershipsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelMembershipsResponseFilterSensitiveLog,
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
+ ListChannelMembershipsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelMembershipsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelMembershipsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelMembershipsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelMembershipsCommand;
38
+ }($Command));
39
+ export { ListChannelMembershipsCommand };