@aws-sdk/client-chime-sdk-messaging 3.297.0 → 3.298.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 (133) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/ChimeSDKMessaging.js +15 -0
  3. package/dist-cjs/commands/AssociateChannelFlowCommand.js +2 -3
  4. package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +1 -1
  5. package/dist-cjs/commands/ChannelFlowCallbackCommand.js +1 -1
  6. package/dist-cjs/commands/CreateChannelBanCommand.js +1 -1
  7. package/dist-cjs/commands/CreateChannelCommand.js +1 -1
  8. package/dist-cjs/commands/CreateChannelFlowCommand.js +1 -1
  9. package/dist-cjs/commands/CreateChannelMembershipCommand.js +1 -1
  10. package/dist-cjs/commands/CreateChannelModeratorCommand.js +1 -1
  11. package/dist-cjs/commands/DeleteChannelBanCommand.js +2 -3
  12. package/dist-cjs/commands/DeleteChannelCommand.js +2 -3
  13. package/dist-cjs/commands/DeleteChannelFlowCommand.js +2 -3
  14. package/dist-cjs/commands/DeleteChannelMembershipCommand.js +2 -3
  15. package/dist-cjs/commands/DeleteChannelMessageCommand.js +2 -3
  16. package/dist-cjs/commands/DeleteChannelModeratorCommand.js +2 -3
  17. package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +2 -3
  18. package/dist-cjs/commands/DescribeChannelBanCommand.js +1 -1
  19. package/dist-cjs/commands/DescribeChannelCommand.js +1 -1
  20. package/dist-cjs/commands/DescribeChannelFlowCommand.js +1 -1
  21. package/dist-cjs/commands/DescribeChannelMembershipCommand.js +1 -1
  22. package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +1 -1
  23. package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +1 -1
  24. package/dist-cjs/commands/DescribeChannelModeratorCommand.js +1 -1
  25. package/dist-cjs/commands/DisassociateChannelFlowCommand.js +2 -3
  26. package/dist-cjs/commands/GetChannelMembershipPreferencesCommand.js +1 -1
  27. package/dist-cjs/commands/GetChannelMessageCommand.js +1 -1
  28. package/dist-cjs/commands/GetChannelMessageStatusCommand.js +2 -3
  29. package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +2 -3
  30. package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +2 -3
  31. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -1
  32. package/dist-cjs/commands/PutChannelExpirationSettingsCommand.js +45 -0
  33. package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +2 -3
  34. package/dist-cjs/commands/RedactChannelMessageCommand.js +2 -3
  35. package/dist-cjs/commands/SendChannelMessageCommand.js +1 -1
  36. package/dist-cjs/commands/TagResourceCommand.js +1 -1
  37. package/dist-cjs/commands/UntagResourceCommand.js +1 -1
  38. package/dist-cjs/commands/UpdateChannelCommand.js +1 -1
  39. package/dist-cjs/commands/UpdateChannelFlowCommand.js +1 -1
  40. package/dist-cjs/commands/UpdateChannelMessageCommand.js +1 -1
  41. package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +2 -3
  42. package/dist-cjs/commands/index.js +1 -0
  43. package/dist-cjs/models/models_0.js +12 -211
  44. package/dist-cjs/protocols/Aws_restJson1.js +107 -2
  45. package/dist-es/ChimeSDKMessaging.js +15 -0
  46. package/dist-es/commands/AssociateChannelFlowCommand.js +2 -3
  47. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +2 -2
  48. package/dist-es/commands/ChannelFlowCallbackCommand.js +2 -2
  49. package/dist-es/commands/CreateChannelBanCommand.js +2 -2
  50. package/dist-es/commands/CreateChannelCommand.js +2 -2
  51. package/dist-es/commands/CreateChannelFlowCommand.js +2 -2
  52. package/dist-es/commands/CreateChannelMembershipCommand.js +2 -2
  53. package/dist-es/commands/CreateChannelModeratorCommand.js +2 -2
  54. package/dist-es/commands/DeleteChannelBanCommand.js +2 -3
  55. package/dist-es/commands/DeleteChannelCommand.js +2 -3
  56. package/dist-es/commands/DeleteChannelFlowCommand.js +2 -3
  57. package/dist-es/commands/DeleteChannelMembershipCommand.js +2 -3
  58. package/dist-es/commands/DeleteChannelMessageCommand.js +2 -3
  59. package/dist-es/commands/DeleteChannelModeratorCommand.js +2 -3
  60. package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +2 -3
  61. package/dist-es/commands/DescribeChannelBanCommand.js +2 -2
  62. package/dist-es/commands/DescribeChannelCommand.js +2 -2
  63. package/dist-es/commands/DescribeChannelFlowCommand.js +2 -2
  64. package/dist-es/commands/DescribeChannelMembershipCommand.js +2 -2
  65. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +2 -2
  66. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +2 -2
  67. package/dist-es/commands/DescribeChannelModeratorCommand.js +2 -2
  68. package/dist-es/commands/DisassociateChannelFlowCommand.js +2 -3
  69. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +2 -2
  70. package/dist-es/commands/GetChannelMessageCommand.js +2 -2
  71. package/dist-es/commands/GetChannelMessageStatusCommand.js +2 -3
  72. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +2 -3
  73. package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +2 -3
  74. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  75. package/dist-es/commands/PutChannelExpirationSettingsCommand.js +41 -0
  76. package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +2 -3
  77. package/dist-es/commands/RedactChannelMessageCommand.js +2 -3
  78. package/dist-es/commands/SendChannelMessageCommand.js +2 -2
  79. package/dist-es/commands/TagResourceCommand.js +1 -1
  80. package/dist-es/commands/UntagResourceCommand.js +1 -1
  81. package/dist-es/commands/UpdateChannelCommand.js +2 -2
  82. package/dist-es/commands/UpdateChannelFlowCommand.js +2 -2
  83. package/dist-es/commands/UpdateChannelMessageCommand.js +2 -2
  84. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +2 -3
  85. package/dist-es/commands/index.js +1 -0
  86. package/dist-es/models/models_0.js +10 -156
  87. package/dist-es/protocols/Aws_restJson1.js +102 -0
  88. package/dist-types/ChimeSDKMessaging.d.ts +100 -50
  89. package/dist-types/ChimeSDKMessagingClient.d.ts +3 -2
  90. package/dist-types/commands/AssociateChannelFlowCommand.d.ts +4 -2
  91. package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateChannelBanCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateChannelCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateChannelMembershipCommand.d.ts +4 -4
  95. package/dist-types/commands/CreateChannelModeratorCommand.d.ts +1 -1
  96. package/dist-types/commands/DeleteChannelBanCommand.d.ts +2 -2
  97. package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
  98. package/dist-types/commands/DeleteChannelMessageCommand.d.ts +1 -1
  99. package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +1 -1
  100. package/dist-types/commands/DescribeChannelBanCommand.d.ts +1 -1
  101. package/dist-types/commands/DescribeChannelCommand.d.ts +1 -1
  102. package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +1 -1
  103. package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +2 -2
  104. package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +2 -2
  105. package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +4 -2
  106. package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +10 -3
  107. package/dist-types/commands/GetChannelMessageCommand.d.ts +2 -2
  108. package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +3 -1
  109. package/dist-types/commands/ListChannelBansCommand.d.ts +2 -2
  110. package/dist-types/commands/ListChannelMembershipsCommand.d.ts +1 -1
  111. package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +3 -3
  112. package/dist-types/commands/ListChannelMessagesCommand.d.ts +2 -2
  113. package/dist-types/commands/ListChannelModeratorsCommand.d.ts +1 -1
  114. package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
  115. package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +1 -1
  116. package/dist-types/commands/PutChannelExpirationSettingsCommand.d.ts +99 -0
  117. package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +10 -3
  118. package/dist-types/commands/RedactChannelMessageCommand.d.ts +1 -1
  119. package/dist-types/commands/SearchChannelsCommand.d.ts +6 -1
  120. package/dist-types/commands/SendChannelMessageCommand.d.ts +1 -1
  121. package/dist-types/commands/UpdateChannelCommand.d.ts +1 -1
  122. package/dist-types/commands/UpdateChannelMessageCommand.d.ts +1 -1
  123. package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +1 -1
  124. package/dist-types/commands/index.d.ts +1 -0
  125. package/dist-types/models/models_0.d.ts +149 -250
  126. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  127. package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +17 -0
  128. package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +6 -0
  129. package/dist-types/ts3.4/commands/PutChannelExpirationSettingsCommand.d.ts +41 -0
  130. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  131. package/dist-types/ts3.4/models/models_0.d.ts +25 -155
  132. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  133. package/package.json +4 -3
