@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,4 +1,4 @@
1
- import { WdaInsightsClient, } from "./WdaInsightsClient";
1
+ import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { CreateDashboardCommand, } from "./commands/CreateDashboardCommand";
3
3
  import { CreateFilterCommand, } from "./commands/CreateFilterCommand";
4
4
  import { CreatePlaylistCommand, } from "./commands/CreatePlaylistCommand";
@@ -54,8 +54,8 @@ import { UpdatePlaylistAccessCommand, } from "./commands/UpdatePlaylistAccessCom
54
54
  import { UpdatePlaylistCommand, } from "./commands/UpdatePlaylistCommand";
55
55
  import { UpdateProjectionCommand, } from "./commands/UpdateProjectionCommand";
56
56
  import { UpdateProjectionsCategoryCommand, } from "./commands/UpdateProjectionsCategoryCommand";
57
- import { WatchCommand, } from "./commands/WatchCommand";
58
- import { createAggregatedClient } from "@smithy/smithy-client";
57
+ import { WatchCommand } from "./commands/WatchCommand";
58
+ import { WdaInsightsClient } from "./WdaInsightsClient";
59
59
  const commands = {
60
60
  CreateDashboardCommand,
61
61
  CreateFilterCommand,
@@ -1,35 +1,43 @@
1
+ import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
2
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
3
+ import { Client as __Client, } from "@smithy/core/client";
4
+ import { resolveEndpointConfig } from "@smithy/core/endpoints";
5
+ import { getContentLengthPlugin } from "@smithy/core/protocols";
6
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
+ import { defaultWdaInsightsHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
9
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
1
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
2
- import { resolveRuntimeExtensions, } from "./runtimeExtensions";
3
- import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
4
- import { getContentLengthPlugin } from "@smithy/middleware-content-length";
5
- import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
6
- import { Client as __Client, } from "@smithy/smithy-client";
7
- import { authorizationMiddleware } from '@wildix/smithy-utils';
11
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
8
12
  export { __Client };
9
13
  export class WdaInsightsClient extends __Client {
10
14
  config;
11
15
  constructor(...[configuration]) {
12
- let _config_0 = __getRuntimeConfig(configuration || {});
16
+ const _config_0 = __getRuntimeConfig(configuration || {});
13
17
  super(_config_0);
14
18
  this.initConfig = _config_0;
15
- let _config_1 = resolveUserAgentConfig(_config_0);
16
- let _config_2 = resolveRetryConfig(_config_1);
17
- let _config_3 = resolveRuntimeExtensions(_config_2, configuration?.extensions || []);
18
- const hostname = ['stable', 'stage'].includes(configuration.env || '') ? `wda-${configuration.env}.wildix.com` : 'wda.wildix.com';
19
- const endpoint = () => {
20
- return {
21
- hostname,
22
- protocol: "https",
23
- port: '443',
24
- path: ''
25
- };
26
- };
27
- const config = { ..._config_3, endpoint };
28
- this.config = config;
29
- this.middlewareStack.add(authorizationMiddleware.bind(this, configuration.token), { step: "build" });
19
+ const _config_1 = resolveClientEndpointParameters(_config_0);
20
+ const _config_2 = resolveUserAgentConfig(_config_1);
21
+ const _config_3 = resolveRetryConfig(_config_2);
22
+ const _config_4 = resolveHostHeaderConfig(_config_3);
23
+ const _config_5 = resolveEndpointConfig(_config_4);
24
+ const _config_6 = resolveHttpAuthSchemeConfig(_config_5);
25
+ const _config_7 = resolveRuntimeExtensions(_config_6, configuration?.extensions || []);
26
+ this.config = _config_7;
27
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
30
28
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
29
  this.middlewareStack.use(getRetryPlugin(this.config));
32
30
  this.middlewareStack.use(getContentLengthPlugin(this.config));
31
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
32
+ this.middlewareStack.use(getLoggerPlugin(this.config));
33
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
34
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
35
+ httpAuthSchemeParametersProvider: defaultWdaInsightsHttpAuthSchemeParametersProvider,
36
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
37
+ "smithy.api#httpBearerAuth": config.token,
38
+ }),
39
+ }));
40
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
33
41
  }
