@aws-sdk/client-kendra-ranking 3.1148.0 → 3.1149.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 +10 -1
- package/dist-es/models/KendraRankingServiceException.js +1 -0
- package/dist-es/models/errors.js +8 -0
- package/dist-types/models/KendraRankingServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/KendraRankingServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -67,7 +67,7 @@ const commonParams = {
|
|
|
67
67
|
Region: { type: "builtInParams", name: "region" },
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
var version = "3.
|
|
70
|
+
var version = "3.1148.0";
|
|
71
71
|
var packageInfo = {
|
|
72
72
|
version: version};
|
|
73
73
|
|
|
@@ -122,6 +122,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
122
122
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
123
123
|
|
|
124
124
|
class KendraRankingServiceException extends ServiceException {
|
|
125
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.kendraranking#KendraRankingServiceException";
|
|
125
126
|
constructor(options) {
|
|
126
127
|
super(options);
|
|
127
128
|
Object.setPrototypeOf(this, KendraRankingServiceException.prototype);
|
|
@@ -129,6 +130,7 @@ class KendraRankingServiceException extends ServiceException {
|
|
|
129
130
|
}
|
|
130
131
|
|
|
131
132
|
class AccessDeniedException extends KendraRankingServiceException {
|
|
133
|
+
static shapeId = "com.amazonaws.kendraranking#AccessDeniedException";
|
|
132
134
|
name = "AccessDeniedException";
|
|
133
135
|
$fault = "client";
|
|
134
136
|
Message;
|
|
@@ -143,6 +145,7 @@ class AccessDeniedException extends KendraRankingServiceException {
|
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
147
|
class ConflictException extends KendraRankingServiceException {
|
|
148
|
+
static shapeId = "com.amazonaws.kendraranking#ConflictException";
|
|
146
149
|
name = "ConflictException";
|
|
147
150
|
$fault = "client";
|
|
148
151
|
Message;
|
|
@@ -157,6 +160,7 @@ class ConflictException extends KendraRankingServiceException {
|
|
|
157
160
|
}
|
|
158
161
|
}
|
|
159
162
|
class InternalServerException extends KendraRankingServiceException {
|
|
163
|
+
static shapeId = "com.amazonaws.kendraranking#InternalServerException";
|
|
160
164
|
name = "InternalServerException";
|
|
161
165
|
$fault = "server";
|
|
162
166
|
Message;
|
|
@@ -171,6 +175,7 @@ class InternalServerException extends KendraRankingServiceException {
|
|
|
171
175
|
}
|
|
172
176
|
}
|
|
173
177
|
class ServiceQuotaExceededException extends KendraRankingServiceException {
|
|
178
|
+
static shapeId = "com.amazonaws.kendraranking#ServiceQuotaExceededException";
|
|
174
179
|
name = "ServiceQuotaExceededException";
|
|
175
180
|
$fault = "client";
|
|
176
181
|
Message;
|
|
@@ -185,6 +190,7 @@ class ServiceQuotaExceededException extends KendraRankingServiceException {
|
|
|
185
190
|
}
|
|
186
191
|
}
|
|
187
192
|
class ThrottlingException extends KendraRankingServiceException {
|
|
193
|
+
static shapeId = "com.amazonaws.kendraranking#ThrottlingException";
|
|
188
194
|
name = "ThrottlingException";
|
|
189
195
|
$fault = "client";
|
|
190
196
|
Message;
|
|
@@ -199,6 +205,7 @@ class ThrottlingException extends KendraRankingServiceException {
|
|
|
199
205
|
}
|
|
200
206
|
}
|
|
201
207
|
class ValidationException extends KendraRankingServiceException {
|
|
208
|
+
static shapeId = "com.amazonaws.kendraranking#ValidationException";
|
|
202
209
|
name = "ValidationException";
|
|
203
210
|
$fault = "client";
|
|
204
211
|
Message;
|
|
@@ -213,6 +220,7 @@ class ValidationException extends KendraRankingServiceException {
|
|
|
213
220
|
}
|
|
214
221
|
}
|
|
215
222
|
class ResourceNotFoundException extends KendraRankingServiceException {
|
|
223
|
+
static shapeId = "com.amazonaws.kendraranking#ResourceNotFoundException";
|
|
216
224
|
name = "ResourceNotFoundException";
|
|
217
225
|
$fault = "client";
|
|
218
226
|
Message;
|
|
@@ -227,6 +235,7 @@ class ResourceNotFoundException extends KendraRankingServiceException {
|
|
|
227
235
|
}
|
|
228
236
|
}
|
|
229
237
|
class ResourceUnavailableException extends KendraRankingServiceException {
|
|
238
|
+
static shapeId = "com.amazonaws.kendraranking#ResourceUnavailableException";
|
|
230
239
|
name = "ResourceUnavailableException";
|
|
231
240
|
$fault = "client";
|
|
232
241
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class KendraRankingServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.kendraranking#KendraRankingServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, KendraRankingServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { KendraRankingServiceException as __BaseException } from "./KendraRankingServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.kendraranking#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class ConflictException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.kendraranking#ConflictException";
|
|
17
19
|
name = "ConflictException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
Message;
|
|
@@ -28,6 +30,7 @@ export class ConflictException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class InternalServerException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.kendraranking#InternalServerException";
|
|
31
34
|
name = "InternalServerException";
|
|
32
35
|
$fault = "server";
|
|
33
36
|
Message;
|
|
@@ -42,6 +45,7 @@ export class InternalServerException extends __BaseException {
|
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
48
|
+
static shapeId = "com.amazonaws.kendraranking#ServiceQuotaExceededException";
|
|
45
49
|
name = "ServiceQuotaExceededException";
|
|
46
50
|
$fault = "client";
|
|
47
51
|
Message;
|
|
@@ -56,6 +60,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
export class ThrottlingException extends __BaseException {
|
|
63
|
+
static shapeId = "com.amazonaws.kendraranking#ThrottlingException";
|
|
59
64
|
name = "ThrottlingException";
|
|
60
65
|
$fault = "client";
|
|
61
66
|
Message;
|
|
@@ -70,6 +75,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
70
75
|
}
|
|
71
76
|
}
|
|
72
77
|
export class ValidationException extends __BaseException {
|
|
78
|
+
static shapeId = "com.amazonaws.kendraranking#ValidationException";
|
|
73
79
|
name = "ValidationException";
|
|
74
80
|
$fault = "client";
|
|
75
81
|
Message;
|
|
@@ -84,6 +90,7 @@ export class ValidationException extends __BaseException {
|
|
|
84
90
|
}
|
|
85
91
|
}
|
|
86
92
|
export class ResourceNotFoundException extends __BaseException {
|
|
93
|
+
static shapeId = "com.amazonaws.kendraranking#ResourceNotFoundException";
|
|
87
94
|
name = "ResourceNotFoundException";
|
|
88
95
|
$fault = "client";
|
|
89
96
|
Message;
|
|
@@ -98,6 +105,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
98
105
|
}
|
|
99
106
|
}
|
|
100
107
|
export class ResourceUnavailableException extends __BaseException {
|
|
108
|
+
static shapeId = "com.amazonaws.kendraranking#ResourceUnavailableException";
|
|
101
109
|
name = "ResourceUnavailableException";
|
|
102
110
|
$fault = "client";
|
|
103
111
|
Message;
|
|
@@ -7,6 +7,7 @@ import { KendraRankingServiceException as __BaseException } from "./KendraRankin
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "AccessDeniedException";
|
|
11
12
|
readonly $fault: "client";
|
|
12
13
|
Message?: string | undefined;
|
|
@@ -21,6 +22,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
21
22
|
* @public
|
|
22
23
|
*/
|
|
23
24
|
export declare class ConflictException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
24
26
|
readonly name: "ConflictException";
|
|
25
27
|
readonly $fault: "client";
|
|
26
28
|
Message?: string | undefined;
|
|
@@ -38,6 +40,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
38
40
|
* @public
|
|
39
41
|
*/
|
|
40
42
|
export declare class InternalServerException extends __BaseException {
|
|
43
|
+
static readonly shapeId: string;
|
|
41
44
|
readonly name: "InternalServerException";
|
|
42
45
|
readonly $fault: "server";
|
|
43
46
|
Message?: string | undefined;
|
|
@@ -55,6 +58,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
55
58
|
* @public
|
|
56
59
|
*/
|
|
57
60
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
61
|
+
static readonly shapeId: string;
|
|
58
62
|
readonly name: "ServiceQuotaExceededException";
|
|
59
63
|
readonly $fault: "client";
|
|
60
64
|
Message?: string | undefined;
|
|
@@ -69,6 +73,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
69
73
|
* @public
|
|
70
74
|
*/
|
|
71
75
|
export declare class ThrottlingException extends __BaseException {
|
|
76
|
+
static readonly shapeId: string;
|
|
72
77
|
readonly name: "ThrottlingException";
|
|
73
78
|
readonly $fault: "client";
|
|
74
79
|
Message?: string | undefined;
|
|
@@ -84,6 +89,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
84
89
|
* @public
|
|
85
90
|
*/
|
|
86
91
|
export declare class ValidationException extends __BaseException {
|
|
92
|
+
static readonly shapeId: string;
|
|
87
93
|
readonly name: "ValidationException";
|
|
88
94
|
readonly $fault: "client";
|
|
89
95
|
Message?: string | undefined;
|
|
@@ -99,6 +105,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
99
105
|
* @public
|
|
100
106
|
*/
|
|
101
107
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
108
|
+
static readonly shapeId: string;
|
|
102
109
|
readonly name: "ResourceNotFoundException";
|
|
103
110
|
readonly $fault: "client";
|
|
104
111
|
Message?: string | undefined;
|
|
@@ -114,6 +121,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
114
121
|
* @public
|
|
115
122
|
*/
|
|
116
123
|
export declare class ResourceUnavailableException extends __BaseException {
|
|
124
|
+
static readonly shapeId: string;
|
|
117
125
|
readonly name: "ResourceUnavailableException";
|
|
118
126
|
readonly $fault: "client";
|
|
119
127
|
Message?: string | undefined;
|
|
@@ -1,48 +1,56 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { KendraRankingServiceException as __BaseException } from "./KendraRankingServiceException";
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "AccessDeniedException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
7
8
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class ConflictException extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "ConflictException";
|
|
11
13
|
readonly $fault: "client";
|
|
12
14
|
Message?: string | undefined;
|
|
13
15
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class InternalServerException extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "InternalServerException";
|
|
17
20
|
readonly $fault: "server";
|
|
18
21
|
Message?: string | undefined;
|
|
19
22
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
20
23
|
}
|
|
21
24
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
22
26
|
readonly name: "ServiceQuotaExceededException";
|
|
23
27
|
readonly $fault: "client";
|
|
24
28
|
Message?: string | undefined;
|
|
25
29
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
26
30
|
}
|
|
27
31
|
export declare class ThrottlingException extends __BaseException {
|
|
32
|
+
static readonly shapeId: string;
|
|
28
33
|
readonly name: "ThrottlingException";
|
|
29
34
|
readonly $fault: "client";
|
|
30
35
|
Message?: string | undefined;
|
|
31
36
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
32
37
|
}
|
|
33
38
|
export declare class ValidationException extends __BaseException {
|
|
39
|
+
static readonly shapeId: string;
|
|
34
40
|
readonly name: "ValidationException";
|
|
35
41
|
readonly $fault: "client";
|
|
36
42
|
Message?: string | undefined;
|
|
37
43
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
38
44
|
}
|
|
39
45
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
40
47
|
readonly name: "ResourceNotFoundException";
|
|
41
48
|
readonly $fault: "client";
|
|
42
49
|
Message?: string | undefined;
|
|
43
50
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
44
51
|
}
|
|
45
52
|
export declare class ResourceUnavailableException extends __BaseException {
|
|
53
|
+
static readonly shapeId: string;
|
|
46
54
|
readonly name: "ResourceUnavailableException";
|
|
47
55
|
readonly $fault: "client";
|
|
48
56
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kendra-ranking",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Kendra Ranking Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kendra-ranking",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|