package/README.md CHANGED
@@ -520,6 +520,14 @@ ListTagsForResource
520
520
 
521
521
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-messaging/classes/listtagsforresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-messaging/interfaces/listtagsforresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-messaging/interfaces/listtagsforresourcecommandoutput.html)
522
522
 
523
+ </details>
524
+ <details>
525
+ <summary>
526
+ PutChannelExpirationSettings
527
+ </summary>
528
+
529
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-messaging/classes/putchannelexpirationsettingscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-messaging/interfaces/putchannelexpirationsettingscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-messaging/interfaces/putchannelexpirationsettingscommandoutput.html)
530
+
523
531
  </details>
524
532
  <details>
525
533
  <summary>
@@ -41,6 +41,7 @@ const ListChannelsCommand_1 = require("./commands/ListChannelsCommand");
41
41
  const ListChannelsModeratedByAppInstanceUserCommand_1 = require("./commands/ListChannelsModeratedByAppInstanceUserCommand");
42
42
  const ListSubChannelsCommand_1 = require("./commands/ListSubChannelsCommand");
43
43
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
44
+ const PutChannelExpirationSettingsCommand_1 = require("./commands/PutChannelExpirationSettingsCommand");
44
45
  const PutChannelMembershipPreferencesCommand_1 = require("./commands/PutChannelMembershipPreferencesCommand");
