@aws-sdk/client-bedrock 3.1046.0 → 3.1047.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 +35 -0
- package/dist-cjs/index.js +91 -7
- package/dist-cjs/models/errors.js +14 -14
- package/dist-cjs/schemas/schemas_0.js +192 -46
- package/dist-es/Bedrock.js +12 -0
- package/dist-es/commands/BatchDeleteAdvancedPromptOptimizationJobCommand.js +16 -0
- package/dist-es/commands/CreateAdvancedPromptOptimizationJobCommand.js +16 -0
- package/dist-es/commands/GetAdvancedPromptOptimizationJobCommand.js +16 -0
- package/dist-es/commands/ListAdvancedPromptOptimizationJobsCommand.js +16 -0
- package/dist-es/commands/StopAdvancedPromptOptimizationJobCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +16 -7
- package/dist-es/models/errors.js +12 -12
- package/dist-es/pagination/ListAdvancedPromptOptimizationJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +180 -34
- package/dist-types/Bedrock.d.ts +43 -0
- package/dist-types/BedrockClient.d.ts +7 -2
- package/dist-types/commands/BatchDeleteAdvancedPromptOptimizationJobCommand.d.ts +102 -0
- package/dist-types/commands/CreateAdvancedPromptOptimizationJobCommand.d.ts +131 -0
- package/dist-types/commands/CreateGuardrailCommand.d.ts +1 -1
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +1 -1
- package/dist-types/commands/GetAdvancedPromptOptimizationJobCommand.d.ts +120 -0
- package/dist-types/commands/GetGuardrailCommand.d.ts +1 -2
- package/dist-types/commands/ListAdvancedPromptOptimizationJobsCommand.d.ts +100 -0
- package/dist-types/commands/StopAdvancedPromptOptimizationJobCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +40 -23
- package/dist-types/models/errors.d.ts +12 -12
- package/dist-types/models/models_0.d.ts +3481 -3544
- package/dist-types/models/models_1.d.ts +417 -2
- package/dist-types/pagination/ListAdvancedPromptOptimizationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +22 -0
- package/dist-types/ts3.4/Bedrock.d.ts +117 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchDeleteAdvancedPromptOptimizationJobCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateAdvancedPromptOptimizationJobCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAdvancedPromptOptimizationJobCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListAdvancedPromptOptimizationJobsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/StopAdvancedPromptOptimizationJobCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +20 -9
- package/dist-types/ts3.4/models/errors.d.ts +7 -7
- package/dist-types/ts3.4/models/models_0.d.ts +90 -107
- package/dist-types/ts3.4/models/models_1.d.ts +114 -7
- package/dist-types/ts3.4/pagination/ListAdvancedPromptOptimizationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
- package/package.json +6 -6
|
@@ -4,6 +4,10 @@ import {
|
|
|
4
4
|
Paginator,
|
|
5
5
|
} from "@smithy/types";
|
|
6
6
|
import { BedrockClient } from "./BedrockClient";
|
|
7
|
+
import {
|
|
8
|
+
BatchDeleteAdvancedPromptOptimizationJobCommandInput,
|
|
9
|
+
BatchDeleteAdvancedPromptOptimizationJobCommandOutput,
|
|
10
|
+
} from "./commands/BatchDeleteAdvancedPromptOptimizationJobCommand";
|
|
7
11
|
import {
|
|
8
12
|
BatchDeleteEvaluationJobCommandInput,
|
|
9
13
|
BatchDeleteEvaluationJobCommandOutput,
|
|
@@ -12,6 +16,10 @@ import {
|
|
|
12
16
|
CancelAutomatedReasoningPolicyBuildWorkflowCommandInput,
|
|
13
17
|
CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput,
|
|
14
18
|
} from "./commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
19
|
+
import {
|
|
20
|
+
CreateAdvancedPromptOptimizationJobCommandInput,
|
|
21
|
+
CreateAdvancedPromptOptimizationJobCommandOutput,
|
|
22
|
+
} from "./commands/CreateAdvancedPromptOptimizationJobCommand";
|
|
15
23
|
import {
|
|
16
24
|
CreateAutomatedReasoningPolicyCommandInput,
|
|
17
25
|
CreateAutomatedReasoningPolicyCommandOutput,
|
|
@@ -148,6 +156,10 @@ import {
|
|
|
148
156
|
ExportAutomatedReasoningPolicyVersionCommandInput,
|
|
149
157
|
ExportAutomatedReasoningPolicyVersionCommandOutput,
|
|
150
158
|
} from "./commands/ExportAutomatedReasoningPolicyVersionCommand";
|
|
159
|
+
import {
|
|
160
|
+
GetAdvancedPromptOptimizationJobCommandInput,
|
|
161
|
+
GetAdvancedPromptOptimizationJobCommandOutput,
|
|
162
|
+
} from "./commands/GetAdvancedPromptOptimizationJobCommand";
|
|
151
163
|
import {
|
|
152
164
|
GetAutomatedReasoningPolicyAnnotationsCommandInput,
|
|
153
165
|
GetAutomatedReasoningPolicyAnnotationsCommandOutput,
|
|
@@ -248,6 +260,10 @@ import {
|
|
|
248
260
|
GetUseCaseForModelAccessCommandInput,
|
|
249
261
|
GetUseCaseForModelAccessCommandOutput,
|
|
250
262
|
} from "./commands/GetUseCaseForModelAccessCommand";
|
|
263
|
+
import {
|
|
264
|
+
ListAdvancedPromptOptimizationJobsCommandInput,
|
|
265
|
+
ListAdvancedPromptOptimizationJobsCommandOutput,
|
|
266
|
+
} from "./commands/ListAdvancedPromptOptimizationJobsCommand";
|
|
251
267
|
import {
|
|
252
268
|
ListAutomatedReasoningPoliciesCommandInput,
|
|
253
269
|
ListAutomatedReasoningPoliciesCommandOutput,
|
|
@@ -360,6 +376,10 @@ import {
|
|
|
360
376
|
StartAutomatedReasoningPolicyTestWorkflowCommandInput,
|
|
361
377
|
StartAutomatedReasoningPolicyTestWorkflowCommandOutput,
|
|
362
378
|
} from "./commands/StartAutomatedReasoningPolicyTestWorkflowCommand";
|
|
379
|
+
import {
|
|
380
|
+
StopAdvancedPromptOptimizationJobCommandInput,
|
|
381
|
+
StopAdvancedPromptOptimizationJobCommandOutput,
|
|
382
|
+
} from "./commands/StopAdvancedPromptOptimizationJobCommand";
|
|
363
383
|
import {
|
|
364
384
|
StopEvaluationJobCommandInput,
|
|
365
385
|
StopEvaluationJobCommandOutput,
|
|
@@ -409,6 +429,25 @@ import {
|
|
|
409
429
|
UpdateProvisionedModelThroughputCommandOutput,
|
|
410
430
|
} from "./commands/UpdateProvisionedModelThroughputCommand";
|
|
411
431
|
export interface Bedrock {
|
|
432
|
+
batchDeleteAdvancedPromptOptimizationJob(
|
|
433
|
+
args: BatchDeleteAdvancedPromptOptimizationJobCommandInput,
|
|
434
|
+
options?: __HttpHandlerOptions
|
|
435
|
+
): Promise<BatchDeleteAdvancedPromptOptimizationJobCommandOutput>;
|
|
436
|
+
batchDeleteAdvancedPromptOptimizationJob(
|
|
437
|
+
args: BatchDeleteAdvancedPromptOptimizationJobCommandInput,
|
|
438
|
+
cb: (
|
|
439
|
+
err: any,
|
|
440
|
+
data?: BatchDeleteAdvancedPromptOptimizationJobCommandOutput
|
|
441
|
+
) => void
|
|
442
|
+
): void;
|
|
443
|
+
batchDeleteAdvancedPromptOptimizationJob(
|
|
444
|
+
args: BatchDeleteAdvancedPromptOptimizationJobCommandInput,
|
|
445
|
+
options: __HttpHandlerOptions,
|
|
446
|
+
cb: (
|
|
447
|
+
err: any,
|
|
448
|
+
data?: BatchDeleteAdvancedPromptOptimizationJobCommandOutput
|
|
449
|
+
) => void
|
|
450
|
+
): void;
|
|
412
451
|
batchDeleteEvaluationJob(
|
|
413
452
|
args: BatchDeleteEvaluationJobCommandInput,
|
|
414
453
|
options?: __HttpHandlerOptions
|
|
@@ -441,6 +480,25 @@ export interface Bedrock {
|
|
|
441
480
|
data?: CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput
|
|
442
481
|
) => void
|
|
443
482
|
): void;
|
|
483
|
+
createAdvancedPromptOptimizationJob(
|
|
484
|
+
args: CreateAdvancedPromptOptimizationJobCommandInput,
|
|
485
|
+
options?: __HttpHandlerOptions
|
|
486
|
+
): Promise<CreateAdvancedPromptOptimizationJobCommandOutput>;
|
|
487
|
+
createAdvancedPromptOptimizationJob(
|
|
488
|
+
args: CreateAdvancedPromptOptimizationJobCommandInput,
|
|
489
|
+
cb: (
|
|
490
|
+
err: any,
|
|
491
|
+
data?: CreateAdvancedPromptOptimizationJobCommandOutput
|
|
492
|
+
) => void
|
|
493
|
+
): void;
|
|
494
|
+
createAdvancedPromptOptimizationJob(
|
|
495
|
+
args: CreateAdvancedPromptOptimizationJobCommandInput,
|
|
496
|
+
options: __HttpHandlerOptions,
|
|
497
|
+
cb: (
|
|
498
|
+
err: any,
|
|
499
|
+
data?: CreateAdvancedPromptOptimizationJobCommandOutput
|
|
500
|
+
) => void
|
|
501
|
+
): void;
|
|
444
502
|
createAutomatedReasoningPolicy(
|
|
445
503
|
args: CreateAutomatedReasoningPolicyCommandInput,
|
|
446
504
|
options?: __HttpHandlerOptions
|
|
@@ -932,6 +990,19 @@ export interface Bedrock {
|
|
|
932
990
|
data?: ExportAutomatedReasoningPolicyVersionCommandOutput
|
|
933
991
|
) => void
|
|
934
992
|
): void;
|
|
993
|
+
getAdvancedPromptOptimizationJob(
|
|
994
|
+
args: GetAdvancedPromptOptimizationJobCommandInput,
|
|
995
|
+
options?: __HttpHandlerOptions
|
|
996
|
+
): Promise<GetAdvancedPromptOptimizationJobCommandOutput>;
|
|
997
|
+
getAdvancedPromptOptimizationJob(
|
|
998
|
+
args: GetAdvancedPromptOptimizationJobCommandInput,
|
|
999
|
+
cb: (err: any, data?: GetAdvancedPromptOptimizationJobCommandOutput) => void
|
|
1000
|
+
): void;
|
|
1001
|
+
getAdvancedPromptOptimizationJob(
|
|
1002
|
+
args: GetAdvancedPromptOptimizationJobCommandInput,
|
|
1003
|
+
options: __HttpHandlerOptions,
|
|
1004
|
+
cb: (err: any, data?: GetAdvancedPromptOptimizationJobCommandOutput) => void
|
|
1005
|
+
): void;
|
|
935
1006
|
getAutomatedReasoningPolicy(
|
|
936
1007
|
args: GetAutomatedReasoningPolicyCommandInput,
|
|
937
1008
|
options?: __HttpHandlerOptions
|
|
@@ -1301,6 +1372,26 @@ export interface Bedrock {
|
|
|
1301
1372
|
options: __HttpHandlerOptions,
|
|
1302
1373
|
cb: (err: any, data?: GetUseCaseForModelAccessCommandOutput) => void
|
|
1303
1374
|
): void;
|
|
1375
|
+
listAdvancedPromptOptimizationJobs(): Promise<ListAdvancedPromptOptimizationJobsCommandOutput>;
|
|
1376
|
+
listAdvancedPromptOptimizationJobs(
|
|
1377
|
+
args: ListAdvancedPromptOptimizationJobsCommandInput,
|
|
1378
|
+
options?: __HttpHandlerOptions
|
|
1379
|
+
): Promise<ListAdvancedPromptOptimizationJobsCommandOutput>;
|
|
1380
|
+
listAdvancedPromptOptimizationJobs(
|
|
1381
|
+
args: ListAdvancedPromptOptimizationJobsCommandInput,
|
|
1382
|
+
cb: (
|
|
1383
|
+
err: any,
|
|
1384
|
+
data?: ListAdvancedPromptOptimizationJobsCommandOutput
|
|
1385
|
+
) => void
|
|
1386
|
+
): void;
|
|
1387
|
+
listAdvancedPromptOptimizationJobs(
|
|
1388
|
+
args: ListAdvancedPromptOptimizationJobsCommandInput,
|
|
1389
|
+
options: __HttpHandlerOptions,
|
|
1390
|
+
cb: (
|
|
1391
|
+
err: any,
|
|
1392
|
+
data?: ListAdvancedPromptOptimizationJobsCommandOutput
|
|
1393
|
+
) => void
|
|
1394
|
+
): void;
|
|
1304
1395
|
listAutomatedReasoningPolicies(): Promise<ListAutomatedReasoningPoliciesCommandOutput>;
|
|
1305
1396
|
listAutomatedReasoningPolicies(
|
|
1306
1397
|
args: ListAutomatedReasoningPoliciesCommandInput,
|
|
@@ -1735,6 +1826,25 @@ export interface Bedrock {
|
|
|
1735
1826
|
data?: StartAutomatedReasoningPolicyTestWorkflowCommandOutput
|
|
1736
1827
|
) => void
|
|
1737
1828
|
): void;
|
|
1829
|
+
stopAdvancedPromptOptimizationJob(
|
|
1830
|
+
args: StopAdvancedPromptOptimizationJobCommandInput,
|
|
1831
|
+
options?: __HttpHandlerOptions
|
|
1832
|
+
): Promise<StopAdvancedPromptOptimizationJobCommandOutput>;
|
|
1833
|
+
stopAdvancedPromptOptimizationJob(
|
|
1834
|
+
args: StopAdvancedPromptOptimizationJobCommandInput,
|
|
1835
|
+
cb: (
|
|
1836
|
+
err: any,
|
|
1837
|
+
data?: StopAdvancedPromptOptimizationJobCommandOutput
|
|
1838
|
+
) => void
|
|
1839
|
+
): void;
|
|
1840
|
+
stopAdvancedPromptOptimizationJob(
|
|
1841
|
+
args: StopAdvancedPromptOptimizationJobCommandInput,
|
|
1842
|
+
options: __HttpHandlerOptions,
|
|
1843
|
+
cb: (
|
|
1844
|
+
err: any,
|
|
1845
|
+
data?: StopAdvancedPromptOptimizationJobCommandOutput
|
|
1846
|
+
) => void
|
|
1847
|
+
): void;
|
|
1738
1848
|
stopEvaluationJob(
|
|
1739
1849
|
args: StopEvaluationJobCommandInput,
|
|
1740
1850
|
options?: __HttpHandlerOptions
|
|
@@ -1903,6 +2013,13 @@ export interface Bedrock {
|
|
|
1903
2013
|
options: __HttpHandlerOptions,
|
|
1904
2014
|
cb: (err: any, data?: UpdateProvisionedModelThroughputCommandOutput) => void
|
|
1905
2015
|
): void;
|
|
2016
|
+
paginateListAdvancedPromptOptimizationJobs(
|
|
2017
|
+
args?: ListAdvancedPromptOptimizationJobsCommandInput,
|
|
2018
|
+
paginationConfig?: Pick<
|
|
2019
|
+
PaginationConfiguration,
|
|
2020
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
2021
|
+
>
|
|
2022
|
+
): Paginator<ListAdvancedPromptOptimizationJobsCommandOutput>;
|
|
1906
2023
|
paginateListAutomatedReasoningPolicies(
|
|
1907
2024
|
args?: ListAutomatedReasoningPoliciesCommandInput,
|
|
1908
2025
|
paginationConfig?: Pick<
|
|
@@ -38,6 +38,10 @@ import {
|
|
|
38
38
|
HttpAuthSchemeInputConfig,
|
|
39
39
|
HttpAuthSchemeResolvedConfig,
|
|
40
40
|
} from "./auth/httpAuthSchemeProvider";
|
|
41
|
+
import {
|
|
42
|
+
BatchDeleteAdvancedPromptOptimizationJobCommandInput,
|
|
43
|
+
BatchDeleteAdvancedPromptOptimizationJobCommandOutput,
|
|
44
|
+
} from "./commands/BatchDeleteAdvancedPromptOptimizationJobCommand";
|
|
41
45
|
import {
|
|
42
46
|
BatchDeleteEvaluationJobCommandInput,
|
|
43
47
|
BatchDeleteEvaluationJobCommandOutput,
|
|
@@ -46,6 +50,10 @@ import {
|
|
|
46
50
|
CancelAutomatedReasoningPolicyBuildWorkflowCommandInput,
|
|
47
51
|
CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput,
|
|
48
52
|
} from "./commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
53
|
+
import {
|
|
54
|
+
CreateAdvancedPromptOptimizationJobCommandInput,
|
|
55
|
+
CreateAdvancedPromptOptimizationJobCommandOutput,
|
|
56
|
+
} from "./commands/CreateAdvancedPromptOptimizationJobCommand";
|
|
49
57
|
import {
|
|
50
58
|
CreateAutomatedReasoningPolicyCommandInput,
|
|
51
59
|
CreateAutomatedReasoningPolicyCommandOutput,
|
|
@@ -182,6 +190,10 @@ import {
|
|
|
182
190
|
ExportAutomatedReasoningPolicyVersionCommandInput,
|
|
183
191
|
ExportAutomatedReasoningPolicyVersionCommandOutput,
|
|
184
192
|
} from "./commands/ExportAutomatedReasoningPolicyVersionCommand";
|
|
193
|
+
import {
|
|
194
|
+
GetAdvancedPromptOptimizationJobCommandInput,
|
|
195
|
+
GetAdvancedPromptOptimizationJobCommandOutput,
|
|
196
|
+
} from "./commands/GetAdvancedPromptOptimizationJobCommand";
|
|
185
197
|
import {
|
|
186
198
|
GetAutomatedReasoningPolicyAnnotationsCommandInput,
|
|
187
199
|
GetAutomatedReasoningPolicyAnnotationsCommandOutput,
|
|
@@ -282,6 +294,10 @@ import {
|
|
|
282
294
|
GetUseCaseForModelAccessCommandInput,
|
|
283
295
|
GetUseCaseForModelAccessCommandOutput,
|
|
284
296
|
} from "./commands/GetUseCaseForModelAccessCommand";
|
|
297
|
+
import {
|
|
298
|
+
ListAdvancedPromptOptimizationJobsCommandInput,
|
|
299
|
+
ListAdvancedPromptOptimizationJobsCommandOutput,
|
|
300
|
+
} from "./commands/ListAdvancedPromptOptimizationJobsCommand";
|
|
285
301
|
import {
|
|
286
302
|
ListAutomatedReasoningPoliciesCommandInput,
|
|
287
303
|
ListAutomatedReasoningPoliciesCommandOutput,
|
|
@@ -394,6 +410,10 @@ import {
|
|
|
394
410
|
StartAutomatedReasoningPolicyTestWorkflowCommandInput,
|
|
395
411
|
StartAutomatedReasoningPolicyTestWorkflowCommandOutput,
|
|
396
412
|
} from "./commands/StartAutomatedReasoningPolicyTestWorkflowCommand";
|
|
413
|
+
import {
|
|
414
|
+
StopAdvancedPromptOptimizationJobCommandInput,
|
|
415
|
+
StopAdvancedPromptOptimizationJobCommandOutput,
|
|
416
|
+
} from "./commands/StopAdvancedPromptOptimizationJobCommand";
|
|
397
417
|
import {
|
|
398
418
|
StopEvaluationJobCommandInput,
|
|
399
419
|
StopEvaluationJobCommandOutput,
|
|
@@ -450,8 +470,10 @@ import {
|
|
|
450
470
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
451
471
|
export { __Client };
|
|
452
472
|
export type ServiceInputTypes =
|
|
473
|
+
| BatchDeleteAdvancedPromptOptimizationJobCommandInput
|
|
453
474
|
| BatchDeleteEvaluationJobCommandInput
|
|
454
475
|
| CancelAutomatedReasoningPolicyBuildWorkflowCommandInput
|
|
476
|
+
| CreateAdvancedPromptOptimizationJobCommandInput
|
|
455
477
|
| CreateAutomatedReasoningPolicyCommandInput
|
|
456
478
|
| CreateAutomatedReasoningPolicyTestCaseCommandInput
|
|
457
479
|
| CreateAutomatedReasoningPolicyVersionCommandInput
|
|
@@ -486,6 +508,7 @@ export type ServiceInputTypes =
|
|
|
486
508
|
| DeleteResourcePolicyCommandInput
|
|
487
509
|
| DeregisterMarketplaceModelEndpointCommandInput
|
|
488
510
|
| ExportAutomatedReasoningPolicyVersionCommandInput
|
|
511
|
+
| GetAdvancedPromptOptimizationJobCommandInput
|
|
489
512
|
| GetAutomatedReasoningPolicyAnnotationsCommandInput
|
|
490
513
|
| GetAutomatedReasoningPolicyBuildWorkflowCommandInput
|
|
491
514
|
| GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandInput
|
|
@@ -511,6 +534,7 @@ export type ServiceInputTypes =
|
|
|
511
534
|
| GetProvisionedModelThroughputCommandInput
|
|
512
535
|
| GetResourcePolicyCommandInput
|
|
513
536
|
| GetUseCaseForModelAccessCommandInput
|
|
537
|
+
| ListAdvancedPromptOptimizationJobsCommandInput
|
|
514
538
|
| ListAutomatedReasoningPoliciesCommandInput
|
|
515
539
|
| ListAutomatedReasoningPolicyBuildWorkflowsCommandInput
|
|
516
540
|
| ListAutomatedReasoningPolicyTestCasesCommandInput
|
|
@@ -539,6 +563,7 @@ export type ServiceInputTypes =
|
|
|
539
563
|
| RegisterMarketplaceModelEndpointCommandInput
|
|
540
564
|
| StartAutomatedReasoningPolicyBuildWorkflowCommandInput
|
|
541
565
|
| StartAutomatedReasoningPolicyTestWorkflowCommandInput
|
|
566
|
+
| StopAdvancedPromptOptimizationJobCommandInput
|
|
542
567
|
| StopEvaluationJobCommandInput
|
|
543
568
|
| StopModelCustomizationJobCommandInput
|
|
544
569
|
| StopModelInvocationJobCommandInput
|
|
@@ -552,8 +577,10 @@ export type ServiceInputTypes =
|
|
|
552
577
|
| UpdateMarketplaceModelEndpointCommandInput
|
|
553
578
|
| UpdateProvisionedModelThroughputCommandInput;
|
|
554
579
|
export type ServiceOutputTypes =
|
|
580
|
+
| BatchDeleteAdvancedPromptOptimizationJobCommandOutput
|
|
555
581
|
| BatchDeleteEvaluationJobCommandOutput
|
|
556
582
|
| CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput
|
|
583
|
+
| CreateAdvancedPromptOptimizationJobCommandOutput
|
|
557
584
|
| CreateAutomatedReasoningPolicyCommandOutput
|
|
558
585
|
| CreateAutomatedReasoningPolicyTestCaseCommandOutput
|
|
559
586
|
| CreateAutomatedReasoningPolicyVersionCommandOutput
|
|
@@ -588,6 +615,7 @@ export type ServiceOutputTypes =
|
|
|
588
615
|
| DeleteResourcePolicyCommandOutput
|
|
589
616
|
| DeregisterMarketplaceModelEndpointCommandOutput
|
|
590
617
|
| ExportAutomatedReasoningPolicyVersionCommandOutput
|
|
618
|
+
| GetAdvancedPromptOptimizationJobCommandOutput
|
|
591
619
|
| GetAutomatedReasoningPolicyAnnotationsCommandOutput
|
|
592
620
|
| GetAutomatedReasoningPolicyBuildWorkflowCommandOutput
|
|
593
621
|
| GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandOutput
|
|
@@ -613,6 +641,7 @@ export type ServiceOutputTypes =
|
|
|
613
641
|
| GetProvisionedModelThroughputCommandOutput
|
|
614
642
|
| GetResourcePolicyCommandOutput
|
|
615
643
|
| GetUseCaseForModelAccessCommandOutput
|
|
644
|
+
| ListAdvancedPromptOptimizationJobsCommandOutput
|
|
616
645
|
| ListAutomatedReasoningPoliciesCommandOutput
|
|
617
646
|
| ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput
|
|
618
647
|
| ListAutomatedReasoningPolicyTestCasesCommandOutput
|
|
@@ -641,6 +670,7 @@ export type ServiceOutputTypes =
|
|
|
641
670
|
| RegisterMarketplaceModelEndpointCommandOutput
|
|
642
671
|
| StartAutomatedReasoningPolicyBuildWorkflowCommandOutput
|
|
643
672
|
| StartAutomatedReasoningPolicyTestWorkflowCommandOutput
|
|
673
|
+
| StopAdvancedPromptOptimizationJobCommandOutput
|
|
644
674
|
| StopEvaluationJobCommandOutput
|
|
645
675
|
| StopModelCustomizationJobCommandOutput
|
|
646
676
|
| StopModelInvocationJobCommandOutput
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
BatchDeleteAdvancedPromptOptimizationJobRequest,
|
|
10
|
+
BatchDeleteAdvancedPromptOptimizationJobResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface BatchDeleteAdvancedPromptOptimizationJobCommandInput
|
|
15
|
+
extends BatchDeleteAdvancedPromptOptimizationJobRequest {}
|
|
16
|
+
export interface BatchDeleteAdvancedPromptOptimizationJobCommandOutput
|
|
17
|
+
extends BatchDeleteAdvancedPromptOptimizationJobResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const BatchDeleteAdvancedPromptOptimizationJobCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: BatchDeleteAdvancedPromptOptimizationJobCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
BatchDeleteAdvancedPromptOptimizationJobCommandInput,
|
|
24
|
+
BatchDeleteAdvancedPromptOptimizationJobCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: BatchDeleteAdvancedPromptOptimizationJobCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
BatchDeleteAdvancedPromptOptimizationJobCommandInput,
|
|
33
|
+
BatchDeleteAdvancedPromptOptimizationJobCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class BatchDeleteAdvancedPromptOptimizationJobCommand extends BatchDeleteAdvancedPromptOptimizationJobCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: BatchDeleteAdvancedPromptOptimizationJobRequest;
|
|
46
|
+
output: BatchDeleteAdvancedPromptOptimizationJobResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: BatchDeleteAdvancedPromptOptimizationJobCommandInput;
|
|
50
|
+
output: BatchDeleteAdvancedPromptOptimizationJobCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
CreateAdvancedPromptOptimizationJobRequest,
|
|
10
|
+
CreateAdvancedPromptOptimizationJobResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateAdvancedPromptOptimizationJobCommandInput
|
|
15
|
+
extends CreateAdvancedPromptOptimizationJobRequest {}
|
|
16
|
+
export interface CreateAdvancedPromptOptimizationJobCommandOutput
|
|
17
|
+
extends CreateAdvancedPromptOptimizationJobResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateAdvancedPromptOptimizationJobCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateAdvancedPromptOptimizationJobCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
CreateAdvancedPromptOptimizationJobCommandInput,
|
|
24
|
+
CreateAdvancedPromptOptimizationJobCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: CreateAdvancedPromptOptimizationJobCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
CreateAdvancedPromptOptimizationJobCommandInput,
|
|
33
|
+
CreateAdvancedPromptOptimizationJobCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class CreateAdvancedPromptOptimizationJobCommand extends CreateAdvancedPromptOptimizationJobCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: CreateAdvancedPromptOptimizationJobRequest;
|
|
46
|
+
output: CreateAdvancedPromptOptimizationJobResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: CreateAdvancedPromptOptimizationJobCommandInput;
|
|
50
|
+
output: CreateAdvancedPromptOptimizationJobCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
CreateGuardrailRequest,
|
|
10
10
|
CreateGuardrailResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface CreateGuardrailCommandInput extends CreateGuardrailRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
DeleteGuardrailRequest,
|
|
10
10
|
DeleteGuardrailResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface DeleteGuardrailCommandInput extends DeleteGuardrailRequest {}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
GetAdvancedPromptOptimizationJobRequest,
|
|
10
|
+
GetAdvancedPromptOptimizationJobResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetAdvancedPromptOptimizationJobCommandInput
|
|
15
|
+
extends GetAdvancedPromptOptimizationJobRequest {}
|
|
16
|
+
export interface GetAdvancedPromptOptimizationJobCommandOutput
|
|
17
|
+
extends GetAdvancedPromptOptimizationJobResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetAdvancedPromptOptimizationJobCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetAdvancedPromptOptimizationJobCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
GetAdvancedPromptOptimizationJobCommandInput,
|
|
24
|
+
GetAdvancedPromptOptimizationJobCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetAdvancedPromptOptimizationJobCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
GetAdvancedPromptOptimizationJobCommandInput,
|
|
33
|
+
GetAdvancedPromptOptimizationJobCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class GetAdvancedPromptOptimizationJobCommand extends GetAdvancedPromptOptimizationJobCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: GetAdvancedPromptOptimizationJobRequest;
|
|
46
|
+
output: GetAdvancedPromptOptimizationJobResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: GetAdvancedPromptOptimizationJobCommandInput;
|
|
50
|
+
output: GetAdvancedPromptOptimizationJobCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -5,8 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockClient";
|
|
8
|
-
import { GetGuardrailRequest } from "../models/
|
|
9
|
-
import { GetGuardrailResponse } from "../models/models_1";
|
|
8
|
+
import { GetGuardrailRequest, GetGuardrailResponse } from "../models/models_1";
|
|
10
9
|
export { __MetadataBearer };
|
|
11
10
|
export { $Command };
|
|
12
11
|
export interface GetGuardrailCommandInput extends GetGuardrailRequest {}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
ListAdvancedPromptOptimizationJobsRequest,
|
|
10
|
+
ListAdvancedPromptOptimizationJobsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListAdvancedPromptOptimizationJobsCommandInput
|
|
15
|
+
extends ListAdvancedPromptOptimizationJobsRequest {}
|
|
16
|
+
export interface ListAdvancedPromptOptimizationJobsCommandOutput
|
|
17
|
+
extends ListAdvancedPromptOptimizationJobsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListAdvancedPromptOptimizationJobsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListAdvancedPromptOptimizationJobsCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ListAdvancedPromptOptimizationJobsCommandInput,
|
|
24
|
+
ListAdvancedPromptOptimizationJobsCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [ListAdvancedPromptOptimizationJobsCommandInput]
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
ListAdvancedPromptOptimizationJobsCommandInput,
|
|
33
|
+
ListAdvancedPromptOptimizationJobsCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class ListAdvancedPromptOptimizationJobsCommand extends ListAdvancedPromptOptimizationJobsCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: ListAdvancedPromptOptimizationJobsRequest;
|
|
46
|
+
output: ListAdvancedPromptOptimizationJobsResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: ListAdvancedPromptOptimizationJobsCommandInput;
|
|
50
|
+
output: ListAdvancedPromptOptimizationJobsCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
StopAdvancedPromptOptimizationJobRequest,
|
|
10
|
+
StopAdvancedPromptOptimizationJobResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface StopAdvancedPromptOptimizationJobCommandInput
|
|
15
|
+
extends StopAdvancedPromptOptimizationJobRequest {}
|
|
16
|
+
export interface StopAdvancedPromptOptimizationJobCommandOutput
|
|
17
|
+
extends StopAdvancedPromptOptimizationJobResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const StopAdvancedPromptOptimizationJobCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: StopAdvancedPromptOptimizationJobCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
StopAdvancedPromptOptimizationJobCommandInput,
|
|
24
|
+
StopAdvancedPromptOptimizationJobCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: StopAdvancedPromptOptimizationJobCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
StopAdvancedPromptOptimizationJobCommandInput,
|
|
33
|
+
StopAdvancedPromptOptimizationJobCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class StopAdvancedPromptOptimizationJobCommand extends StopAdvancedPromptOptimizationJobCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: StopAdvancedPromptOptimizationJobRequest;
|
|
46
|
+
output: {};
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: StopAdvancedPromptOptimizationJobCommandInput;
|
|
50
|
+
output: StopAdvancedPromptOptimizationJobCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export * from "./BatchDeleteAdvancedPromptOptimizationJobCommand";
|
|
1
2
|
export * from "./BatchDeleteEvaluationJobCommand";
|
|
2
3
|
export * from "./CancelAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
4
|
+
export * from "./CreateAdvancedPromptOptimizationJobCommand";
|
|
3
5
|
export * from "./CreateAutomatedReasoningPolicyCommand";
|
|
4
6
|
export * from "./CreateAutomatedReasoningPolicyTestCaseCommand";
|
|
5
7
|
export * from "./CreateAutomatedReasoningPolicyVersionCommand";
|
|
@@ -34,6 +36,7 @@ export * from "./DeleteProvisionedModelThroughputCommand";
|
|
|
34
36
|
export * from "./DeleteResourcePolicyCommand";
|
|
35
37
|
export * from "./DeregisterMarketplaceModelEndpointCommand";
|
|
36
38
|
export * from "./ExportAutomatedReasoningPolicyVersionCommand";
|
|
39
|
+
export * from "./GetAdvancedPromptOptimizationJobCommand";
|
|
37
40
|
export * from "./GetAutomatedReasoningPolicyAnnotationsCommand";
|
|
38
41
|
export * from "./GetAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
39
42
|
export * from "./GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand";
|
|
@@ -59,6 +62,7 @@ export * from "./GetPromptRouterCommand";
|
|
|
59
62
|
export * from "./GetProvisionedModelThroughputCommand";
|
|
60
63
|
export * from "./GetResourcePolicyCommand";
|
|
61
64
|
export * from "./GetUseCaseForModelAccessCommand";
|
|
65
|
+
export * from "./ListAdvancedPromptOptimizationJobsCommand";
|
|
62
66
|
export * from "./ListAutomatedReasoningPoliciesCommand";
|
|
63
67
|
export * from "./ListAutomatedReasoningPolicyBuildWorkflowsCommand";
|
|
64
68
|
export * from "./ListAutomatedReasoningPolicyTestCasesCommand";
|
|
@@ -87,6 +91,7 @@ export * from "./PutUseCaseForModelAccessCommand";
|
|
|
87
91
|
export * from "./RegisterMarketplaceModelEndpointCommand";
|
|
88
92
|
export * from "./StartAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
89
93
|
export * from "./StartAutomatedReasoningPolicyTestWorkflowCommand";
|
|
94
|
+
export * from "./StopAdvancedPromptOptimizationJobCommand";
|
|
90
95
|
export * from "./StopEvaluationJobCommand";
|
|
91
96
|
export * from "./StopModelCustomizationJobCommand";
|
|
92
97
|
export * from "./StopModelInvocationJobCommand";
|