@aws-sdk/client-connect-contact-lens 3.956.0 → 3.958.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -14
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +78 -50
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +79 -51
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -28,10 +28,8 @@ using speech analytics</a> in the <i>Amazon Connect Administrator
|
|
|
28
28
|
Guide</i>. </p>
|
|
29
29
|
|
|
30
30
|
## Installing
|
|
31
|
-
|
|
32
31
|
To install this package, simply type add or install @aws-sdk/client-connect-contact-lens
|
|
33
32
|
using your favorite package manager:
|
|
34
|
-
|
|
35
33
|
- `npm install @aws-sdk/client-connect-contact-lens`
|
|
36
34
|
- `yarn add @aws-sdk/client-connect-contact-lens`
|
|
37
35
|
- `pnpm add @aws-sdk/client-connect-contact-lens`
|
|
@@ -46,18 +44,12 @@ the commands you need, for example `ListRealtimeContactAnalysisSegmentsCommand`:
|
|
|
46
44
|
|
|
47
45
|
```js
|
|
48
46
|
// ES5 example
|
|
49
|
-
const {
|
|
50
|
-
ConnectContactLensClient,
|
|
51
|
-
ListRealtimeContactAnalysisSegmentsCommand,
|
|
52
|
-
} = require("@aws-sdk/client-connect-contact-lens");
|
|
47
|
+
const { ConnectContactLensClient, ListRealtimeContactAnalysisSegmentsCommand } = require("@aws-sdk/client-connect-contact-lens");
|
|
53
48
|
```
|
|
54
49
|
|
|
55
50
|
```ts
|
|
56
51
|
// ES6+ example
|
|
57
|
-
import {
|
|
58
|
-
ConnectContactLensClient,
|
|
59
|
-
ListRealtimeContactAnalysisSegmentsCommand,
|
|
60
|
-
} from "@aws-sdk/client-connect-contact-lens";
|
|
52
|
+
import { ConnectContactLensClient, ListRealtimeContactAnalysisSegmentsCommand } from "@aws-sdk/client-connect-contact-lens";
|
|
61
53
|
```
|
|
62
54
|
|
|
63
55
|
### Usage
|
|
@@ -73,9 +65,7 @@ To send a request, you:
|
|
|
73
65
|
// a client can be shared by different commands.
|
|
74
66
|
const client = new ConnectContactLensClient({ region: "REGION" });
|
|
75
67
|
|
|
76
|
-
const params = {
|
|
77
|
-
/** input parameters */
|
|
78
|
-
};
|
|
68
|
+
const params = { /** input parameters */ };
|
|
79
69
|
const command = new ListRealtimeContactAnalysisSegmentsCommand(params);
|
|
80
70
|
```
|
|
81
71
|
|
|
@@ -234,5 +224,4 @@ ListRealtimeContactAnalysisSegments
|
|
|
234
224
|
</summary>
|
|
235
225
|
|
|
236
226
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect-contact-lens/command/ListRealtimeContactAnalysisSegmentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect-contact-lens/Interface/ListRealtimeContactAnalysisSegmentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect-contact-lens/Interface/ListRealtimeContactAnalysisSegmentsCommandOutput/)
|
|
237
|
-
|
|
238
227
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultConnectContactLensHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultConnectContactLensHttpAuthSchemeParametersProvider = defaultConnectContactLensHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -233,74 +233,102 @@ const _hE = "httpError";
|
|
|
233
233
|
const _s = "server";
|
|
234
234
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.connectcontactlens";
|
|
235
235
|
const n0 = "com.amazonaws.connectcontactlens";
|
|
236
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
236
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
237
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
238
|
+
[_M],
|
|
239
|
+
[0]
|
|
240
|
+
];
|
|
237
241
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
238
|
-
var Categories$ = [3, n0, _C,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
+
var Categories$ = [3, n0, _C,
|
|
243
|
+
0,
|
|
244
|
+
[_MC, _MD],
|
|
245
|
+
[64 | 0, () => MatchedDetails]
|
|
246
|
+
];
|
|
247
|
+
var CategoryDetails$ = [3, n0, _CD,
|
|
248
|
+
0,
|
|
249
|
+
[_POI],
|
|
250
|
+
[() => PointsOfInterest]
|
|
251
|
+
];
|
|
252
|
+
var CharacterOffsets$ = [3, n0, _CO,
|
|
253
|
+
0,
|
|
254
|
+
[_BOC, _EOC],
|
|
255
|
+
[1, 1]
|
|
256
|
+
];
|
|
257
|
+
var InternalServiceException$ = [-3, n0, _ISE,
|
|
258
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
259
|
+
[_M],
|
|
260
|
+
[0]
|
|
261
|
+
];
|
|
242
262
|
schema.TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
|
|
243
|
-
var InvalidRequestException$ = [-3, n0, _IRE,
|
|
263
|
+
var InvalidRequestException$ = [-3, n0, _IRE,
|
|
264
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
265
|
+
[_M],
|
|
266
|
+
[0]
|
|
267
|
+
];
|
|
244
268
|
schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
245
|
-
var IssueDetected$ = [3, n0, _ID,
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
269
|
+
var IssueDetected$ = [3, n0, _ID,
|
|
270
|
+
0,
|
|
271
|
+
[_CO],
|
|
272
|
+
[() => CharacterOffsets$]
|
|
273
|
+
];
|
|
274
|
+
var ListRealtimeContactAnalysisSegmentsRequest$ = [3, n0, _LRCASR,
|
|
250
275
|
0,
|
|
251
276
|
[_II, _CI, _MR, _NT],
|
|
252
|
-
[0, 0, 1, 0]
|
|
277
|
+
[0, 0, 1, 0]
|
|
253
278
|
];
|
|
254
|
-
var ListRealtimeContactAnalysisSegmentsResponse$ = [
|
|
255
|
-
3,
|
|
256
|
-
n0,
|
|
257
|
-
_LRCASRi,
|
|
279
|
+
var ListRealtimeContactAnalysisSegmentsResponse$ = [3, n0, _LRCASRi,
|
|
258
280
|
0,
|
|
259
281
|
[_S, _NT],
|
|
260
|
-
[() => RealtimeContactAnalysisSegments, 0]
|
|
282
|
+
[() => RealtimeContactAnalysisSegments, 0]
|
|
261
283
|
];
|
|
262
|
-
var PointOfInterest$ = [3, n0, _POIo,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
284
|
+
var PointOfInterest$ = [3, n0, _POIo,
|
|
285
|
+
0,
|
|
286
|
+
[_BOM, _EOM],
|
|
287
|
+
[1, 1]
|
|
288
|
+
];
|
|
289
|
+
var PostContactSummary$ = [3, n0, _PCS,
|
|
290
|
+
0,
|
|
291
|
+
[_Co, _St, _FC],
|
|
292
|
+
[0, 0, 0]
|
|
293
|
+
];
|
|
294
|
+
var RealtimeContactAnalysisSegment$ = [3, n0, _RCAS,
|
|
268
295
|
0,
|
|
269
296
|
[_T, _C, _PCS],
|
|
270
|
-
[() => Transcript$, () => Categories$, () => PostContactSummary$]
|
|
297
|
+
[() => Transcript$, () => Categories$, () => PostContactSummary$]
|
|
298
|
+
];
|
|
299
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
300
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
301
|
+
[_M],
|
|
302
|
+
[0]
|
|
271
303
|
];
|
|
272
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
273
304
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
274
|
-
var ThrottlingException$ = [-3, n0, _TE,
|
|
305
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
306
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
307
|
+
[_M],
|
|
308
|
+
[0]
|
|
309
|
+
];
|
|
275
310
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
276
|
-
var Transcript$ = [
|
|
277
|
-
3,
|
|
278
|
-
n0,
|
|
279
|
-
_T,
|
|
311
|
+
var Transcript$ = [3, n0, _T,
|
|
280
312
|
0,
|
|
281
313
|
[_I, _PI, _PR, _Co, _BOM, _EOM, _Se, _IDs],
|
|
282
|
-
[0, 0, 0, 0, 1, 1, 0, () => IssuesDetected]
|
|
283
|
-
];
|
|
284
|
-
var ConnectContactLensServiceException$ = [
|
|
285
|
-
-3,
|
|
286
|
-
_sm,
|
|
287
|
-
"ConnectContactLensServiceException",
|
|
288
|
-
0,
|
|
289
|
-
[],
|
|
290
|
-
[],
|
|
314
|
+
[0, 0, 0, 0, 1, 1, 0, () => IssuesDetected]
|
|
291
315
|
];
|
|
316
|
+
var ConnectContactLensServiceException$ = [-3, _sm, "ConnectContactLensServiceException", 0, [], []];
|
|
292
317
|
schema.TypeRegistry.for(_sm).registerError(ConnectContactLensServiceException$, ConnectContactLensServiceException);
|
|
293
|
-
var IssuesDetected = [1, n0, _IDs,
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
var
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
() =>
|
|
318
|
+
var IssuesDetected = [1, n0, _IDs,
|
|
319
|
+
0, () => IssueDetected$
|
|
320
|
+
];
|
|
321
|
+
var PointsOfInterest = [1, n0, _POI,
|
|
322
|
+
0, () => PointOfInterest$
|
|
323
|
+
];
|
|
324
|
+
var RealtimeContactAnalysisSegments = [1, n0, _RCASe,
|
|
325
|
+
0, () => RealtimeContactAnalysisSegment$
|
|
326
|
+
];
|
|
327
|
+
var MatchedDetails = [2, n0, _MD,
|
|
328
|
+
0, 0, () => CategoryDetails$
|
|
329
|
+
];
|
|
330
|
+
var ListRealtimeContactAnalysisSegments$ = [9, n0, _LRCAS,
|
|
331
|
+
{ [_h]: ["POST", "/realtime-contact-analysis/analysis-segments", 200] }, () => ListRealtimeContactAnalysisSegmentsRequest$, () => ListRealtimeContactAnalysisSegmentsResponse$
|
|
304
332
|
];
|
|
305
333
|
|
|
306
334
|
class ListRealtimeContactAnalysisSegmentsCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultConnectContactLensHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -46,73 +46,101 @@ const n0 = "com.amazonaws.connectcontactlens";
|
|
|
46
46
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
47
47
|
import { ConnectContactLensServiceException } from "../models/ConnectContactLensServiceException";
|
|
48
48
|
import { AccessDeniedException, InternalServiceException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, } from "../models/errors";
|
|
49
|
-
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
49
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
50
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
51
|
+
[_M],
|
|
52
|
+
[0]
|
|
53
|
+
];
|
|
50
54
|
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
51
|
-
export var Categories$ = [3, n0, _C,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
+
export var Categories$ = [3, n0, _C,
|
|
56
|
+
0,
|
|
57
|
+
[_MC, _MD],
|
|
58
|
+
[64 | 0, () => MatchedDetails]
|
|
59
|
+
];
|
|
60
|
+
export var CategoryDetails$ = [3, n0, _CD,
|
|
61
|
+
0,
|
|
62
|
+
[_POI],
|
|
63
|
+
[() => PointsOfInterest]
|
|
64
|
+
];
|
|
65
|
+
export var CharacterOffsets$ = [3, n0, _CO,
|
|
66
|
+
0,
|
|
67
|
+
[_BOC, _EOC],
|
|
68
|
+
[1, 1]
|
|
69
|
+
];
|
|
70
|
+
export var InternalServiceException$ = [-3, n0, _ISE,
|
|
71
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
72
|
+
[_M],
|
|
73
|
+
[0]
|
|
74
|
+
];
|
|
55
75
|
TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
|
|
56
|
-
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
76
|
+
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
77
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
78
|
+
[_M],
|
|
79
|
+
[0]
|
|
80
|
+
];
|
|
57
81
|
TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
58
|
-
export var IssueDetected$ = [3, n0, _ID,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
82
|
+
export var IssueDetected$ = [3, n0, _ID,
|
|
83
|
+
0,
|
|
84
|
+
[_CO],
|
|
85
|
+
[() => CharacterOffsets$]
|
|
86
|
+
];
|
|
87
|
+
export var ListRealtimeContactAnalysisSegmentsRequest$ = [3, n0, _LRCASR,
|
|
63
88
|
0,
|
|
64
89
|
[_II, _CI, _MR, _NT],
|
|
65
|
-
[0, 0, 1, 0]
|
|
90
|
+
[0, 0, 1, 0]
|
|
66
91
|
];
|
|
67
|
-
export var ListRealtimeContactAnalysisSegmentsResponse$ = [
|
|
68
|
-
3,
|
|
69
|
-
n0,
|
|
70
|
-
_LRCASRi,
|
|
92
|
+
export var ListRealtimeContactAnalysisSegmentsResponse$ = [3, n0, _LRCASRi,
|
|
71
93
|
0,
|
|
72
94
|
[_S, _NT],
|
|
73
|
-
[() => RealtimeContactAnalysisSegments, 0]
|
|
74
|
-
];
|
|
75
|
-
export var PointOfInterest$ = [3, n0, _POIo,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
95
|
+
[() => RealtimeContactAnalysisSegments, 0]
|
|
96
|
+
];
|
|
97
|
+
export var PointOfInterest$ = [3, n0, _POIo,
|
|
98
|
+
0,
|
|
99
|
+
[_BOM, _EOM],
|
|
100
|
+
[1, 1]
|
|
101
|
+
];
|
|
102
|
+
export var PostContactSummary$ = [3, n0, _PCS,
|
|
103
|
+
0,
|
|
104
|
+
[_Co, _St, _FC],
|
|
105
|
+
[0, 0, 0]
|
|
106
|
+
];
|
|
107
|
+
export var RealtimeContactAnalysisSegment$ = [3, n0, _RCAS,
|
|
81
108
|
0,
|
|
82
109
|
[_T, _C, _PCS],
|
|
83
|
-
[() => Transcript$, () => Categories$, () => PostContactSummary$]
|
|
110
|
+
[() => Transcript$, () => Categories$, () => PostContactSummary$]
|
|
111
|
+
];
|
|
112
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
113
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
114
|
+
[_M],
|
|
115
|
+
[0]
|
|
84
116
|
];
|
|
85
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
86
117
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
87
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
118
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
119
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
120
|
+
[_M],
|
|
121
|
+
[0]
|
|
122
|
+
];
|
|
88
123
|
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
89
|
-
export var Transcript$ = [
|
|
90
|
-
3,
|
|
91
|
-
n0,
|
|
92
|
-
_T,
|
|
124
|
+
export var Transcript$ = [3, n0, _T,
|
|
93
125
|
0,
|
|
94
126
|
[_I, _PI, _PR, _Co, _BOM, _EOM, _Se, _IDs],
|
|
95
|
-
[0, 0, 0, 0, 1, 1, 0, () => IssuesDetected]
|
|
96
|
-
];
|
|
97
|
-
export var ConnectContactLensServiceException$ = [
|
|
98
|
-
-3,
|
|
99
|
-
_sm,
|
|
100
|
-
"ConnectContactLensServiceException",
|
|
101
|
-
0,
|
|
102
|
-
[],
|
|
103
|
-
[],
|
|
127
|
+
[0, 0, 0, 0, 1, 1, 0, () => IssuesDetected]
|
|
104
128
|
];
|
|
129
|
+
export var ConnectContactLensServiceException$ = [-3, _sm, "ConnectContactLensServiceException", 0, [], []];
|
|
105
130
|
TypeRegistry.for(_sm).registerError(ConnectContactLensServiceException$, ConnectContactLensServiceException);
|
|
106
|
-
var IssuesDetected = [1, n0, _IDs,
|
|
131
|
+
var IssuesDetected = [1, n0, _IDs,
|
|
132
|
+
0, () => IssueDetected$
|
|
133
|
+
];
|
|
107
134
|
var MatchedCategories = 64 | 0;
|
|
108
|
-
var PointsOfInterest = [1, n0, _POI,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
135
|
+
var PointsOfInterest = [1, n0, _POI,
|
|
136
|
+
0, () => PointOfInterest$
|
|
137
|
+
];
|
|
138
|
+
var RealtimeContactAnalysisSegments = [1, n0, _RCASe,
|
|
139
|
+
0, () => RealtimeContactAnalysisSegment$
|
|
140
|
+
];
|
|
141
|
+
var MatchedDetails = [2, n0, _MD,
|
|
142
|
+
0, 0, () => CategoryDetails$
|
|
143
|
+
];
|
|
144
|
+
export var ListRealtimeContactAnalysisSegments$ = [9, n0, _LRCAS,
|
|
145
|
+
{ [_h]: ["POST", "/realtime-contact-analysis/analysis-segments", 200] }, () => ListRealtimeContactAnalysisSegmentsRequest$, () => ListRealtimeContactAnalysisSegmentsResponse$
|
|
118
146
|
];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect-contact-lens",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Contact Lens Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.958.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connect-contact-lens",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
-
"build:include:deps": "
|
|
9
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.957.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.957.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.957.0",
|
|
31
|
+
"@aws-sdk/types": "3.957.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.957.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.957.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.957.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.5",
|
|
36
36
|
"@smithy/core": "^3.20.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.8",
|