@aws-sdk/client-chime-sdk-messaging 3.297.0 → 3.299.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 +11 -10
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serializeAws_restJson1UpdateChannelReadMarkerCommand = exports.serializeAws_restJson1UpdateChannelMessageCommand = exports.serializeAws_restJson1UpdateChannelFlowCommand = exports.serializeAws_restJson1UpdateChannelCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SendChannelMessageCommand = exports.serializeAws_restJson1SearchChannelsCommand = exports.serializeAws_restJson1RedactChannelMessageCommand = exports.serializeAws_restJson1PutMessagingStreamingConfigurationsCommand = exports.serializeAws_restJson1PutChannelMembershipPreferencesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSubChannelsCommand = exports.serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand = exports.serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand = exports.serializeAws_restJson1ListChannelsCommand = exports.serializeAws_restJson1ListChannelModeratorsCommand = exports.serializeAws_restJson1ListChannelMessagesCommand = exports.serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand = exports.serializeAws_restJson1ListChannelMembershipsCommand = exports.serializeAws_restJson1ListChannelFlowsCommand = exports.serializeAws_restJson1ListChannelBansCommand = exports.serializeAws_restJson1GetMessagingStreamingConfigurationsCommand = exports.serializeAws_restJson1GetMessagingSessionEndpointCommand = exports.serializeAws_restJson1GetChannelMessageStatusCommand = exports.serializeAws_restJson1GetChannelMessageCommand = exports.serializeAws_restJson1GetChannelMembershipPreferencesCommand = exports.serializeAws_restJson1DisassociateChannelFlowCommand = exports.serializeAws_restJson1DescribeChannelModeratorCommand = exports.serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand = exports.serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand = exports.serializeAws_restJson1DescribeChannelMembershipCommand = exports.serializeAws_restJson1DescribeChannelFlowCommand = exports.serializeAws_restJson1DescribeChannelBanCommand = exports.serializeAws_restJson1DescribeChannelCommand = exports.serializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand = exports.serializeAws_restJson1DeleteChannelModeratorCommand = exports.serializeAws_restJson1DeleteChannelMessageCommand = exports.serializeAws_restJson1DeleteChannelMembershipCommand = exports.serializeAws_restJson1DeleteChannelFlowCommand = exports.serializeAws_restJson1DeleteChannelBanCommand = exports.serializeAws_restJson1DeleteChannelCommand = exports.serializeAws_restJson1CreateChannelModeratorCommand = exports.serializeAws_restJson1CreateChannelMembershipCommand = exports.serializeAws_restJson1CreateChannelFlowCommand = exports.serializeAws_restJson1CreateChannelBanCommand = exports.serializeAws_restJson1CreateChannelCommand = exports.serializeAws_restJson1ChannelFlowCallbackCommand = exports.serializeAws_restJson1BatchCreateChannelMembershipCommand = exports.serializeAws_restJson1AssociateChannelFlowCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateChannelReadMarkerCommand = exports.deserializeAws_restJson1UpdateChannelMessageCommand = exports.deserializeAws_restJson1UpdateChannelFlowCommand = exports.deserializeAws_restJson1UpdateChannelCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SendChannelMessageCommand = exports.deserializeAws_restJson1SearchChannelsCommand = exports.deserializeAws_restJson1RedactChannelMessageCommand = exports.deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand = exports.deserializeAws_restJson1PutChannelMembershipPreferencesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSubChannelsCommand = exports.deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand = exports.deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand = exports.deserializeAws_restJson1ListChannelsCommand = exports.deserializeAws_restJson1ListChannelModeratorsCommand = exports.deserializeAws_restJson1ListChannelMessagesCommand = exports.deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand = exports.deserializeAws_restJson1ListChannelMembershipsCommand = exports.deserializeAws_restJson1ListChannelFlowsCommand = exports.deserializeAws_restJson1ListChannelBansCommand = exports.deserializeAws_restJson1GetMessagingStreamingConfigurationsCommand = exports.deserializeAws_restJson1GetMessagingSessionEndpointCommand = exports.deserializeAws_restJson1GetChannelMessageStatusCommand = exports.deserializeAws_restJson1GetChannelMessageCommand = exports.deserializeAws_restJson1GetChannelMembershipPreferencesCommand = exports.deserializeAws_restJson1DisassociateChannelFlowCommand = exports.deserializeAws_restJson1DescribeChannelModeratorCommand = exports.deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand = exports.deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand = exports.deserializeAws_restJson1DescribeChannelMembershipCommand = exports.deserializeAws_restJson1DescribeChannelFlowCommand = exports.deserializeAws_restJson1DescribeChannelBanCommand = exports.deserializeAws_restJson1DescribeChannelCommand = exports.deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand = exports.deserializeAws_restJson1DeleteChannelModeratorCommand = exports.deserializeAws_restJson1DeleteChannelMessageCommand = exports.deserializeAws_restJson1DeleteChannelMembershipCommand = exports.deserializeAws_restJson1DeleteChannelFlowCommand = exports.deserializeAws_restJson1DeleteChannelBanCommand = exports.deserializeAws_restJson1DeleteChannelCommand = exports.deserializeAws_restJson1CreateChannelModeratorCommand = exports.deserializeAws_restJson1CreateChannelMembershipCommand = exports.deserializeAws_restJson1CreateChannelFlowCommand = exports.deserializeAws_restJson1CreateChannelBanCommand = exports.deserializeAws_restJson1CreateChannelCommand = exports.deserializeAws_restJson1ChannelFlowCallbackCommand = exports.deserializeAws_restJson1BatchCreateChannelMembershipCommand = exports.deserializeAws_restJson1AssociateChannelFlowCommand = void 0;
3
+ exports.serializeAws_restJson1UpdateChannelMessageCommand = exports.serializeAws_restJson1UpdateChannelFlowCommand = exports.serializeAws_restJson1UpdateChannelCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SendChannelMessageCommand = exports.serializeAws_restJson1SearchChannelsCommand = exports.serializeAws_restJson1RedactChannelMessageCommand = exports.serializeAws_restJson1PutMessagingStreamingConfigurationsCommand = exports.serializeAws_restJson1PutChannelMembershipPreferencesCommand = exports.serializeAws_restJson1PutChannelExpirationSettingsCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSubChannelsCommand = exports.serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand = exports.serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand = exports.serializeAws_restJson1ListChannelsCommand = exports.serializeAws_restJson1ListChannelModeratorsCommand = exports.serializeAws_restJson1ListChannelMessagesCommand = exports.serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand = exports.serializeAws_restJson1ListChannelMembershipsCommand = exports.serializeAws_restJson1ListChannelFlowsCommand = exports.serializeAws_restJson1ListChannelBansCommand = exports.serializeAws_restJson1GetMessagingStreamingConfigurationsCommand = exports.serializeAws_restJson1GetMessagingSessionEndpointCommand = exports.serializeAws_restJson1GetChannelMessageStatusCommand = exports.serializeAws_restJson1GetChannelMessageCommand = exports.serializeAws_restJson1GetChannelMembershipPreferencesCommand = exports.serializeAws_restJson1DisassociateChannelFlowCommand = exports.serializeAws_restJson1DescribeChannelModeratorCommand = exports.serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand = exports.serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand = exports.serializeAws_restJson1DescribeChannelMembershipCommand = exports.serializeAws_restJson1DescribeChannelFlowCommand = exports.serializeAws_restJson1DescribeChannelBanCommand = exports.serializeAws_restJson1DescribeChannelCommand = exports.serializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand = exports.serializeAws_restJson1DeleteChannelModeratorCommand = exports.serializeAws_restJson1DeleteChannelMessageCommand = exports.serializeAws_restJson1DeleteChannelMembershipCommand = exports.serializeAws_restJson1DeleteChannelFlowCommand = exports.serializeAws_restJson1DeleteChannelBanCommand = exports.serializeAws_restJson1DeleteChannelCommand = exports.serializeAws_restJson1CreateChannelModeratorCommand = exports.serializeAws_restJson1CreateChannelMembershipCommand = exports.serializeAws_restJson1CreateChannelFlowCommand = exports.serializeAws_restJson1CreateChannelBanCommand = exports.serializeAws_restJson1CreateChannelCommand = exports.serializeAws_restJson1ChannelFlowCallbackCommand = exports.serializeAws_restJson1BatchCreateChannelMembershipCommand = exports.serializeAws_restJson1AssociateChannelFlowCommand = void 0;
4
+ exports.deserializeAws_restJson1UpdateChannelFlowCommand = exports.deserializeAws_restJson1UpdateChannelCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SendChannelMessageCommand = exports.deserializeAws_restJson1SearchChannelsCommand = exports.deserializeAws_restJson1RedactChannelMessageCommand = exports.deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand = exports.deserializeAws_restJson1PutChannelMembershipPreferencesCommand = exports.deserializeAws_restJson1PutChannelExpirationSettingsCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSubChannelsCommand = exports.deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand = exports.deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand = exports.deserializeAws_restJson1ListChannelsCommand = exports.deserializeAws_restJson1ListChannelModeratorsCommand = exports.deserializeAws_restJson1ListChannelMessagesCommand = exports.deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand = exports.deserializeAws_restJson1ListChannelMembershipsCommand = exports.deserializeAws_restJson1ListChannelFlowsCommand = exports.deserializeAws_restJson1ListChannelBansCommand = exports.deserializeAws_restJson1GetMessagingStreamingConfigurationsCommand = exports.deserializeAws_restJson1GetMessagingSessionEndpointCommand = exports.deserializeAws_restJson1GetChannelMessageStatusCommand = exports.deserializeAws_restJson1GetChannelMessageCommand = exports.deserializeAws_restJson1GetChannelMembershipPreferencesCommand = exports.deserializeAws_restJson1DisassociateChannelFlowCommand = exports.deserializeAws_restJson1DescribeChannelModeratorCommand = exports.deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand = exports.deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand = exports.deserializeAws_restJson1DescribeChannelMembershipCommand = exports.deserializeAws_restJson1DescribeChannelFlowCommand = exports.deserializeAws_restJson1DescribeChannelBanCommand = exports.deserializeAws_restJson1DescribeChannelCommand = exports.deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand = exports.deserializeAws_restJson1DeleteChannelModeratorCommand = exports.deserializeAws_restJson1DeleteChannelMessageCommand = exports.deserializeAws_restJson1DeleteChannelMembershipCommand = exports.deserializeAws_restJson1DeleteChannelFlowCommand = exports.deserializeAws_restJson1DeleteChannelBanCommand = exports.deserializeAws_restJson1DeleteChannelCommand = exports.deserializeAws_restJson1CreateChannelModeratorCommand = exports.deserializeAws_restJson1CreateChannelMembershipCommand = exports.deserializeAws_restJson1CreateChannelFlowCommand = exports.deserializeAws_restJson1CreateChannelBanCommand = exports.deserializeAws_restJson1CreateChannelCommand = exports.deserializeAws_restJson1ChannelFlowCallbackCommand = exports.deserializeAws_restJson1BatchCreateChannelMembershipCommand = exports.deserializeAws_restJson1AssociateChannelFlowCommand = exports.serializeAws_restJson1UpdateChannelReadMarkerCommand = void 0;
5
+ exports.deserializeAws_restJson1UpdateChannelReadMarkerCommand = exports.deserializeAws_restJson1UpdateChannelMessageCommand = void 0;
5
6
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
8
  const uuid_1 = require("uuid");
