@wildix/xbees-conversations-client 1.0.34 → 1.0.36

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 (114) hide show
  1. package/dist-cjs/ConversationsClient.js +7 -3
  2. package/dist-cjs/commands/AddChannelMemberCommand.js +12 -32
  3. package/dist-cjs/commands/AddChannelMembersCommand.js +12 -32
  4. package/dist-cjs/commands/CreateGroupChannelCommand.js +12 -32
  5. package/dist-cjs/commands/DeleteChannelCommand.js +12 -32
  6. package/dist-cjs/commands/DeleteChannelMemberCommand.js +12 -32
  7. package/dist-cjs/commands/DeleteMessageCommand.js +12 -32
  8. package/dist-cjs/commands/DeleteMessageReactionCommand.js +12 -32
  9. package/dist-cjs/commands/GetChannelCommand.js +12 -32
  10. package/dist-cjs/commands/GetChannelMemberCommand.js +12 -32
  11. package/dist-cjs/commands/GetDirectChannelIdCommand.js +12 -32
  12. package/dist-cjs/commands/GetMessageCommand.js +12 -32
  13. package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +12 -32
  14. package/dist-cjs/commands/HideChannelCommand.js +12 -32
  15. package/dist-cjs/commands/InviteCommand.js +12 -32
  16. package/dist-cjs/commands/JoinChannelCommand.js +12 -32
  17. package/dist-cjs/commands/LeaveChannelCommand.js +12 -32
  18. package/dist-cjs/commands/ListChannelMembersCommand.js +12 -32
  19. package/dist-cjs/commands/ListChannelsCommand.js +12 -32
  20. package/dist-cjs/commands/ListMessageReactionsCommand.js +12 -32
  21. package/dist-cjs/commands/ListMessagesCommand.js +12 -32
  22. package/dist-cjs/commands/MarkReadCommand.js +12 -32
  23. package/dist-cjs/commands/PartialUpdateChannelCommand.js +12 -32
  24. package/dist-cjs/commands/PartialUpdateMessageCommand.js +12 -32
  25. package/dist-cjs/commands/ScheduleExternalFlagAdjustmentJobCommand.js +12 -32
  26. package/dist-cjs/commands/SendGiphyCommand.js +12 -32
  27. package/dist-cjs/commands/SendMessageCommand.js +12 -32
  28. package/dist-cjs/commands/SendMessageReactionCommand.js +12 -32
  29. package/dist-cjs/commands/SendTypingStartCommand.js +12 -32
  30. package/dist-cjs/commands/SendTypingStopCommand.js +12 -32
  31. package/dist-cjs/commands/ShowChannelCommand.js +12 -32
  32. package/dist-cjs/commands/UpdateChannelCommand.js +12 -32
  33. package/dist-cjs/commands/UpdateMessageCommand.js +12 -32
  34. package/dist-cjs/protocols/Aws_restJson1.js +337 -1270
  35. package/dist-cjs/runtimeConfig.browser.js +5 -1
  36. package/dist-cjs/runtimeConfig.js +5 -1
  37. package/dist-cjs/runtimeConfig.shared.js +13 -11
  38. package/dist-es/ConversationsClient.js +7 -3
  39. package/dist-es/commands/AddChannelMemberCommand.js +12 -32
  40. package/dist-es/commands/AddChannelMembersCommand.js +12 -32
  41. package/dist-es/commands/CreateGroupChannelCommand.js +12 -32
  42. package/dist-es/commands/DeleteChannelCommand.js +12 -32
  43. package/dist-es/commands/DeleteChannelMemberCommand.js +12 -32
  44. package/dist-es/commands/DeleteMessageCommand.js +12 -32
  45. package/dist-es/commands/DeleteMessageReactionCommand.js +12 -32
  46. package/dist-es/commands/GetChannelCommand.js +12 -32
  47. package/dist-es/commands/GetChannelMemberCommand.js +12 -32
  48. package/dist-es/commands/GetDirectChannelIdCommand.js +12 -32
  49. package/dist-es/commands/GetMessageCommand.js +12 -32
  50. package/dist-es/commands/GetOrCreateDirectChannelCommand.js +12 -32
  51. package/dist-es/commands/HideChannelCommand.js +12 -32
  52. package/dist-es/commands/InviteCommand.js +12 -32
  53. package/dist-es/commands/JoinChannelCommand.js +12 -32
  54. package/dist-es/commands/LeaveChannelCommand.js +12 -32
  55. package/dist-es/commands/ListChannelMembersCommand.js +12 -32
  56. package/dist-es/commands/ListChannelsCommand.js +12 -32
  57. package/dist-es/commands/ListMessageReactionsCommand.js +12 -32
  58. package/dist-es/commands/ListMessagesCommand.js +12 -32
  59. package/dist-es/commands/MarkReadCommand.js +12 -32
  60. package/dist-es/commands/PartialUpdateChannelCommand.js +12 -32
  61. package/dist-es/commands/PartialUpdateMessageCommand.js +12 -32
  62. package/dist-es/commands/ScheduleExternalFlagAdjustmentJobCommand.js +12 -32
  63. package/dist-es/commands/SendGiphyCommand.js +12 -32
  64. package/dist-es/commands/SendMessageCommand.js +12 -32
  65. package/dist-es/commands/SendMessageReactionCommand.js +12 -32
  66. package/dist-es/commands/SendTypingStartCommand.js +12 -32
  67. package/dist-es/commands/SendTypingStopCommand.js +12 -32
  68. package/dist-es/commands/ShowChannelCommand.js +12 -32
  69. package/dist-es/commands/UpdateChannelCommand.js +12 -32
  70. package/dist-es/commands/UpdateMessageCommand.js +12 -32
  71. package/dist-es/protocols/Aws_restJson1.js +338 -1271
  72. package/dist-es/runtimeConfig.browser.js +4 -1
  73. package/dist-es/runtimeConfig.js +4 -1
  74. package/dist-es/runtimeConfig.shared.js +13 -11
  75. package/dist-types/Conversations.d.ts +4 -0
  76. package/dist-types/ConversationsClient.d.ts +13 -7
  77. package/dist-types/commands/AddChannelMemberCommand.d.ts +7 -19
  78. package/dist-types/commands/AddChannelMembersCommand.d.ts +7 -19
  79. package/dist-types/commands/CreateGroupChannelCommand.d.ts +7 -19
  80. package/dist-types/commands/DeleteChannelCommand.d.ts +7 -19
  81. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +7 -19
  82. package/dist-types/commands/DeleteMessageCommand.d.ts +7 -19
  83. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +7 -19
  84. package/dist-types/commands/GetChannelCommand.d.ts +7 -19
  85. package/dist-types/commands/GetChannelMemberCommand.d.ts +7 -19
  86. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +9 -21
  87. package/dist-types/commands/GetMessageCommand.d.ts +7 -19
  88. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +7 -19
  89. package/dist-types/commands/HideChannelCommand.d.ts +8 -84
  90. package/dist-types/commands/InviteCommand.d.ts +7 -19
  91. package/dist-types/commands/JoinChannelCommand.d.ts +7 -19
  92. package/dist-types/commands/LeaveChannelCommand.d.ts +7 -19
  93. package/dist-types/commands/ListChannelMembersCommand.d.ts +7 -19
  94. package/dist-types/commands/ListChannelsCommand.d.ts +7 -19
  95. package/dist-types/commands/ListMessageReactionsCommand.d.ts +7 -19
  96. package/dist-types/commands/ListMessagesCommand.d.ts +7 -19
  97. package/dist-types/commands/MarkReadCommand.d.ts +7 -19
  98. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +8 -19
  99. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +7 -19
  100. package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +8 -20
  101. package/dist-types/commands/SendGiphyCommand.d.ts +7 -19
  102. package/dist-types/commands/SendMessageCommand.d.ts +7 -19
  103. package/dist-types/commands/SendMessageReactionCommand.d.ts +7 -19
  104. package/dist-types/commands/SendTypingStartCommand.d.ts +7 -19
  105. package/dist-types/commands/SendTypingStopCommand.d.ts +7 -19
  106. package/dist-types/commands/ShowChannelCommand.d.ts +8 -84
  107. package/dist-types/commands/UpdateChannelCommand.d.ts +8 -19
  108. package/dist-types/commands/UpdateMessageCommand.d.ts +7 -19
  109. package/dist-types/index.d.ts +2 -0
  110. package/dist-types/models/models_0.d.ts +55 -47
  111. package/dist-types/runtimeConfig.browser.d.ts +3 -4
  112. package/dist-types/runtimeConfig.d.ts +3 -4
  113. package/dist-types/runtimeConfig.native.d.ts +3 -4
  114. package/package.json +30 -28
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
9
- class ScheduleExternalFlagAdjustmentJobCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
- resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
- const stack = clientStack.concat(this.middlewareStack);
17
- const { logger } = configuration;
18
- const clientName = "ConversationsClient";
19
- const commandName = "ScheduleExternalFlagAdjustmentJobCommand";
20
- const handlerExecutionContext = {
21
- logger,
22
- clientName,
23
- commandName,
24
- inputFilterSensitiveLog: (_) => _,
25
- outputFilterSensitiveLog: (_) => _,
26
- [types_1.SMITHY_CONTEXT_KEY]: {
27
- service: "Conversations",
28
- operation: "ScheduleExternalFlagAdjustmentJob",
29
- },
30
- };
31
- const { requestHandler } = configuration;
32
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
- }
34
- serialize(input, context) {
35
- return (0, Aws_restJson1_1.se_ScheduleExternalFlagAdjustmentJobCommand)(input, context);
36
- }
37
- deserialize(output, context) {
38
- return (0, Aws_restJson1_1.de_ScheduleExternalFlagAdjustmentJobCommand)(output, context);
39
- }
8
+ class ScheduleExternalFlagAdjustmentJobCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "ScheduleExternalFlagAdjustmentJob", {})
15
+ .n("ConversationsClient", "ScheduleExternalFlagAdjustmentJobCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_ScheduleExternalFlagAdjustmentJobCommand)
18
+ .de(Aws_restJson1_1.de_ScheduleExternalFlagAdjustmentJobCommand)
19
+ .build() {
40
20
  }
41
21
  exports.ScheduleExternalFlagAdjustmentJobCommand = ScheduleExternalFlagAdjustmentJobCommand;
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
9
- class SendGiphyCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
- resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
- const stack = clientStack.concat(this.middlewareStack);
17
- const { logger } = configuration;
18
- const clientName = "ConversationsClient";
19
- const commandName = "SendGiphyCommand";
20
- const handlerExecutionContext = {
21
- logger,
22
- clientName,
23
- commandName,
24
- inputFilterSensitiveLog: (_) => _,
25
- outputFilterSensitiveLog: (_) => _,
26
- [types_1.SMITHY_CONTEXT_KEY]: {
27
- service: "Conversations",
28
- operation: "SendGiphy",
29
- },
30
- };
31
- const { requestHandler } = configuration;
32
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
- }
34
- serialize(input, context) {
35
- return (0, Aws_restJson1_1.se_SendGiphyCommand)(input, context);
36
- }
37
- deserialize(output, context) {
38
- return (0, Aws_restJson1_1.de_SendGiphyCommand)(output, context);
39
- }
8
+ class SendGiphyCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "SendGiphy", {})
15
+ .n("ConversationsClient", "SendGiphyCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SendGiphyCommand)
18
+ .de(Aws_restJson1_1.de_SendGiphyCommand)
19
+ .build() {
40
20
  }
41
21
  exports.SendGiphyCommand = SendGiphyCommand;
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
9
- class SendMessageCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
- resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
- const stack = clientStack.concat(this.middlewareStack);
17
- const { logger } = configuration;
18
- const clientName = "ConversationsClient";
19
- const commandName = "SendMessageCommand";
20
- const handlerExecutionContext = {
21
- logger,
22
- clientName,
23
- commandName,
24
- inputFilterSensitiveLog: (_) => _,
25
- outputFilterSensitiveLog: (_) => _,
26
- [types_1.SMITHY_CONTEXT_KEY]: {
27
- service: "Conversations",
28
- operation: "SendMessage",
29
- },
30
- };
31
- const { requestHandler } = configuration;
32
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
- }
34
- serialize(input, context) {
35
- return (0, Aws_restJson1_1.se_SendMessageCommand)(input, context);
36
- }
37
- deserialize(output, context) {
38
- return (0, Aws_restJson1_1.de_SendMessageCommand)(output, context);
39
- }
8
+ class SendMessageCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "SendMessage", {})
15
+ .n("ConversationsClient", "SendMessageCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SendMessageCommand)
18
+ .de(Aws_restJson1_1.de_SendMessageCommand)
19
+ .build() {
40
20
  }
41
21
  exports.SendMessageCommand = SendMessageCommand;
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
9
- class SendMessageReactionCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
- resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
- const stack = clientStack.concat(this.middlewareStack);
17
- const { logger } = configuration;
18
- const clientName = "ConversationsClient";
19
- const commandName = "SendMessageReactionCommand";
20
- const handlerExecutionContext = {
21
- logger,
22
- clientName,
23
- commandName,
24
- inputFilterSensitiveLog: (_) => _,
25
- outputFilterSensitiveLog: (_) => _,
26
- [types_1.SMITHY_CONTEXT_KEY]: {
27
- service: "Conversations",
28
- operation: "SendMessageReaction",
29
- },
30
- };
31
- const { requestHandler } = configuration;
32
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
- }
34
- serialize(input, context) {
35
- return (0, Aws_restJson1_1.se_SendMessageReactionCommand)(input, context);
36
- }
37
- deserialize(output, context) {
38
- return (0, Aws_restJson1_1.de_SendMessageReactionCommand)(output, context);
39
- }
8
+ class SendMessageReactionCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "SendMessageReaction", {})
15
+ .n("ConversationsClient", "SendMessageReactionCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SendMessageReactionCommand)
18
+ .de(Aws_restJson1_1.de_SendMessageReactionCommand)
19
+ .build() {
40
20
  }
41
21
  exports.SendMessageReactionCommand = SendMessageReactionCommand;
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
9
- class SendTypingStartCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
- resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
- const stack = clientStack.concat(this.middlewareStack);
17
- const { logger } = configuration;
18
- const clientName = "ConversationsClient";
19
- const commandName = "SendTypingStartCommand";
20
- const handlerExecutionContext = {
21
- logger,
22
- clientName,
23
- commandName,
24
- inputFilterSensitiveLog: (_) => _,
25
- outputFilterSensitiveLog: (_) => _,
26
- [types_1.SMITHY_CONTEXT_KEY]: {
27
- service: "Conversations",
28
- operation: "SendTypingStart",
29
- },
30
- };
31
- const { requestHandler } = configuration;
32
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
- }
34
- serialize(input, context) {
35
- return (0, Aws_restJson1_1.se_SendTypingStartCommand)(input, context);
36
- }
37
- deserialize(output, context) {
38
- return (0, Aws_restJson1_1.de_SendTypingStartCommand)(output, context);
39
- }
8
+ class SendTypingStartCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "SendTypingStart", {})
15
+ .n("ConversationsClient", "SendTypingStartCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SendTypingStartCommand)
18
+ .de(Aws_restJson1_1.de_SendTypingStartCommand)
19
+ .build() {
40
20
  }
41
21
  exports.SendTypingStartCommand = SendTypingStartCommand;
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
9
- class SendTypingStopCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
- resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
- const stack = clientStack.concat(this.middlewareStack);
17
- const { logger } = configuration;
18
- const clientName = "ConversationsClient";
19
- const commandName = "SendTypingStopCommand";
20
- const handlerExecutionContext = {
21
- logger,
22
- clientName,
23
- commandName,
24
- inputFilterSensitiveLog: (_) => _,
25
- outputFilterSensitiveLog: (_) => _,
26
- [types_1.SMITHY_CONTEXT_KEY]: {
27
- service: "Conversations",
28
- operation: "SendTypingStop",
29
- },
30
- };
31
- const { requestHandler } = configuration;
32
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
- }
34
- serialize(input, context) {
35
- return (0, Aws_restJson1_1.se_SendTypingStopCommand)(input, context);
36
- }
37
- deserialize(output, context) {
38
- return (0, Aws_restJson1_1.de_SendTypingStopCommand)(output, context);
39
- }
8
+ class SendTypingStopCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "SendTypingStop", {})
15
+ .n("ConversationsClient", "SendTypingStopCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SendTypingStopCommand)
18
+ .de(Aws_restJson1_1.de_SendTypingStopCommand)
19
+ .build() {
40
20
  }
41
21
  exports.SendTypingStopCommand = SendTypingStopCommand;
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
9
- class ShowChannelCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
- resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
- const stack = clientStack.concat(this.middlewareStack);
17
- const { logger } = configuration;
18
- const clientName = "ConversationsClient";
19
- const commandName = "ShowChannelCommand";
20
- const handlerExecutionContext = {
21
- logger,
22
- clientName,
23
- commandName,
24
- inputFilterSensitiveLog: (_) => _,
25
- outputFilterSensitiveLog: (_) => _,
26
- [types_1.SMITHY_CONTEXT_KEY]: {
27
- service: "Conversations",
28
- operation: "ShowChannel",
29
- },
30
- };
31
- const { requestHandler } = configuration;
32
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
- }
34
- serialize(input, context) {
35
- return (0, Aws_restJson1_1.se_ShowChannelCommand)(input, context);
36
- }
37
- deserialize(output, context) {
38
- return (0, Aws_restJson1_1.de_ShowChannelCommand)(output, context);
39
- }
8
+ class ShowChannelCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "ShowChannel", {})
15
+ .n("ConversationsClient", "ShowChannelCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_ShowChannelCommand)
18
+ .de(Aws_restJson1_1.de_ShowChannelCommand)
19
+ .build() {
40
20
  }
41
21
  exports.ShowChannelCommand = ShowChannelCommand;
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
9
- class UpdateChannelCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
- resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
- const stack = clientStack.concat(this.middlewareStack);
17
- const { logger } = configuration;
18
- const clientName = "ConversationsClient";
19
- const commandName = "UpdateChannelCommand";
20
- const handlerExecutionContext = {
21
- logger,
22
- clientName,
23
- commandName,
24
- inputFilterSensitiveLog: (_) => _,
25
- outputFilterSensitiveLog: (_) => _,
26
- [types_1.SMITHY_CONTEXT_KEY]: {
27
- service: "Conversations",
28
- operation: "UpdateChannel",
29
- },
30
- };
31
- const { requestHandler } = configuration;
32
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
- }
34
- serialize(input, context) {
35
- return (0, Aws_restJson1_1.se_UpdateChannelCommand)(input, context);
36
- }
37
- deserialize(output, context) {
38
- return (0, Aws_restJson1_1.de_UpdateChannelCommand)(output, context);
39
- }
8
+ class UpdateChannelCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "UpdateChannel", {})
15
+ .n("ConversationsClient", "UpdateChannelCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_UpdateChannelCommand)
18
+ .de(Aws_restJson1_1.de_UpdateChannelCommand)
19
+ .build() {
40
20
  }
41
21
  exports.UpdateChannelCommand = UpdateChannelCommand;
@@ -5,37 +5,17 @@ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
9
- class UpdateMessageCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
- resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
- const stack = clientStack.concat(this.middlewareStack);
17
- const { logger } = configuration;
18
- const clientName = "ConversationsClient";
19
- const commandName = "UpdateMessageCommand";
20
- const handlerExecutionContext = {
21
- logger,
22
- clientName,
23
- commandName,
24
- inputFilterSensitiveLog: (_) => _,
25
- outputFilterSensitiveLog: (_) => _,
26
- [types_1.SMITHY_CONTEXT_KEY]: {
27
- service: "Conversations",
28
- operation: "UpdateMessage",
29
- },
30
- };
31
- const { requestHandler } = configuration;
32
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
- }
34
- serialize(input, context) {
35
- return (0, Aws_restJson1_1.se_UpdateMessageCommand)(input, context);
36
- }
37
- deserialize(output, context) {
38
- return (0, Aws_restJson1_1.de_UpdateMessageCommand)(output, context);
39
- }
8
+ class UpdateMessageCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Conversations", "UpdateMessage", {})
15
+ .n("ConversationsClient", "UpdateMessageCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_UpdateMessageCommand)
18
+ .de(Aws_restJson1_1.de_UpdateMessageCommand)
19
+ .build() {
40
20
  }
41
21
  exports.UpdateMessageCommand = UpdateMessageCommand;