@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 { DeleteChannelRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteChannelCommand, serializeAws_restJson1DeleteChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteChannelCommand = (function (_super) {
7
+ __extends(DeleteChannelCommand, _super);
8
+ function DeleteChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteChannelCommand.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 = "DeleteChannelCommand";
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 = "DeleteChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteChannelRequestFilterSensitiveLog,
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
+ DeleteChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteChannelCommand;
38
+ }($Command));
39
+ export { DeleteChannelCommand };
@@ -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 { DeleteChannelFlowRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteChannelFlowCommand, serializeAws_restJson1DeleteChannelFlowCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteChannelFlowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteChannelFlowCommand = (function (_super) {
7
+ __extends(DeleteChannelFlowCommand, _super);
8
+ function DeleteChannelFlowCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteChannelFlowCommand.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 = "DeleteChannelFlowCommand";
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 = "DeleteChannelFlowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteChannelFlowRequestFilterSensitiveLog,
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
+ DeleteChannelFlowCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteChannelFlowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteChannelFlowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteChannelFlowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteChannelFlowCommand;
38
+ }($Command));
39
+ export { DeleteChannelFlowCommand };
@@ -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 { DeleteChannelMembershipRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteChannelMembershipCommand, serializeAws_restJson1DeleteChannelMembershipCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteChannelMembershipCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteChannelMembershipCommand = (function (_super) {
7
+ __extends(DeleteChannelMembershipCommand, _super);
8
+ function DeleteChannelMembershipCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteChannelMembershipCommand.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 = "DeleteChannelMembershipCommand";
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 = "DeleteChannelMembershipCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteChannelMembershipRequestFilterSensitiveLog,
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
+ DeleteChannelMembershipCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteChannelMembershipCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteChannelMembershipCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteChannelMembershipCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteChannelMembershipCommand;
38
+ }($Command));
39
+ export { DeleteChannelMembershipCommand };
@@ -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 { DeleteChannelMessageRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteChannelMessageCommand, serializeAws_restJson1DeleteChannelMessageCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteChannelMessageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteChannelMessageCommand = (function (_super) {
7
+ __extends(DeleteChannelMessageCommand, _super);
8
+ function DeleteChannelMessageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteChannelMessageCommand.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 = "DeleteChannelMessageCommand";
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 = "DeleteChannelMessageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteChannelMessageRequestFilterSensitiveLog,
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
+ DeleteChannelMessageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteChannelMessageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteChannelMessageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteChannelMessageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteChannelMessageCommand;
38
+ }($Command));
39
+ export { DeleteChannelMessageCommand };
@@ -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 { DeleteChannelModeratorRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteChannelModeratorCommand, serializeAws_restJson1DeleteChannelModeratorCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteChannelModeratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteChannelModeratorCommand = (function (_super) {
7
+ __extends(DeleteChannelModeratorCommand, _super);
8
+ function DeleteChannelModeratorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteChannelModeratorCommand.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 = "DeleteChannelModeratorCommand";
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 = "DeleteChannelModeratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteChannelModeratorRequestFilterSensitiveLog,
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
+ DeleteChannelModeratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteChannelModeratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteChannelModeratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteChannelModeratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteChannelModeratorCommand;
38
+ }($Command));
39
+ export { DeleteChannelModeratorCommand };
@@ -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 { DescribeChannelBanRequestFilterSensitiveLog, DescribeChannelBanResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelBanCommand, serializeAws_restJson1DescribeChannelBanCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelBanCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeChannelBanCommand = (function (_super) {
7
+ __extends(DescribeChannelBanCommand, _super);
8
+ function DescribeChannelBanCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelBanCommand.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 = "DescribeChannelBanCommand";
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 = "DescribeChannelBanCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelBanRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelBanResponseFilterSensitiveLog,
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
+ DescribeChannelBanCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelBanCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelBanCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelBanCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelBanCommand;
38
+ }($Command));
39
+ export { DescribeChannelBanCommand };
@@ -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 { DescribeChannelRequestFilterSensitiveLog, DescribeChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelCommand, serializeAws_restJson1DescribeChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeChannelCommand = (function (_super) {
7
+ __extends(DescribeChannelCommand, _super);
8
+ function DescribeChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelCommand.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 = "DescribeChannelCommand";
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 = "DescribeChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelResponseFilterSensitiveLog,
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
+ DescribeChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelCommand;
38
+ }($Command));
39
+ export { DescribeChannelCommand };
@@ -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 { DescribeChannelFlowRequestFilterSensitiveLog, DescribeChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelFlowCommand, serializeAws_restJson1DescribeChannelFlowCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelFlowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeChannelFlowCommand = (function (_super) {
7
+ __extends(DescribeChannelFlowCommand, _super);
8
+ function DescribeChannelFlowCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelFlowCommand.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 = "DescribeChannelFlowCommand";
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 = "DescribeChannelFlowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelFlowRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelFlowResponseFilterSensitiveLog,
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
+ DescribeChannelFlowCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelFlowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelFlowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelFlowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelFlowCommand;
38
+ }($Command));
39
+ export { DescribeChannelFlowCommand };
@@ -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 { DescribeChannelMembershipRequestFilterSensitiveLog, DescribeChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelMembershipCommand, serializeAws_restJson1DescribeChannelMembershipCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelMembershipCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeChannelMembershipCommand = (function (_super) {
7
+ __extends(DescribeChannelMembershipCommand, _super);
8
+ function DescribeChannelMembershipCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelMembershipCommand.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 = "DescribeChannelMembershipCommand";
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 = "DescribeChannelMembershipCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelMembershipRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelMembershipResponseFilterSensitiveLog,
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
+ DescribeChannelMembershipCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelMembershipCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelMembershipCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelMembershipCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelMembershipCommand;
38
+ }($Command));
39
+ export { DescribeChannelMembershipCommand };
@@ -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 { DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog, DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand, serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelMembershipForAppInstanceUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeChannelMembershipForAppInstanceUserCommand = (function (_super) {
7
+ __extends(DescribeChannelMembershipForAppInstanceUserCommand, _super);
8
+ function DescribeChannelMembershipForAppInstanceUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelMembershipForAppInstanceUserCommand.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 = "DescribeChannelMembershipForAppInstanceUserCommand";
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 = "DescribeChannelMembershipForAppInstanceUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog,
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
+ DescribeChannelMembershipForAppInstanceUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelMembershipForAppInstanceUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelMembershipForAppInstanceUserCommand;
38
+ }($Command));
39
+ export { DescribeChannelMembershipForAppInstanceUserCommand };