@@ -104,6 +105,9 @@ const serializeAws_restJson1CreateChannelCommand = async (input, context) => {
104
105
  ...(input.ElasticChannelConfiguration != null && {
105
106
  ElasticChannelConfiguration: serializeAws_restJson1ElasticChannelConfiguration(input.ElasticChannelConfiguration, context),
106
107
  }),
108
+ ...(input.ExpirationSettings != null && {
109
+ ExpirationSettings: serializeAws_restJson1ExpirationSettings(input.ExpirationSettings, context),
110
+ }),
107
111
  ...(input.MemberArns != null && { MemberArns: serializeAws_restJson1ChannelMemberArns(input.MemberArns, context) }),
108
112
  ...(input.Metadata != null && { Metadata: input.Metadata }),
109
113
  ...(input.Mode != null && { Mode: input.Mode }),
@@ -922,6 +926,32 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
922
926
  });
923
927
  };
924
928
  exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
929
+ const serializeAws_restJson1PutChannelExpirationSettingsCommand = async (input, context) => {
930
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
931
+ const headers = map({}, isSerializableHeaderValue, {
932
+ "content-type": "application/json",
933
+ "x-amz-chime-bearer": input.ChimeBearer,
934
+ });
935
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
936
+ "/channels/{ChannelArn}/expiration-settings";
937
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
938
+ let body;
939
+ body = JSON.stringify({
940
+ ...(input.ExpirationSettings != null && {
941
+ ExpirationSettings: serializeAws_restJson1ExpirationSettings(input.ExpirationSettings, context),
942
+ }),
943
+ });
944
+ return new protocol_http_1.HttpRequest({
945
+ protocol,
946
+ hostname,
947
+ port,
948
+ method: "PUT",
949
+ headers,
950
+ path: resolvedPath,
951
+ body,
952
+ });
953
+ };
954
+ exports.serializeAws_restJson1PutChannelExpirationSettingsCommand = serializeAws_restJson1PutChannelExpirationSettingsCommand;
925
955
  const serializeAws_restJson1PutChannelMembershipPreferencesCommand = async (input, context) => {
926
956
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
927
957
  const headers = map({}, isSerializableHeaderValue, {
@@ -1043,6 +1073,7 @@ const serializeAws_restJson1SendChannelMessageCommand = async (input, context) =
1043
1073
  body = JSON.stringify({
1044
1074
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
1045
1075
  ...(input.Content != null && { Content: input.Content }),
1076
+ ...(input.ContentType != null && { ContentType: input.ContentType }),
1046
1077
  ...(input.MessageAttributes != null && {
1047
1078
  MessageAttributes: serializeAws_restJson1MessageAttributeMap(input.MessageAttributes, context),
1048
1079
  }),
@@ -1178,6 +1209,7 @@ const serializeAws_restJson1UpdateChannelMessageCommand = async (input, context)
1178
1209
  let body;
1179
1210
  body = JSON.stringify({
1180
1211
  ...(input.Content != null && { Content: input.Content }),
1212
+ ...(input.ContentType != null && { ContentType: input.ContentType }),
1181
1213
  ...(input.Metadata != null && { Metadata: input.Metadata }),
1182
1214
  ...(input.SubChannelId != null && { SubChannelId: input.SubChannelId }),
1183
1215
  });
@@ -3240,6 +3272,61 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
3240
3272
  });
3241
3273
  }
3242
3274
  };
3275
+ const deserializeAws_restJson1PutChannelExpirationSettingsCommand = async (output, context) => {
3276
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3277
+ return deserializeAws_restJson1PutChannelExpirationSettingsCommandError(output, context);
3278
+ }
3279
+ const contents = map({
3280
+ $metadata: deserializeMetadata(output),
3281
+ });
3282
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3283
+ if (data.ChannelArn != null) {
3284
+ contents.ChannelArn = (0, smithy_client_1.expectString)(data.ChannelArn);
3285
+ }
3286
+ if (data.ExpirationSettings != null) {
3287
+ contents.ExpirationSettings = deserializeAws_restJson1ExpirationSettings(data.ExpirationSettings, context);
3288
+ }
3289
+ return contents;
3290
+ };
3291
+ exports.deserializeAws_restJson1PutChannelExpirationSettingsCommand = deserializeAws_restJson1PutChannelExpirationSettingsCommand;
3292
+ const deserializeAws_restJson1PutChannelExpirationSettingsCommandError = async (output, context) => {
3293
+ const parsedOutput = {
3294
+ ...output,
3295
+ body: await parseErrorBody(output.body, context),
3296
+ };
3297
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3298
+ switch (errorCode) {
3299
+ case "BadRequestException":
3300
+ case "com.amazonaws.chimesdkmessaging#BadRequestException":
3301
+ throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3302
+ case "ConflictException":
3303
+ case "com.amazonaws.chimesdkmessaging#ConflictException":
3304
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3305
+ case "ForbiddenException":
3306
+ case "com.amazonaws.chimesdkmessaging#ForbiddenException":
3307
+ throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
3308
+ case "ServiceFailureException":
3309
+ case "com.amazonaws.chimesdkmessaging#ServiceFailureException":
3310
+ throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
3311
+ case "ServiceUnavailableException":
3312
+ case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":
3313
+ throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
3314
+ case "ThrottledClientException":
3315
+ case "com.amazonaws.chimesdkmessaging#ThrottledClientException":
3316
+ throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
3317
+ case "UnauthorizedClientException":
3318
+ case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":
3319
+ throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
3320
+ default:
3321
+ const parsedBody = parsedOutput.body;
3322
+ (0, smithy_client_1.throwDefaultError)({
3323
+ output,
3324
+ parsedBody,
3325
+ exceptionCtor: ChimeSDKMessagingServiceException_1.ChimeSDKMessagingServiceException,
3326
+ errorCode,
3327
+ });
3328
+ }
3329
+ };
3243
3330
  const deserializeAws_restJson1PutChannelMembershipPreferencesCommand = async (output, context) => {
3244
3331
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3245
3332
  return deserializeAws_restJson1PutChannelMembershipPreferencesCommandError(output, context);
@@ -3992,6 +4079,7 @@ const serializeAws_restJson1ChannelMembershipPreferences = (input, context) => {
3992
4079
  const serializeAws_restJson1ChannelMessageCallback = (input, context) => {
3993
4080
  return {
3994
4081
  ...(input.Content != null && { Content: input.Content }),
4082
+ ...(input.ContentType != null && { ContentType: input.ContentType }),
3995
4083
  ...(input.MessageAttributes != null && {
3996
4084
  MessageAttributes: serializeAws_restJson1MessageAttributeMap(input.MessageAttributes, context),
3997
4085
  }),
@@ -4021,6 +4109,12 @@ const serializeAws_restJson1ElasticChannelConfiguration = (input, context) => {
4021
4109
  }),
4022
4110
  };
4023
4111
  };
4112
+ const serializeAws_restJson1ExpirationSettings = (input, context) => {
4113
+ return {
4114
+ ...(input.ExpirationCriterion != null && { ExpirationCriterion: input.ExpirationCriterion }),
4115
+ ...(input.ExpirationDays != null && { ExpirationDays: input.ExpirationDays }),
4116
+ };
4117
+ };
4024
4118
  const serializeAws_restJson1LambdaConfiguration = (input, context) => {
4025
4119
  return {
4026
4120
  ...(input.InvocationType != null && { InvocationType: input.InvocationType }),
@@ -4193,6 +4287,9 @@ const deserializeAws_restJson1Channel = (output, context) => {
4193
4287
  ElasticChannelConfiguration: output.ElasticChannelConfiguration != null
4194
4288
  ? deserializeAws_restJson1ElasticChannelConfiguration(output.ElasticChannelConfiguration, context)
4195
4289
  : undefined,
4290
+ ExpirationSettings: output.ExpirationSettings != null
4291
+ ? deserializeAws_restJson1ExpirationSettings(output.ExpirationSettings, context)
4292
+ : undefined,
4196
4293
  LastMessageTimestamp: output.LastMessageTimestamp != null
4197
4294
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastMessageTimestamp)))
4198
4295
  : undefined,
@@ -4345,6 +4442,7 @@ const deserializeAws_restJson1ChannelMessage = (output, context) => {
4345
4442
  return {
4346
4443
  ChannelArn: (0, smithy_client_1.expectString)(output.ChannelArn),
4347
4444
  Content: (0, smithy_client_1.expectString)(output.Content),
4445
+ ContentType: (0, smithy_client_1.expectString)(output.ContentType),
4348
4446
  CreatedTimestamp: output.CreatedTimestamp != null
4349
4447
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
4350
4448
  : undefined,
@@ -4376,6 +4474,7 @@ const deserializeAws_restJson1ChannelMessageStatusStructure = (output, context)
4376
4474
  const deserializeAws_restJson1ChannelMessageSummary = (output, context) => {
4377
4475
  return {
4378
4476
  Content: (0, smithy_client_1.expectString)(output.Content),
4477
+ ContentType: (0, smithy_client_1.expectString)(output.ContentType),
4379
4478
  CreatedTimestamp: output.CreatedTimestamp != null
4380
4479
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
4381
4480
  : undefined,
@@ -4481,6 +4580,12 @@ const deserializeAws_restJson1ElasticChannelConfiguration = (output, context) =>
4481
4580
  TargetMembershipsPerSubChannel: (0, smithy_client_1.expectInt32)(output.TargetMembershipsPerSubChannel),
4482
4581
  };
4483
4582
  };
4583
+ const deserializeAws_restJson1ExpirationSettings = (output, context) => {
4584
+ return {
4585
+ ExpirationCriterion: (0, smithy_client_1.expectString)(output.ExpirationCriterion),
4586
+ ExpirationDays: (0, smithy_client_1.expectInt32)(output.ExpirationDays),
4587
+ };
4588
+ };
4484
4589
  const deserializeAws_restJson1Identity = (output, context) => {
4485
4590
  return {
4486
4591
  Arn: (0, smithy_client_1.expectString)(output.Arn),
@@ -38,6 +38,7 @@ import { ListChannelsCommand, } from "./commands/ListChannelsCommand";
38
38
  import { ListChannelsModeratedByAppInstanceUserCommand, } from "./commands/ListChannelsModeratedByAppInstanceUserCommand";
39
39
  import { ListSubChannelsCommand, } from "./commands/ListSubChannelsCommand";
40
40
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
41
+ import { PutChannelExpirationSettingsCommand, } from "./commands/PutChannelExpirationSettingsCommand";
41
42
  import { PutChannelMembershipPreferencesCommand, } from "./commands/PutChannelMembershipPreferencesCommand";
42
43
  import { PutMessagingStreamingConfigurationsCommand, } from "./commands/PutMessagingStreamingConfigurationsCommand";
43
44
  import { RedactChannelMessageCommand, } from "./commands/RedactChannelMessageCommand";
@@ -596,6 +597,20 @@ export class ChimeSDKMessaging extends ChimeSDKMessagingClient {
596
597
  return this.send(command, optionsOrCb);
597
598
  }
598
599
  }
600
+ putChannelExpirationSettings(args, optionsOrCb, cb) {
601
+ const command = new PutChannelExpirationSettingsCommand(args);
602
+ if (typeof optionsOrCb === "function") {
603
+ this.send(command, optionsOrCb);
604
+ }
605
+ else if (typeof cb === "function") {
606
+ if (typeof optionsOrCb !== "object")
607
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
608
+ this.send(command, optionsOrCb || {}, cb);
609
+ }
610
+ else {
611
+ return this.send(command, optionsOrCb);
612
+ }
613
+ }
599
614
  putChannelMembershipPreferences(args, optionsOrCb, cb) {
600
615
  const command = new PutChannelMembershipPreferencesCommand(args);
601
616
  if (typeof optionsOrCb === "function") {
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { AssociateChannelFlowRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateChannelFlowCommand, serializeAws_restJson1AssociateChannelFlowCommand, } from "../protocols/Aws_restJson1";
6
5
  export class AssociateChannelFlowCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class AssociateChannelFlowCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: AssociateChannelFlowRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { BatchCreateChannelMembershipRequestFilterSensitiveLog, BatchCreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { BatchCreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1BatchCreateChannelMembershipCommand, serializeAws_restJson1BatchCreateChannelMembershipCommand, } from "../protocols/Aws_restJson1";
6
6
  export class BatchCreateChannelMembershipCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -27,7 +27,7 @@ export class BatchCreateChannelMembershipCommand extends $Command {
27
27
  logger,
28
28
  clientName,
29
29
  commandName,
30
- inputFilterSensitiveLog: BatchCreateChannelMembershipRequestFilterSensitiveLog,
30
+ inputFilterSensitiveLog: (_) => _,
31
31
  outputFilterSensitiveLog: BatchCreateChannelMembershipResponseFilterSensitiveLog,
32
32
  };
33
33
  const { requestHandler } = configuration;
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ChannelFlowCallbackRequestFilterSensitiveLog, ChannelFlowCallbackResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { ChannelFlowCallbackRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ChannelFlowCallbackCommand, serializeAws_restJson1ChannelFlowCallbackCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ChannelFlowCallbackCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -28,7 +28,7 @@ export class ChannelFlowCallbackCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: ChannelFlowCallbackRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: ChannelFlowCallbackResponseFilterSensitiveLog,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateChannelBanRequestFilterSensitiveLog, CreateChannelBanResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { CreateChannelBanResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateChannelBanCommand, serializeAws_restJson1CreateChannelBanCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateChannelBanCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -27,7 +27,7 @@ export class CreateChannelBanCommand extends $Command {
27
27
  logger,
28
28
  clientName,
29
29
  commandName,
30
- inputFilterSensitiveLog: CreateChannelBanRequestFilterSensitiveLog,
30
+ inputFilterSensitiveLog: (_) => _,
31
31
  outputFilterSensitiveLog: CreateChannelBanResponseFilterSensitiveLog,
32
32
  };
33
33
  const { requestHandler } = configuration;
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateChannelRequestFilterSensitiveLog, CreateChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { CreateChannelRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateChannelCommand, serializeAws_restJson1CreateChannelCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateChannelCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -28,7 +28,7 @@ export class CreateChannelCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: CreateChannelRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: CreateChannelResponseFilterSensitiveLog,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateChannelFlowRequestFilterSensitiveLog, CreateChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { CreateChannelFlowRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateChannelFlowCommand, serializeAws_restJson1CreateChannelFlowCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateChannelFlowCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -28,7 +28,7 @@ export class CreateChannelFlowCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: CreateChannelFlowRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: CreateChannelFlowResponseFilterSensitiveLog,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateChannelMembershipRequestFilterSensitiveLog, CreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { CreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateChannelMembershipCommand, serializeAws_restJson1CreateChannelMembershipCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateChannelMembershipCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -27,7 +27,7 @@ export class CreateChannelMembershipCommand extends $Command {
27
27
  logger,
28
28
  clientName,
29
29
  commandName,
30
- inputFilterSensitiveLog: CreateChannelMembershipRequestFilterSensitiveLog,
30
+ inputFilterSensitiveLog: (_) => _,
31
31
  outputFilterSensitiveLog: CreateChannelMembershipResponseFilterSensitiveLog,
32
32
  };
33
33
  const { requestHandler } = configuration;
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateChannelModeratorRequestFilterSensitiveLog, CreateChannelModeratorResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { CreateChannelModeratorResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateChannelModeratorCommand, serializeAws_restJson1CreateChannelModeratorCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateChannelModeratorCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -27,7 +27,7 @@ export class CreateChannelModeratorCommand extends $Command {
27
27
  logger,
28
28
  clientName,
29
29
  commandName,
30
- inputFilterSensitiveLog: CreateChannelModeratorRequestFilterSensitiveLog,
30
+ inputFilterSensitiveLog: (_) => _,
31
31
  outputFilterSensitiveLog: CreateChannelModeratorResponseFilterSensitiveLog,
32
32
  };
33
33
  const { requestHandler } = configuration;
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteChannelBanRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelBanCommand, serializeAws_restJson1DeleteChannelBanCommand, } from "../protocols/Aws_restJson1";
6
5
  export class DeleteChannelBanCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DeleteChannelBanCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DeleteChannelBanRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteChannelRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelCommand, serializeAws_restJson1DeleteChannelCommand, } from "../protocols/Aws_restJson1";
6
5
  export class DeleteChannelCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DeleteChannelCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DeleteChannelRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteChannelFlowRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelFlowCommand, serializeAws_restJson1DeleteChannelFlowCommand, } from "../protocols/Aws_restJson1";
6
5
  export class DeleteChannelFlowCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DeleteChannelFlowCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DeleteChannelFlowRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteChannelMembershipRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelMembershipCommand, serializeAws_restJson1DeleteChannelMembershipCommand, } from "../protocols/Aws_restJson1";
6
5
  export class DeleteChannelMembershipCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DeleteChannelMembershipCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DeleteChannelMembershipRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteChannelMessageRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelMessageCommand, serializeAws_restJson1DeleteChannelMessageCommand, } from "../protocols/Aws_restJson1";
6
5
  export class DeleteChannelMessageCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DeleteChannelMessageCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DeleteChannelMessageRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteChannelModeratorRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelModeratorCommand, serializeAws_restJson1DeleteChannelModeratorCommand, } from "../protocols/Aws_restJson1";
6
5
  export class DeleteChannelModeratorCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DeleteChannelModeratorCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DeleteChannelModeratorRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteMessagingStreamingConfigurationsRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand, serializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand, } from "../protocols/Aws_restJson1";
6
5
  export class DeleteMessagingStreamingConfigurationsCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DeleteMessagingStreamingConfigurationsCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DeleteMessagingStreamingConfigurationsRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeChannelBanRequestFilterSensitiveLog, DescribeChannelBanResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { DescribeChannelBanResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DescribeChannelBanCommand, serializeAws_restJson1DescribeChannelBanCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DescribeChannelBanCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -27,7 +27,7 @@ export class DescribeChannelBanCommand extends $Command {
27
27
  logger,
28
28
  clientName,
29
29
  commandName,
30
- inputFilterSensitiveLog: DescribeChannelBanRequestFilterSensitiveLog,
30
+ inputFilterSensitiveLog: (_) => _,
31
31
  outputFilterSensitiveLog: DescribeChannelBanResponseFilterSensitiveLog,
32
32
  };
33
33
  const { requestHandler } = configuration;
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeChannelRequestFilterSensitiveLog, DescribeChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { DescribeChannelResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DescribeChannelCommand, serializeAws_restJson1DescribeChannelCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DescribeChannelCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -27,7 +27,7 @@ export class DescribeChannelCommand extends $Command {
27
27
  logger,
28
28
  clientName,
29
29
  commandName,
30
- inputFilterSensitiveLog: DescribeChannelRequestFilterSensitiveLog,
30
+ inputFilterSensitiveLog: (_) => _,
31
31
  outputFilterSensitiveLog: DescribeChannelResponseFilterSensitiveLog,
32
32
  };
33
33
  const { requestHandler } = configuration;
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeChannelFlowRequestFilterSensitiveLog, DescribeChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { DescribeChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DescribeChannelFlowCommand, serializeAws_restJson1DescribeChannelFlowCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DescribeChannelFlowCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -27,7 +27,7 @@ export class DescribeChannelFlowCommand extends $Command {
27
27
  logger,
28
28
  clientName,
29
29
  commandName,
30
- inputFilterSensitiveLog: DescribeChannelFlowRequestFilterSensitiveLog,
30
+ inputFilterSensitiveLog: (_) => _,
31
31
  outputFilterSensitiveLog: DescribeChannelFlowResponseFilterSensitiveLog,
32
32
  };
33
33
  const { requestHandler } = configuration;
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeChannelMembershipRequestFilterSensitiveLog, DescribeChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { DescribeChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DescribeChannelMembershipCommand, serializeAws_restJson1DescribeChannelMembershipCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DescribeChannelMembershipCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -27,7 +27,7 @@ export class DescribeChannelMembershipCommand extends $Command {
27
27
  logger,
28
28
  clientName,
29
29
  commandName,
30
- inputFilterSensitiveLog: DescribeChannelMembershipRequestFilterSensitiveLog,
30
+ inputFilterSensitiveLog: (_) => _,
31
31
  outputFilterSensitiveLog: DescribeChannelMembershipResponseFilterSensitiveLog,
32
32
  };
33
33
  const { requestHandler } = configuration;
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog, DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand, serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DescribeChannelMembershipForAppInstanceUserCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -27,7 +27,7 @@ export class DescribeChannelMembershipForAppInstanceUserCommand extends $Command
27
27
  logger,
28
28
  clientName,
29
29
  commandName,
30
- inputFilterSensitiveLog: DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog,
30
+ inputFilterSensitiveLog: (_) => _,
31
31
  outputFilterSensitiveLog: DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog,
32
32
  };
33
33
  const { requestHandler } = configuration;