@aws-sdk/client-connect-contact-lens 3.934.0 → 3.935.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/dist-cjs/index.js +17 -16
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +16 -0
- package/dist-es/models/errors.js +71 -0
- package/dist-es/models/models_0.js +1 -87
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +40 -0
- package/dist-types/models/errors.d.ts +67 -0
- package/dist-types/models/models_0.d.ts +1 -107
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +22 -0
- package/dist-types/ts3.4/models/errors.d.ts +42 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -64
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -159,22 +159,6 @@ let InvalidRequestException$1 = class InvalidRequestException extends ConnectCon
|
|
|
159
159
|
this.Message = opts.Message;
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
|
-
const PostContactSummaryFailureCode = {
|
|
163
|
-
FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
|
|
164
|
-
INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
|
|
165
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
166
|
-
INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",
|
|
167
|
-
QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
|
|
168
|
-
};
|
|
169
|
-
const PostContactSummaryStatus = {
|
|
170
|
-
COMPLETED: "COMPLETED",
|
|
171
|
-
FAILED: "FAILED",
|
|
172
|
-
};
|
|
173
|
-
const SentimentValue = {
|
|
174
|
-
NEGATIVE: "NEGATIVE",
|
|
175
|
-
NEUTRAL: "NEUTRAL",
|
|
176
|
-
POSITIVE: "POSITIVE",
|
|
177
|
-
};
|
|
178
162
|
let ResourceNotFoundException$1 = class ResourceNotFoundException extends ConnectContactLensServiceException$1 {
|
|
179
163
|
name = "ResourceNotFoundException";
|
|
180
164
|
$fault = "client";
|
|
@@ -392,6 +376,23 @@ smithyClient.createAggregatedClient(commands, ConnectContactLens);
|
|
|
392
376
|
|
|
393
377
|
const paginateListRealtimeContactAnalysisSegments = core.createPaginator(ConnectContactLensClient, ListRealtimeContactAnalysisSegmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
394
378
|
|
|
379
|
+
const PostContactSummaryFailureCode = {
|
|
380
|
+
FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
|
|
381
|
+
INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
|
|
382
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
383
|
+
INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",
|
|
384
|
+
QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
|
|
385
|
+
};
|
|
386
|
+
const PostContactSummaryStatus = {
|
|
387
|
+
COMPLETED: "COMPLETED",
|
|
388
|
+
FAILED: "FAILED",
|
|
389
|
+
};
|
|
390
|
+
const SentimentValue = {
|
|
391
|
+
NEGATIVE: "NEGATIVE",
|
|
392
|
+
NEUTRAL: "NEUTRAL",
|
|
393
|
+
POSITIVE: "POSITIVE",
|
|
394
|
+
};
|
|
395
|
+
|
|
395
396
|
Object.defineProperty(exports, "$Command", {
|
|
396
397
|
enumerable: true,
|
|
397
398
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ConnectContactLensClient";
|
|
|
2
2
|
export * from "./ConnectContactLens";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ConnectContactLensServiceException } from "./models/ConnectContactLensServiceException";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const PostContactSummaryFailureCode = {
|
|
2
|
+
FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
|
|
3
|
+
INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
|
|
4
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
5
|
+
INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",
|
|
6
|
+
QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
|
|
7
|
+
};
|
|
8
|
+
export const PostContactSummaryStatus = {
|
|
9
|
+
COMPLETED: "COMPLETED",
|
|
10
|
+
FAILED: "FAILED",
|
|
11
|
+
};
|
|
12
|
+
export const SentimentValue = {
|
|
13
|
+
NEGATIVE: "NEGATIVE",
|
|
14
|
+
NEUTRAL: "NEUTRAL",
|
|
15
|
+
POSITIVE: "POSITIVE",
|
|
16
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ConnectContactLensServiceException as __BaseException } from "./ConnectContactLensServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class InternalServiceException extends __BaseException {
|
|
17
|
+
name = "InternalServiceException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "InternalServiceException",
|
|
23
|
+
$fault: "server",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InvalidRequestException extends __BaseException {
|
|
31
|
+
name = "InvalidRequestException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InvalidRequestException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
45
|
+
name = "ResourceNotFoundException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ResourceNotFoundException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ThrottlingException extends __BaseException {
|
|
59
|
+
name = "ThrottlingException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ThrottlingException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -1,87 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export class InternalServiceException extends __BaseException {
|
|
17
|
-
name = "InternalServiceException";
|
|
18
|
-
$fault = "server";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "InternalServiceException",
|
|
23
|
-
$fault: "server",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class InvalidRequestException extends __BaseException {
|
|
31
|
-
name = "InvalidRequestException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
Message;
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "InvalidRequestException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
41
|
-
this.Message = opts.Message;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export const PostContactSummaryFailureCode = {
|
|
45
|
-
FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
|
|
46
|
-
INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
|
|
47
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
48
|
-
INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",
|
|
49
|
-
QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
|
|
50
|
-
};
|
|
51
|
-
export const PostContactSummaryStatus = {
|
|
52
|
-
COMPLETED: "COMPLETED",
|
|
53
|
-
FAILED: "FAILED",
|
|
54
|
-
};
|
|
55
|
-
export const SentimentValue = {
|
|
56
|
-
NEGATIVE: "NEGATIVE",
|
|
57
|
-
NEUTRAL: "NEUTRAL",
|
|
58
|
-
POSITIVE: "POSITIVE",
|
|
59
|
-
};
|
|
60
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
61
|
-
name = "ResourceNotFoundException";
|
|
62
|
-
$fault = "client";
|
|
63
|
-
Message;
|
|
64
|
-
constructor(opts) {
|
|
65
|
-
super({
|
|
66
|
-
name: "ResourceNotFoundException",
|
|
67
|
-
$fault: "client",
|
|
68
|
-
...opts,
|
|
69
|
-
});
|
|
70
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
71
|
-
this.Message = opts.Message;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export class ThrottlingException extends __BaseException {
|
|
75
|
-
name = "ThrottlingException";
|
|
76
|
-
$fault = "client";
|
|
77
|
-
Message;
|
|
78
|
-
constructor(opts) {
|
|
79
|
-
super({
|
|
80
|
-
name: "ThrottlingException",
|
|
81
|
-
$fault: "client",
|
|
82
|
-
...opts,
|
|
83
|
-
});
|
|
84
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
85
|
-
this.Message = opts.Message;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
1
|
+
export {};
|
|
@@ -45,7 +45,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.connectcontactlens";
|
|
|
45
45
|
const n0 = "com.amazonaws.connectcontactlens";
|
|
46
46
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
47
47
|
import { ConnectContactLensServiceException as __ConnectContactLensServiceException } from "../models/ConnectContactLensServiceException";
|
|
48
|
-
import { AccessDeniedException as __AccessDeniedException, InternalServiceException as __InternalServiceException, InvalidRequestException as __InvalidRequestException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, } from "../models/
|
|
48
|
+
import { AccessDeniedException as __AccessDeniedException, InternalServiceException as __InternalServiceException, InvalidRequestException as __InvalidRequestException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, } from "../models/errors";
|
|
49
49
|
export var AccessDeniedException = [
|
|
50
50
|
-3,
|
|
51
51
|
n0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -29,5 +29,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
29
29
|
export type { ConnectContactLensExtensionConfiguration } from "./extensionConfiguration";
|
|
30
30
|
export * from "./commands";
|
|
31
31
|
export * from "./pagination";
|
|
32
|
-
export * from "./models";
|
|
32
|
+
export * from "./models/enums";
|
|
33
|
+
export * from "./models/errors";
|
|
34
|
+
export type * from "./models/models_0";
|
|
33
35
|
export { ConnectContactLensServiceException } from "./models/ConnectContactLensServiceException";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const PostContactSummaryFailureCode: {
|
|
6
|
+
readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
|
|
7
|
+
readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
|
|
8
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
9
|
+
readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
|
|
10
|
+
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type PostContactSummaryFailureCode = (typeof PostContactSummaryFailureCode)[keyof typeof PostContactSummaryFailureCode];
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* @enum
|
|
19
|
+
*/
|
|
20
|
+
export declare const PostContactSummaryStatus: {
|
|
21
|
+
readonly COMPLETED: "COMPLETED";
|
|
22
|
+
readonly FAILED: "FAILED";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type PostContactSummaryStatus = (typeof PostContactSummaryStatus)[keyof typeof PostContactSummaryStatus];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const SentimentValue: {
|
|
33
|
+
readonly NEGATIVE: "NEGATIVE";
|
|
34
|
+
readonly NEUTRAL: "NEUTRAL";
|
|
35
|
+
readonly POSITIVE: "POSITIVE";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type SentimentValue = (typeof SentimentValue)[keyof typeof SentimentValue];
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ConnectContactLensServiceException as __BaseException } from "./ConnectContactLensServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
Message: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>Request processing failed due to an error or failure with the service.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class InternalServiceException extends __BaseException {
|
|
21
|
+
readonly name: "InternalServiceException";
|
|
22
|
+
readonly $fault: "server";
|
|
23
|
+
Message?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>The request is not valid.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
34
|
+
readonly name: "InvalidRequestException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
Message?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>The specified resource was not found.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
47
|
+
readonly name: "ResourceNotFoundException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
Message?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export declare class ThrottlingException extends __BaseException {
|
|
60
|
+
readonly name: "ThrottlingException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
Message: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
67
|
+
}
|
|
@@ -1,44 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ConnectContactLensServiceException as __BaseException } from "./ConnectContactLensServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
Message: string | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* <p>Request processing failed due to an error or failure with the service.</p>
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export declare class InternalServiceException extends __BaseException {
|
|
21
|
-
readonly name: "InternalServiceException";
|
|
22
|
-
readonly $fault: "server";
|
|
23
|
-
Message?: string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
|
-
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* <p>The request is not valid.</p>
|
|
31
|
-
* @public
|
|
32
|
-
*/
|
|
33
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
34
|
-
readonly name: "InvalidRequestException";
|
|
35
|
-
readonly $fault: "client";
|
|
36
|
-
Message?: string | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
41
|
-
}
|
|
1
|
+
import { PostContactSummaryFailureCode, PostContactSummaryStatus, SentimentValue } from "./enums";
|
|
42
2
|
/**
|
|
43
3
|
* @public
|
|
44
4
|
*/
|
|
@@ -109,33 +69,6 @@ export interface Categories {
|
|
|
109
69
|
*/
|
|
110
70
|
MatchedDetails: Record<string, CategoryDetails> | undefined;
|
|
111
71
|
}
|
|
112
|
-
/**
|
|
113
|
-
* @public
|
|
114
|
-
* @enum
|
|
115
|
-
*/
|
|
116
|
-
export declare const PostContactSummaryFailureCode: {
|
|
117
|
-
readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
|
|
118
|
-
readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
|
|
119
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
120
|
-
readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
|
|
121
|
-
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
122
|
-
};
|
|
123
|
-
/**
|
|
124
|
-
* @public
|
|
125
|
-
*/
|
|
126
|
-
export type PostContactSummaryFailureCode = (typeof PostContactSummaryFailureCode)[keyof typeof PostContactSummaryFailureCode];
|
|
127
|
-
/**
|
|
128
|
-
* @public
|
|
129
|
-
* @enum
|
|
130
|
-
*/
|
|
131
|
-
export declare const PostContactSummaryStatus: {
|
|
132
|
-
readonly COMPLETED: "COMPLETED";
|
|
133
|
-
readonly FAILED: "FAILED";
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* @public
|
|
137
|
-
*/
|
|
138
|
-
export type PostContactSummaryStatus = (typeof PostContactSummaryStatus)[keyof typeof PostContactSummaryStatus];
|
|
139
72
|
/**
|
|
140
73
|
* <p>Information about the post-contact summary.</p>
|
|
141
74
|
* @public
|
|
@@ -217,19 +150,6 @@ export interface IssueDetected {
|
|
|
217
150
|
*/
|
|
218
151
|
CharacterOffsets: CharacterOffsets | undefined;
|
|
219
152
|
}
|
|
220
|
-
/**
|
|
221
|
-
* @public
|
|
222
|
-
* @enum
|
|
223
|
-
*/
|
|
224
|
-
export declare const SentimentValue: {
|
|
225
|
-
readonly NEGATIVE: "NEGATIVE";
|
|
226
|
-
readonly NEUTRAL: "NEUTRAL";
|
|
227
|
-
readonly POSITIVE: "POSITIVE";
|
|
228
|
-
};
|
|
229
|
-
/**
|
|
230
|
-
* @public
|
|
231
|
-
*/
|
|
232
|
-
export type SentimentValue = (typeof SentimentValue)[keyof typeof SentimentValue];
|
|
233
153
|
/**
|
|
234
154
|
* <p>A list of messages in the session.</p>
|
|
235
155
|
* @public
|
|
@@ -325,29 +245,3 @@ export interface ListRealtimeContactAnalysisSegmentsResponse {
|
|
|
325
245
|
*/
|
|
326
246
|
NextToken?: string | undefined;
|
|
327
247
|
}
|
|
328
|
-
/**
|
|
329
|
-
* <p>The specified resource was not found.</p>
|
|
330
|
-
* @public
|
|
331
|
-
*/
|
|
332
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
333
|
-
readonly name: "ResourceNotFoundException";
|
|
334
|
-
readonly $fault: "client";
|
|
335
|
-
Message?: string | undefined;
|
|
336
|
-
/**
|
|
337
|
-
* @internal
|
|
338
|
-
*/
|
|
339
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
340
|
-
}
|
|
341
|
-
/**
|
|
342
|
-
* <p>The throttling limit has been exceeded.</p>
|
|
343
|
-
* @public
|
|
344
|
-
*/
|
|
345
|
-
export declare class ThrottlingException extends __BaseException {
|
|
346
|
-
readonly name: "ThrottlingException";
|
|
347
|
-
readonly $fault: "client";
|
|
348
|
-
Message: string | undefined;
|
|
349
|
-
/**
|
|
350
|
-
* @internal
|
|
351
|
-
*/
|
|
352
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
353
|
-
}
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { ConnectContactLensExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { ConnectContactLensServiceException } from "./models/ConnectContactLensServiceException";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const PostContactSummaryFailureCode: {
|
|
2
|
+
readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
|
|
3
|
+
readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
|
|
4
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
5
|
+
readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
|
|
6
|
+
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
7
|
+
};
|
|
8
|
+
export type PostContactSummaryFailureCode =
|
|
9
|
+
(typeof PostContactSummaryFailureCode)[keyof typeof PostContactSummaryFailureCode];
|
|
10
|
+
export declare const PostContactSummaryStatus: {
|
|
11
|
+
readonly COMPLETED: "COMPLETED";
|
|
12
|
+
readonly FAILED: "FAILED";
|
|
13
|
+
};
|
|
14
|
+
export type PostContactSummaryStatus =
|
|
15
|
+
(typeof PostContactSummaryStatus)[keyof typeof PostContactSummaryStatus];
|
|
16
|
+
export declare const SentimentValue: {
|
|
17
|
+
readonly NEGATIVE: "NEGATIVE";
|
|
18
|
+
readonly NEUTRAL: "NEUTRAL";
|
|
19
|
+
readonly POSITIVE: "POSITIVE";
|
|
20
|
+
};
|
|
21
|
+
export type SentimentValue =
|
|
22
|
+
(typeof SentimentValue)[keyof typeof SentimentValue];
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ConnectContactLensServiceException as __BaseException } from "./ConnectContactLensServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class InternalServiceException extends __BaseException {
|
|
12
|
+
readonly name: "InternalServiceException";
|
|
13
|
+
readonly $fault: "server";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
20
|
+
readonly name: "InvalidRequestException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
Message?: string | undefined;
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
28
|
+
readonly name: "ResourceNotFoundException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
Message?: string | undefined;
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
export declare class ThrottlingException extends __BaseException {
|
|
36
|
+
readonly name: "ThrottlingException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
Message: string | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -1,29 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Message: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
export declare class InternalServiceException extends __BaseException {
|
|
12
|
-
readonly name: "InternalServiceException";
|
|
13
|
-
readonly $fault: "server";
|
|
14
|
-
Message?: string | undefined;
|
|
15
|
-
constructor(
|
|
16
|
-
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
20
|
-
readonly name: "InvalidRequestException";
|
|
21
|
-
readonly $fault: "client";
|
|
22
|
-
Message?: string | undefined;
|
|
23
|
-
constructor(
|
|
24
|
-
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
25
|
-
);
|
|
26
|
-
}
|
|
1
|
+
import {
|
|
2
|
+
PostContactSummaryFailureCode,
|
|
3
|
+
PostContactSummaryStatus,
|
|
4
|
+
SentimentValue,
|
|
5
|
+
} from "./enums";
|
|
27
6
|
export interface ListRealtimeContactAnalysisSegmentsRequest {
|
|
28
7
|
InstanceId: string | undefined;
|
|
29
8
|
ContactId: string | undefined;
|
|
@@ -41,21 +20,6 @@ export interface Categories {
|
|
|
41
20
|
MatchedCategories: string[] | undefined;
|
|
42
21
|
MatchedDetails: Record<string, CategoryDetails> | undefined;
|
|
43
22
|
}
|
|
44
|
-
export declare const PostContactSummaryFailureCode: {
|
|
45
|
-
readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
|
|
46
|
-
readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
|
|
47
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
48
|
-
readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
|
|
49
|
-
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
50
|
-
};
|
|
51
|
-
export type PostContactSummaryFailureCode =
|
|
52
|
-
(typeof PostContactSummaryFailureCode)[keyof typeof PostContactSummaryFailureCode];
|
|
53
|
-
export declare const PostContactSummaryStatus: {
|
|
54
|
-
readonly COMPLETED: "COMPLETED";
|
|
55
|
-
readonly FAILED: "FAILED";
|
|
56
|
-
};
|
|
57
|
-
export type PostContactSummaryStatus =
|
|
58
|
-
(typeof PostContactSummaryStatus)[keyof typeof PostContactSummaryStatus];
|
|
59
23
|
export interface PostContactSummary {
|
|
60
24
|
Content?: string | undefined;
|
|
61
25
|
Status: PostContactSummaryStatus | undefined;
|
|
@@ -68,13 +32,6 @@ export interface CharacterOffsets {
|
|
|
68
32
|
export interface IssueDetected {
|
|
69
33
|
CharacterOffsets: CharacterOffsets | undefined;
|
|
70
34
|
}
|
|
71
|
-
export declare const SentimentValue: {
|
|
72
|
-
readonly NEGATIVE: "NEGATIVE";
|
|
73
|
-
readonly NEUTRAL: "NEUTRAL";
|
|
74
|
-
readonly POSITIVE: "POSITIVE";
|
|
75
|
-
};
|
|
76
|
-
export type SentimentValue =
|
|
77
|
-
(typeof SentimentValue)[keyof typeof SentimentValue];
|
|
78
35
|
export interface Transcript {
|
|
79
36
|
Id: string | undefined;
|
|
80
37
|
ParticipantId: string | undefined;
|
|
@@ -94,19 +51,3 @@ export interface ListRealtimeContactAnalysisSegmentsResponse {
|
|
|
94
51
|
Segments: RealtimeContactAnalysisSegment[] | undefined;
|
|
95
52
|
NextToken?: string | undefined;
|
|
96
53
|
}
|
|
97
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
98
|
-
readonly name: "ResourceNotFoundException";
|
|
99
|
-
readonly $fault: "client";
|
|
100
|
-
Message?: string | undefined;
|
|
101
|
-
constructor(
|
|
102
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
export declare class ThrottlingException extends __BaseException {
|
|
106
|
-
readonly name: "ThrottlingException";
|
|
107
|
-
readonly $fault: "client";
|
|
108
|
-
Message: string | undefined;
|
|
109
|
-
constructor(
|
|
110
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
111
|
-
);
|
|
112
|
-
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connect-contact-lens",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|