34
42
  destroy() {
35
43
  super.destroy();
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _token = runtimeConfig.token;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setToken(token) {
25
+ _token = token;
26
+ },
27
+ token() {
28
+ return _token;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ token: config.token(),
37
+ };
38
+ };
@@ -0,0 +1,52 @@
1
+ import { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider } from "@smithy/core";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
3
+ export const defaultWdaInsightsHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ };
7
+ };
8
+ function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
9
+ return {
10
+ schemeId: "smithy.api#httpBearerAuth",
11
+ };
12
+ }
13
+ function createWildixAuthApiKeysHttpAuthOption(authParameters) {
14
+ return {
15
+ schemeId: "wildix.auth#apiKeys",
16
+ };
17
+ }
18
+ function createWildixAuthPbxHttpAuthOption(authParameters) {
19
+ return {
20
+ schemeId: "wildix.auth#pbx",
21
+ };
22
+ }
23
+ function createWildixAuthS2sHttpAuthOption(authParameters) {
24
+ return {
25
+ schemeId: "wildix.auth#s2s",
26
+ };
27
+ }
28
+ function createWildixAuthXbsHttpAuthOption(authParameters) {
29
+ return {
30
+ schemeId: "wildix.auth#xbs",
31
+ };
32
+ }
33
+ export const defaultWdaInsightsHttpAuthSchemeProvider = (authParameters) => {
34
+ const options = [];
35
+ switch (authParameters.operation) {
36
+ default: {
37
+ options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
38
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
39
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
40
+ options.push(createWildixAuthPbxHttpAuthOption(authParameters));
41
+ options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
42
+ }
43
+ }
44
+ return options;
45
+ };
46
+ export const resolveHttpAuthSchemeConfig = (config) => {
47
+ const token = memoizeIdentityProvider(config.token, isIdentityExpired, doesIdentityRequireRefresh);
48
+ return Object.assign(config, {
49
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
50
+ token,
51
+ });
52
+ };
@@ -1,17 +1,16 @@
1
- import { de_CreateDashboardCommand, se_CreateDashboardCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateDashboard$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class CreateDashboardCommand extends $Command.classBuilder()
6
+ export class CreateDashboardCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "CreateDashboard", {})
12
13
  .n("WdaInsightsClient", "CreateDashboardCommand")
13
- .f(void 0, void 0)
14
- .ser(se_CreateDashboardCommand)
15
- .de(de_CreateDashboardCommand)
14
+ .sc(CreateDashboard$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_CreateFilterCommand, se_CreateFilterCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateFilter$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class CreateFilterCommand extends $Command.classBuilder()
6
+ export class CreateFilterCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "CreateFilter", {})
12
13
  .n("WdaInsightsClient", "CreateFilterCommand")
13
- .f(void 0, void 0)
14
- .ser(se_CreateFilterCommand)
15
- .de(de_CreateFilterCommand)
14
+ .sc(CreateFilter$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_CreatePlaylistCommand, se_CreatePlaylistCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreatePlaylist$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class CreatePlaylistCommand extends $Command.classBuilder()
6
+ export class CreatePlaylistCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "CreatePlaylist", {})
12
13
  .n("WdaInsightsClient", "CreatePlaylistCommand")
13
- .f(void 0, void 0)
14
- .ser(se_CreatePlaylistCommand)
15
- .de(de_CreatePlaylistCommand)
14
+ .sc(CreatePlaylist$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_CreateProjectionCommand, se_CreateProjectionCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateProjection$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class CreateProjectionCommand extends $Command.classBuilder()
6
+ export class CreateProjectionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "CreateProjection", {})
12
13
  .n("WdaInsightsClient", "CreateProjectionCommand")
13
- .f(void 0, void 0)
14
- .ser(se_CreateProjectionCommand)
15
- .de(de_CreateProjectionCommand)
14
+ .sc(CreateProjection$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_CreateProjectionsCategoryCommand, se_CreateProjectionsCategoryCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateProjectionsCategory$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class CreateProjectionsCategoryCommand extends $Command.classBuilder()
6
+ export class CreateProjectionsCategoryCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "CreateProjectionsCategory", {})
12
13
  .n("WdaInsightsClient", "CreateProjectionsCategoryCommand")
13
- .f(void 0, void 0)
14
- .ser(se_CreateProjectionsCategoryCommand)
15
- .de(de_CreateProjectionsCategoryCommand)
14
+ .sc(CreateProjectionsCategory$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_DeleteDashboardCommand, se_DeleteDashboardCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteDashboard$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class DeleteDashboardCommand extends $Command.classBuilder()
6
+ export class DeleteDashboardCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "DeleteDashboard", {})
12
13
  .n("WdaInsightsClient", "DeleteDashboardCommand")
13
- .f(void 0, void 0)
14
- .ser(se_DeleteDashboardCommand)
15
- .de(de_DeleteDashboardCommand)
14
+ .sc(DeleteDashboard$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_DeleteFilterCommand, se_DeleteFilterCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteFilter$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class DeleteFilterCommand extends $Command.classBuilder()
6
+ export class DeleteFilterCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "DeleteFilter", {})
12
13
  .n("WdaInsightsClient", "DeleteFilterCommand")
