@aws-sdk/client-bedrock 3.634.0 → 3.637.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 +56 -0
- package/dist-cjs/index.js +515 -78
- package/dist-es/Bedrock.js +14 -0
- package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +25 -0
- package/dist-es/commands/CreateModelImportJobCommand.js +24 -0
- package/dist-es/commands/DeleteImportedModelCommand.js +24 -0
- package/dist-es/commands/GetImportedModelCommand.js +24 -0
- package/dist-es/commands/GetModelImportJobCommand.js +24 -0
- package/dist-es/commands/ListImportedModelsCommand.js +24 -0
- package/dist-es/commands/ListModelImportJobsCommand.js +24 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +91 -58
- package/dist-es/pagination/ListImportedModelsPaginator.js +4 -0
- package/dist-es/pagination/ListModelImportJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +250 -3
- package/dist-types/Bedrock.d.ts +51 -0
- package/dist-types/BedrockClient.d.ts +9 -2
- package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +92 -0
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +116 -0
- package/dist-types/commands/DeleteImportedModelCommand.d.ts +78 -0
- package/dist-types/commands/GetEvaluationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetImportedModelCommand.d.ts +86 -0
- package/dist-types/commands/GetModelImportJobCommand.d.ts +100 -0
- package/dist-types/commands/ListEvaluationJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListImportedModelsCommand.d.ts +87 -0
- package/dist-types/commands/ListModelImportJobsCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +696 -167
- package/dist-types/pagination/ListImportedModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/Bedrock.d.ts +121 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchDeleteEvaluationJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +193 -45
- package/dist-types/ts3.4/pagination/ListImportedModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListModelImportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +12 -12
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
BatchDeleteEvaluationJobCommandInput,
|
|
8
|
+
BatchDeleteEvaluationJobCommandOutput,
|
|
9
|
+
} from "../commands/BatchDeleteEvaluationJobCommand";
|
|
6
10
|
import {
|
|
7
11
|
CreateEvaluationJobCommandInput,
|
|
8
12
|
CreateEvaluationJobCommandOutput,
|
|
@@ -23,6 +27,10 @@ import {
|
|
|
23
27
|
CreateModelCustomizationJobCommandInput,
|
|
24
28
|
CreateModelCustomizationJobCommandOutput,
|
|
25
29
|
} from "../commands/CreateModelCustomizationJobCommand";
|
|
30
|
+
import {
|
|
31
|
+
CreateModelImportJobCommandInput,
|
|
32
|
+
CreateModelImportJobCommandOutput,
|
|
33
|
+
} from "../commands/CreateModelImportJobCommand";
|
|
26
34
|
import {
|
|
27
35
|
CreateModelInvocationJobCommandInput,
|
|
28
36
|
CreateModelInvocationJobCommandOutput,
|
|
@@ -39,6 +47,10 @@ import {
|
|
|
39
47
|
DeleteGuardrailCommandInput,
|
|
40
48
|
DeleteGuardrailCommandOutput,
|
|
41
49
|
} from "../commands/DeleteGuardrailCommand";
|
|
50
|
+
import {
|
|
51
|
+
DeleteImportedModelCommandInput,
|
|
52
|
+
DeleteImportedModelCommandOutput,
|
|
53
|
+
} from "../commands/DeleteImportedModelCommand";
|
|
42
54
|
import {
|
|
43
55
|
DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
44
56
|
DeleteModelInvocationLoggingConfigurationCommandOutput,
|
|
@@ -63,6 +75,10 @@ import {
|
|
|
63
75
|
GetGuardrailCommandInput,
|
|
64
76
|
GetGuardrailCommandOutput,
|
|
65
77
|
} from "../commands/GetGuardrailCommand";
|
|
78
|
+
import {
|
|
79
|
+
GetImportedModelCommandInput,
|
|
80
|
+
GetImportedModelCommandOutput,
|
|
81
|
+
} from "../commands/GetImportedModelCommand";
|
|
66
82
|
import {
|
|
67
83
|
GetModelCopyJobCommandInput,
|
|
68
84
|
GetModelCopyJobCommandOutput,
|
|
@@ -71,6 +87,10 @@ import {
|
|
|
71
87
|
GetModelCustomizationJobCommandInput,
|
|
72
88
|
GetModelCustomizationJobCommandOutput,
|
|
73
89
|
} from "../commands/GetModelCustomizationJobCommand";
|
|
90
|
+
import {
|
|
91
|
+
GetModelImportJobCommandInput,
|
|
92
|
+
GetModelImportJobCommandOutput,
|
|
93
|
+
} from "../commands/GetModelImportJobCommand";
|
|
74
94
|
import {
|
|
75
95
|
GetModelInvocationJobCommandInput,
|
|
76
96
|
GetModelInvocationJobCommandOutput,
|
|
@@ -99,6 +119,10 @@ import {
|
|
|
99
119
|
ListGuardrailsCommandInput,
|
|
100
120
|
ListGuardrailsCommandOutput,
|
|
101
121
|
} from "../commands/ListGuardrailsCommand";
|
|
122
|
+
import {
|
|
123
|
+
ListImportedModelsCommandInput,
|
|
124
|
+
ListImportedModelsCommandOutput,
|
|
125
|
+
} from "../commands/ListImportedModelsCommand";
|
|
102
126
|
import {
|
|
103
127
|
ListModelCopyJobsCommandInput,
|
|
104
128
|
ListModelCopyJobsCommandOutput,
|
|
@@ -107,6 +131,10 @@ import {
|
|
|
107
131
|
ListModelCustomizationJobsCommandInput,
|
|
108
132
|
ListModelCustomizationJobsCommandOutput,
|
|
109
133
|
} from "../commands/ListModelCustomizationJobsCommand";
|
|
134
|
+
import {
|
|
135
|
+
ListModelImportJobsCommandInput,
|
|
136
|
+
ListModelImportJobsCommandOutput,
|
|
137
|
+
} from "../commands/ListModelImportJobsCommand";
|
|
110
138
|
import {
|
|
111
139
|
ListModelInvocationJobsCommandInput,
|
|
112
140
|
ListModelInvocationJobsCommandOutput,
|
|
@@ -151,6 +179,10 @@ import {
|
|
|
151
179
|
UpdateProvisionedModelThroughputCommandInput,
|
|
152
180
|
UpdateProvisionedModelThroughputCommandOutput,
|
|
153
181
|
} from "../commands/UpdateProvisionedModelThroughputCommand";
|
|
182
|
+
export declare const se_BatchDeleteEvaluationJobCommand: (
|
|
183
|
+
input: BatchDeleteEvaluationJobCommandInput,
|
|
184
|
+
context: __SerdeContext
|
|
185
|
+
) => Promise<__HttpRequest>;
|
|
154
186
|
export declare const se_CreateEvaluationJobCommand: (
|
|
155
187
|
input: CreateEvaluationJobCommandInput,
|
|
156
188
|
context: __SerdeContext
|
|
@@ -171,6 +203,10 @@ export declare const se_CreateModelCustomizationJobCommand: (
|
|
|
171
203
|
input: CreateModelCustomizationJobCommandInput,
|
|
172
204
|
context: __SerdeContext
|
|
173
205
|
) => Promise<__HttpRequest>;
|
|
206
|
+
export declare const se_CreateModelImportJobCommand: (
|
|
207
|
+
input: CreateModelImportJobCommandInput,
|
|
208
|
+
context: __SerdeContext
|
|
209
|
+
) => Promise<__HttpRequest>;
|
|
174
210
|
export declare const se_CreateModelInvocationJobCommand: (
|
|
175
211
|
input: CreateModelInvocationJobCommandInput,
|
|
176
212
|
context: __SerdeContext
|
|
@@ -187,6 +223,10 @@ export declare const se_DeleteGuardrailCommand: (
|
|
|
187
223
|
input: DeleteGuardrailCommandInput,
|
|
188
224
|
context: __SerdeContext
|
|
189
225
|
) => Promise<__HttpRequest>;
|
|
226
|
+
export declare const se_DeleteImportedModelCommand: (
|
|
227
|
+
input: DeleteImportedModelCommandInput,
|
|
228
|
+
context: __SerdeContext
|
|
229
|
+
) => Promise<__HttpRequest>;
|
|
190
230
|
export declare const se_DeleteModelInvocationLoggingConfigurationCommand: (
|
|
191
231
|
input: DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
192
232
|
context: __SerdeContext
|
|
@@ -211,6 +251,10 @@ export declare const se_GetGuardrailCommand: (
|
|
|
211
251
|
input: GetGuardrailCommandInput,
|
|
212
252
|
context: __SerdeContext
|
|
213
253
|
) => Promise<__HttpRequest>;
|
|
254
|
+
export declare const se_GetImportedModelCommand: (
|
|
255
|
+
input: GetImportedModelCommandInput,
|
|
256
|
+
context: __SerdeContext
|
|
257
|
+
) => Promise<__HttpRequest>;
|
|
214
258
|
export declare const se_GetModelCopyJobCommand: (
|
|
215
259
|
input: GetModelCopyJobCommandInput,
|
|
216
260
|
context: __SerdeContext
|
|
@@ -219,6 +263,10 @@ export declare const se_GetModelCustomizationJobCommand: (
|
|
|
219
263
|
input: GetModelCustomizationJobCommandInput,
|
|
220
264
|
context: __SerdeContext
|
|
221
265
|
) => Promise<__HttpRequest>;
|
|
266
|
+
export declare const se_GetModelImportJobCommand: (
|
|
267
|
+
input: GetModelImportJobCommandInput,
|
|
268
|
+
context: __SerdeContext
|
|
269
|
+
) => Promise<__HttpRequest>;
|
|
222
270
|
export declare const se_GetModelInvocationJobCommand: (
|
|
223
271
|
input: GetModelInvocationJobCommandInput,
|
|
224
272
|
context: __SerdeContext
|
|
@@ -247,6 +295,10 @@ export declare const se_ListGuardrailsCommand: (
|
|
|
247
295
|
input: ListGuardrailsCommandInput,
|
|
248
296
|
context: __SerdeContext
|
|
249
297
|
) => Promise<__HttpRequest>;
|
|
298
|
+
export declare const se_ListImportedModelsCommand: (
|
|
299
|
+
input: ListImportedModelsCommandInput,
|
|
300
|
+
context: __SerdeContext
|
|
301
|
+
) => Promise<__HttpRequest>;
|
|
250
302
|
export declare const se_ListModelCopyJobsCommand: (
|
|
251
303
|
input: ListModelCopyJobsCommandInput,
|
|
252
304
|
context: __SerdeContext
|
|
@@ -255,6 +307,10 @@ export declare const se_ListModelCustomizationJobsCommand: (
|
|
|
255
307
|
input: ListModelCustomizationJobsCommandInput,
|
|
256
308
|
context: __SerdeContext
|
|
257
309
|
) => Promise<__HttpRequest>;
|
|
310
|
+
export declare const se_ListModelImportJobsCommand: (
|
|
311
|
+
input: ListModelImportJobsCommandInput,
|
|
312
|
+
context: __SerdeContext
|
|
313
|
+
) => Promise<__HttpRequest>;
|
|
258
314
|
export declare const se_ListModelInvocationJobsCommand: (
|
|
259
315
|
input: ListModelInvocationJobsCommandInput,
|
|
260
316
|
context: __SerdeContext
|
|
@@ -299,6 +355,10 @@ export declare const se_UpdateProvisionedModelThroughputCommand: (
|
|
|
299
355
|
input: UpdateProvisionedModelThroughputCommandInput,
|
|
300
356
|
context: __SerdeContext
|
|
301
357
|
) => Promise<__HttpRequest>;
|
|
358
|
+
export declare const de_BatchDeleteEvaluationJobCommand: (
|
|
359
|
+
output: __HttpResponse,
|
|
360
|
+
context: __SerdeContext
|
|
361
|
+
) => Promise<BatchDeleteEvaluationJobCommandOutput>;
|
|
302
362
|
export declare const de_CreateEvaluationJobCommand: (
|
|
303
363
|
output: __HttpResponse,
|
|
304
364
|
context: __SerdeContext
|
|
@@ -319,6 +379,10 @@ export declare const de_CreateModelCustomizationJobCommand: (
|
|
|
319
379
|
output: __HttpResponse,
|
|
320
380
|
context: __SerdeContext
|
|
321
381
|
) => Promise<CreateModelCustomizationJobCommandOutput>;
|
|
382
|
+
export declare const de_CreateModelImportJobCommand: (
|
|
383
|
+
output: __HttpResponse,
|
|
384
|
+
context: __SerdeContext
|
|
385
|
+
) => Promise<CreateModelImportJobCommandOutput>;
|
|
322
386
|
export declare const de_CreateModelInvocationJobCommand: (
|
|
323
387
|
output: __HttpResponse,
|
|
324
388
|
context: __SerdeContext
|
|
@@ -335,6 +399,10 @@ export declare const de_DeleteGuardrailCommand: (
|
|
|
335
399
|
output: __HttpResponse,
|
|
336
400
|
context: __SerdeContext
|
|
337
401
|
) => Promise<DeleteGuardrailCommandOutput>;
|
|
402
|
+
export declare const de_DeleteImportedModelCommand: (
|
|
403
|
+
output: __HttpResponse,
|
|
404
|
+
context: __SerdeContext
|
|
405
|
+
) => Promise<DeleteImportedModelCommandOutput>;
|
|
338
406
|
export declare const de_DeleteModelInvocationLoggingConfigurationCommand: (
|
|
339
407
|
output: __HttpResponse,
|
|
340
408
|
context: __SerdeContext
|
|
@@ -359,6 +427,10 @@ export declare const de_GetGuardrailCommand: (
|
|
|
359
427
|
output: __HttpResponse,
|
|
360
428
|
context: __SerdeContext
|
|
361
429
|
) => Promise<GetGuardrailCommandOutput>;
|
|
430
|
+
export declare const de_GetImportedModelCommand: (
|
|
431
|
+
output: __HttpResponse,
|
|
432
|
+
context: __SerdeContext
|
|
433
|
+
) => Promise<GetImportedModelCommandOutput>;
|
|
362
434
|
export declare const de_GetModelCopyJobCommand: (
|
|
363
435
|
output: __HttpResponse,
|
|
364
436
|
context: __SerdeContext
|
|
@@ -367,6 +439,10 @@ export declare const de_GetModelCustomizationJobCommand: (
|
|
|
367
439
|
output: __HttpResponse,
|
|
368
440
|
context: __SerdeContext
|
|
369
441
|
) => Promise<GetModelCustomizationJobCommandOutput>;
|
|
442
|
+
export declare const de_GetModelImportJobCommand: (
|
|
443
|
+
output: __HttpResponse,
|
|
444
|
+
context: __SerdeContext
|
|
445
|
+
) => Promise<GetModelImportJobCommandOutput>;
|
|
370
446
|
export declare const de_GetModelInvocationJobCommand: (
|
|
371
447
|
output: __HttpResponse,
|
|
372
448
|
context: __SerdeContext
|
|
@@ -395,6 +471,10 @@ export declare const de_ListGuardrailsCommand: (
|
|
|
395
471
|
output: __HttpResponse,
|
|
396
472
|
context: __SerdeContext
|
|
397
473
|
) => Promise<ListGuardrailsCommandOutput>;
|
|
474
|
+
export declare const de_ListImportedModelsCommand: (
|
|
475
|
+
output: __HttpResponse,
|
|
476
|
+
context: __SerdeContext
|
|
477
|
+
) => Promise<ListImportedModelsCommandOutput>;
|
|
398
478
|
export declare const de_ListModelCopyJobsCommand: (
|
|
399
479
|
output: __HttpResponse,
|
|
400
480
|
context: __SerdeContext
|
|
@@ -403,6 +483,10 @@ export declare const de_ListModelCustomizationJobsCommand: (
|
|
|
403
483
|
output: __HttpResponse,
|
|
404
484
|
context: __SerdeContext
|
|
405
485
|
) => Promise<ListModelCustomizationJobsCommandOutput>;
|
|
486
|
+
export declare const de_ListModelImportJobsCommand: (
|
|
487
|
+
output: __HttpResponse,
|
|
488
|
+
context: __SerdeContext
|
|
489
|
+
) => Promise<ListModelImportJobsCommandOutput>;
|
|
406
490
|
export declare const de_ListModelInvocationJobsCommand: (
|
|
407
491
|
output: __HttpResponse,
|
|
408
492
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.637.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-bedrock",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.637.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.637.0",
|
|
25
|
+
"@aws-sdk/core": "3.635.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.637.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.637.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.637.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
-
"@smithy/core": "^2.
|
|
37
|
+
"@smithy/core": "^2.4.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.2.4",
|
|
39
39
|
"@smithy/hash-node": "^3.0.3",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.5",
|
|
42
42
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.15",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.3",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.3",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.4",
|
|
47
47
|
"@smithy/node-http-handler": "^3.1.4",
|
|
48
48
|
"@smithy/protocol-http": "^4.1.0",
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
49
|
+
"@smithy/smithy-client": "^3.2.0",
|
|
50
50
|
"@smithy/types": "^3.3.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.3",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.15",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.15",
|
|
57
57
|
"@smithy/util-endpoints": "^2.0.5",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.3",
|
|
59
59
|
"@smithy/util-retry": "^3.0.3",
|