@aws-sdk/client-wisdom 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/WisdomServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +97 -2
- package/dist-cjs/protocols/Aws_restJson1.js +282 -930
- package/dist-es/index.js +1 -0
- package/dist-es/models/WisdomServiceException.js +12 -0
- package/dist-es/models/models_0.js +88 -1
- package/dist-es/protocols/Aws_restJson1.js +611 -1063
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/WisdomServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -29
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/WisdomServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -29
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Wisdom service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class WisdomServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
13
|
}
|
|
10
14
|
/**
|
|
11
15
|
* <p>Configuration information for Amazon AppIntegrations to automatically ingest content.</p>
|
|
@@ -46,10 +50,13 @@ export declare namespace AppIntegrationsConfiguration {
|
|
|
46
50
|
* <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
|
|
47
51
|
* same name) is being created or mutated.</p>
|
|
48
52
|
*/
|
|
49
|
-
export
|
|
50
|
-
name: "ConflictException";
|
|
51
|
-
$fault: "client";
|
|
52
|
-
|
|
53
|
+
export declare class ConflictException extends __BaseException {
|
|
54
|
+
readonly name: "ConflictException";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
53
60
|
}
|
|
54
61
|
/**
|
|
55
62
|
* <p>The data that is input into Wisdom as a result of the assistant association.</p>
|
|
@@ -212,31 +219,40 @@ export declare namespace CreateAssistantAssociationResponse {
|
|
|
212
219
|
/**
|
|
213
220
|
* <p>The specified resource does not exist.</p>
|
|
214
221
|
*/
|
|
215
|
-
export
|
|
216
|
-
name: "ResourceNotFoundException";
|
|
217
|
-
$fault: "client";
|
|
218
|
-
message?: string;
|
|
222
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
223
|
+
readonly name: "ResourceNotFoundException";
|
|
224
|
+
readonly $fault: "client";
|
|
219
225
|
/**
|
|
220
226
|
* <p>The specified resource name.</p>
|
|
221
227
|
*/
|
|
222
228
|
resourceName?: string;
|
|
229
|
+
/**
|
|
230
|
+
* @internal
|
|
231
|
+
*/
|
|
232
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
223
233
|
}
|
|
224
234
|
/**
|
|
225
235
|
* <p>You've exceeded your service quota. To perform the requested action, remove some of the
|
|
226
236
|
* relevant resources, or use service quotas to request a service quota increase.</p>
|
|
227
237
|
*/
|
|
228
|
-
export
|
|
229
|
-
name: "ServiceQuotaExceededException";
|
|
230
|
-
$fault: "client";
|
|
231
|
-
|
|
238
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
239
|
+
readonly name: "ServiceQuotaExceededException";
|
|
240
|
+
readonly $fault: "client";
|
|
241
|
+
/**
|
|
242
|
+
* @internal
|
|
243
|
+
*/
|
|
244
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
232
245
|
}
|
|
233
246
|
/**
|
|
234
247
|
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
235
248
|
*/
|
|
236
|
-
export
|
|
237
|
-
name: "ValidationException";
|
|
238
|
-
$fault: "client";
|
|
239
|
-
|
|
249
|
+
export declare class ValidationException extends __BaseException {
|
|
250
|
+
readonly name: "ValidationException";
|
|
251
|
+
readonly $fault: "client";
|
|
252
|
+
/**
|
|
253
|
+
* @internal
|
|
254
|
+
*/
|
|
255
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
240
256
|
}
|
|
241
257
|
export interface DeleteAssistantAssociationRequest {
|
|
242
258
|
/**
|
|
@@ -1427,10 +1443,13 @@ export declare namespace ListContentsResponse {
|
|
|
1427
1443
|
* <p>The provided <code>revisionId</code> does not match, indicating the content has been
|
|
1428
1444
|
* modified since it was last read.</p>
|
|
1429
1445
|
*/
|
|
1430
|
-
export
|
|
1431
|
-
name: "PreconditionFailedException";
|
|
1432
|
-
$fault: "client";
|
|
1433
|
-
|
|
1446
|
+
export declare class PreconditionFailedException extends __BaseException {
|
|
1447
|
+
readonly name: "PreconditionFailedException";
|
|
1448
|
+
readonly $fault: "client";
|
|
1449
|
+
/**
|
|
1450
|
+
* @internal
|
|
1451
|
+
*/
|
|
1452
|
+
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
1434
1453
|
}
|
|
1435
1454
|
export interface UpdateContentRequest {
|
|
1436
1455
|
/**
|
|
@@ -1996,14 +2015,17 @@ export declare namespace TagResourceResponse {
|
|
|
1996
2015
|
/**
|
|
1997
2016
|
* <p>Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.</p>
|
|
1998
2017
|
*/
|
|
1999
|
-
export
|
|
2000
|
-
name: "TooManyTagsException";
|
|
2001
|
-
$fault: "client";
|
|
2002
|
-
message?: string;
|
|
2018
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
2019
|
+
readonly name: "TooManyTagsException";
|
|
2020
|
+
readonly $fault: "client";
|
|
2003
2021
|
/**
|
|
2004
2022
|
* <p>The specified resource name.</p>
|
|
2005
2023
|
*/
|
|
2006
2024
|
resourceName?: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* @internal
|
|
2027
|
+
*/
|
|
2028
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
2007
2029
|
}
|
|
2008
2030
|
export interface UntagResourceRequest {
|
|
2009
2031
|
/**
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
export interface AppIntegrationsConfiguration {
|
|
@@ -17,10 +19,11 @@ export declare namespace AppIntegrationsConfiguration {
|
|
|
17
19
|
const filterSensitiveLog: (obj: AppIntegrationsConfiguration) => any;
|
|
18
20
|
}
|
|
19
21
|
|
|
20
|
-
export
|
|
21
|
-
name: "ConflictException";
|
|
22
|
-
$fault: "client";
|
|
23
|
-
|
|
22
|
+
export declare class ConflictException extends __BaseException {
|
|
23
|
+
readonly name: "ConflictException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
export declare type AssistantAssociationInputData = AssistantAssociationInputData.KnowledgeBaseIdMember | AssistantAssociationInputData.$UnknownMember;
|
|
@@ -132,24 +135,27 @@ export declare namespace CreateAssistantAssociationResponse {
|
|
|
132
135
|
const filterSensitiveLog: (obj: CreateAssistantAssociationResponse) => any;
|
|
133
136
|
}
|
|
134
137
|
|
|
135
|
-
export
|
|
136
|
-
name: "ResourceNotFoundException";
|
|
137
|
-
$fault: "client";
|
|
138
|
-
message?: string;
|
|
138
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
139
|
+
readonly name: "ResourceNotFoundException";
|
|
140
|
+
readonly $fault: "client";
|
|
139
141
|
|
|
140
142
|
resourceName?: string;
|
|
143
|
+
|
|
144
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
141
145
|
}
|
|
142
146
|
|
|
143
|
-
export
|
|
144
|
-
name: "ServiceQuotaExceededException";
|
|
145
|
-
$fault: "client";
|
|
146
|
-
|
|
147
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
148
|
+
readonly name: "ServiceQuotaExceededException";
|
|
149
|
+
readonly $fault: "client";
|
|
150
|
+
|
|
151
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
147
152
|
}
|
|
148
153
|
|
|
149
|
-
export
|
|
150
|
-
name: "ValidationException";
|
|
151
|
-
$fault: "client";
|
|
152
|
-
|
|
154
|
+
export declare class ValidationException extends __BaseException {
|
|
155
|
+
readonly name: "ValidationException";
|
|
156
|
+
readonly $fault: "client";
|
|
157
|
+
|
|
158
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
153
159
|
}
|
|
154
160
|
export interface DeleteAssistantAssociationRequest {
|
|
155
161
|
|
|
@@ -860,10 +866,11 @@ export declare namespace ListContentsResponse {
|
|
|
860
866
|
const filterSensitiveLog: (obj: ListContentsResponse) => any;
|
|
861
867
|
}
|
|
862
868
|
|
|
863
|
-
export
|
|
864
|
-
name: "PreconditionFailedException";
|
|
865
|
-
$fault: "client";
|
|
866
|
-
|
|
869
|
+
export declare class PreconditionFailedException extends __BaseException {
|
|
870
|
+
readonly name: "PreconditionFailedException";
|
|
871
|
+
readonly $fault: "client";
|
|
872
|
+
|
|
873
|
+
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
867
874
|
}
|
|
868
875
|
export interface UpdateContentRequest {
|
|
869
876
|
|
|
@@ -1202,12 +1209,13 @@ export declare namespace TagResourceResponse {
|
|
|
1202
1209
|
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
1203
1210
|
}
|
|
1204
1211
|
|
|
1205
|
-
export
|
|
1206
|
-
name: "TooManyTagsException";
|
|
1207
|
-
$fault: "client";
|
|
1208
|
-
message?: string;
|
|
1212
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
1213
|
+
readonly name: "TooManyTagsException";
|
|
1214
|
+
readonly $fault: "client";
|
|
1209
1215
|
|
|
1210
1216
|
resourceName?: string;
|
|
1217
|
+
|
|
1218
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
1211
1219
|
}
|
|
1212
1220
|
export interface UntagResourceRequest {
|
|
1213
1221
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wisdom",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wisdom Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0",
|