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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/ChimeSDKMessaging.js +190 -197
  3. package/dist-es/ChimeSDKMessagingClient.js +22 -28
  4. package/dist-es/commands/AssociateChannelFlowCommand.js +22 -29
  5. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +21 -28
  6. package/dist-es/commands/ChannelFlowCallbackCommand.js +21 -28
  7. package/dist-es/commands/CreateChannelBanCommand.js +21 -28
  8. package/dist-es/commands/CreateChannelCommand.js +21 -28
  9. package/dist-es/commands/CreateChannelFlowCommand.js +21 -28
  10. package/dist-es/commands/CreateChannelMembershipCommand.js +21 -28
  11. package/dist-es/commands/CreateChannelModeratorCommand.js +21 -28
  12. package/dist-es/commands/DeleteChannelBanCommand.js +22 -29
  13. package/dist-es/commands/DeleteChannelCommand.js +22 -29
  14. package/dist-es/commands/DeleteChannelFlowCommand.js +22 -29
  15. package/dist-es/commands/DeleteChannelMembershipCommand.js +22 -29
  16. package/dist-es/commands/DeleteChannelMessageCommand.js +22 -29
  17. package/dist-es/commands/DeleteChannelModeratorCommand.js +22 -29
  18. package/dist-es/commands/DescribeChannelBanCommand.js +21 -28
  19. package/dist-es/commands/DescribeChannelCommand.js +21 -28
  20. package/dist-es/commands/DescribeChannelFlowCommand.js +21 -28
  21. package/dist-es/commands/DescribeChannelMembershipCommand.js +21 -28
  22. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +21 -28
  23. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +21 -28
  24. package/dist-es/commands/DescribeChannelModeratorCommand.js +21 -28
  25. package/dist-es/commands/DisassociateChannelFlowCommand.js +22 -29
  26. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +21 -28
  27. package/dist-es/commands/GetChannelMessageCommand.js +21 -28
  28. package/dist-es/commands/GetChannelMessageStatusCommand.js +21 -28
  29. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +21 -28
  30. package/dist-es/commands/ListChannelBansCommand.js +21 -28
  31. package/dist-es/commands/ListChannelFlowsCommand.js +21 -28
  32. package/dist-es/commands/ListChannelMembershipsCommand.js +21 -28
  33. package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +21 -28
  34. package/dist-es/commands/ListChannelMessagesCommand.js +21 -28
  35. package/dist-es/commands/ListChannelModeratorsCommand.js +21 -28
  36. package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +21 -28
  37. package/dist-es/commands/ListChannelsCommand.js +21 -28
  38. package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +21 -28
  39. package/dist-es/commands/ListSubChannelsCommand.js +21 -28
  40. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  41. package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +21 -28
  42. package/dist-es/commands/RedactChannelMessageCommand.js +21 -28
  43. package/dist-es/commands/SearchChannelsCommand.js +21 -28
  44. package/dist-es/commands/SendChannelMessageCommand.js +21 -28
  45. package/dist-es/commands/TagResourceCommand.js +22 -29
  46. package/dist-es/commands/UntagResourceCommand.js +22 -29
  47. package/dist-es/commands/UpdateChannelCommand.js +21 -28
  48. package/dist-es/commands/UpdateChannelFlowCommand.js +21 -28
  49. package/dist-es/commands/UpdateChannelMessageCommand.js +21 -28
  50. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +21 -28
  51. package/dist-es/endpoints.js +8 -8
  52. package/dist-es/models/ChimeSDKMessagingServiceException.js +5 -10
  53. package/dist-es/models/models_0.js +627 -282
  54. package/dist-es/pagination/ListChannelBansPaginator.js +25 -68
  55. package/dist-es/pagination/ListChannelFlowsPaginator.js +25 -68
  56. package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +25 -68
  57. package/dist-es/pagination/ListChannelMembershipsPaginator.js +25 -68
  58. package/dist-es/pagination/ListChannelMessagesPaginator.js +25 -68
  59. package/dist-es/pagination/ListChannelModeratorsPaginator.js +25 -68
  60. package/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js +25 -68
  61. package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +25 -68
  62. package/dist-es/pagination/ListChannelsPaginator.js +25 -68
  63. package/dist-es/pagination/ListSubChannelsPaginator.js +25 -68
  64. package/dist-es/pagination/SearchChannelsPaginator.js +25 -68
  65. package/dist-es/protocols/Aws_restJson1.js +3792 -5312
  66. package/dist-es/runtimeConfig.browser.js +26 -12
  67. package/dist-es/runtimeConfig.js +30 -12
  68. package/dist-es/runtimeConfig.native.js +8 -5
  69. package/dist-es/runtimeConfig.shared.js +8 -11
  70. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteChannelRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelCommand, serializeAws_restJson1DeleteChannelCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ChimeSDKMessagingClient";
