@wildix/wda-insights-client 1.1.45 → 3.1.46

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 (231) hide show
  1. package/dist-cjs/WdaInsights.js +3 -3
  2. package/dist-cjs/WdaInsightsClient.js +34 -26
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
  5. package/dist-cjs/commands/CreateDashboardCommand.js +10 -11
  6. package/dist-cjs/commands/CreateFilterCommand.js +10 -11
  7. package/dist-cjs/commands/CreatePlaylistCommand.js +10 -11
  8. package/dist-cjs/commands/CreateProjectionCommand.js +10 -11
  9. package/dist-cjs/commands/CreateProjectionsCategoryCommand.js +10 -11
  10. package/dist-cjs/commands/DeleteDashboardCommand.js +10 -11
  11. package/dist-cjs/commands/DeleteFilterCommand.js +10 -11
  12. package/dist-cjs/commands/DeletePlaylistCommand.js +10 -11
  13. package/dist-cjs/commands/DeletePlaylistItemCommand.js +10 -11
  14. package/dist-cjs/commands/DeleteProjectionCommand.js +10 -11
  15. package/dist-cjs/commands/DeleteProjectionsCategoryCommand.js +10 -11
  16. package/dist-cjs/commands/DisableProjectionCommand.js +10 -11
  17. package/dist-cjs/commands/EnableProjectionCommand.js +10 -11
  18. package/dist-cjs/commands/GetAnalysisSettingsCommand.js +10 -11
  19. package/dist-cjs/commands/GetCallCharacteristicsCommand.js +10 -11
  20. package/dist-cjs/commands/GetCallInsightsCommand.js +10 -11
  21. package/dist-cjs/commands/GetCallStateCommand.js +10 -11
  22. package/dist-cjs/commands/GetCallSummaryCommand.js +10 -11
  23. package/dist-cjs/commands/GetChatInsightsCommand.js +10 -11
  24. package/dist-cjs/commands/GetChatStateCommand.js +10 -11
  25. package/dist-cjs/commands/GetChatSummaryCommand.js +10 -11
  26. package/dist-cjs/commands/GetConferenceInsightsCommand.js +10 -11
  27. package/dist-cjs/commands/GetConferenceRecordingPresignedDownloadUrlCommand.js +10 -11
  28. package/dist-cjs/commands/GetConferenceStateCommand.js +10 -11
  29. package/dist-cjs/commands/GetConferenceSummaryCommand.js +10 -11
  30. package/dist-cjs/commands/GetConferenceTimeFramesCommand.js +10 -11
  31. package/dist-cjs/commands/GetDashboardCommand.js +10 -11
  32. package/dist-cjs/commands/GetPlaylistCommand.js +10 -11
  33. package/dist-cjs/commands/GetProjectionCommand.js +10 -11
  34. package/dist-cjs/commands/ListConversationsAggregationsCommand.js +10 -11
  35. package/dist-cjs/commands/ListConversationsCommand.js +10 -11
  36. package/dist-cjs/commands/ListConversationsInsightsAggregationsCommand.js +10 -11
  37. package/dist-cjs/commands/ListConversationsInsightsCommand.js +10 -11
  38. package/dist-cjs/commands/ListConversationsNestedAggregationsCommand.js +10 -11
  39. package/dist-cjs/commands/ListDashboardsCommand.js +10 -11
  40. package/dist-cjs/commands/ListFiltersCommand.js +10 -11
  41. package/dist-cjs/commands/ListPinnedDashboardsCommand.js +10 -11
  42. package/dist-cjs/commands/ListPlaylistItemsCommand.js +10 -11
  43. package/dist-cjs/commands/ListPlaylistsCommand.js +10 -11
  44. package/dist-cjs/commands/ListProjectionsCommand.js +10 -11
  45. package/dist-cjs/commands/ListWatchHistoryCommand.js +10 -11
  46. package/dist-cjs/commands/PauseProjectionCommand.js +10 -11
  47. package/dist-cjs/commands/PutAnalysisSettingsCommand.js +10 -11
  48. package/dist-cjs/commands/PutPlaylistItemCommand.js +10 -11
  49. package/dist-cjs/commands/QueryConversationsCountCommand.js +10 -11
  50. package/dist-cjs/commands/ScheduleCallSummaryGenerationCommand.js +10 -11
  51. package/dist-cjs/commands/ScheduleConferenceSummaryGenerationCommand.js +10 -11
  52. package/dist-cjs/commands/UpdateDashboardAccessCommand.js +10 -11
  53. package/dist-cjs/commands/UpdateDashboardCommand.js +10 -11
  54. package/dist-cjs/commands/UpdateFilterCommand.js +10 -11
  55. package/dist-cjs/commands/UpdatePinnedDashboardsCommand.js +10 -11
  56. package/dist-cjs/commands/UpdatePlaylistAccessCommand.js +10 -11
  57. package/dist-cjs/commands/UpdatePlaylistCommand.js +10 -11
  58. package/dist-cjs/commands/UpdateProjectionCommand.js +10 -11
  59. package/dist-cjs/commands/UpdateProjectionsCategoryCommand.js +10 -11
  60. package/dist-cjs/commands/WatchCommand.js +10 -11
  61. package/dist-cjs/commands/index.js +4 -4
  62. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  63. package/dist-cjs/endpoint/bdd.js +28 -0
  64. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  65. package/dist-cjs/index.js +4 -1
  66. package/dist-cjs/models/WdaInsightsServiceException.js +3 -3
  67. package/dist-cjs/models/enums.js +225 -0
  68. package/dist-cjs/models/errors.js +69 -0
  69. package/dist-cjs/models/models_0.js +0 -471
  70. package/dist-cjs/runtimeConfig.browser.js +11 -11
  71. package/dist-cjs/runtimeConfig.js +22 -18
  72. package/dist-cjs/runtimeConfig.shared.js +30 -10
  73. package/dist-cjs/runtimeExtensions.js +6 -5
  74. package/dist-cjs/schemas/schemas_0.js +2178 -0
  75. package/dist-es/WdaInsights.js +3 -3
  76. package/dist-es/WdaInsightsClient.js +30 -22
  77. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  78. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  79. package/dist-es/commands/CreateDashboardCommand.js +9 -10
  80. package/dist-es/commands/CreateFilterCommand.js +9 -10
  81. package/dist-es/commands/CreatePlaylistCommand.js +9 -10
  82. package/dist-es/commands/CreateProjectionCommand.js +9 -10
  83. package/dist-es/commands/CreateProjectionsCategoryCommand.js +9 -10
  84. package/dist-es/commands/DeleteDashboardCommand.js +9 -10
  85. package/dist-es/commands/DeleteFilterCommand.js +9 -10
  86. package/dist-es/commands/DeletePlaylistCommand.js +9 -10
  87. package/dist-es/commands/DeletePlaylistItemCommand.js +9 -10
  88. package/dist-es/commands/DeleteProjectionCommand.js +9 -10
  89. package/dist-es/commands/DeleteProjectionsCategoryCommand.js +9 -10
  90. package/dist-es/commands/DisableProjectionCommand.js +9 -10
  91. package/dist-es/commands/EnableProjectionCommand.js +9 -10
  92. package/dist-es/commands/GetAnalysisSettingsCommand.js +9 -10
  93. package/dist-es/commands/GetCallCharacteristicsCommand.js +9 -10
  94. package/dist-es/commands/GetCallInsightsCommand.js +9 -10
  95. package/dist-es/commands/GetCallStateCommand.js +9 -10
  96. package/dist-es/commands/GetCallSummaryCommand.js +9 -10
  97. package/dist-es/commands/GetChatInsightsCommand.js +9 -10
  98. package/dist-es/commands/GetChatStateCommand.js +9 -10
  99. package/dist-es/commands/GetChatSummaryCommand.js +9 -10
  100. package/dist-es/commands/GetConferenceInsightsCommand.js +9 -10
  101. package/dist-es/commands/GetConferenceRecordingPresignedDownloadUrlCommand.js +9 -10
  102. package/dist-es/commands/GetConferenceStateCommand.js +9 -10
  103. package/dist-es/commands/GetConferenceSummaryCommand.js +9 -10
  104. package/dist-es/commands/GetConferenceTimeFramesCommand.js +9 -10
  105. package/dist-es/commands/GetDashboardCommand.js +9 -10
  106. package/dist-es/commands/GetPlaylistCommand.js +9 -10
  107. package/dist-es/commands/GetProjectionCommand.js +9 -10
  108. package/dist-es/commands/ListConversationsAggregationsCommand.js +9 -10
  109. package/dist-es/commands/ListConversationsCommand.js +9 -10
  110. package/dist-es/commands/ListConversationsInsightsAggregationsCommand.js +9 -10
  111. package/dist-es/commands/ListConversationsInsightsCommand.js +9 -10
  112. package/dist-es/commands/ListConversationsNestedAggregationsCommand.js +9 -10
  113. package/dist-es/commands/ListDashboardsCommand.js +9 -10
  114. package/dist-es/commands/ListFiltersCommand.js +9 -10
  115. package/dist-es/commands/ListPinnedDashboardsCommand.js +9 -10
  116. package/dist-es/commands/ListPlaylistItemsCommand.js +9 -10
  117. package/dist-es/commands/ListPlaylistsCommand.js +9 -10
  118. package/dist-es/commands/ListProjectionsCommand.js +9 -10
  119. package/dist-es/commands/ListWatchHistoryCommand.js +9 -10
  120. package/dist-es/commands/PauseProjectionCommand.js +9 -10
  121. package/dist-es/commands/PutAnalysisSettingsCommand.js +9 -10
  122. package/dist-es/commands/PutPlaylistItemCommand.js +9 -10
  123. package/dist-es/commands/QueryConversationsCountCommand.js +9 -10
  124. package/dist-es/commands/ScheduleCallSummaryGenerationCommand.js +9 -10
  125. package/dist-es/commands/ScheduleConferenceSummaryGenerationCommand.js +9 -10
  126. package/dist-es/commands/UpdateDashboardAccessCommand.js +9 -10
  127. package/dist-es/commands/UpdateDashboardCommand.js +9 -10
  128. package/dist-es/commands/UpdateFilterCommand.js +9 -10
  129. package/dist-es/commands/UpdatePinnedDashboardsCommand.js +9 -10
  130. package/dist-es/commands/UpdatePlaylistAccessCommand.js +9 -10
  131. package/dist-es/commands/UpdatePlaylistCommand.js +9 -10
  132. package/dist-es/commands/UpdateProjectionCommand.js +9 -10
  133. package/dist-es/commands/UpdateProjectionsCategoryCommand.js +9 -10
  134. package/dist-es/commands/WatchCommand.js +9 -10
  135. package/dist-es/commands/index.js +4 -4
  136. package/dist-es/endpoint/EndpointParameters.js +12 -0
  137. package/dist-es/endpoint/bdd.js +25 -0
  138. package/dist-es/endpoint/endpointResolver.js +12 -0
  139. package/dist-es/index.js +4 -1
  140. package/dist-es/models/WdaInsightsServiceException.js +1 -1
  141. package/dist-es/models/enums.js +222 -0
  142. package/dist-es/models/errors.js +61 -0
  143. package/dist-es/models/models_0.js +1 -464
  144. package/dist-es/runtimeConfig.browser.js +7 -7
  145. package/dist-es/runtimeConfig.js +17 -13
  146. package/dist-es/runtimeConfig.shared.js +24 -4
  147. package/dist-es/runtimeExtensions.js +6 -5
  148. package/dist-es/schemas/schemas_0.js +2170 -0
  149. package/dist-types/WdaInsights.d.ts +57 -57
  150. package/dist-types/WdaInsightsClient.d.ts +86 -68
  151. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  152. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  153. package/dist-types/commands/CreateDashboardCommand.d.ts +11 -7
  154. package/dist-types/commands/CreateFilterCommand.d.ts +11 -7
  155. package/dist-types/commands/CreatePlaylistCommand.d.ts +11 -7
  156. package/dist-types/commands/CreateProjectionCommand.d.ts +11 -7
  157. package/dist-types/commands/CreateProjectionsCategoryCommand.d.ts +12 -8
  158. package/dist-types/commands/DeleteDashboardCommand.d.ts +11 -7
  159. package/dist-types/commands/DeleteFilterCommand.d.ts +11 -7
  160. package/dist-types/commands/DeletePlaylistCommand.d.ts +11 -7
  161. package/dist-types/commands/DeletePlaylistItemCommand.d.ts +11 -7
  162. package/dist-types/commands/DeleteProjectionCommand.d.ts +11 -7
  163. package/dist-types/commands/DeleteProjectionsCategoryCommand.d.ts +12 -8
  164. package/dist-types/commands/DisableProjectionCommand.d.ts +11 -7
  165. package/dist-types/commands/EnableProjectionCommand.d.ts +11 -7
  166. package/dist-types/commands/GetAnalysisSettingsCommand.d.ts +11 -7
  167. package/dist-types/commands/GetCallCharacteristicsCommand.d.ts +11 -7
  168. package/dist-types/commands/GetCallInsightsCommand.d.ts +11 -7
  169. package/dist-types/commands/GetCallStateCommand.d.ts +11 -7
  170. package/dist-types/commands/GetCallSummaryCommand.d.ts +11 -7
  171. package/dist-types/commands/GetChatInsightsCommand.d.ts +11 -7
  172. package/dist-types/commands/GetChatStateCommand.d.ts +11 -7
  173. package/dist-types/commands/GetChatSummaryCommand.d.ts +11 -7
  174. package/dist-types/commands/GetConferenceInsightsCommand.d.ts +11 -7
  175. package/dist-types/commands/GetConferenceRecordingPresignedDownloadUrlCommand.d.ts +11 -7
  176. package/dist-types/commands/GetConferenceStateCommand.d.ts +11 -7
  177. package/dist-types/commands/GetConferenceSummaryCommand.d.ts +11 -7
  178. package/dist-types/commands/GetConferenceTimeFramesCommand.d.ts +11 -7
  179. package/dist-types/commands/GetDashboardCommand.d.ts +11 -7
  180. package/dist-types/commands/GetPlaylistCommand.d.ts +11 -7
  181. package/dist-types/commands/GetProjectionCommand.d.ts +11 -7
  182. package/dist-types/commands/ListConversationsAggregationsCommand.d.ts +11 -7
  183. package/dist-types/commands/ListConversationsCommand.d.ts +13 -9
  184. package/dist-types/commands/ListConversationsInsightsAggregationsCommand.d.ts +12 -8
  185. package/dist-types/commands/ListConversationsInsightsCommand.d.ts +12 -8
  186. package/dist-types/commands/ListConversationsNestedAggregationsCommand.d.ts +11 -7
  187. package/dist-types/commands/ListDashboardsCommand.d.ts +11 -7
  188. package/dist-types/commands/ListFiltersCommand.d.ts +11 -7
  189. package/dist-types/commands/ListPinnedDashboardsCommand.d.ts +11 -7
  190. package/dist-types/commands/ListPlaylistItemsCommand.d.ts +13 -9
  191. package/dist-types/commands/ListPlaylistsCommand.d.ts +11 -7
  192. package/dist-types/commands/ListProjectionsCommand.d.ts +11 -7
  193. package/dist-types/commands/ListWatchHistoryCommand.d.ts +13 -9
  194. package/dist-types/commands/PauseProjectionCommand.d.ts +11 -7
  195. package/dist-types/commands/PutAnalysisSettingsCommand.d.ts +11 -7
  196. package/dist-types/commands/PutPlaylistItemCommand.d.ts +11 -7
  197. package/dist-types/commands/QueryConversationsCountCommand.d.ts +11 -7
  198. package/dist-types/commands/ScheduleCallSummaryGenerationCommand.d.ts +12 -8
  199. package/dist-types/commands/ScheduleConferenceSummaryGenerationCommand.d.ts +12 -8
  200. package/dist-types/commands/UpdateDashboardAccessCommand.d.ts +11 -7
  201. package/dist-types/commands/UpdateDashboardCommand.d.ts +11 -7
  202. package/dist-types/commands/UpdateFilterCommand.d.ts +11 -7
  203. package/dist-types/commands/UpdatePinnedDashboardsCommand.d.ts +11 -7
  204. package/dist-types/commands/UpdatePlaylistAccessCommand.d.ts +11 -7
  205. package/dist-types/commands/UpdatePlaylistCommand.d.ts +11 -7
  206. package/dist-types/commands/UpdateProjectionCommand.d.ts +11 -7
  207. package/dist-types/commands/UpdateProjectionsCategoryCommand.d.ts +12 -8
  208. package/dist-types/commands/WatchCommand.d.ts +11 -7
  209. package/dist-types/commands/index.d.ts +4 -4
  210. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  211. package/dist-types/endpoint/bdd.d.ts +2 -0
  212. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  213. package/dist-types/extensionConfiguration.d.ts +4 -3
  214. package/dist-types/index.d.ts +5 -1
  215. package/dist-types/models/WdaInsightsServiceException.d.ts +1 -1
  216. package/dist-types/models/enums.d.ts +541 -0
  217. package/dist-types/models/errors.d.ts +57 -0
  218. package/dist-types/models/models_0.d.ts +172 -727
  219. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  220. package/dist-types/runtimeConfig.d.ts +34 -15
  221. package/dist-types/runtimeConfig.native.d.ts +36 -17
  222. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  223. package/dist-types/runtimeExtensions.d.ts +1 -1
  224. package/dist-types/schemas/schemas_0.d.ts +299 -0
  225. package/package.json +14 -40
  226. package/dist-cjs/models/index.js +0 -4
  227. package/dist-cjs/protocols/Aws_restJson1.js +0 -2406
  228. package/dist-es/models/index.js +0 -1
  229. package/dist-es/protocols/Aws_restJson1.js +0 -2289
  230. package/dist-types/models/index.d.ts +0 -1
  231. package/dist-types/protocols/Aws_restJson1.d.ts +0 -506
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WdaInsights = void 0;
4
- const WdaInsightsClient_1 = require("./WdaInsightsClient");
4
+ const client_1 = require("@smithy/core/client");
5
5
  const CreateDashboardCommand_1 = require("./commands/CreateDashboardCommand");
