@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.
- package/dist-cjs/WdaInsights.js +3 -3
- package/dist-cjs/WdaInsightsClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
- package/dist-cjs/commands/CreateDashboardCommand.js +10 -11
- package/dist-cjs/commands/CreateFilterCommand.js +10 -11
- package/dist-cjs/commands/CreatePlaylistCommand.js +10 -11
- package/dist-cjs/commands/CreateProjectionCommand.js +10 -11
- package/dist-cjs/commands/CreateProjectionsCategoryCommand.js +10 -11
- package/dist-cjs/commands/DeleteDashboardCommand.js +10 -11
- package/dist-cjs/commands/DeleteFilterCommand.js +10 -11
- package/dist-cjs/commands/DeletePlaylistCommand.js +10 -11
- package/dist-cjs/commands/DeletePlaylistItemCommand.js +10 -11
- package/dist-cjs/commands/DeleteProjectionCommand.js +10 -11
- package/dist-cjs/commands/DeleteProjectionsCategoryCommand.js +10 -11
- package/dist-cjs/commands/DisableProjectionCommand.js +10 -11
- package/dist-cjs/commands/EnableProjectionCommand.js +10 -11
- package/dist-cjs/commands/GetAnalysisSettingsCommand.js +10 -11
- package/dist-cjs/commands/GetCallCharacteristicsCommand.js +10 -11
- package/dist-cjs/commands/GetCallInsightsCommand.js +10 -11
- package/dist-cjs/commands/GetCallStateCommand.js +10 -11
- package/dist-cjs/commands/GetCallSummaryCommand.js +10 -11
- package/dist-cjs/commands/GetChatInsightsCommand.js +10 -11
- package/dist-cjs/commands/GetChatStateCommand.js +10 -11
- package/dist-cjs/commands/GetChatSummaryCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceInsightsCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceRecordingPresignedDownloadUrlCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceStateCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceSummaryCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceTimeFramesCommand.js +10 -11
- package/dist-cjs/commands/GetDashboardCommand.js +10 -11
- package/dist-cjs/commands/GetPlaylistCommand.js +10 -11
- package/dist-cjs/commands/GetProjectionCommand.js +10 -11
- package/dist-cjs/commands/ListConversationsAggregationsCommand.js +10 -11
- package/dist-cjs/commands/ListConversationsCommand.js +10 -11
- package/dist-cjs/commands/ListConversationsInsightsAggregationsCommand.js +10 -11
- package/dist-cjs/commands/ListConversationsInsightsCommand.js +10 -11
- package/dist-cjs/commands/ListConversationsNestedAggregationsCommand.js +10 -11
- package/dist-cjs/commands/ListDashboardsCommand.js +10 -11
- package/dist-cjs/commands/ListFiltersCommand.js +10 -11
- package/dist-cjs/commands/ListPinnedDashboardsCommand.js +10 -11
- package/dist-cjs/commands/ListPlaylistItemsCommand.js +10 -11
- package/dist-cjs/commands/ListPlaylistsCommand.js +10 -11
- package/dist-cjs/commands/ListProjectionsCommand.js +10 -11
- package/dist-cjs/commands/ListWatchHistoryCommand.js +10 -11
- package/dist-cjs/commands/PauseProjectionCommand.js +10 -11
- package/dist-cjs/commands/PutAnalysisSettingsCommand.js +10 -11
- package/dist-cjs/commands/PutPlaylistItemCommand.js +10 -11
- package/dist-cjs/commands/QueryConversationsCountCommand.js +10 -11
- package/dist-cjs/commands/ScheduleCallSummaryGenerationCommand.js +10 -11
- package/dist-cjs/commands/ScheduleConferenceSummaryGenerationCommand.js +10 -11
- package/dist-cjs/commands/UpdateDashboardAccessCommand.js +10 -11
- package/dist-cjs/commands/UpdateDashboardCommand.js +10 -11
- package/dist-cjs/commands/UpdateFilterCommand.js +10 -11
- package/dist-cjs/commands/UpdatePinnedDashboardsCommand.js +10 -11
- package/dist-cjs/commands/UpdatePlaylistAccessCommand.js +10 -11
- package/dist-cjs/commands/UpdatePlaylistCommand.js +10 -11
- package/dist-cjs/commands/UpdateProjectionCommand.js +10 -11
- package/dist-cjs/commands/UpdateProjectionsCategoryCommand.js +10 -11
- package/dist-cjs/commands/WatchCommand.js +10 -11
- package/dist-cjs/commands/index.js +4 -4
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +4 -1
- package/dist-cjs/models/WdaInsightsServiceException.js +3 -3
- package/dist-cjs/models/enums.js +225 -0
- package/dist-cjs/models/errors.js +69 -0
- package/dist-cjs/models/models_0.js +0 -471
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +30 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +2178 -0
- package/dist-es/WdaInsights.js +3 -3
- package/dist-es/WdaInsightsClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
- package/dist-es/commands/CreateDashboardCommand.js +9 -10
- package/dist-es/commands/CreateFilterCommand.js +9 -10
- package/dist-es/commands/CreatePlaylistCommand.js +9 -10
- package/dist-es/commands/CreateProjectionCommand.js +9 -10
- package/dist-es/commands/CreateProjectionsCategoryCommand.js +9 -10
- package/dist-es/commands/DeleteDashboardCommand.js +9 -10
- package/dist-es/commands/DeleteFilterCommand.js +9 -10
- package/dist-es/commands/DeletePlaylistCommand.js +9 -10
- package/dist-es/commands/DeletePlaylistItemCommand.js +9 -10
- package/dist-es/commands/DeleteProjectionCommand.js +9 -10
- package/dist-es/commands/DeleteProjectionsCategoryCommand.js +9 -10
- package/dist-es/commands/DisableProjectionCommand.js +9 -10
- package/dist-es/commands/EnableProjectionCommand.js +9 -10
- package/dist-es/commands/GetAnalysisSettingsCommand.js +9 -10
- package/dist-es/commands/GetCallCharacteristicsCommand.js +9 -10
- package/dist-es/commands/GetCallInsightsCommand.js +9 -10
- package/dist-es/commands/GetCallStateCommand.js +9 -10
- package/dist-es/commands/GetCallSummaryCommand.js +9 -10
- package/dist-es/commands/GetChatInsightsCommand.js +9 -10
- package/dist-es/commands/GetChatStateCommand.js +9 -10
- package/dist-es/commands/GetChatSummaryCommand.js +9 -10
- package/dist-es/commands/GetConferenceInsightsCommand.js +9 -10
- package/dist-es/commands/GetConferenceRecordingPresignedDownloadUrlCommand.js +9 -10
- package/dist-es/commands/GetConferenceStateCommand.js +9 -10
- package/dist-es/commands/GetConferenceSummaryCommand.js +9 -10
- package/dist-es/commands/GetConferenceTimeFramesCommand.js +9 -10
- package/dist-es/commands/GetDashboardCommand.js +9 -10
- package/dist-es/commands/GetPlaylistCommand.js +9 -10
- package/dist-es/commands/GetProjectionCommand.js +9 -10
- package/dist-es/commands/ListConversationsAggregationsCommand.js +9 -10
- package/dist-es/commands/ListConversationsCommand.js +9 -10
- package/dist-es/commands/ListConversationsInsightsAggregationsCommand.js +9 -10
- package/dist-es/commands/ListConversationsInsightsCommand.js +9 -10
- package/dist-es/commands/ListConversationsNestedAggregationsCommand.js +9 -10
- package/dist-es/commands/ListDashboardsCommand.js +9 -10
- package/dist-es/commands/ListFiltersCommand.js +9 -10
- package/dist-es/commands/ListPinnedDashboardsCommand.js +9 -10
- package/dist-es/commands/ListPlaylistItemsCommand.js +9 -10
- package/dist-es/commands/ListPlaylistsCommand.js +9 -10
- package/dist-es/commands/ListProjectionsCommand.js +9 -10
- package/dist-es/commands/ListWatchHistoryCommand.js +9 -10
- package/dist-es/commands/PauseProjectionCommand.js +9 -10
- package/dist-es/commands/PutAnalysisSettingsCommand.js +9 -10
- package/dist-es/commands/PutPlaylistItemCommand.js +9 -10
- package/dist-es/commands/QueryConversationsCountCommand.js +9 -10
- package/dist-es/commands/ScheduleCallSummaryGenerationCommand.js +9 -10
- package/dist-es/commands/ScheduleConferenceSummaryGenerationCommand.js +9 -10
- package/dist-es/commands/UpdateDashboardAccessCommand.js +9 -10
- package/dist-es/commands/UpdateDashboardCommand.js +9 -10
- package/dist-es/commands/UpdateFilterCommand.js +9 -10
- package/dist-es/commands/UpdatePinnedDashboardsCommand.js +9 -10
- package/dist-es/commands/UpdatePlaylistAccessCommand.js +9 -10
- package/dist-es/commands/UpdatePlaylistCommand.js +9 -10
- package/dist-es/commands/UpdateProjectionCommand.js +9 -10
- package/dist-es/commands/UpdateProjectionsCategoryCommand.js +9 -10
- package/dist-es/commands/WatchCommand.js +9 -10
- package/dist-es/commands/index.js +4 -4
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +4 -1
- package/dist-es/models/WdaInsightsServiceException.js +1 -1
- package/dist-es/models/enums.js +222 -0
- package/dist-es/models/errors.js +61 -0
- package/dist-es/models/models_0.js +1 -464
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +24 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +2170 -0
- package/dist-types/WdaInsights.d.ts +57 -57
- package/dist-types/WdaInsightsClient.d.ts +86 -68
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/CreateDashboardCommand.d.ts +11 -7
- package/dist-types/commands/CreateFilterCommand.d.ts +11 -7
- package/dist-types/commands/CreatePlaylistCommand.d.ts +11 -7
- package/dist-types/commands/CreateProjectionCommand.d.ts +11 -7
- package/dist-types/commands/CreateProjectionsCategoryCommand.d.ts +12 -8
- package/dist-types/commands/DeleteDashboardCommand.d.ts +11 -7
- package/dist-types/commands/DeleteFilterCommand.d.ts +11 -7
- package/dist-types/commands/DeletePlaylistCommand.d.ts +11 -7
- package/dist-types/commands/DeletePlaylistItemCommand.d.ts +11 -7
- package/dist-types/commands/DeleteProjectionCommand.d.ts +11 -7
- package/dist-types/commands/DeleteProjectionsCategoryCommand.d.ts +12 -8
- package/dist-types/commands/DisableProjectionCommand.d.ts +11 -7
- package/dist-types/commands/EnableProjectionCommand.d.ts +11 -7
- package/dist-types/commands/GetAnalysisSettingsCommand.d.ts +11 -7
- package/dist-types/commands/GetCallCharacteristicsCommand.d.ts +11 -7
- package/dist-types/commands/GetCallInsightsCommand.d.ts +11 -7
- package/dist-types/commands/GetCallStateCommand.d.ts +11 -7
- package/dist-types/commands/GetCallSummaryCommand.d.ts +11 -7
- package/dist-types/commands/GetChatInsightsCommand.d.ts +11 -7
- package/dist-types/commands/GetChatStateCommand.d.ts +11 -7
- package/dist-types/commands/GetChatSummaryCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceInsightsCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceRecordingPresignedDownloadUrlCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceStateCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceSummaryCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceTimeFramesCommand.d.ts +11 -7
- package/dist-types/commands/GetDashboardCommand.d.ts +11 -7
- package/dist-types/commands/GetPlaylistCommand.d.ts +11 -7
- package/dist-types/commands/GetProjectionCommand.d.ts +11 -7
- package/dist-types/commands/ListConversationsAggregationsCommand.d.ts +11 -7
- package/dist-types/commands/ListConversationsCommand.d.ts +13 -9
- package/dist-types/commands/ListConversationsInsightsAggregationsCommand.d.ts +12 -8
- package/dist-types/commands/ListConversationsInsightsCommand.d.ts +12 -8
- package/dist-types/commands/ListConversationsNestedAggregationsCommand.d.ts +11 -7
- package/dist-types/commands/ListDashboardsCommand.d.ts +11 -7
- package/dist-types/commands/ListFiltersCommand.d.ts +11 -7
- package/dist-types/commands/ListPinnedDashboardsCommand.d.ts +11 -7
- package/dist-types/commands/ListPlaylistItemsCommand.d.ts +13 -9
- package/dist-types/commands/ListPlaylistsCommand.d.ts +11 -7
- package/dist-types/commands/ListProjectionsCommand.d.ts +11 -7
- package/dist-types/commands/ListWatchHistoryCommand.d.ts +13 -9
- package/dist-types/commands/PauseProjectionCommand.d.ts +11 -7
- package/dist-types/commands/PutAnalysisSettingsCommand.d.ts +11 -7
- package/dist-types/commands/PutPlaylistItemCommand.d.ts +11 -7
- package/dist-types/commands/QueryConversationsCountCommand.d.ts +11 -7
- package/dist-types/commands/ScheduleCallSummaryGenerationCommand.d.ts +12 -8
- package/dist-types/commands/ScheduleConferenceSummaryGenerationCommand.d.ts +12 -8
- package/dist-types/commands/UpdateDashboardAccessCommand.d.ts +11 -7
- package/dist-types/commands/UpdateDashboardCommand.d.ts +11 -7
- package/dist-types/commands/UpdateFilterCommand.d.ts +11 -7
- package/dist-types/commands/UpdatePinnedDashboardsCommand.d.ts +11 -7
- package/dist-types/commands/UpdatePlaylistAccessCommand.d.ts +11 -7
- package/dist-types/commands/UpdatePlaylistCommand.d.ts +11 -7
- package/dist-types/commands/UpdateProjectionCommand.d.ts +11 -7
- package/dist-types/commands/UpdateProjectionsCategoryCommand.d.ts +12 -8
- package/dist-types/commands/WatchCommand.d.ts +11 -7
- package/dist-types/commands/index.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +4 -3
- package/dist-types/index.d.ts +5 -1
- package/dist-types/models/WdaInsightsServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +541 -0
- package/dist-types/models/errors.d.ts +57 -0
- package/dist-types/models/models_0.d.ts +172 -727
- package/dist-types/runtimeConfig.browser.d.ts +35 -16
- package/dist-types/runtimeConfig.d.ts +34 -15
- package/dist-types/runtimeConfig.native.d.ts +36 -17
- package/dist-types/runtimeConfig.shared.d.ts +20 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +299 -0
- package/package.json +14 -40
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -2406
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -2289
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -506
package/dist-es/WdaInsights.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
58
|
-
import {
|
|
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
|
|
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
|
-
|
|
16
|
+
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
13
17
|
super(_config_0);
|
|
14
18
|
this.initConfig = _config_0;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_CreateDashboardCommand)
|
|
15
|
-
.de(de_CreateDashboardCommand)
|
|
14
|
+
.sc(CreateDashboard$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_CreateFilterCommand)
|
|
15
|
-
.de(de_CreateFilterCommand)
|
|
14
|
+
.sc(CreateFilter$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_CreatePlaylistCommand)
|
|
15
|
-
.de(de_CreatePlaylistCommand)
|
|
14
|
+
.sc(CreatePlaylist$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_CreateProjectionCommand)
|
|
15
|
-
.de(de_CreateProjectionCommand)
|
|
14
|
+
.sc(CreateProjection$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_CreateProjectionsCategoryCommand)
|
|
15
|
-
.de(de_CreateProjectionsCategoryCommand)
|
|
14
|
+
.sc(CreateProjectionsCategory$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_DeleteDashboardCommand)
|
|
15
|
-
.de(de_DeleteDashboardCommand)
|
|
14
|
+
.sc(DeleteDashboard$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_DeleteFilterCommand)
|
|
15
|
-
.de(de_DeleteFilterCommand)
|
|
14
|
+
.sc(DeleteFilter$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_DeletePlaylistCommand)
|
|
15
|
-
.de(de_DeletePlaylistCommand)
|
|
14
|
+
.sc(DeletePlaylist$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_DeletePlaylistItemCommand)
|
|
15
|
-
.de(de_DeletePlaylistItemCommand)
|
|
14
|
+
.sc(DeletePlaylistItem$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_DeleteProjectionCommand)
|
|
15
|
-
.de(de_DeleteProjectionCommand)
|
|
14
|
+
.sc(DeleteProjection$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_DeleteProjectionsCategoryCommand)
|
|
15
|
-
.de(de_DeleteProjectionsCategoryCommand)
|
|
14
|
+
.sc(DeleteProjectionsCategory$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_DisableProjectionCommand)
|
|
15
|
-
.de(de_DisableProjectionCommand)
|
|
14
|
+
.sc(DisableProjection$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_EnableProjectionCommand)
|
|
15
|
-
.de(de_EnableProjectionCommand)
|
|
14
|
+
.sc(EnableProjection$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_GetAnalysisSettingsCommand)
|
|
15
|
-
.de(de_GetAnalysisSettingsCommand)
|
|
14
|
+
.sc(GetAnalysisSettings$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_GetCallCharacteristicsCommand)
|
|
15
|
-
.de(de_GetCallCharacteristicsCommand)
|
|
14
|
+
.sc(GetCallCharacteristics$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
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
|
-
.
|
|
14
|
-
.ser(se_GetCallInsightsCommand)
|
|
15
|
-
.de(de_GetCallInsightsCommand)
|
|
14
|
+
.sc(GetCallInsights$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|