@aws-sdk/client-chime-sdk-messaging 3.294.0 → 3.296.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 (156) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/ChimeSDKMessaging.js +45 -0
  3. package/dist-cjs/commands/AssociateChannelFlowCommand.js +4 -4
  4. package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +4 -4
  5. package/dist-cjs/commands/ChannelFlowCallbackCommand.js +4 -4
  6. package/dist-cjs/commands/CreateChannelBanCommand.js +4 -4
  7. package/dist-cjs/commands/CreateChannelCommand.js +4 -4
  8. package/dist-cjs/commands/CreateChannelFlowCommand.js +4 -4
  9. package/dist-cjs/commands/CreateChannelMembershipCommand.js +4 -4
  10. package/dist-cjs/commands/CreateChannelModeratorCommand.js +4 -4
  11. package/dist-cjs/commands/DeleteChannelBanCommand.js +4 -4
  12. package/dist-cjs/commands/DeleteChannelCommand.js +4 -4
  13. package/dist-cjs/commands/DeleteChannelFlowCommand.js +4 -4
  14. package/dist-cjs/commands/DeleteChannelMembershipCommand.js +4 -4
  15. package/dist-cjs/commands/DeleteChannelMessageCommand.js +4 -4
  16. package/dist-cjs/commands/DeleteChannelModeratorCommand.js +4 -4
  17. package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +46 -0
  18. package/dist-cjs/commands/DescribeChannelBanCommand.js +4 -4
  19. package/dist-cjs/commands/DescribeChannelCommand.js +4 -4
  20. package/dist-cjs/commands/DescribeChannelFlowCommand.js +4 -4
  21. package/dist-cjs/commands/DescribeChannelMembershipCommand.js +4 -4
  22. package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +4 -4
  23. package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +4 -4
  24. package/dist-cjs/commands/DescribeChannelModeratorCommand.js +4 -4
  25. package/dist-cjs/commands/DisassociateChannelFlowCommand.js +4 -4
  26. package/dist-cjs/commands/GetChannelMembershipPreferencesCommand.js +4 -4
  27. package/dist-cjs/commands/GetChannelMessageCommand.js +4 -4
  28. package/dist-cjs/commands/GetChannelMessageStatusCommand.js +4 -4
  29. package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +4 -4
  30. package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +46 -0
  31. package/dist-cjs/commands/ListChannelBansCommand.js +4 -4
  32. package/dist-cjs/commands/ListChannelFlowsCommand.js +4 -4
  33. package/dist-cjs/commands/ListChannelMembershipsCommand.js +4 -4
  34. package/dist-cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js +4 -4
  35. package/dist-cjs/commands/ListChannelMessagesCommand.js +4 -4
  36. package/dist-cjs/commands/ListChannelModeratorsCommand.js +4 -4
  37. package/dist-cjs/commands/ListChannelsAssociatedWithChannelFlowCommand.js +4 -4
  38. package/dist-cjs/commands/ListChannelsCommand.js +4 -4
  39. package/dist-cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js +4 -4
  40. package/dist-cjs/commands/ListSubChannelsCommand.js +4 -4
  41. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  42. package/dist-cjs/commands/PutChannelMembershipPreferencesCommand.js +4 -4
  43. package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +46 -0
  44. package/dist-cjs/commands/RedactChannelMessageCommand.js +4 -4
  45. package/dist-cjs/commands/SearchChannelsCommand.js +4 -4
  46. package/dist-cjs/commands/SendChannelMessageCommand.js +4 -4
  47. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  48. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  49. package/dist-cjs/commands/UpdateChannelCommand.js +4 -4
  50. package/dist-cjs/commands/UpdateChannelFlowCommand.js +4 -4
  51. package/dist-cjs/commands/UpdateChannelMessageCommand.js +4 -4
  52. package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +4 -4
  53. package/dist-cjs/commands/index.js +3 -0
  54. package/dist-cjs/endpoint/ruleset.js +3 -3
  55. package/dist-cjs/models/models_0.js +32 -3
  56. package/dist-cjs/protocols/Aws_restJson1.js +243 -2
  57. package/dist-es/ChimeSDKMessaging.js +45 -0
  58. package/dist-es/commands/AssociateChannelFlowCommand.js +4 -4
  59. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +4 -4
  60. package/dist-es/commands/ChannelFlowCallbackCommand.js +4 -4
  61. package/dist-es/commands/CreateChannelBanCommand.js +4 -4
  62. package/dist-es/commands/CreateChannelCommand.js +4 -4
  63. package/dist-es/commands/CreateChannelFlowCommand.js +4 -4
  64. package/dist-es/commands/CreateChannelMembershipCommand.js +4 -4
  65. package/dist-es/commands/CreateChannelModeratorCommand.js +4 -4
  66. package/dist-es/commands/DeleteChannelBanCommand.js +4 -4
  67. package/dist-es/commands/DeleteChannelCommand.js +4 -4
  68. package/dist-es/commands/DeleteChannelFlowCommand.js +4 -4
  69. package/dist-es/commands/DeleteChannelMembershipCommand.js +4 -4
  70. package/dist-es/commands/DeleteChannelMessageCommand.js +4 -4
  71. package/dist-es/commands/DeleteChannelModeratorCommand.js +4 -4
  72. package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +42 -0
  73. package/dist-es/commands/DescribeChannelBanCommand.js +4 -4
  74. package/dist-es/commands/DescribeChannelCommand.js +4 -4
  75. package/dist-es/commands/DescribeChannelFlowCommand.js +4 -4
  76. package/dist-es/commands/DescribeChannelMembershipCommand.js +4 -4
  77. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +4 -4
  78. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +4 -4
  79. package/dist-es/commands/DescribeChannelModeratorCommand.js +4 -4
  80. package/dist-es/commands/DisassociateChannelFlowCommand.js +4 -4
  81. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +4 -4
  82. package/dist-es/commands/GetChannelMessageCommand.js +4 -4
  83. package/dist-es/commands/GetChannelMessageStatusCommand.js +4 -4
  84. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +4 -4
  85. package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +42 -0
  86. package/dist-es/commands/ListChannelBansCommand.js +4 -4
  87. package/dist-es/commands/ListChannelFlowsCommand.js +4 -4
  88. package/dist-es/commands/ListChannelMembershipsCommand.js +4 -4
  89. package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +4 -4
  90. package/dist-es/commands/ListChannelMessagesCommand.js +4 -4
  91. package/dist-es/commands/ListChannelModeratorsCommand.js +4 -4
  92. package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +4 -4
  93. package/dist-es/commands/ListChannelsCommand.js +4 -4
  94. package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +4 -4
  95. package/dist-es/commands/ListSubChannelsCommand.js +4 -4
  96. package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
  97. package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +4 -4
  98. package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +42 -0
  99. package/dist-es/commands/RedactChannelMessageCommand.js +4 -4
  100. package/dist-es/commands/SearchChannelsCommand.js +4 -4
  101. package/dist-es/commands/SendChannelMessageCommand.js +4 -4
  102. package/dist-es/commands/TagResourceCommand.js +4 -4
  103. package/dist-es/commands/UntagResourceCommand.js +4 -4
  104. package/dist-es/commands/UpdateChannelCommand.js +4 -4
  105. package/dist-es/commands/UpdateChannelFlowCommand.js +4 -4
  106. package/dist-es/commands/UpdateChannelMessageCommand.js +4 -4
  107. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +4 -4
  108. package/dist-es/commands/index.js +3 -0
  109. package/dist-es/endpoint/ruleset.js +3 -3
  110. package/dist-es/models/models_0.js +23 -0
  111. package/dist-es/protocols/Aws_restJson1.js +235 -0
  112. package/dist-types/ChimeSDKMessaging.d.ts +25 -40
  113. package/dist-types/ChimeSDKMessagingClient.d.ts +7 -4
  114. package/dist-types/commands/AssociateChannelFlowCommand.d.ts +0 -1
  115. package/dist-types/commands/CreateChannelBanCommand.d.ts +0 -1
  116. package/dist-types/commands/CreateChannelCommand.d.ts +0 -2
  117. package/dist-types/commands/CreateChannelFlowCommand.d.ts +1 -3
  118. package/dist-types/commands/CreateChannelMembershipCommand.d.ts +0 -4
  119. package/dist-types/commands/CreateChannelModeratorCommand.d.ts +0 -2
  120. package/dist-types/commands/DeleteChannelBanCommand.d.ts +0 -1
  121. package/dist-types/commands/DeleteChannelCommand.d.ts +0 -1
  122. package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +0 -1
  123. package/dist-types/commands/DeleteChannelMessageCommand.d.ts +0 -1
  124. package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +0 -1
  125. package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +60 -0
  126. package/dist-types/commands/DescribeChannelBanCommand.d.ts +0 -2
  127. package/dist-types/commands/DescribeChannelCommand.d.ts +0 -2
  128. package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +0 -1
  129. package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +0 -1
  130. package/dist-types/commands/GetChannelMessageCommand.d.ts +0 -1
  131. package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +0 -3
  132. package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +66 -0
  133. package/dist-types/commands/ListChannelBansCommand.d.ts +0 -1
  134. package/dist-types/commands/ListChannelMembershipsCommand.d.ts +0 -2
  135. package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +0 -1
  136. package/dist-types/commands/ListChannelsCommand.d.ts +0 -2
  137. package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +0 -1
  138. package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +70 -0
  139. package/dist-types/commands/RedactChannelMessageCommand.d.ts +0 -1
  140. package/dist-types/commands/SendChannelMessageCommand.d.ts +0 -2
  141. package/dist-types/commands/UpdateChannelMessageCommand.d.ts +0 -1
  142. package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +0 -1
  143. package/dist-types/commands/index.d.ts +3 -0
  144. package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
  145. package/dist-types/models/models_0.d.ts +75 -0
  146. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  147. package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +69 -0
  148. package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +22 -4
  149. package/dist-types/ts3.4/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +37 -0
  150. package/dist-types/ts3.4/commands/GetMessagingStreamingConfigurationsCommand.d.ts +41 -0
  151. package/dist-types/ts3.4/commands/PutMessagingStreamingConfigurationsCommand.d.ts +41 -0
  152. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  153. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -5
  154. package/dist-types/ts3.4/models/models_0.d.ts +42 -0
  155. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  156. package/package.json +36 -36
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class UpdateChannelFlowCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class UpdateChannelFlowCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateChannelFlowCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class UpdateChannelMessageCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class UpdateChannelMessageCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateChannelMessageCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class UpdateChannelReadMarkerCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class UpdateChannelReadMarkerCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateChannelReadMarkerCommand.getEndpointParameterInstructions()));
@@ -15,6 +15,7 @@ tslib_1.__exportStar(require("./DeleteChannelFlowCommand"), exports);
15
15
  tslib_1.__exportStar(require("./DeleteChannelMembershipCommand"), exports);
