@aws-sdk/client-chime-sdk-messaging 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/ChimeSDKMessaging.js +197 -190
  4. package/dist-es/ChimeSDKMessagingClient.js +28 -22
  5. package/dist-es/commands/AssociateChannelFlowCommand.js +29 -22
  6. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +28 -21
  7. package/dist-es/commands/ChannelFlowCallbackCommand.js +28 -21
  8. package/dist-es/commands/CreateChannelBanCommand.js +28 -21
  9. package/dist-es/commands/CreateChannelCommand.js +28 -21
  10. package/dist-es/commands/CreateChannelFlowCommand.js +28 -21
  11. package/dist-es/commands/CreateChannelMembershipCommand.js +28 -21
  12. package/dist-es/commands/CreateChannelModeratorCommand.js +28 -21
  13. package/dist-es/commands/DeleteChannelBanCommand.js +29 -22
  14. package/dist-es/commands/DeleteChannelCommand.js +29 -22
  15. package/dist-es/commands/DeleteChannelFlowCommand.js +29 -22
  16. package/dist-es/commands/DeleteChannelMembershipCommand.js +29 -22
  17. package/dist-es/commands/DeleteChannelMessageCommand.js +29 -22
  18. package/dist-es/commands/DeleteChannelModeratorCommand.js +29 -22
  19. package/dist-es/commands/DescribeChannelBanCommand.js +28 -21
  20. package/dist-es/commands/DescribeChannelCommand.js +28 -21
  21. package/dist-es/commands/DescribeChannelFlowCommand.js +28 -21
  22. package/dist-es/commands/DescribeChannelMembershipCommand.js +28 -21
  23. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +28 -21
  24. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +28 -21
  25. package/dist-es/commands/DescribeChannelModeratorCommand.js +28 -21
  26. package/dist-es/commands/DisassociateChannelFlowCommand.js +29 -22
  27. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +28 -21
  28. package/dist-es/commands/GetChannelMessageCommand.js +28 -21
  29. package/dist-es/commands/GetChannelMessageStatusCommand.js +28 -21
  30. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +28 -21
  31. package/dist-es/commands/ListChannelBansCommand.js +28 -21
  32. package/dist-es/commands/ListChannelFlowsCommand.js +28 -21
  33. package/dist-es/commands/ListChannelMembershipsCommand.js +28 -21
  34. package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +28 -21
  35. package/dist-es/commands/ListChannelMessagesCommand.js +28 -21
  36. package/dist-es/commands/ListChannelModeratorsCommand.js +28 -21
  37. package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +28 -21
  38. package/dist-es/commands/ListChannelsCommand.js +28 -21
  39. package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +28 -21
  40. package/dist-es/commands/ListSubChannelsCommand.js +28 -21
  41. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  42. package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +28 -21
  43. package/dist-es/commands/RedactChannelMessageCommand.js +28 -21
  44. package/dist-es/commands/SearchChannelsCommand.js +28 -21
  45. package/dist-es/commands/SendChannelMessageCommand.js +28 -21
  46. package/dist-es/commands/TagResourceCommand.js +29 -22
  47. package/dist-es/commands/UntagResourceCommand.js +29 -22
  48. package/dist-es/commands/UpdateChannelCommand.js +28 -21
  49. package/dist-es/commands/UpdateChannelFlowCommand.js +28 -21
  50. package/dist-es/commands/UpdateChannelMessageCommand.js +28 -21
  51. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +28 -21
  52. package/dist-es/endpoints.js +8 -8
  53. package/dist-es/models/ChimeSDKMessagingServiceException.js +10 -5
  54. package/dist-es/models/models_0.js +282 -627
  55. package/dist-es/pagination/ListChannelBansPaginator.js +68 -25
  56. package/dist-es/pagination/ListChannelFlowsPaginator.js +68 -25
  57. package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +68 -25
  58. package/dist-es/pagination/ListChannelMembershipsPaginator.js +68 -25
  59. package/dist-es/pagination/ListChannelMessagesPaginator.js +68 -25
  60. package/dist-es/pagination/ListChannelModeratorsPaginator.js +68 -25
  61. package/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js +68 -25
  62. package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +68 -25
  63. package/dist-es/pagination/ListChannelsPaginator.js +68 -25
  64. package/dist-es/pagination/ListSubChannelsPaginator.js +68 -25
  65. package/dist-es/pagination/SearchChannelsPaginator.js +68 -25
  66. package/dist-es/protocols/Aws_restJson1.js +5312 -3792
  67. package/dist-es/runtimeConfig.browser.js +12 -26
  68. package/dist-es/runtimeConfig.js +12 -30
  69. package/dist-es/runtimeConfig.native.js +5 -8
  70. package/dist-es/runtimeConfig.shared.js +11 -8
  71. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class ChimeSDKMessagingClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var ChimeSDKMessagingClient = (function (_super) {
13
+ __extends(ChimeSDKMessagingClient, _super);
14
+ function ChimeSDKMessagingClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ ChimeSDKMessagingClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return ChimeSDKMessagingClient;
38
+ }(__Client));
39
+ export { ChimeSDKMessagingClient };
@@ -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 { AssociateChannelFlowRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AssociateChannelFlowCommand, serializeAws_restJson1AssociateChannelFlowCommand, } from "../protocols/Aws_restJson1";
5
- export class AssociateChannelFlowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociateChannelFlowCommand = (function (_super) {
7
+ __extends(AssociateChannelFlowCommand, _super);
8
+ function AssociateChannelFlowCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateChannelFlowCommand.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 = "AssociateChannelFlowCommand";
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 = "AssociateChannelFlowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateChannelFlowRequestFilterSensitiveLog,
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
+ AssociateChannelFlowCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssociateChannelFlowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateChannelFlowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssociateChannelFlowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateChannelFlowCommand;
38
+ }($Command));
39
+ export { AssociateChannelFlowCommand };
@@ -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 { BatchCreateChannelMembershipRequestFilterSensitiveLog, BatchCreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1BatchCreateChannelMembershipCommand, serializeAws_restJson1BatchCreateChannelMembershipCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchCreateChannelMembershipCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchCreateChannelMembershipCommand = (function (_super) {
7
+ __extends(BatchCreateChannelMembershipCommand, _super);
8
+ function BatchCreateChannelMembershipCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchCreateChannelMembershipCommand.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 = "BatchCreateChannelMembershipCommand";
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 = "BatchCreateChannelMembershipCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchCreateChannelMembershipRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchCreateChannelMembershipResponseFilterSensitiveLog,
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
+ BatchCreateChannelMembershipCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchCreateChannelMembershipCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchCreateChannelMembershipCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchCreateChannelMembershipCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchCreateChannelMembershipCommand;
38
+ }($Command));
39
+ export { BatchCreateChannelMembershipCommand };
@@ -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 { ChannelFlowCallbackRequestFilterSensitiveLog, ChannelFlowCallbackResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ChannelFlowCallbackCommand, serializeAws_restJson1ChannelFlowCallbackCommand, } from "../protocols/Aws_restJson1";
5
- export class ChannelFlowCallbackCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ChannelFlowCallbackCommand = (function (_super) {
7
+ __extends(ChannelFlowCallbackCommand, _super);
8
+ function ChannelFlowCallbackCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ChannelFlowCallbackCommand.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 = "ChannelFlowCallbackCommand";
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 = "ChannelFlowCallbackCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ChannelFlowCallbackRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ChannelFlowCallbackResponseFilterSensitiveLog,
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
+ ChannelFlowCallbackCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ChannelFlowCallbackCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ChannelFlowCallbackCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ChannelFlowCallbackCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ChannelFlowCallbackCommand;
38
+ }($Command));
39
+ export { ChannelFlowCallbackCommand };
@@ -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 { CreateChannelBanRequestFilterSensitiveLog, CreateChannelBanResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateChannelBanCommand, serializeAws_restJson1CreateChannelBanCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateChannelBanCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateChannelBanCommand = (function (_super) {
7
+ __extends(CreateChannelBanCommand, _super);
8
+ function CreateChannelBanCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateChannelBanCommand.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 = "CreateChannelBanCommand";
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 = "CreateChannelBanCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateChannelBanRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateChannelBanResponseFilterSensitiveLog,
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
+ CreateChannelBanCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateChannelBanCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateChannelBanCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateChannelBanCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateChannelBanCommand;
38
+ }($Command));
39
+ export { CreateChannelBanCommand };
@@ -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 { CreateChannelRequestFilterSensitiveLog, CreateChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateChannelCommand, serializeAws_restJson1CreateChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateChannelCommand = (function (_super) {
7
+ __extends(CreateChannelCommand, _super);
8
+ function CreateChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateChannelCommand.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 = "CreateChannelCommand";
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 = "CreateChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateChannelResponseFilterSensitiveLog,
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
+ CreateChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateChannelCommand;
38
+ }($Command));
39
+ export { CreateChannelCommand };
@@ -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 { CreateChannelFlowRequestFilterSensitiveLog, CreateChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateChannelFlowCommand, serializeAws_restJson1CreateChannelFlowCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateChannelFlowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateChannelFlowCommand = (function (_super) {
7
+ __extends(CreateChannelFlowCommand, _super);
8
+ function CreateChannelFlowCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateChannelFlowCommand.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 = "CreateChannelFlowCommand";
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 = "CreateChannelFlowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateChannelFlowRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateChannelFlowResponseFilterSensitiveLog,
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
+ CreateChannelFlowCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateChannelFlowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateChannelFlowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateChannelFlowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateChannelFlowCommand;
38
+ }($Command));
39
+ export { CreateChannelFlowCommand };
@@ -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 { CreateChannelMembershipRequestFilterSensitiveLog, CreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateChannelMembershipCommand, serializeAws_restJson1CreateChannelMembershipCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateChannelMembershipCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateChannelMembershipCommand = (function (_super) {
7
+ __extends(CreateChannelMembershipCommand, _super);
8
+ function CreateChannelMembershipCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateChannelMembershipCommand.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 = "CreateChannelMembershipCommand";
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 = "CreateChannelMembershipCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateChannelMembershipRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateChannelMembershipResponseFilterSensitiveLog,
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
+ CreateChannelMembershipCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateChannelMembershipCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateChannelMembershipCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateChannelMembershipCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateChannelMembershipCommand;
38
+ }($Command));
39
+ export { CreateChannelMembershipCommand };
@@ -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 { CreateChannelModeratorRequestFilterSensitiveLog, CreateChannelModeratorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateChannelModeratorCommand, serializeAws_restJson1CreateChannelModeratorCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateChannelModeratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateChannelModeratorCommand = (function (_super) {
7
+ __extends(CreateChannelModeratorCommand, _super);
8
+ function CreateChannelModeratorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateChannelModeratorCommand.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 = "CreateChannelModeratorCommand";
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 = "CreateChannelModeratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateChannelModeratorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateChannelModeratorResponseFilterSensitiveLog,
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
+ CreateChannelModeratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateChannelModeratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateChannelModeratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateChannelModeratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateChannelModeratorCommand;
38
+ }($Command));
39
+ export { CreateChannelModeratorCommand };
@@ -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 { DeleteChannelBanRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteChannelBanCommand, serializeAws_restJson1DeleteChannelBanCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteChannelBanCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteChannelBanCommand = (function (_super) {
7
+ __extends(DeleteChannelBanCommand, _super);
8
+ function DeleteChannelBanCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteChannelBanCommand.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 = "DeleteChannelBanCommand";
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 = "DeleteChannelBanCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteChannelBanRequestFilterSensitiveLog,
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
+ DeleteChannelBanCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteChannelBanCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteChannelBanCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteChannelBanCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteChannelBanCommand;
38
+ }($Command));
39
+ export { DeleteChannelBanCommand };