6
6
  const CreateFilterCommand_1 = require("./commands/CreateFilterCommand");
7
7
  const CreatePlaylistCommand_1 = require("./commands/CreatePlaylistCommand");
@@ -58,7 +58,7 @@ const UpdatePlaylistCommand_1 = require("./commands/UpdatePlaylistCommand");
58
58
  const UpdateProjectionCommand_1 = require("./commands/UpdateProjectionCommand");
59
59
  const UpdateProjectionsCategoryCommand_1 = require("./commands/UpdateProjectionsCategoryCommand");
60
60
  const WatchCommand_1 = require("./commands/WatchCommand");
61
- const smithy_client_1 = require("@smithy/smithy-client");
61
+ const WdaInsightsClient_1 = require("./WdaInsightsClient");
62
62
  const commands = {
63
63
  CreateDashboardCommand: CreateDashboardCommand_1.CreateDashboardCommand,
64
64
  CreateFilterCommand: CreateFilterCommand_1.CreateFilterCommand,
@@ -120,4 +120,4 @@ const commands = {
120
120
  class WdaInsights extends WdaInsightsClient_1.WdaInsightsClient {
121
121
  }
122
122
  exports.WdaInsights = WdaInsights;
123
- (0, smithy_client_1.createAggregatedClient)(commands, WdaInsights);
123
+ (0, client_1.createAggregatedClient)(commands, WdaInsights);
@@ -1,38 +1,46 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WdaInsightsClient = exports.__Client = void 0;
4
+ const client_1 = require("@aws-sdk/core/client");
5
+ const core_1 = require("@smithy/core");
6
+ const client_2 = require("@smithy/core/client");
7
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return client_2.Client; } });
8
+ const endpoints_1 = require("@smithy/core/endpoints");
9
+ const protocols_1 = require("@smithy/core/protocols");
10
+ const retry_1 = require("@smithy/core/retry");
11
+ const schema_1 = require("@smithy/core/schema");
12
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
13
+ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
4
14
  const runtimeConfig_1 = require("./runtimeConfig");