45
46
  const PutMessagingStreamingConfigurationsCommand_1 = require("./commands/PutMessagingStreamingConfigurationsCommand");
46
47
  const RedactChannelMessageCommand_1 = require("./commands/RedactChannelMessageCommand");
@@ -599,6 +600,20 @@ class ChimeSDKMessaging extends ChimeSDKMessagingClient_1.ChimeSDKMessagingClien
599
600
  return this.send(command, optionsOrCb);
600
601
  }
601
602
  }
603
+ putChannelExpirationSettings(args, optionsOrCb, cb) {
604
+ const command = new PutChannelExpirationSettingsCommand_1.PutChannelExpirationSettingsCommand(args);
605
+ if (typeof optionsOrCb === "function") {
606
+ this.send(command, optionsOrCb);
607
+ }
608
+ else if (typeof cb === "function") {
609
+ if (typeof optionsOrCb !== "object")
610
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
611
+ this.send(command, optionsOrCb || {}, cb);
612
+ }
613
+ else {
614
+ return this.send(command, optionsOrCb);
615
+ }
616
+ }
602
617
  putChannelMembershipPreferences(args, optionsOrCb, cb) {
603
618
  const command = new PutChannelMembershipPreferencesCommand_1.PutChannelMembershipPreferencesCommand(args);
604
619
  if (typeof optionsOrCb === "function") {
@@ -4,7 +4,6 @@ exports.AssociateChannelFlowCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class AssociateChannelFlowCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class AssociateChannelFlowCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.AssociateChannelFlowRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -30,7 +30,7 @@ class BatchCreateChannelMembershipCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.BatchCreateChannelMembershipRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.BatchCreateChannelMembershipResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -31,7 +31,7 @@ class ChannelFlowCallbackCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.ChannelFlowCallbackRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.ChannelFlowCallbackResponseFilterSensitiveLog,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -30,7 +30,7 @@ class CreateChannelBanCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.CreateChannelBanRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.CreateChannelBanResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -31,7 +31,7 @@ class CreateChannelCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.CreateChannelRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.CreateChannelResponseFilterSensitiveLog,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -31,7 +31,7 @@ class CreateChannelFlowCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.CreateChannelFlowRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.CreateChannelFlowResponseFilterSensitiveLog,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -30,7 +30,7 @@ class CreateChannelMembershipCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.CreateChannelMembershipRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.CreateChannelMembershipResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -30,7 +30,7 @@ class CreateChannelModeratorCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.CreateChannelModeratorRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.CreateChannelModeratorResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -4,7 +4,6 @@ exports.DeleteChannelBanCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class DeleteChannelBanCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class DeleteChannelBanCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DeleteChannelBanRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.DeleteChannelCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class DeleteChannelCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class DeleteChannelCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DeleteChannelRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.DeleteChannelFlowCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class DeleteChannelFlowCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class DeleteChannelFlowCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DeleteChannelFlowRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.DeleteChannelMembershipCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class DeleteChannelMembershipCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class DeleteChannelMembershipCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DeleteChannelMembershipRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.DeleteChannelMessageCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class DeleteChannelMessageCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class DeleteChannelMessageCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DeleteChannelMessageRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.DeleteChannelModeratorCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class DeleteChannelModeratorCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class DeleteChannelModeratorCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DeleteChannelModeratorRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.DeleteMessagingStreamingConfigurationsCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class DeleteMessagingStreamingConfigurationsCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class DeleteMessagingStreamingConfigurationsCommand extends smithy_client_1.Comm
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DeleteMessagingStreamingConfigurationsRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -30,7 +30,7 @@ class DescribeChannelBanCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DescribeChannelBanRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.DescribeChannelBanResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -30,7 +30,7 @@ class DescribeChannelCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DescribeChannelRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.DescribeChannelResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -30,7 +30,7 @@ class DescribeChannelFlowCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DescribeChannelFlowRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.DescribeChannelFlowResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -30,7 +30,7 @@ class DescribeChannelMembershipCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DescribeChannelMembershipRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.DescribeChannelMembershipResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -30,7 +30,7 @@ class DescribeChannelMembershipForAppInstanceUserCommand extends smithy_client_1
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -30,7 +30,7 @@ class DescribeChannelModeratedByAppInstanceUserCommand extends smithy_client_1.C
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -30,7 +30,7 @@ class DescribeChannelModeratorCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DescribeChannelModeratorRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.DescribeChannelModeratorResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -4,7 +4,6 @@ exports.DisassociateChannelFlowCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class DisassociateChannelFlowCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class DisassociateChannelFlowCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DisassociateChannelFlowRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -30,7 +30,7 @@ class GetChannelMembershipPreferencesCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.GetChannelMembershipPreferencesRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.GetChannelMembershipPreferencesResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -30,7 +30,7 @@ class GetChannelMessageCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.GetChannelMessageRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.GetChannelMessageResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -4,7 +4,6 @@ exports.GetChannelMessageStatusCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class GetChannelMessageStatusCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class GetChannelMessageStatusCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.GetChannelMessageStatusRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.GetChannelMessageStatusResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.GetMessagingSessionEndpointCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class GetMessagingSessionEndpointCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class GetMessagingSessionEndpointCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.GetMessagingSessionEndpointRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.GetMessagingSessionEndpointResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.GetMessagingStreamingConfigurationsCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class GetMessagingStreamingConfigurationsCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class GetMessagingStreamingConfigurationsCommand extends smithy_client_1.Command
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.GetMessagingStreamingConfigurationsRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.GetMessagingStreamingConfigurationsResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -30,7 +30,7 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.ListTagsForResourceRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.ListTagsForResourceResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutChannelExpirationSettingsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class PutChannelExpirationSettingsCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutChannelExpirationSettingsCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ChimeSDKMessagingClient";
27
+ const commandName = "PutChannelExpirationSettingsCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.serializeAws_restJson1PutChannelExpirationSettingsCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.deserializeAws_restJson1PutChannelExpirationSettingsCommand)(output, context);
43
+ }
44
+ }
45
+ exports.PutChannelExpirationSettingsCommand = PutChannelExpirationSettingsCommand;
@@ -4,7 +4,6 @@ exports.PutMessagingStreamingConfigurationsCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class PutMessagingStreamingConfigurationsCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class PutMessagingStreamingConfigurationsCommand extends smithy_client_1.Command
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.PutMessagingStreamingConfigurationsRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.PutMessagingStreamingConfigurationsResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.RedactChannelMessageCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class RedactChannelMessageCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class RedactChannelMessageCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.RedactChannelMessageRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.RedactChannelMessageResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -31,7 +31,7 @@ class SendChannelMessageCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.SendChannelMessageRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.SendChannelMessageResponseFilterSensitiveLog,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -31,7 +31,7 @@ class TagResourceCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.TagResourceRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -31,7 +31,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.UntagResourceRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -31,7 +31,7 @@ class UpdateChannelCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.UpdateChannelRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.UpdateChannelResponseFilterSensitiveLog,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -31,7 +31,7 @@ class UpdateChannelFlowCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.UpdateChannelFlowRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.UpdateChannelFlowResponseFilterSensitiveLog,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -31,7 +31,7 @@ class UpdateChannelMessageCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.UpdateChannelMessageRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.UpdateChannelMessageResponseFilterSensitiveLog,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);