16
16
  tslib_1.__exportStar(require("./DeleteChannelMessageCommand"), exports);
17
17
  tslib_1.__exportStar(require("./DeleteChannelModeratorCommand"), exports);
18
+ tslib_1.__exportStar(require("./DeleteMessagingStreamingConfigurationsCommand"), exports);
18
19
  tslib_1.__exportStar(require("./DescribeChannelBanCommand"), exports);
19
20
  tslib_1.__exportStar(require("./DescribeChannelCommand"), exports);
20
21
  tslib_1.__exportStar(require("./DescribeChannelFlowCommand"), exports);
@@ -27,6 +28,7 @@ tslib_1.__exportStar(require("./GetChannelMembershipPreferencesCommand"), export
27
28
  tslib_1.__exportStar(require("./GetChannelMessageCommand"), exports);
28
29
  tslib_1.__exportStar(require("./GetChannelMessageStatusCommand"), exports);
29
30
  tslib_1.__exportStar(require("./GetMessagingSessionEndpointCommand"), exports);
31
+ tslib_1.__exportStar(require("./GetMessagingStreamingConfigurationsCommand"), exports);
30
32
  tslib_1.__exportStar(require("./ListChannelBansCommand"), exports);
31
33
  tslib_1.__exportStar(require("./ListChannelFlowsCommand"), exports);
32
34
  tslib_1.__exportStar(require("./ListChannelMembershipsCommand"), exports);
@@ -39,6 +41,7 @@ tslib_1.__exportStar(require("./ListChannelsModeratedByAppInstanceUserCommand"),
39
41
  tslib_1.__exportStar(require("./ListSubChannelsCommand"), exports);
40
42
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
41
43
  tslib_1.__exportStar(require("./PutChannelMembershipPreferencesCommand"), exports);
44
+ tslib_1.__exportStar(require("./PutMessagingStreamingConfigurationsCommand"), exports);
42
45
  tslib_1.__exportStar(require("./RedactChannelMessageCommand"), exports);
43
46
  tslib_1.__exportStar(require("./SearchChannelsCommand"), exports);
44
47
  tslib_1.__exportStar(require("./SendChannelMessageCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const r = "fn", s = "argv", t = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChannelMembershipPreferencesFilterSensitiveLog = exports.PushNotificationPreferencesFilterSensitiveLog = exports.ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog = exports.ChannelSummaryFilterSensitiveLog = exports.ChannelMembershipFilterSensitiveLog = exports.ChannelFlowSummaryFilterSensitiveLog = exports.ChannelFlowCallbackResponseFilterSensitiveLog = exports.ChannelFlowCallbackRequestFilterSensitiveLog = exports.ChannelMessageCallbackFilterSensitiveLog = exports.PushNotificationConfigurationFilterSensitiveLog = exports.MessageAttributeValueFilterSensitiveLog = exports.ChannelFlowFilterSensitiveLog = exports.ProcessorFilterSensitiveLog = exports.ProcessorConfigurationFilterSensitiveLog = exports.LambdaConfigurationFilterSensitiveLog = exports.ChannelBanSummaryFilterSensitiveLog = exports.ChannelBanFilterSensitiveLog = exports.ChannelAssociatedWithFlowSummaryFilterSensitiveLog = exports.ChannelFilterSensitiveLog = exports.ElasticChannelConfigurationFilterSensitiveLog = exports.BatchCreateChannelMembershipResponseFilterSensitiveLog = exports.BatchCreateChannelMembershipErrorFilterSensitiveLog = exports.BatchCreateChannelMembershipRequestFilterSensitiveLog = exports.BatchChannelMembershipsFilterSensitiveLog = exports.IdentityFilterSensitiveLog = exports.AssociateChannelFlowRequestFilterSensitiveLog = exports.AppInstanceUserMembershipSummaryFilterSensitiveLog = exports.SearchFieldOperator = exports.SearchFieldKey = exports.SortOrder = exports.ChannelMessageType = exports.ChannelMessageStatus = exports.ChannelMessagePersistenceType = exports.PushNotificationType = exports.FallbackAction = exports.InvocationType = exports.ChannelPrivacy = exports.ChannelMode = exports.ResourceLimitExceededException = exports.UnauthorizedClientException = exports.ThrottledClientException = exports.ServiceUnavailableException = exports.ServiceFailureException = exports.NotFoundException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.ErrorCode = exports.ChannelMembershipType = exports.AllowNotifications = void 0;
4
- exports.ListChannelBansResponseFilterSensitiveLog = exports.ListChannelBansRequestFilterSensitiveLog = exports.GetMessagingSessionEndpointResponseFilterSensitiveLog = exports.MessagingSessionEndpointFilterSensitiveLog = exports.GetMessagingSessionEndpointRequestFilterSensitiveLog = exports.GetChannelMessageStatusResponseFilterSensitiveLog = exports.GetChannelMessageStatusRequestFilterSensitiveLog = exports.GetChannelMessageResponseFilterSensitiveLog = exports.GetChannelMessageRequestFilterSensitiveLog = exports.GetChannelMembershipPreferencesResponseFilterSensitiveLog = exports.GetChannelMembershipPreferencesRequestFilterSensitiveLog = exports.DisassociateChannelFlowRequestFilterSensitiveLog = exports.DescribeChannelModeratorResponseFilterSensitiveLog = exports.DescribeChannelModeratorRequestFilterSensitiveLog = exports.DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog = exports.DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog = exports.DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog = exports.DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog = exports.DescribeChannelMembershipResponseFilterSensitiveLog = exports.DescribeChannelMembershipRequestFilterSensitiveLog = exports.DescribeChannelFlowResponseFilterSensitiveLog = exports.DescribeChannelFlowRequestFilterSensitiveLog = exports.DescribeChannelBanResponseFilterSensitiveLog = exports.DescribeChannelBanRequestFilterSensitiveLog = exports.DescribeChannelResponseFilterSensitiveLog = exports.DescribeChannelRequestFilterSensitiveLog = exports.DeleteChannelModeratorRequestFilterSensitiveLog = exports.DeleteChannelMessageRequestFilterSensitiveLog = exports.DeleteChannelMembershipRequestFilterSensitiveLog = exports.DeleteChannelFlowRequestFilterSensitiveLog = exports.DeleteChannelBanRequestFilterSensitiveLog = exports.DeleteChannelRequestFilterSensitiveLog = exports.CreateChannelModeratorResponseFilterSensitiveLog = exports.CreateChannelModeratorRequestFilterSensitiveLog = exports.CreateChannelMembershipResponseFilterSensitiveLog = exports.CreateChannelMembershipRequestFilterSensitiveLog = exports.CreateChannelFlowResponseFilterSensitiveLog = exports.CreateChannelFlowRequestFilterSensitiveLog = exports.CreateChannelBanResponseFilterSensitiveLog = exports.CreateChannelBanRequestFilterSensitiveLog = exports.CreateChannelResponseFilterSensitiveLog = exports.CreateChannelRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.ChannelModeratorSummaryFilterSensitiveLog = exports.ChannelModeratorFilterSensitiveLog = exports.ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog = exports.ChannelMessageSummaryFilterSensitiveLog = exports.ChannelMessageFilterSensitiveLog = exports.ChannelMessageStatusStructureFilterSensitiveLog = exports.ChannelMembershipSummaryFilterSensitiveLog = void 0;
5
- exports.UpdateChannelReadMarkerResponseFilterSensitiveLog = exports.UpdateChannelReadMarkerRequestFilterSensitiveLog = exports.UpdateChannelMessageResponseFilterSensitiveLog = exports.UpdateChannelMessageRequestFilterSensitiveLog = exports.UpdateChannelFlowResponseFilterSensitiveLog = exports.UpdateChannelFlowRequestFilterSensitiveLog = exports.UpdateChannelResponseFilterSensitiveLog = exports.UpdateChannelRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SendChannelMessageResponseFilterSensitiveLog = exports.SendChannelMessageRequestFilterSensitiveLog = exports.SearchChannelsResponseFilterSensitiveLog = exports.SearchChannelsRequestFilterSensitiveLog = exports.SearchFieldFilterSensitiveLog = exports.RedactChannelMessageResponseFilterSensitiveLog = exports.RedactChannelMessageRequestFilterSensitiveLog = exports.PutChannelMembershipPreferencesResponseFilterSensitiveLog = exports.PutChannelMembershipPreferencesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListSubChannelsResponseFilterSensitiveLog = exports.SubChannelSummaryFilterSensitiveLog = exports.ListSubChannelsRequestFilterSensitiveLog = exports.ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog = exports.ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog = exports.ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog = exports.ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog = exports.ListChannelsResponseFilterSensitiveLog = exports.ListChannelsRequestFilterSensitiveLog = exports.ListChannelModeratorsResponseFilterSensitiveLog = exports.ListChannelModeratorsRequestFilterSensitiveLog = exports.ListChannelMessagesResponseFilterSensitiveLog = exports.ListChannelMessagesRequestFilterSensitiveLog = exports.ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog = exports.ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog = exports.ListChannelMembershipsResponseFilterSensitiveLog = exports.ListChannelMembershipsRequestFilterSensitiveLog = exports.ListChannelFlowsResponseFilterSensitiveLog = exports.ListChannelFlowsRequestFilterSensitiveLog = void 0;
3
+ exports.PushNotificationPreferencesFilterSensitiveLog = exports.ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog = exports.ChannelSummaryFilterSensitiveLog = exports.ChannelMembershipFilterSensitiveLog = exports.ChannelFlowSummaryFilterSensitiveLog = exports.ChannelFlowCallbackResponseFilterSensitiveLog = exports.ChannelFlowCallbackRequestFilterSensitiveLog = exports.ChannelMessageCallbackFilterSensitiveLog = exports.PushNotificationConfigurationFilterSensitiveLog = exports.MessageAttributeValueFilterSensitiveLog = exports.ChannelFlowFilterSensitiveLog = exports.ProcessorFilterSensitiveLog = exports.ProcessorConfigurationFilterSensitiveLog = exports.LambdaConfigurationFilterSensitiveLog = exports.ChannelBanSummaryFilterSensitiveLog = exports.ChannelBanFilterSensitiveLog = exports.ChannelAssociatedWithFlowSummaryFilterSensitiveLog = exports.ChannelFilterSensitiveLog = exports.ElasticChannelConfigurationFilterSensitiveLog = exports.BatchCreateChannelMembershipResponseFilterSensitiveLog = exports.BatchCreateChannelMembershipErrorFilterSensitiveLog = exports.BatchCreateChannelMembershipRequestFilterSensitiveLog = exports.BatchChannelMembershipsFilterSensitiveLog = exports.IdentityFilterSensitiveLog = exports.AssociateChannelFlowRequestFilterSensitiveLog = exports.AppInstanceUserMembershipSummaryFilterSensitiveLog = exports.SearchFieldOperator = exports.SearchFieldKey = exports.SortOrder = exports.MessagingDataType = exports.ChannelMessageType = exports.ChannelMessageStatus = exports.ChannelMessagePersistenceType = exports.PushNotificationType = exports.FallbackAction = exports.InvocationType = exports.ChannelPrivacy = exports.ChannelMode = exports.ResourceLimitExceededException = exports.UnauthorizedClientException = exports.ThrottledClientException = exports.ServiceUnavailableException = exports.ServiceFailureException = exports.NotFoundException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.ErrorCode = exports.ChannelMembershipType = exports.AllowNotifications = void 0;
4
+ exports.GetMessagingSessionEndpointResponseFilterSensitiveLog = exports.MessagingSessionEndpointFilterSensitiveLog = exports.GetMessagingSessionEndpointRequestFilterSensitiveLog = exports.GetChannelMessageStatusResponseFilterSensitiveLog = exports.GetChannelMessageStatusRequestFilterSensitiveLog = exports.GetChannelMessageResponseFilterSensitiveLog = exports.GetChannelMessageRequestFilterSensitiveLog = exports.GetChannelMembershipPreferencesResponseFilterSensitiveLog = exports.GetChannelMembershipPreferencesRequestFilterSensitiveLog = exports.DisassociateChannelFlowRequestFilterSensitiveLog = exports.DescribeChannelModeratorResponseFilterSensitiveLog = exports.DescribeChannelModeratorRequestFilterSensitiveLog = exports.DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog = exports.DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog = exports.DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog = exports.DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog = exports.DescribeChannelMembershipResponseFilterSensitiveLog = exports.DescribeChannelMembershipRequestFilterSensitiveLog = exports.DescribeChannelFlowResponseFilterSensitiveLog = exports.DescribeChannelFlowRequestFilterSensitiveLog = exports.DescribeChannelBanResponseFilterSensitiveLog = exports.DescribeChannelBanRequestFilterSensitiveLog = exports.DescribeChannelResponseFilterSensitiveLog = exports.DescribeChannelRequestFilterSensitiveLog = exports.DeleteMessagingStreamingConfigurationsRequestFilterSensitiveLog = exports.DeleteChannelModeratorRequestFilterSensitiveLog = exports.DeleteChannelMessageRequestFilterSensitiveLog = exports.DeleteChannelMembershipRequestFilterSensitiveLog = exports.DeleteChannelFlowRequestFilterSensitiveLog = exports.DeleteChannelBanRequestFilterSensitiveLog = exports.DeleteChannelRequestFilterSensitiveLog = exports.CreateChannelModeratorResponseFilterSensitiveLog = exports.CreateChannelModeratorRequestFilterSensitiveLog = exports.CreateChannelMembershipResponseFilterSensitiveLog = exports.CreateChannelMembershipRequestFilterSensitiveLog = exports.CreateChannelFlowResponseFilterSensitiveLog = exports.CreateChannelFlowRequestFilterSensitiveLog = exports.CreateChannelBanResponseFilterSensitiveLog = exports.CreateChannelBanRequestFilterSensitiveLog = exports.CreateChannelResponseFilterSensitiveLog = exports.CreateChannelRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.ChannelModeratorSummaryFilterSensitiveLog = exports.ChannelModeratorFilterSensitiveLog = exports.ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog = exports.ChannelMessageSummaryFilterSensitiveLog = exports.ChannelMessageFilterSensitiveLog = exports.ChannelMessageStatusStructureFilterSensitiveLog = exports.ChannelMembershipSummaryFilterSensitiveLog = exports.ChannelMembershipPreferencesFilterSensitiveLog = void 0;
5
+ exports.UpdateChannelReadMarkerResponseFilterSensitiveLog = exports.UpdateChannelReadMarkerRequestFilterSensitiveLog = exports.UpdateChannelMessageResponseFilterSensitiveLog = exports.UpdateChannelMessageRequestFilterSensitiveLog = exports.UpdateChannelFlowResponseFilterSensitiveLog = exports.UpdateChannelFlowRequestFilterSensitiveLog = exports.UpdateChannelResponseFilterSensitiveLog = exports.UpdateChannelRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SendChannelMessageResponseFilterSensitiveLog = exports.SendChannelMessageRequestFilterSensitiveLog = exports.SearchChannelsResponseFilterSensitiveLog = exports.SearchChannelsRequestFilterSensitiveLog = exports.SearchFieldFilterSensitiveLog = exports.RedactChannelMessageResponseFilterSensitiveLog = exports.RedactChannelMessageRequestFilterSensitiveLog = exports.PutMessagingStreamingConfigurationsResponseFilterSensitiveLog = exports.PutMessagingStreamingConfigurationsRequestFilterSensitiveLog = exports.PutChannelMembershipPreferencesResponseFilterSensitiveLog = exports.PutChannelMembershipPreferencesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListSubChannelsResponseFilterSensitiveLog = exports.SubChannelSummaryFilterSensitiveLog = exports.ListSubChannelsRequestFilterSensitiveLog = exports.ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog = exports.ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog = exports.ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog = exports.ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog = exports.ListChannelsResponseFilterSensitiveLog = exports.ListChannelsRequestFilterSensitiveLog = exports.ListChannelModeratorsResponseFilterSensitiveLog = exports.ListChannelModeratorsRequestFilterSensitiveLog = exports.ListChannelMessagesResponseFilterSensitiveLog = exports.ListChannelMessagesRequestFilterSensitiveLog = exports.ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog = exports.ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog = exports.ListChannelMembershipsResponseFilterSensitiveLog = exports.ListChannelMembershipsRequestFilterSensitiveLog = exports.ListChannelFlowsResponseFilterSensitiveLog = exports.ListChannelFlowsRequestFilterSensitiveLog = exports.ListChannelBansResponseFilterSensitiveLog = exports.ListChannelBansRequestFilterSensitiveLog = exports.GetMessagingStreamingConfigurationsResponseFilterSensitiveLog = exports.StreamingConfigurationFilterSensitiveLog = exports.GetMessagingStreamingConfigurationsRequestFilterSensitiveLog = void 0;
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const ChimeSDKMessagingServiceException_1 = require("./ChimeSDKMessagingServiceException");
8
8
  var AllowNotifications;
@@ -210,6 +210,11 @@ var ChannelMessageType;
210
210
  ChannelMessageType["CONTROL"] = "CONTROL";
211
211
  ChannelMessageType["STANDARD"] = "STANDARD";
212
212
  })(ChannelMessageType = exports.ChannelMessageType || (exports.ChannelMessageType = {}));
213
+ var MessagingDataType;
214
+ (function (MessagingDataType) {
215
+ MessagingDataType["Channel"] = "Channel";
216
+ MessagingDataType["ChannelMessage"] = "ChannelMessage";
217
+ })(MessagingDataType = exports.MessagingDataType || (exports.MessagingDataType = {}));
213
218
  var SortOrder;
214
219
  (function (SortOrder) {
215
220
  SortOrder["ASCENDING"] = "ASCENDING";
@@ -499,6 +504,10 @@ const DeleteChannelModeratorRequestFilterSensitiveLog = (obj) => ({
499
504
  ...obj,
500
505
  });
501
506
  exports.DeleteChannelModeratorRequestFilterSensitiveLog = DeleteChannelModeratorRequestFilterSensitiveLog;
507
+ const DeleteMessagingStreamingConfigurationsRequestFilterSensitiveLog = (obj) => ({
508
+ ...obj,
509
+ });
510
+ exports.DeleteMessagingStreamingConfigurationsRequestFilterSensitiveLog = DeleteMessagingStreamingConfigurationsRequestFilterSensitiveLog;
502
511
  const DescribeChannelRequestFilterSensitiveLog = (obj) => ({
503
512
  ...obj,
504
513
  });
@@ -607,6 +616,18 @@ const GetMessagingSessionEndpointResponseFilterSensitiveLog = (obj) => ({
607
616
  ...obj,
608
617
  });
609
618
  exports.GetMessagingSessionEndpointResponseFilterSensitiveLog = GetMessagingSessionEndpointResponseFilterSensitiveLog;
619
+ const GetMessagingStreamingConfigurationsRequestFilterSensitiveLog = (obj) => ({
620
+ ...obj,
621
+ });
622
+ exports.GetMessagingStreamingConfigurationsRequestFilterSensitiveLog = GetMessagingStreamingConfigurationsRequestFilterSensitiveLog;
623
+ const StreamingConfigurationFilterSensitiveLog = (obj) => ({
624
+ ...obj,
625
+ });
626
+ exports.StreamingConfigurationFilterSensitiveLog = StreamingConfigurationFilterSensitiveLog;
627
+ const GetMessagingStreamingConfigurationsResponseFilterSensitiveLog = (obj) => ({
628
+ ...obj,
629
+ });
630
+ exports.GetMessagingStreamingConfigurationsResponseFilterSensitiveLog = GetMessagingStreamingConfigurationsResponseFilterSensitiveLog;
610
631
  const ListChannelBansRequestFilterSensitiveLog = (obj) => ({
611
632
  ...obj,
612
633
  ...(obj.NextToken && { NextToken: smithy_client_1.SENSITIVE_STRING }),
@@ -752,6 +773,14 @@ const PutChannelMembershipPreferencesResponseFilterSensitiveLog = (obj) => ({
752
773
  ...(obj.Preferences && { Preferences: (0, exports.ChannelMembershipPreferencesFilterSensitiveLog)(obj.Preferences) }),
753
774
  });
754
775
  exports.PutChannelMembershipPreferencesResponseFilterSensitiveLog = PutChannelMembershipPreferencesResponseFilterSensitiveLog;
776
+ const PutMessagingStreamingConfigurationsRequestFilterSensitiveLog = (obj) => ({
777
+ ...obj,
778
+ });
779
+ exports.PutMessagingStreamingConfigurationsRequestFilterSensitiveLog = PutMessagingStreamingConfigurationsRequestFilterSensitiveLog;
780
+ const PutMessagingStreamingConfigurationsResponseFilterSensitiveLog = (obj) => ({
781
+ ...obj,
782
+ });
783
+ exports.PutMessagingStreamingConfigurationsResponseFilterSensitiveLog = PutMessagingStreamingConfigurationsResponseFilterSensitiveLog;
755
784
  const RedactChannelMessageRequestFilterSensitiveLog = (obj) => ({
756
785
  ...obj,
757
786
  });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1ChannelFlowCallbackCommand = exports.deserializeAws_restJson1BatchCreateChannelMembershipCommand = exports.deserializeAws_restJson1AssociateChannelFlowCommand = 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_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_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_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_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_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_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 = void 0;
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;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const uuid_1 = require("uuid");
@@ -352,6 +352,24 @@ const serializeAws_restJson1DeleteChannelModeratorCommand = async (input, contex
352
352
  });
353
353
  };
354
354
  exports.serializeAws_restJson1DeleteChannelModeratorCommand = serializeAws_restJson1DeleteChannelModeratorCommand;
355
+ const serializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand = async (input, context) => {
356
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
357
+ const headers = {};
358
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
359
+ "/app-instances/{AppInstanceArn}/streaming-configurations";
360
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
361
+ let body;
362
+ return new protocol_http_1.HttpRequest({
363
+ protocol,
364
+ hostname,
365
+ port,
366
+ method: "DELETE",
367
+ headers,
368
+ path: resolvedPath,
369
+ body,
370
+ });
371
+ };
372
+ exports.serializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand = serializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand;
355
373
  const serializeAws_restJson1DescribeChannelCommand = async (input, context) => {
356
374
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
357
375
  const headers = map({}, isSerializableHeaderValue, {
@@ -614,6 +632,24 @@ const serializeAws_restJson1GetMessagingSessionEndpointCommand = async (input, c
614
632
  });
615
633
  };
616
634
  exports.serializeAws_restJson1GetMessagingSessionEndpointCommand = serializeAws_restJson1GetMessagingSessionEndpointCommand;
635
+ const serializeAws_restJson1GetMessagingStreamingConfigurationsCommand = async (input, context) => {
636
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
637
+ const headers = {};
638
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
639
+ "/app-instances/{AppInstanceArn}/streaming-configurations";
640
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
641
+ let body;
642
+ return new protocol_http_1.HttpRequest({
643
+ protocol,
644
+ hostname,
645
+ port,
646
+ method: "GET",
647
+ headers,
648
+ path: resolvedPath,
649
+ body,
650
+ });
651
+ };
652
+ exports.serializeAws_restJson1GetMessagingStreamingConfigurationsCommand = serializeAws_restJson1GetMessagingStreamingConfigurationsCommand;
617
653
  const serializeAws_restJson1ListChannelBansCommand = async (input, context) => {
618
654
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
619
655
  const headers = map({}, isSerializableHeaderValue, {
@@ -913,6 +949,31 @@ const serializeAws_restJson1PutChannelMembershipPreferencesCommand = async (inpu
913
949
  });
914
950
  };
915
951
  exports.serializeAws_restJson1PutChannelMembershipPreferencesCommand = serializeAws_restJson1PutChannelMembershipPreferencesCommand;
952
+ const serializeAws_restJson1PutMessagingStreamingConfigurationsCommand = async (input, context) => {
953
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
954
+ const headers = {
955
+ "content-type": "application/json",
956
+ };
957
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
958
+ "/app-instances/{AppInstanceArn}/streaming-configurations";
959
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
960
+ let body;
961
+ body = JSON.stringify({
962
+ ...(input.StreamingConfigurations != null && {
963
+ StreamingConfigurations: serializeAws_restJson1StreamingConfigurationList(input.StreamingConfigurations, context),
964
+ }),
965
+ });
966
+ return new protocol_http_1.HttpRequest({
967
+ protocol,
968
+ hostname,
969
+ port,
970
+ method: "PUT",
971
+ headers,
972
+ path: resolvedPath,
973
+ body,
974
+ });
975
+ };
976
+ exports.serializeAws_restJson1PutMessagingStreamingConfigurationsCommand = serializeAws_restJson1PutMessagingStreamingConfigurationsCommand;
916
977
  const serializeAws_restJson1RedactChannelMessageCommand = async (input, context) => {
917
978
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
918
979
  const headers = map({}, isSerializableHeaderValue, {
@@ -1891,6 +1952,49 @@ const deserializeAws_restJson1DeleteChannelModeratorCommandError = async (output
1891
1952
  });
1892
1953
  }
1893
1954
  };
1955
+ const deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand = async (output, context) => {
1956
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1957
+ return deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommandError(output, context);
1958
+ }
1959
+ const contents = map({
1960
+ $metadata: deserializeMetadata(output),
1961
+ });
1962
+ await collectBody(output.body, context);
1963
+ return contents;
1964
+ };
1965
+ exports.deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand = deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand;
1966
+ const deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommandError = async (output, context) => {
1967
+ const parsedOutput = {
1968
+ ...output,
1969
+ body: await parseErrorBody(output.body, context),
1970
+ };
1971
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1972
+ switch (errorCode) {
1973
+ case "ForbiddenException":
1974
+ case "com.amazonaws.chimesdkmessaging#ForbiddenException":
1975
+ throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1976
+ case "ServiceFailureException":
1977
+ case "com.amazonaws.chimesdkmessaging#ServiceFailureException":
1978
+ throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
1979
+ case "ServiceUnavailableException":
1980
+ case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":
1981
+ throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1982
+ case "ThrottledClientException":
1983
+ case "com.amazonaws.chimesdkmessaging#ThrottledClientException":
1984
+ throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
1985
+ case "UnauthorizedClientException":
1986
+ case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":
1987
+ throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
1988
+ default:
1989
+ const parsedBody = parsedOutput.body;
1990
+ (0, smithy_client_1.throwDefaultError)({
1991
+ output,
1992
+ parsedBody,
1993
+ exceptionCtor: ChimeSDKMessagingServiceException_1.ChimeSDKMessagingServiceException,
1994
+ errorCode,
1995
+ });
1996
+ }
1997
+ };
1894
1998
  const deserializeAws_restJson1DescribeChannelCommand = async (output, context) => {
1895
1999
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1896
2000
  return deserializeAws_restJson1DescribeChannelCommandError(output, context);
@@ -2497,6 +2601,58 @@ const deserializeAws_restJson1GetMessagingSessionEndpointCommandError = async (o
2497
2601
  });
2498
2602
  }
2499
2603
  };
2604
+ const deserializeAws_restJson1GetMessagingStreamingConfigurationsCommand = async (output, context) => {
2605
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2606
+ return deserializeAws_restJson1GetMessagingStreamingConfigurationsCommandError(output, context);
2607
+ }
2608
+ const contents = map({
2609
+ $metadata: deserializeMetadata(output),
2610
+ });
2611
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2612
+ if (data.StreamingConfigurations != null) {
2613
+ contents.StreamingConfigurations = deserializeAws_restJson1StreamingConfigurationList(data.StreamingConfigurations, context);
2614
+ }
2615
+ return contents;
2616
+ };
2617
+ exports.deserializeAws_restJson1GetMessagingStreamingConfigurationsCommand = deserializeAws_restJson1GetMessagingStreamingConfigurationsCommand;
2618
+ const deserializeAws_restJson1GetMessagingStreamingConfigurationsCommandError = async (output, context) => {
2619
+ const parsedOutput = {
2620
+ ...output,
2621
+ body: await parseErrorBody(output.body, context),
2622
+ };
2623
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2624
+ switch (errorCode) {
2625
+ case "BadRequestException":
2626
+ case "com.amazonaws.chimesdkmessaging#BadRequestException":
2627
+ throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2628
+ case "ForbiddenException":
2629
+ case "com.amazonaws.chimesdkmessaging#ForbiddenException":
2630
+ throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2631
+ case "NotFoundException":
2632
+ case "com.amazonaws.chimesdkmessaging#NotFoundException":
2633
+ throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2634
+ case "ServiceFailureException":
2635
+ case "com.amazonaws.chimesdkmessaging#ServiceFailureException":
2636
+ throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
2637
+ case "ServiceUnavailableException":
2638
+ case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":
2639
+ throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2640
+ case "ThrottledClientException":
2641
+ case "com.amazonaws.chimesdkmessaging#ThrottledClientException":
2642
+ throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
2643
+ case "UnauthorizedClientException":
2644
+ case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":
2645
+ throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
2646
+ default:
2647
+ const parsedBody = parsedOutput.body;
2648
+ (0, smithy_client_1.throwDefaultError)({
2649
+ output,
2650
+ parsedBody,
2651
+ exceptionCtor: ChimeSDKMessagingServiceException_1.ChimeSDKMessagingServiceException,
2652
+ errorCode,
2653
+ });
2654
+ }
2655
+ };
2500
2656
  const deserializeAws_restJson1ListChannelBansCommand = async (output, context) => {
2501
2657
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2502
2658
  return deserializeAws_restJson1ListChannelBansCommandError(output, context);
@@ -3142,6 +3298,61 @@ const deserializeAws_restJson1PutChannelMembershipPreferencesCommandError = asyn
3142
3298
  });
3143
3299
  }