5
15
  const runtimeExtensions_1 = require("./runtimeExtensions");
6
- const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
7
- const middleware_content_length_1 = require("@smithy/middleware-content-length");
8
- const middleware_retry_1 = require("@smithy/middleware-retry");
9
- const smithy_client_1 = require("@smithy/smithy-client");
10
- Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
11
- const smithy_utils_1 = require("@wildix/smithy-utils");
12
- class WdaInsightsClient extends smithy_client_1.Client {
16
+ class WdaInsightsClient extends client_2.Client {
13
17
  config;
14
18
  constructor(...[configuration]) {
15
- let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
19
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
16
20
  super(_config_0);
17
21
  this.initConfig = _config_0;
18
- let _config_1 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_0);
19
- let _config_2 = (0, middleware_retry_1.resolveRetryConfig)(_config_1);
20
- let _config_3 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_2, configuration?.extensions || []);
21
- const hostname = ['stable', 'stage'].includes(configuration.env || '') ? `wda-${configuration.env}.wildix.com` : 'wda.wildix.com';
22
- const endpoint = () => {
23
- return {
24
- hostname,
25
- protocol: "https",
26
- port: '443',
27
- path: ''
28
- };
29
- };
30
- const config = { ..._config_3, endpoint };
31
- this.config = config;
32
- this.middlewareStack.add(smithy_utils_1.authorizationMiddleware.bind(this, configuration.token), { step: "build" });
33
- this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
34
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
35
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
22
+ const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
23
+ const _config_2 = (0, client_1.resolveUserAgentConfig)(_config_1);
24
+ const _config_3 = (0, retry_1.resolveRetryConfig)(_config_2);
25
+ const _config_4 = (0, client_1.resolveHostHeaderConfig)(_config_3);
26
+ const _config_5 = (0, endpoints_1.resolveEndpointConfig)(_config_4);
27
+ const _config_6 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_5);
28
+ const _config_7 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_6, configuration?.extensions || []);
29
+ this.config = _config_7;
30
+ this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config));
31
+ this.middlewareStack.use((0, client_1.getUserAgentPlugin)(this.config));
32
+ this.middlewareStack.use((0, retry_1.getRetryPlugin)(this.config));
33
+ this.middlewareStack.use((0, protocols_1.getContentLengthPlugin)(this.config));
34
+ this.middlewareStack.use((0, client_1.getHostHeaderPlugin)(this.config));
35
+ this.middlewareStack.use((0, client_1.getLoggerPlugin)(this.config));
36
+ this.middlewareStack.use((0, client_1.getRecursionDetectionPlugin)(this.config));
37
+ this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
38
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultWdaInsightsHttpAuthSchemeParametersProvider,
39
+ identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
40
+ "smithy.api#httpBearerAuth": config.token,
41
+ }),
42
+ }));
43
+ this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
36
44
  }