13
- .f(void 0, void 0)
14
- .ser(se_DeleteFilterCommand)
15
- .de(de_DeleteFilterCommand)
14
+ .sc(DeleteFilter$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_DeletePlaylistCommand, se_DeletePlaylistCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeletePlaylist$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class DeletePlaylistCommand extends $Command.classBuilder()
6
+ export class DeletePlaylistCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "DeletePlaylist", {})
12
13
  .n("WdaInsightsClient", "DeletePlaylistCommand")
13
- .f(void 0, void 0)
14
- .ser(se_DeletePlaylistCommand)
15
- .de(de_DeletePlaylistCommand)
14
+ .sc(DeletePlaylist$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_DeletePlaylistItemCommand, se_DeletePlaylistItemCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeletePlaylistItem$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class DeletePlaylistItemCommand extends $Command.classBuilder()
6
+ export class DeletePlaylistItemCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "DeletePlaylistItem", {})
12
13
  .n("WdaInsightsClient", "DeletePlaylistItemCommand")
13
- .f(void 0, void 0)
14
- .ser(se_DeletePlaylistItemCommand)
15
- .de(de_DeletePlaylistItemCommand)
14
+ .sc(DeletePlaylistItem$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_DeleteProjectionCommand, se_DeleteProjectionCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteProjection$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class DeleteProjectionCommand extends $Command.classBuilder()
6
+ export class DeleteProjectionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "DeleteProjection", {})
12
13
  .n("WdaInsightsClient", "DeleteProjectionCommand")
13
- .f(void 0, void 0)
14
- .ser(se_DeleteProjectionCommand)
15
- .de(de_DeleteProjectionCommand)
14
+ .sc(DeleteProjection$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_DeleteProjectionsCategoryCommand, se_DeleteProjectionsCategoryCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteProjectionsCategory$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class DeleteProjectionsCategoryCommand extends $Command.classBuilder()
6
+ export class DeleteProjectionsCategoryCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "DeleteProjectionsCategory", {})
12
13
  .n("WdaInsightsClient", "DeleteProjectionsCategoryCommand")
13
- .f(void 0, void 0)
14
- .ser(se_DeleteProjectionsCategoryCommand)
15
- .de(de_DeleteProjectionsCategoryCommand)
14
+ .sc(DeleteProjectionsCategory$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_DisableProjectionCommand, se_DisableProjectionCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DisableProjection$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class DisableProjectionCommand extends $Command.classBuilder()
6
+ export class DisableProjectionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "DisableProjection", {})
12
13
  .n("WdaInsightsClient", "DisableProjectionCommand")
13
- .f(void 0, void 0)
14
- .ser(se_DisableProjectionCommand)
15
- .de(de_DisableProjectionCommand)
14
+ .sc(DisableProjection$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_EnableProjectionCommand, se_EnableProjectionCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { EnableProjection$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class EnableProjectionCommand extends $Command.classBuilder()
6
+ export class EnableProjectionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "EnableProjection", {})
12
13
  .n("WdaInsightsClient", "EnableProjectionCommand")
13
- .f(void 0, void 0)
14
- .ser(se_EnableProjectionCommand)
15
- .de(de_EnableProjectionCommand)
14
+ .sc(EnableProjection$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_GetAnalysisSettingsCommand, se_GetAnalysisSettingsCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetAnalysisSettings$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class GetAnalysisSettingsCommand extends $Command.classBuilder()
6
+ export class GetAnalysisSettingsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "GetAnalysisSettings", {})
12
13
  .n("WdaInsightsClient", "GetAnalysisSettingsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_GetAnalysisSettingsCommand)
15
- .de(de_GetAnalysisSettingsCommand)
14
+ .sc(GetAnalysisSettings$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_GetCallCharacteristicsCommand, se_GetCallCharacteristicsCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetCallCharacteristics$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class GetCallCharacteristicsCommand extends $Command.classBuilder()
6
+ export class GetCallCharacteristicsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "GetCallCharacteristics", {})
12
13
  .n("WdaInsightsClient", "GetCallCharacteristicsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_GetCallCharacteristicsCommand)
15
- .de(de_GetCallCharacteristicsCommand)
14
+ .sc(GetCallCharacteristics$)
16
15
  .build() {
17
16
  }
@@ -1,17 +1,16 @@
1
- import { de_GetCallInsightsCommand, se_GetCallInsightsCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetCallInsights$ } from "../schemas/schemas_0";
4
5
  export { $Command };
5
- export class GetCallInsightsCommand extends $Command.classBuilder()
6
+ export class GetCallInsightsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
10
11
  })
11
12
  .s("WdaInsights", "GetCallInsights", {})
12
13
  .n("WdaInsightsClient", "GetCallInsightsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_GetCallInsightsCommand)
15
- .de(de_GetCallInsightsCommand)
14
+ .sc(GetCallInsights$)
16
15
  .build() {
17
16
  }