3144
3300
  };
3301
+ const deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand = async (output, context) => {
3302
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3303
+ return deserializeAws_restJson1PutMessagingStreamingConfigurationsCommandError(output, context);
3304
+ }
3305
+ const contents = map({
3306
+ $metadata: deserializeMetadata(output),
3307
+ });
3308
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3309
+ if (data.StreamingConfigurations != null) {
3310
+ contents.StreamingConfigurations = deserializeAws_restJson1StreamingConfigurationList(data.StreamingConfigurations, context);
3311
+ }
3312
+ return contents;
3313
+ };
3314
+ exports.deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand = deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand;
3315
+ const deserializeAws_restJson1PutMessagingStreamingConfigurationsCommandError = async (output, context) => {
3316
+ const parsedOutput = {
3317
+ ...output,
3318
+ body: await parseErrorBody(output.body, context),
3319
+ };
3320
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3321
+ switch (errorCode) {
3322
+ case "BadRequestException":
3323
+ case "com.amazonaws.chimesdkmessaging#BadRequestException":
3324
+ throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3325
+ case "ConflictException":
3326
+ case "com.amazonaws.chimesdkmessaging#ConflictException":
3327
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3328
+ case "ForbiddenException":
3329
+ case "com.amazonaws.chimesdkmessaging#ForbiddenException":
3330
+ throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
3331
+ case "NotFoundException":
3332
+ case "com.amazonaws.chimesdkmessaging#NotFoundException":
3333
+ throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3334
+ case "ServiceFailureException":
3335
+ case "com.amazonaws.chimesdkmessaging#ServiceFailureException":
3336
+ throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
3337
+ case "ServiceUnavailableException":
3338
+ case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":
3339
+ throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
3340
+ case "ThrottledClientException":
3341
+ case "com.amazonaws.chimesdkmessaging#ThrottledClientException":
3342
+ throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
3343
+ case "UnauthorizedClientException":
3344
+ case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":
3345
+ throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
3346
+ default:
3347
+ const parsedBody = parsedOutput.body;
3348
+ (0, smithy_client_1.throwDefaultError)({
3349
+ output,
3350
+ parsedBody,
3351
+ exceptionCtor: ChimeSDKMessagingServiceException_1.ChimeSDKMessagingServiceException,
3352
+ errorCode,
3353
+ });
3354
+ }
3355
+ };
3145
3356
  const deserializeAws_restJson1RedactChannelMessageCommand = async (output, context) => {
3146
3357
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3147
3358
  return deserializeAws_restJson1RedactChannelMessageCommandError(output, context);
@@ -3902,6 +4113,19 @@ const serializeAws_restJson1SearchFieldValues = (input, context) => {
3902
4113
  return entry;
3903
4114
  });