18
- var commandName = "DeleteChannelCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ChimeSDKMessagingClient";
15
+ const commandName = "DeleteChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteChannelRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteChannelCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteChannelCommand(input, context);
33
- };
34
- DeleteChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteChannelCommand(output, context);
36
- };
37
- return DeleteChannelCommand;
38
- }($Command));
39
- export { DeleteChannelCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteChannelFlowRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelFlowCommand, serializeAws_restJson1DeleteChannelFlowCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteChannelFlowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteChannelFlowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ChimeSDKMessagingClient";
18
- var commandName = "DeleteChannelFlowCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ChimeSDKMessagingClient";
15
+ const commandName = "DeleteChannelFlowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteChannelFlowRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteChannelFlowCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteChannelFlowCommand(input, context);
33
- };
34
- DeleteChannelFlowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteChannelFlowCommand(output, context);
36
- };
37
- return DeleteChannelFlowCommand;
38
- }($Command));
39
- export { DeleteChannelFlowCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteChannelMembershipRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelMembershipCommand, serializeAws_restJson1DeleteChannelMembershipCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteChannelMembershipCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteChannelMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ChimeSDKMessagingClient";
18
- var commandName = "DeleteChannelMembershipCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ChimeSDKMessagingClient";
15
+ const commandName = "DeleteChannelMembershipCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteChannelMembershipRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteChannelMembershipCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteChannelMembershipCommand(input, context);
33
- };
34
- DeleteChannelMembershipCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteChannelMembershipCommand(output, context);
36
- };
37
- return DeleteChannelMembershipCommand;
38
- }($Command));
39
- export { DeleteChannelMembershipCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteChannelMessageRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelMessageCommand, serializeAws_restJson1DeleteChannelMessageCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteChannelMessageCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteChannelMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ChimeSDKMessagingClient";
18
- var commandName = "DeleteChannelMessageCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ChimeSDKMessagingClient";
15
+ const commandName = "DeleteChannelMessageCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteChannelMessageRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteChannelMessageCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteChannelMessageCommand(input, context);
33
- };
34
- DeleteChannelMessageCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteChannelMessageCommand(output, context);
36
- };
37
- return DeleteChannelMessageCommand;
38
- }($Command));
39
- export { DeleteChannelMessageCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteChannelModeratorRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelModeratorCommand, serializeAws_restJson1DeleteChannelModeratorCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteChannelModeratorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteChannelModeratorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ChimeSDKMessagingClient";
18
- var commandName = "DeleteChannelModeratorCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ChimeSDKMessagingClient";
15
+ const commandName = "DeleteChannelModeratorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteChannelModeratorRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteChannelModeratorCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteChannelModeratorCommand(input, context);
33
- };
34
- DeleteChannelModeratorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteChannelModeratorCommand(output, context);
36
- };
37
- return DeleteChannelModeratorCommand;
38
- }($Command));
39
- export { DeleteChannelModeratorCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeChannelBanRequestFilterSensitiveLog, DescribeChannelBanResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeChannelBanCommand, serializeAws_restJson1DescribeChannelBanCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DescribeChannelBanCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeChannelBanCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ChimeSDKMessagingClient";
18
- var commandName = "DescribeChannelBanCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ChimeSDKMessagingClient";
15
+ const commandName = "DescribeChannelBanCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeChannelBanRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeChannelBanResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeChannelBanCommand(input, context);
33
- };
34
- DescribeChannelBanCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeChannelBanCommand(output, context);
36
- };
37
- return DescribeChannelBanCommand;
38
- }($Command));
39
- export { DescribeChannelBanCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeChannelRequestFilterSensitiveLog, DescribeChannelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeChannelCommand, serializeAws_restJson1DescribeChannelCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DescribeChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ChimeSDKMessagingClient";
18
- var commandName = "DescribeChannelCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ChimeSDKMessagingClient";
15
+ const commandName = "DescribeChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeChannelResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeChannelCommand(input, context);
33
- };
34
- DescribeChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeChannelCommand(output, context);
36
- };
37
- return DescribeChannelCommand;
38
- }($Command));
39
- export { DescribeChannelCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeChannelFlowRequestFilterSensitiveLog, DescribeChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeChannelFlowCommand, serializeAws_restJson1DescribeChannelFlowCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DescribeChannelFlowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeChannelFlowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ChimeSDKMessagingClient";
18
- var commandName = "DescribeChannelFlowCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ChimeSDKMessagingClient";
15
+ const commandName = "DescribeChannelFlowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeChannelFlowRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeChannelFlowResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeChannelFlowCommand(input, context);
33
- };
34
- DescribeChannelFlowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeChannelFlowCommand(output, context);
36
- };
37
- return DescribeChannelFlowCommand;
38
- }($Command));
39
- export { DescribeChannelFlowCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeChannelMembershipRequestFilterSensitiveLog, DescribeChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeChannelMembershipCommand, serializeAws_restJson1DescribeChannelMembershipCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DescribeChannelMembershipCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeChannelMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ChimeSDKMessagingClient";
18
- var commandName = "DescribeChannelMembershipCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ChimeSDKMessagingClient";
15
+ const commandName = "DescribeChannelMembershipCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeChannelMembershipRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeChannelMembershipResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeChannelMembershipCommand(input, context);
33
- };
34
- DescribeChannelMembershipCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeChannelMembershipCommand(output, context);
36
- };
37
- return DescribeChannelMembershipCommand;
38
- }($Command));
39
- export { DescribeChannelMembershipCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog, DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand, serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DescribeChannelMembershipForAppInstanceUserCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeChannelMembershipForAppInstanceUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ChimeSDKMessagingClient";
18
- var commandName = "DescribeChannelMembershipForAppInstanceUserCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ChimeSDKMessagingClient";
15
+ const commandName = "DescribeChannelMembershipForAppInstanceUserCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand(input, context);
33
- };
34
- DescribeChannelMembershipForAppInstanceUserCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand(output, context);
36
- };
37
- return DescribeChannelMembershipForAppInstanceUserCommand;
38
- }($Command));
39
- export { DescribeChannelMembershipForAppInstanceUserCommand };
31
+ }
32
+ }