@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
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetMessagingStreamingConfigurationsRequestFilterSensitiveLog, GetMessagingStreamingConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetMessagingStreamingConfigurationsCommand, serializeAws_restJson1GetMessagingStreamingConfigurationsCommand, } from "../protocols/Aws_restJson1";
6
+ export class GetMessagingStreamingConfigurationsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "ChimeSDKMessagingClient";
25
+ const commandName = "GetMessagingStreamingConfigurationsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: GetMessagingStreamingConfigurationsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: GetMessagingStreamingConfigurationsResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1GetMessagingStreamingConfigurationsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1GetMessagingStreamingConfigurationsCommand(output, context);
41
+ }
42
+ }
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListChannelBansRequestFilterSensitiveLog, ListChannelBansResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListChannelBansCommand, serializeAws_restJson1ListChannelBansCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListChannelBansCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListChannelBansCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelBansCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListChannelFlowsRequestFilterSensitiveLog, ListChannelFlowsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListChannelFlowsCommand, serializeAws_restJson1ListChannelFlowsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListChannelFlowsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListChannelFlowsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelFlowsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListChannelMembershipsRequestFilterSensitiveLog, ListChannelMembershipsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListChannelMembershipsCommand, serializeAws_restJson1ListChannelMembershipsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListChannelMembershipsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListChannelMembershipsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelMembershipsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog, ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand, serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListChannelMembershipsForAppInstanceUserCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListChannelMembershipsForAppInstanceUserCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelMembershipsForAppInstanceUserCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListChannelMessagesRequestFilterSensitiveLog, ListChannelMessagesResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListChannelMessagesCommand, serializeAws_restJson1ListChannelMessagesCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListChannelMessagesCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListChannelMessagesCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelMessagesCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListChannelModeratorsRequestFilterSensitiveLog, ListChannelModeratorsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListChannelModeratorsCommand, serializeAws_restJson1ListChannelModeratorsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListChannelModeratorsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListChannelModeratorsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelModeratorsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog, ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand, serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListChannelsAssociatedWithChannelFlowCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListChannelsAssociatedWithChannelFlowCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelsAssociatedWithChannelFlowCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListChannelsCommand, serializeAws_restJson1ListChannelsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListChannelsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListChannelsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog, ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand, serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListChannelsModeratedByAppInstanceUserCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListChannelsModeratedByAppInstanceUserCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelsModeratedByAppInstanceUserCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListSubChannelsRequestFilterSensitiveLog, ListSubChannelsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListSubChannelsCommand, serializeAws_restJson1ListSubChannelsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListSubChannelsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListSubChannelsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListSubChannelsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListTagsForResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListTagsForResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { PutChannelMembershipPreferencesRequestFilterSensitiveLog, PutChannelMembershipPreferencesResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1PutChannelMembershipPreferencesCommand, serializeAws_restJson1PutChannelMembershipPreferencesCommand, } from "../protocols/Aws_restJson1";
6
6
  export class PutChannelMembershipPreferencesCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class PutChannelMembershipPreferencesCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, PutChannelMembershipPreferencesCommand.getEndpointParameterInstructions()));
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { PutMessagingStreamingConfigurationsRequestFilterSensitiveLog, PutMessagingStreamingConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand, serializeAws_restJson1PutMessagingStreamingConfigurationsCommand, } from "../protocols/Aws_restJson1";
6
+ export class PutMessagingStreamingConfigurationsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, PutMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "ChimeSDKMessagingClient";
25
+ const commandName = "PutMessagingStreamingConfigurationsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: PutMessagingStreamingConfigurationsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: PutMessagingStreamingConfigurationsResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1PutMessagingStreamingConfigurationsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand(output, context);
41
+ }
42
+ }
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { RedactChannelMessageRequestFilterSensitiveLog, RedactChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1RedactChannelMessageCommand, serializeAws_restJson1RedactChannelMessageCommand, } from "../protocols/Aws_restJson1";
6
6
  export class RedactChannelMessageCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class RedactChannelMessageCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, RedactChannelMessageCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { SearchChannelsRequestFilterSensitiveLog, SearchChannelsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1SearchChannelsCommand, serializeAws_restJson1SearchChannelsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class SearchChannelsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class SearchChannelsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, SearchChannelsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { SendChannelMessageRequestFilterSensitiveLog, SendChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1SendChannelMessageCommand, serializeAws_restJson1SendChannelMessageCommand, } from "../protocols/Aws_restJson1";
6
6
  export class SendChannelMessageCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class SendChannelMessageCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, SendChannelMessageCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  export class TagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class TagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UntagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UntagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateChannelRequestFilterSensitiveLog, UpdateChannelResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateChannelCommand, serializeAws_restJson1UpdateChannelCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateChannelCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateChannelCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateChannelCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateChannelFlowRequestFilterSensitiveLog, UpdateChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateChannelFlowCommand, serializeAws_restJson1UpdateChannelFlowCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateChannelFlowCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateChannelFlowCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateChannelFlowCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateChannelMessageRequestFilterSensitiveLog, UpdateChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateChannelMessageCommand, serializeAws_restJson1UpdateChannelMessageCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateChannelMessageCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateChannelMessageCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateChannelMessageCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateChannelReadMarkerRequestFilterSensitiveLog, UpdateChannelReadMarkerResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateChannelReadMarkerCommand, serializeAws_restJson1UpdateChannelReadMarkerCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateChannelReadMarkerCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateChannelReadMarkerCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateChannelReadMarkerCommand.getEndpointParameterInstructions()));
@@ -12,6 +12,7 @@ export * from "./DeleteChannelFlowCommand";
12
12
  export * from "./DeleteChannelMembershipCommand";
13
13
  export * from "./DeleteChannelMessageCommand";
14
14
  export * from "./DeleteChannelModeratorCommand";
15
+ export * from "./DeleteMessagingStreamingConfigurationsCommand";
15
16
  export * from "./DescribeChannelBanCommand";
16
17
  export * from "./DescribeChannelCommand";
17
18
  export * from "./DescribeChannelFlowCommand";
@@ -24,6 +25,7 @@ export * from "./GetChannelMembershipPreferencesCommand";
24
25
  export * from "./GetChannelMessageCommand";
25
26
  export * from "./GetChannelMessageStatusCommand";
26
27
  export * from "./GetMessagingSessionEndpointCommand";
28
+ export * from "./GetMessagingStreamingConfigurationsCommand";
27
29
  export * from "./ListChannelBansCommand";
28
30
  export * from "./ListChannelFlowsCommand";
29
31
  export * from "./ListChannelMembershipsCommand";
@@ -36,6 +38,7 @@ export * from "./ListChannelsModeratedByAppInstanceUserCommand";
36
38
  export * from "./ListSubChannelsCommand";
37
39
  export * from "./ListTagsForResourceCommand";
38
40
  export * from "./PutChannelMembershipPreferencesCommand";
41
+ export * from "./PutMessagingStreamingConfigurationsCommand";
39
42
  export * from "./RedactChannelMessageCommand";
40
43
  export * from "./SearchChannelsCommand";
41
44
  export * from "./SendChannelMessageCommand";
@@ -1,4 +1,4 @@
1
- const r = "fn", s = "argv", t = "ref";
2
- 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];
3
- 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 }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ 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" }];
3
+ 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 }] }] };
4
4
  export const ruleSet = _data;