@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
package/README.md
CHANGED
|
@@ -179,6 +179,13 @@ see LICENSE for more information.
|
|
|
179
179
|
|
|
180
180
|
## Client Commands (Operations List)
|
|
181
181
|
|
|
182
|
+
<details>
|
|
183
|
+
<summary>
|
|
184
|
+
BatchDeleteAdvancedPromptOptimizationJob
|
|
185
|
+
</summary>
|
|
186
|
+
|
|
187
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/BatchDeleteAdvancedPromptOptimizationJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/BatchDeleteAdvancedPromptOptimizationJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/BatchDeleteAdvancedPromptOptimizationJobCommandOutput/)
|
|
188
|
+
</details>
|
|
182
189
|
<details>
|
|
183
190
|
<summary>
|
|
184
191
|
BatchDeleteEvaluationJob
|
|
@@ -195,6 +202,13 @@ CancelAutomatedReasoningPolicyBuildWorkflow
|
|
|
195
202
|
</details>
|
|
196
203
|
<details>
|
|
197
204
|
<summary>
|
|
205
|
+
CreateAdvancedPromptOptimizationJob
|
|
206
|
+
</summary>
|
|
207
|
+
|
|
208
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/CreateAdvancedPromptOptimizationJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateAdvancedPromptOptimizationJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateAdvancedPromptOptimizationJobCommandOutput/)
|
|
209
|
+
</details>
|
|
210
|
+
<details>
|
|
211
|
+
<summary>
|
|
198
212
|
CreateAutomatedReasoningPolicy
|
|
199
213
|
</summary>
|
|
200
214
|
|
|
@@ -433,6 +447,13 @@ ExportAutomatedReasoningPolicyVersion
|
|
|
433
447
|
</details>
|
|
434
448
|
<details>
|
|
435
449
|
<summary>
|
|
450
|
+
GetAdvancedPromptOptimizationJob
|
|
451
|
+
</summary>
|
|
452
|
+
|
|
453
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/GetAdvancedPromptOptimizationJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetAdvancedPromptOptimizationJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetAdvancedPromptOptimizationJobCommandOutput/)
|
|
454
|
+
</details>
|
|
455
|
+
<details>
|
|
456
|
+
<summary>
|
|
436
457
|
GetAutomatedReasoningPolicy
|
|
437
458
|
</summary>
|
|
438
459
|
|
|
@@ -608,6 +629,13 @@ GetUseCaseForModelAccess
|
|
|
608
629
|
</details>
|
|
609
630
|
<details>
|
|
610
631
|
<summary>
|
|
632
|
+
ListAdvancedPromptOptimizationJobs
|
|
633
|
+
</summary>
|
|
634
|
+
|
|
635
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/ListAdvancedPromptOptimizationJobsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListAdvancedPromptOptimizationJobsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListAdvancedPromptOptimizationJobsCommandOutput/)
|
|
636
|
+
</details>
|
|
637
|
+
<details>
|
|
638
|
+
<summary>
|
|
611
639
|
ListAutomatedReasoningPolicies
|
|
612
640
|
</summary>
|
|
613
641
|
|
|
@@ -804,6 +832,13 @@ StartAutomatedReasoningPolicyTestWorkflow
|
|
|
804
832
|
</details>
|
|
805
833
|
<details>
|
|
806
834
|
<summary>
|
|
835
|
+
StopAdvancedPromptOptimizationJob
|
|
836
|
+
</summary>
|
|
837
|
+
|
|
838
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/StopAdvancedPromptOptimizationJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/StopAdvancedPromptOptimizationJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/StopAdvancedPromptOptimizationJobCommandOutput/)
|
|
839
|
+
</details>
|
|
840
|
+
<details>
|
|
841
|
+
<summary>
|
|
807
842
|
StopEvaluationJob
|
|
808
843
|
</summary>
|
|
809
844
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -121,6 +121,18 @@ class BedrockClient extends client.Client {
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
+
class BatchDeleteAdvancedPromptOptimizationJobCommand extends client.Command
|
|
125
|
+
.classBuilder()
|
|
126
|
+
.ep(commonParams)
|
|
127
|
+
.m(function (Command, cs, config, o) {
|
|
128
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
129
|
+
})
|
|
130
|
+
.s("AmazonBedrockControlPlaneService", "BatchDeleteAdvancedPromptOptimizationJob", {})
|
|
131
|
+
.n("BedrockClient", "BatchDeleteAdvancedPromptOptimizationJobCommand")
|
|
132
|
+
.sc(schemas_0.BatchDeleteAdvancedPromptOptimizationJob$)
|
|
133
|
+
.build() {
|
|
134
|
+
}
|
|
135
|
+
|
|
124
136
|
class BatchDeleteEvaluationJobCommand extends client.Command
|
|
125
137
|
.classBuilder()
|
|
126
138
|
.ep(commonParams)
|
|
@@ -145,6 +157,18 @@ class CancelAutomatedReasoningPolicyBuildWorkflowCommand extends client.Command
|
|
|
145
157
|
.build() {
|
|
146
158
|
}
|
|
147
159
|
|
|
160
|
+
class CreateAdvancedPromptOptimizationJobCommand extends client.Command
|
|
161
|
+
.classBuilder()
|
|
162
|
+
.ep(commonParams)
|
|
163
|
+
.m(function (Command, cs, config, o) {
|
|
164
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
165
|
+
})
|
|
166
|
+
.s("AmazonBedrockControlPlaneService", "CreateAdvancedPromptOptimizationJob", {})
|
|
167
|
+
.n("BedrockClient", "CreateAdvancedPromptOptimizationJobCommand")
|
|
168
|
+
.sc(schemas_0.CreateAdvancedPromptOptimizationJob$)
|
|
169
|
+
.build() {
|
|
170
|
+
}
|
|
171
|
+
|
|
148
172
|
class CreateAutomatedReasoningPolicyCommand extends client.Command
|
|
149
173
|
.classBuilder()
|
|
150
174
|
.ep(commonParams)
|
|
@@ -553,6 +577,18 @@ class ExportAutomatedReasoningPolicyVersionCommand extends client.Command
|
|
|
553
577
|
.build() {
|
|
554
578
|
}
|
|
555
579
|
|
|
580
|
+
class GetAdvancedPromptOptimizationJobCommand extends client.Command
|
|
581
|
+
.classBuilder()
|
|
582
|
+
.ep(commonParams)
|
|
583
|
+
.m(function (Command, cs, config, o) {
|
|
584
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
585
|
+
})
|
|
586
|
+
.s("AmazonBedrockControlPlaneService", "GetAdvancedPromptOptimizationJob", {})
|
|
587
|
+
.n("BedrockClient", "GetAdvancedPromptOptimizationJobCommand")
|
|
588
|
+
.sc(schemas_0.GetAdvancedPromptOptimizationJob$)
|
|
589
|
+
.build() {
|
|
590
|
+
}
|
|
591
|
+
|
|
556
592
|
class GetAutomatedReasoningPolicyAnnotationsCommand extends client.Command
|
|
557
593
|
.classBuilder()
|
|
558
594
|
.ep(commonParams)
|
|
@@ -853,6 +889,18 @@ class GetUseCaseForModelAccessCommand extends client.Command
|
|
|
853
889
|
.build() {
|
|
854
890
|
}
|
|
855
891
|
|
|
892
|
+
class ListAdvancedPromptOptimizationJobsCommand extends client.Command
|
|
893
|
+
.classBuilder()
|
|
894
|
+
.ep(commonParams)
|
|
895
|
+
.m(function (Command, cs, config, o) {
|
|
896
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
897
|
+
})
|
|
898
|
+
.s("AmazonBedrockControlPlaneService", "ListAdvancedPromptOptimizationJobs", {})
|
|
899
|
+
.n("BedrockClient", "ListAdvancedPromptOptimizationJobsCommand")
|
|
900
|
+
.sc(schemas_0.ListAdvancedPromptOptimizationJobs$)
|
|
901
|
+
.build() {
|
|
902
|
+
}
|
|
903
|
+
|
|
856
904
|
class ListAutomatedReasoningPoliciesCommand extends client.Command
|
|
857
905
|
.classBuilder()
|
|
858
906
|
.ep(commonParams)
|
|
@@ -1189,6 +1237,18 @@ class StartAutomatedReasoningPolicyTestWorkflowCommand extends client.Command
|
|
|
1189
1237
|
.build() {
|
|
1190
1238
|
}
|
|
1191
1239
|
|
|
1240
|
+
class StopAdvancedPromptOptimizationJobCommand extends client.Command
|
|
1241
|
+
.classBuilder()
|
|
1242
|
+
.ep(commonParams)
|
|
1243
|
+
.m(function (Command, cs, config, o) {
|
|
1244
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1245
|
+
})
|
|
1246
|
+
.s("AmazonBedrockControlPlaneService", "StopAdvancedPromptOptimizationJob", {})
|
|
1247
|
+
.n("BedrockClient", "StopAdvancedPromptOptimizationJobCommand")
|
|
1248
|
+
.sc(schemas_0.StopAdvancedPromptOptimizationJob$)
|
|
1249
|
+
.build() {
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1192
1252
|
class StopEvaluationJobCommand extends client.Command
|
|
1193
1253
|
.classBuilder()
|
|
1194
1254
|
.ep(commonParams)
|
|
@@ -1333,6 +1393,8 @@ class UpdateProvisionedModelThroughputCommand extends client.Command
|
|
|
1333
1393
|
.build() {
|
|
1334
1394
|
}
|
|
1335
1395
|
|
|
1396
|
+
const paginateListAdvancedPromptOptimizationJobs = core.createPaginator(BedrockClient, ListAdvancedPromptOptimizationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
1397
|
+
|
|
1336
1398
|
const paginateListAutomatedReasoningPolicies = core.createPaginator(BedrockClient, ListAutomatedReasoningPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
1337
1399
|
|
|
1338
1400
|
const paginateListAutomatedReasoningPolicyBuildWorkflows = core.createPaginator(BedrockClient, ListAutomatedReasoningPolicyBuildWorkflowsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1370,8 +1432,10 @@ const paginateListPromptRouters = core.createPaginator(BedrockClient, ListPrompt
|
|
|
1370
1432
|
const paginateListProvisionedModelThroughputs = core.createPaginator(BedrockClient, ListProvisionedModelThroughputsCommand, "nextToken", "nextToken", "maxResults");
|
|
1371
1433
|
|
|
1372
1434
|
const commands = {
|
|
1435
|
+
BatchDeleteAdvancedPromptOptimizationJobCommand,
|
|
1373
1436
|
BatchDeleteEvaluationJobCommand,
|
|
1374
1437
|
CancelAutomatedReasoningPolicyBuildWorkflowCommand,
|
|
1438
|
+
CreateAdvancedPromptOptimizationJobCommand,
|
|
1375
1439
|
CreateAutomatedReasoningPolicyCommand,
|
|
1376
1440
|
CreateAutomatedReasoningPolicyTestCaseCommand,
|
|
1377
1441
|
CreateAutomatedReasoningPolicyVersionCommand,
|
|
@@ -1406,6 +1470,7 @@ const commands = {
|
|
|
1406
1470
|
DeleteResourcePolicyCommand,
|
|
1407
1471
|
DeregisterMarketplaceModelEndpointCommand,
|
|
1408
1472
|
ExportAutomatedReasoningPolicyVersionCommand,
|
|
1473
|
+
GetAdvancedPromptOptimizationJobCommand,
|
|
1409
1474
|
GetAutomatedReasoningPolicyCommand,
|
|
1410
1475
|
GetAutomatedReasoningPolicyAnnotationsCommand,
|
|
1411
1476
|
GetAutomatedReasoningPolicyBuildWorkflowCommand,
|
|
@@ -1431,6 +1496,7 @@ const commands = {
|
|
|
1431
1496
|
GetProvisionedModelThroughputCommand,
|
|
1432
1497
|
GetResourcePolicyCommand,
|
|
1433
1498
|
GetUseCaseForModelAccessCommand,
|
|
1499
|
+
ListAdvancedPromptOptimizationJobsCommand,
|
|
1434
1500
|
ListAutomatedReasoningPoliciesCommand,
|
|
1435
1501
|
ListAutomatedReasoningPolicyBuildWorkflowsCommand,
|
|
1436
1502
|
ListAutomatedReasoningPolicyTestCasesCommand,
|
|
@@ -1459,6 +1525,7 @@ const commands = {
|
|
|
1459
1525
|
RegisterMarketplaceModelEndpointCommand,
|
|
1460
1526
|
StartAutomatedReasoningPolicyBuildWorkflowCommand,
|
|
1461
1527
|
StartAutomatedReasoningPolicyTestWorkflowCommand,
|
|
1528
|
+
StopAdvancedPromptOptimizationJobCommand,
|
|
1462
1529
|
StopEvaluationJobCommand,
|
|
1463
1530
|
StopModelCustomizationJobCommand,
|
|
1464
1531
|
StopModelInvocationJobCommand,
|
|
@@ -1473,6 +1540,7 @@ const commands = {
|
|
|
1473
1540
|
UpdateProvisionedModelThroughputCommand,
|
|
1474
1541
|
};
|
|
1475
1542
|
const paginators = {
|
|
1543
|
+
paginateListAdvancedPromptOptimizationJobs,
|
|
1476
1544
|
paginateListAutomatedReasoningPolicies,
|
|
1477
1545
|
paginateListAutomatedReasoningPolicyBuildWorkflows,
|
|
1478
1546
|
paginateListAutomatedReasoningPolicyTestCases,
|
|
@@ -1507,6 +1575,22 @@ const InputTags = {
|
|
|
1507
1575
|
const ConfigurationOwner = {
|
|
1508
1576
|
ACCOUNT: "ACCOUNT",
|
|
1509
1577
|
};
|
|
1578
|
+
const AdvancedPromptOptimizationJobStatus = {
|
|
1579
|
+
COMPLETED: "Completed",
|
|
1580
|
+
DELETING: "Deleting",
|
|
1581
|
+
FAILED: "Failed",
|
|
1582
|
+
IN_PROGRESS: "InProgress",
|
|
1583
|
+
PARTIALLY_COMPLETED: "PartiallyCompleted",
|
|
1584
|
+
STOPPED: "Stopped",
|
|
1585
|
+
STOPPING: "Stopping",
|
|
1586
|
+
};
|
|
1587
|
+
const SortJobsBy = {
|
|
1588
|
+
CREATION_TIME: "CreationTime",
|
|
1589
|
+
};
|
|
1590
|
+
const SortOrder = {
|
|
1591
|
+
ASCENDING: "Ascending",
|
|
1592
|
+
DESCENDING: "Descending",
|
|
1593
|
+
};
|
|
1510
1594
|
const AgreementStatus = {
|
|
1511
1595
|
AVAILABLE: "AVAILABLE",
|
|
1512
1596
|
ERROR: "ERROR",
|
|
@@ -1594,10 +1678,6 @@ const CustomModelDeploymentUpdateStatus = {
|
|
|
1594
1678
|
const SortModelsBy = {
|
|
1595
1679
|
CREATION_TIME: "CreationTime",
|
|
1596
1680
|
};
|
|
1597
|
-
const SortOrder = {
|
|
1598
|
-
ASCENDING: "Ascending",
|
|
1599
|
-
DESCENDING: "Descending",
|
|
1600
|
-
};
|
|
1601
1681
|
const ReasoningEffort = {
|
|
1602
1682
|
HIGH: "high",
|
|
1603
1683
|
LOW: "low",
|
|
@@ -1670,9 +1750,6 @@ const EvaluationJobType = {
|
|
|
1670
1750
|
AUTOMATED: "Automated",
|
|
1671
1751
|
HUMAN: "Human",
|
|
1672
1752
|
};
|
|
1673
|
-
const SortJobsBy = {
|
|
1674
|
-
CREATION_TIME: "CreationTime",
|
|
1675
|
-
};
|
|
1676
1753
|
const GuardrailContentFilterAction = {
|
|
1677
1754
|
BLOCK: "BLOCK",
|
|
1678
1755
|
NONE: "NONE",
|
|
@@ -1887,6 +1964,7 @@ const FineTuningJobStatus = {
|
|
|
1887
1964
|
exports.$Command = client.Command;
|
|
1888
1965
|
exports.__Client = client.Client;
|
|
1889
1966
|
exports.BedrockServiceException = BedrockServiceException.BedrockServiceException;
|
|
1967
|
+
exports.AdvancedPromptOptimizationJobStatus = AdvancedPromptOptimizationJobStatus;
|
|
1890
1968
|
exports.AgreementStatus = AgreementStatus;
|
|
1891
1969
|
exports.ApplicationType = ApplicationType;
|
|
1892
1970
|
exports.AttributeType = AttributeType;
|
|
@@ -1901,12 +1979,14 @@ exports.AutomatedReasoningPolicyBuildWorkflowStatus = AutomatedReasoningPolicyBu
|
|
|
1901
1979
|
exports.AutomatedReasoningPolicyBuildWorkflowType = AutomatedReasoningPolicyBuildWorkflowType;
|
|
1902
1980
|
exports.AutomatedReasoningPolicyTestRunResult = AutomatedReasoningPolicyTestRunResult;
|
|
1903
1981
|
exports.AutomatedReasoningPolicyTestRunStatus = AutomatedReasoningPolicyTestRunStatus;
|
|
1982
|
+
exports.BatchDeleteAdvancedPromptOptimizationJobCommand = BatchDeleteAdvancedPromptOptimizationJobCommand;
|
|
1904
1983
|
exports.BatchDeleteEvaluationJobCommand = BatchDeleteEvaluationJobCommand;
|
|
1905
1984
|
exports.Bedrock = Bedrock;
|
|
1906
1985
|
exports.BedrockClient = BedrockClient;
|
|
1907
1986
|
exports.CancelAutomatedReasoningPolicyBuildWorkflowCommand = CancelAutomatedReasoningPolicyBuildWorkflowCommand;
|
|
1908
1987
|
exports.CommitmentDuration = CommitmentDuration;
|
|
1909
1988
|
exports.ConfigurationOwner = ConfigurationOwner;
|
|
1989
|
+
exports.CreateAdvancedPromptOptimizationJobCommand = CreateAdvancedPromptOptimizationJobCommand;
|
|
1910
1990
|
exports.CreateAutomatedReasoningPolicyCommand = CreateAutomatedReasoningPolicyCommand;
|
|
1911
1991
|
exports.CreateAutomatedReasoningPolicyTestCaseCommand = CreateAutomatedReasoningPolicyTestCaseCommand;
|
|
1912
1992
|
exports.CreateAutomatedReasoningPolicyVersionCommand = CreateAutomatedReasoningPolicyVersionCommand;
|
|
@@ -1951,6 +2031,7 @@ exports.ExportAutomatedReasoningPolicyVersionCommand = ExportAutomatedReasoningP
|
|
|
1951
2031
|
exports.ExternalSourceType = ExternalSourceType;
|
|
1952
2032
|
exports.FineTuningJobStatus = FineTuningJobStatus;
|
|
1953
2033
|
exports.FoundationModelLifecycleStatus = FoundationModelLifecycleStatus;
|
|
2034
|
+
exports.GetAdvancedPromptOptimizationJobCommand = GetAdvancedPromptOptimizationJobCommand;
|
|
1954
2035
|
exports.GetAutomatedReasoningPolicyAnnotationsCommand = GetAutomatedReasoningPolicyAnnotationsCommand;
|
|
1955
2036
|
exports.GetAutomatedReasoningPolicyBuildWorkflowCommand = GetAutomatedReasoningPolicyBuildWorkflowCommand;
|
|
1956
2037
|
exports.GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand = GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand;
|
|
@@ -1996,6 +2077,7 @@ exports.InferenceProfileType = InferenceProfileType;
|
|
|
1996
2077
|
exports.InferenceType = InferenceType;
|
|
1997
2078
|
exports.InputTags = InputTags;
|
|
1998
2079
|
exports.JobStatusDetails = JobStatusDetails;
|
|
2080
|
+
exports.ListAdvancedPromptOptimizationJobsCommand = ListAdvancedPromptOptimizationJobsCommand;
|
|
1999
2081
|
exports.ListAutomatedReasoningPoliciesCommand = ListAutomatedReasoningPoliciesCommand;
|
|
2000
2082
|
exports.ListAutomatedReasoningPolicyBuildWorkflowsCommand = ListAutomatedReasoningPolicyBuildWorkflowsCommand;
|
|
2001
2083
|
exports.ListAutomatedReasoningPolicyTestCasesCommand = ListAutomatedReasoningPolicyTestCasesCommand;
|
|
@@ -2050,6 +2132,7 @@ exports.SortOrder = SortOrder;
|
|
|
2050
2132
|
exports.StartAutomatedReasoningPolicyBuildWorkflowCommand = StartAutomatedReasoningPolicyBuildWorkflowCommand;
|
|
2051
2133
|
exports.StartAutomatedReasoningPolicyTestWorkflowCommand = StartAutomatedReasoningPolicyTestWorkflowCommand;
|
|
2052
2134
|
exports.Status = Status;
|
|
2135
|
+
exports.StopAdvancedPromptOptimizationJobCommand = StopAdvancedPromptOptimizationJobCommand;
|
|
2053
2136
|
exports.StopEvaluationJobCommand = StopEvaluationJobCommand;
|
|
2054
2137
|
exports.StopModelCustomizationJobCommand = StopModelCustomizationJobCommand;
|
|
2055
2138
|
exports.StopModelInvocationJobCommand = StopModelInvocationJobCommand;
|
|
@@ -2063,6 +2146,7 @@ exports.UpdateGuardrailCommand = UpdateGuardrailCommand;
|
|
|
2063
2146
|
exports.UpdateMarketplaceModelEndpointCommand = UpdateMarketplaceModelEndpointCommand;
|
|
2064
2147
|
exports.UpdateProvisionedModelThroughputCommand = UpdateProvisionedModelThroughputCommand;
|
|
2065
2148
|
exports.VectorSearchRerankingConfigurationType = VectorSearchRerankingConfigurationType;
|
|
2149
|
+
exports.paginateListAdvancedPromptOptimizationJobs = paginateListAdvancedPromptOptimizationJobs;
|
|
2066
2150
|
exports.paginateListAutomatedReasoningPolicies = paginateListAutomatedReasoningPolicies;
|
|
2067
2151
|
exports.paginateListAutomatedReasoningPolicyBuildWorkflows = paginateListAutomatedReasoningPolicyBuildWorkflows;
|
|
2068
2152
|
exports.paginateListAutomatedReasoningPolicyTestCases = paginateListAutomatedReasoningPolicyTestCases;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ServiceUnavailableException = exports.ResourceInUseException = exports.TooManyTagsException = exports.ServiceQuotaExceededException = exports.
|
|
3
|
+
exports.ServiceUnavailableException = exports.ResourceInUseException = exports.TooManyTagsException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const BedrockServiceException_1 = require("./BedrockServiceException");
|
|
5
5
|
class AccessDeniedException extends BedrockServiceException_1.BedrockServiceException {
|
|
6
6
|
name = "AccessDeniedException";
|
|
@@ -28,19 +28,6 @@ class InternalServerException extends BedrockServiceException_1.BedrockServiceEx
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
exports.InternalServerException = InternalServerException;
|
|
31
|
-
class ResourceNotFoundException extends BedrockServiceException_1.BedrockServiceException {
|
|
32
|
-
name = "ResourceNotFoundException";
|
|
33
|
-
$fault = "client";
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "ResourceNotFoundException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
44
31
|
class ThrottlingException extends BedrockServiceException_1.BedrockServiceException {
|
|
45
32
|
name = "ThrottlingException";
|
|
46
33
|
$fault = "client";
|
|
@@ -80,6 +67,19 @@ class ConflictException extends BedrockServiceException_1.BedrockServiceExceptio
|
|
|
80
67
|
}
|
|
81
68
|
}
|
|
82
69
|
exports.ConflictException = ConflictException;
|
|
70
|
+
class ResourceNotFoundException extends BedrockServiceException_1.BedrockServiceException {
|
|
71
|
+
name = "ResourceNotFoundException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ResourceNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
83
83
|
class ServiceQuotaExceededException extends BedrockServiceException_1.BedrockServiceException {
|
|
84
84
|
name = "ServiceQuotaExceededException";
|
|
85
85
|
$fault = "client";
|