3904
4115
  };
4116
+ const serializeAws_restJson1StreamingConfiguration = (input, context) => {
4117
+ return {
4118
+ ...(input.DataType != null && { DataType: input.DataType }),
4119
+ ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
4120
+ };
4121
+ };
4122
+ const serializeAws_restJson1StreamingConfigurationList = (input, context) => {
4123
+ return input
4124
+ .filter((e) => e != null)
4125
+ .map((entry) => {
4126
+ return serializeAws_restJson1StreamingConfiguration(entry, context);
4127
+ });
4128
+ };
3905
4129
  const serializeAws_restJson1Tag = (input, context) => {
3906
4130
  return {
3907
4131
  ...(input.Key != null && { Key: input.Key }),
@@ -4344,6 +4568,23 @@ const deserializeAws_restJson1PushNotificationPreferences = (output, context) =>
4344
4568
  FilterRule: (0, smithy_client_1.expectString)(output.FilterRule),
4345
4569
  };
4346
4570
  };
4571
+ const deserializeAws_restJson1StreamingConfiguration = (output, context) => {
4572
+ return {
4573
+ DataType: (0, smithy_client_1.expectString)(output.DataType),
4574
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
4575
+ };
4576
+ };
4577
+ const deserializeAws_restJson1StreamingConfigurationList = (output, context) => {
4578
+ const retVal = (output || [])
4579
+ .filter((e) => e != null)
4580
+ .map((entry) => {
4581
+ if (entry === null) {
4582
+ return null;
4583
+ }
4584
+ return deserializeAws_restJson1StreamingConfiguration(entry, context);
4585
+ });
4586
+ return retVal;
4587
+ };
4347
4588
  const deserializeAws_restJson1SubChannelSummary = (output, context) => {
4348
4589
  return {
4349
4590
  MembershipCount: (0, smithy_client_1.expectInt32)(output.MembershipCount),
@@ -13,6 +13,7 @@ import { DeleteChannelFlowCommand, } from "./commands/DeleteChannelFlowCommand";
13
13
  import { DeleteChannelMembershipCommand, } from "./commands/DeleteChannelMembershipCommand";
14
14
  import { DeleteChannelMessageCommand, } from "./commands/DeleteChannelMessageCommand";
15
15
  import { DeleteChannelModeratorCommand, } from "./commands/DeleteChannelModeratorCommand";
16
+ import { DeleteMessagingStreamingConfigurationsCommand, } from "./commands/DeleteMessagingStreamingConfigurationsCommand";
16
17
  import { DescribeChannelBanCommand, } from "./commands/DescribeChannelBanCommand";
17
18
  import { DescribeChannelCommand, } from "./commands/DescribeChannelCommand";
18
19
  import { DescribeChannelFlowCommand, } from "./commands/DescribeChannelFlowCommand";
@@ -25,6 +26,7 @@ import { GetChannelMembershipPreferencesCommand, } from "./commands/GetChannelMe
25
26
  import { GetChannelMessageCommand, } from "./commands/GetChannelMessageCommand";
26
27
  import { GetChannelMessageStatusCommand, } from "./commands/GetChannelMessageStatusCommand";
27
28
  import { GetMessagingSessionEndpointCommand, } from "./commands/GetMessagingSessionEndpointCommand";
29
+ import { GetMessagingStreamingConfigurationsCommand, } from "./commands/GetMessagingStreamingConfigurationsCommand";
28
30
  import { ListChannelBansCommand, } from "./commands/ListChannelBansCommand";
29
31
  import { ListChannelFlowsCommand, } from "./commands/ListChannelFlowsCommand";
30
32
  import { ListChannelMembershipsCommand, } from "./commands/ListChannelMembershipsCommand";
@@ -37,6 +39,7 @@ import { ListChannelsModeratedByAppInstanceUserCommand, } from "./commands/ListC
37
39
  import { ListSubChannelsCommand, } from "./commands/ListSubChannelsCommand";
38
40
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
39
41
  import { PutChannelMembershipPreferencesCommand, } from "./commands/PutChannelMembershipPreferencesCommand";
42
+ import { PutMessagingStreamingConfigurationsCommand, } from "./commands/PutMessagingStreamingConfigurationsCommand";
40
43
  import { RedactChannelMessageCommand, } from "./commands/RedactChannelMessageCommand";
41
44
  import { SearchChannelsCommand, } from "./commands/SearchChannelsCommand";
42
45
  import { SendChannelMessageCommand, } from "./commands/SendChannelMessageCommand";
@@ -243,6 +246,20 @@ export class ChimeSDKMessaging extends ChimeSDKMessagingClient {
243
246
  return this.send(command, optionsOrCb);
244
247
  }
245
248
  }
249
+ deleteMessagingStreamingConfigurations(args, optionsOrCb, cb) {
250
+ const command = new DeleteMessagingStreamingConfigurationsCommand(args);
251
+ if (typeof optionsOrCb === "function") {
252
+ this.send(command, optionsOrCb);
253
+ }
254
+ else if (typeof cb === "function") {
255
+ if (typeof optionsOrCb !== "object")
256
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
257
+ this.send(command, optionsOrCb || {}, cb);
258
+ }
259
+ else {
260
+ return this.send(command, optionsOrCb);
261
+ }
262
+ }
246
263
  describeChannel(args, optionsOrCb, cb) {
247
264
  const command = new DescribeChannelCommand(args);
248
265
  if (typeof optionsOrCb === "function") {
@@ -411,6 +428,20 @@ export class ChimeSDKMessaging extends ChimeSDKMessagingClient {
411
428
  return this.send(command, optionsOrCb);
412
429
  }
413
430
  }
431
+ getMessagingStreamingConfigurations(args, optionsOrCb, cb) {
432
+ const command = new GetMessagingStreamingConfigurationsCommand(args);
433
+ if (typeof optionsOrCb === "function") {
434
+ this.send(command, optionsOrCb);
435
+ }
436
+ else if (typeof cb === "function") {
437
+ if (typeof optionsOrCb !== "object")
438
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
439
+ this.send(command, optionsOrCb || {}, cb);
440
+ }
441
+ else {
442
+ return this.send(command, optionsOrCb);
443
+ }
444
+ }
414
445
  listChannelBans(args, optionsOrCb, cb) {
415
446
  const command = new ListChannelBansCommand(args);
416
447
  if (typeof optionsOrCb === "function") {
@@ -579,6 +610,20 @@ export class ChimeSDKMessaging extends ChimeSDKMessagingClient {
579
610
  return this.send(command, optionsOrCb);
580
611
  }
581
612
  }
613
+ putMessagingStreamingConfigurations(args, optionsOrCb, cb) {
614
+ const command = new PutMessagingStreamingConfigurationsCommand(args);
615
+ if (typeof optionsOrCb === "function") {
616
+ this.send(command, optionsOrCb);
617
+ }
618
+ else if (typeof cb === "function") {
619
+ if (typeof optionsOrCb !== "object")
620
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
621
+ this.send(command, optionsOrCb || {}, cb);
622
+ }
623
+ else {
624
+ return this.send(command, optionsOrCb);
625
+ }
626
+ }
582
627
  redactChannelMessage(args, optionsOrCb, cb) {
583
628
  const command = new RedactChannelMessageCommand(args);
584
629
  if (typeof optionsOrCb === "function") {