37
45
  destroy() {
38
46
  super.destroy();
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
4
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
5
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
6
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
7
+ let _token = runtimeConfig.token;
8
+ return {
9
+ setHttpAuthScheme(httpAuthScheme) {
10
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
11
+ if (index === -1) {
12
+ _httpAuthSchemes.push(httpAuthScheme);
13
+ }
14
+ else {
15
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
16
+ }
17
+ },
18
+ httpAuthSchemes() {
19
+ return _httpAuthSchemes;
20
+ },
21
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
22
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
23
+ },
24
+ httpAuthSchemeProvider() {
25
+ return _httpAuthSchemeProvider;
26
+ },
27
+ setToken(token) {
28
+ _token = token;
29
+ },
30
+ token() {
31
+ return _token;
32
+ },
33
+ };
34
+ };
35
+ exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
36
+ const resolveHttpAuthRuntimeConfig = (config) => {
37
+ return {
38
+ httpAuthSchemes: config.httpAuthSchemes(),
39
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
40
+ token: config.token(),
41
+ };
42
+ };
43
+ exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveHttpAuthSchemeConfig = exports.defaultWdaInsightsHttpAuthSchemeProvider = exports.defaultWdaInsightsHttpAuthSchemeParametersProvider = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const client_1 = require("@smithy/core/client");
6
+ const defaultWdaInsightsHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
+ return {
8
+ operation: (0, client_1.getSmithyContext)(context).operation,
9
+ };
10
+ };
11
+ exports.defaultWdaInsightsHttpAuthSchemeParametersProvider = defaultWdaInsightsHttpAuthSchemeParametersProvider;
12
+ function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
13
+ return {
14
+ schemeId: "smithy.api#httpBearerAuth",
15
+ };
16
+ }
17
+ function createWildixAuthApiKeysHttpAuthOption(authParameters) {
18
+ return {
19
+ schemeId: "wildix.auth#apiKeys",
20
+ };
21
+ }
22
+ function createWildixAuthPbxHttpAuthOption(authParameters) {
23
+ return {
24
+ schemeId: "wildix.auth#pbx",
25
+ };
26
+ }
27
+ function createWildixAuthS2sHttpAuthOption(authParameters) {
28
+ return {
29
+ schemeId: "wildix.auth#s2s",
30
+ };
31
+ }
32
+ function createWildixAuthXbsHttpAuthOption(authParameters) {
33
+ return {
34
+ schemeId: "wildix.auth#xbs",
35
+ };
36
+ }
37
+ const defaultWdaInsightsHttpAuthSchemeProvider = (authParameters) => {
38
+ const options = [];
39
+ switch (authParameters.operation) {
40
+ default: {
41
+ options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
42
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
43
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
44
+ options.push(createWildixAuthPbxHttpAuthOption(authParameters));
45
+ options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ exports.defaultWdaInsightsHttpAuthSchemeProvider = defaultWdaInsightsHttpAuthSchemeProvider;
51
+ const resolveHttpAuthSchemeConfig = (config) => {
52
+ const token = (0, core_1.memoizeIdentityProvider)(config.token, core_1.isIdentityExpired, core_1.doesIdentityRequireRefresh);
53
+ return Object.assign(config, {
54
+ authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
55
+ token,
56
+ });
57
+ };
58
+ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateDashboardCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class CreateDashboardCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class CreateDashboardCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "CreateDashboard", {})
15
16
  .n("WdaInsightsClient", "CreateDashboardCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_CreateDashboardCommand)
18
- .de(Aws_restJson1_1.de_CreateDashboardCommand)
17
+ .sc(schemas_0_1.CreateDashboard$)
19
18
  .build() {
20
19
  }
21
20
  exports.CreateDashboardCommand = CreateDashboardCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateFilterCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class CreateFilterCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class CreateFilterCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "CreateFilter", {})
15
16
  .n("WdaInsightsClient", "CreateFilterCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_CreateFilterCommand)
18
- .de(Aws_restJson1_1.de_CreateFilterCommand)
17
+ .sc(schemas_0_1.CreateFilter$)
19
18
  .build() {
20
19
  }
21
20
  exports.CreateFilterCommand = CreateFilterCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreatePlaylistCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class CreatePlaylistCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class CreatePlaylistCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "CreatePlaylist", {})
15
16
  .n("WdaInsightsClient", "CreatePlaylistCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_CreatePlaylistCommand)
18
- .de(Aws_restJson1_1.de_CreatePlaylistCommand)
17
+ .sc(schemas_0_1.CreatePlaylist$)
19
18
  .build() {
20
19
  }
21
20
  exports.CreatePlaylistCommand = CreatePlaylistCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateProjectionCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class CreateProjectionCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class CreateProjectionCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "CreateProjection", {})
15
16
  .n("WdaInsightsClient", "CreateProjectionCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_CreateProjectionCommand)
18
- .de(Aws_restJson1_1.de_CreateProjectionCommand)
17
+ .sc(schemas_0_1.CreateProjection$)
19
18
  .build() {
20
19
  }
21
20
  exports.CreateProjectionCommand = CreateProjectionCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateProjectionsCategoryCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class CreateProjectionsCategoryCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class CreateProjectionsCategoryCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "CreateProjectionsCategory", {})
15
16
  .n("WdaInsightsClient", "CreateProjectionsCategoryCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_CreateProjectionsCategoryCommand)
18
- .de(Aws_restJson1_1.de_CreateProjectionsCategoryCommand)
17
+ .sc(schemas_0_1.CreateProjectionsCategory$)
19
18
  .build() {
20
19
  }
21
20
  exports.CreateProjectionsCategoryCommand = CreateProjectionsCategoryCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteDashboardCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class DeleteDashboardCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DeleteDashboardCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "DeleteDashboard", {})
15
16
  .n("WdaInsightsClient", "DeleteDashboardCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_DeleteDashboardCommand)
18
- .de(Aws_restJson1_1.de_DeleteDashboardCommand)
17
+ .sc(schemas_0_1.DeleteDashboard$)
19
18
  .build() {
20
19
  }
21
20
  exports.DeleteDashboardCommand = DeleteDashboardCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteFilterCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class DeleteFilterCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DeleteFilterCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "DeleteFilter", {})
15
16
  .n("WdaInsightsClient", "DeleteFilterCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_DeleteFilterCommand)
18
- .de(Aws_restJson1_1.de_DeleteFilterCommand)
17
+ .sc(schemas_0_1.DeleteFilter$)
19
18
  .build() {
20
19
  }
21
20
  exports.DeleteFilterCommand = DeleteFilterCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeletePlaylistCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class DeletePlaylistCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DeletePlaylistCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "DeletePlaylist", {})
15
16
  .n("WdaInsightsClient", "DeletePlaylistCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_DeletePlaylistCommand)
18
- .de(Aws_restJson1_1.de_DeletePlaylistCommand)
17
+ .sc(schemas_0_1.DeletePlaylist$)
19
18
  .build() {
20
19
  }
21
20
  exports.DeletePlaylistCommand = DeletePlaylistCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeletePlaylistItemCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class DeletePlaylistItemCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DeletePlaylistItemCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "DeletePlaylistItem", {})
15
16
  .n("WdaInsightsClient", "DeletePlaylistItemCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_DeletePlaylistItemCommand)
18
- .de(Aws_restJson1_1.de_DeletePlaylistItemCommand)
17
+ .sc(schemas_0_1.DeletePlaylistItem$)
19
18
  .build() {
20
19
  }
21
20
  exports.DeletePlaylistItemCommand = DeletePlaylistItemCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteProjectionCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class DeleteProjectionCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DeleteProjectionCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "DeleteProjection", {})
15
16
  .n("WdaInsightsClient", "DeleteProjectionCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_DeleteProjectionCommand)
18
- .de(Aws_restJson1_1.de_DeleteProjectionCommand)
17
+ .sc(schemas_0_1.DeleteProjection$)
19
18
  .build() {
20
19
  }
21
20
  exports.DeleteProjectionCommand = DeleteProjectionCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteProjectionsCategoryCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class DeleteProjectionsCategoryCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DeleteProjectionsCategoryCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "DeleteProjectionsCategory", {})
15
16
  .n("WdaInsightsClient", "DeleteProjectionsCategoryCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_DeleteProjectionsCategoryCommand)
18
- .de(Aws_restJson1_1.de_DeleteProjectionsCategoryCommand)
17
+ .sc(schemas_0_1.DeleteProjectionsCategory$)
19
18
  .build() {
20
19
  }
21
20
  exports.DeleteProjectionsCategoryCommand = DeleteProjectionsCategoryCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DisableProjectionCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class DisableProjectionCommand extends smithy_client_1.Command.classBuilder()
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DisableProjectionCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("WdaInsights", "DisableProjection", {})
15
16
  .n("WdaInsightsClient", "DisableProjectionCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_DisableProjectionCommand)
18
- .de(Aws_restJson1_1.de_DisableProjectionCommand)
17
+ .sc(schemas_0_1.DisableProjection$)
19
18
  .build() {
20
19
  }
21
20
  exports.DisableProjectionCommand = DisableProjectionCommand;