@aws-sdk/client-bedrock 3.929.0 → 3.930.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 +0 -338
- package/dist-es/models/models_0.js +0 -252
- package/dist-es/models/models_1.js +0 -86
- package/dist-types/models/models_0.d.ts +84 -21
- package/dist-types/models/models_1.d.ts +28 -7
- package/dist-types/ts3.4/models/models_0.d.ts +0 -54
- package/dist-types/ts3.4/models/models_1.d.ts +0 -16
- package/package.json +34 -34
|
@@ -939,13 +939,16 @@ export declare namespace AutomatedReasoningPolicyTypeValueAnnotation {
|
|
|
939
939
|
deleteTypeValue?: never;
|
|
940
940
|
$unknown: [string, any];
|
|
941
941
|
}
|
|
942
|
+
/**
|
|
943
|
+
* @deprecated unused in schema-serde mode.
|
|
944
|
+
*
|
|
945
|
+
*/
|
|
942
946
|
interface Visitor<T> {
|
|
943
947
|
addTypeValue: (value: AutomatedReasoningPolicyAddTypeValue) => T;
|
|
944
948
|
updateTypeValue: (value: AutomatedReasoningPolicyUpdateTypeValue) => T;
|
|
945
949
|
deleteTypeValue: (value: AutomatedReasoningPolicyDeleteTypeValue) => T;
|
|
946
950
|
_: (name: string, value: any) => T;
|
|
947
951
|
}
|
|
948
|
-
const visit: <T>(value: AutomatedReasoningPolicyTypeValueAnnotation, visitor: Visitor<T>) => T;
|
|
949
952
|
}
|
|
950
953
|
/**
|
|
951
954
|
* <p>An annotation for modifying an existing custom type in an Automated Reasoning policy.</p>
|
|
@@ -1282,6 +1285,10 @@ export declare namespace AutomatedReasoningPolicyAnnotation {
|
|
|
1282
1285
|
ingestContent?: never;
|
|
1283
1286
|
$unknown: [string, any];
|
|
1284
1287
|
}
|
|
1288
|
+
/**
|
|
1289
|
+
* @deprecated unused in schema-serde mode.
|
|
1290
|
+
*
|
|
1291
|
+
*/
|
|
1285
1292
|
interface Visitor<T> {
|
|
1286
1293
|
addType: (value: AutomatedReasoningPolicyAddTypeAnnotation) => T;
|
|
1287
1294
|
updateType: (value: AutomatedReasoningPolicyUpdateTypeAnnotation) => T;
|
|
@@ -1298,7 +1305,6 @@ export declare namespace AutomatedReasoningPolicyAnnotation {
|
|
|
1298
1305
|
ingestContent: (value: AutomatedReasoningPolicyIngestContentAnnotation) => T;
|
|
1299
1306
|
_: (name: string, value: any) => T;
|
|
1300
1307
|
}
|
|
1301
|
-
const visit: <T>(value: AutomatedReasoningPolicyAnnotation, visitor: Visitor<T>) => T;
|
|
1302
1308
|
}
|
|
1303
1309
|
/**
|
|
1304
1310
|
* @public
|
|
@@ -1743,6 +1749,10 @@ export declare namespace AutomatedReasoningPolicyMutation {
|
|
|
1743
1749
|
deleteRule?: never;
|
|
1744
1750
|
$unknown: [string, any];
|
|
1745
1751
|
}
|
|
1752
|
+
/**
|
|
1753
|
+
* @deprecated unused in schema-serde mode.
|
|
1754
|
+
*
|
|
1755
|
+
*/
|
|
1746
1756
|
interface Visitor<T> {
|
|
1747
1757
|
addType: (value: AutomatedReasoningPolicyAddTypeMutation) => T;
|
|
1748
1758
|
updateType: (value: AutomatedReasoningPolicyUpdateTypeMutation) => T;
|
|
@@ -1755,7 +1765,6 @@ export declare namespace AutomatedReasoningPolicyMutation {
|
|
|
1755
1765
|
deleteRule: (value: AutomatedReasoningPolicyDeleteRuleMutation) => T;
|
|
1756
1766
|
_: (name: string, value: any) => T;
|
|
1757
1767
|
}
|
|
1758
|
-
const visit: <T>(value: AutomatedReasoningPolicyMutation, visitor: Visitor<T>) => T;
|
|
1759
1768
|
}
|
|
1760
1769
|
/**
|
|
1761
1770
|
* <p>Represents the planning phase of policy build workflow, where the system analyzes source content and determines what operations to perform.</p>
|
|
@@ -1798,12 +1807,15 @@ export declare namespace AutomatedReasoningPolicyBuildStepContext {
|
|
|
1798
1807
|
mutation?: never;
|
|
1799
1808
|
$unknown: [string, any];
|
|
1800
1809
|
}
|
|
1810
|
+
/**
|
|
1811
|
+
* @deprecated unused in schema-serde mode.
|
|
1812
|
+
*
|
|
1813
|
+
*/
|
|
1801
1814
|
interface Visitor<T> {
|
|
1802
1815
|
planning: (value: AutomatedReasoningPolicyPlanning) => T;
|
|
1803
1816
|
mutation: (value: AutomatedReasoningPolicyMutation) => T;
|
|
1804
1817
|
_: (name: string, value: any) => T;
|
|
1805
1818
|
}
|
|
1806
|
-
const visit: <T>(value: AutomatedReasoningPolicyBuildStepContext, visitor: Visitor<T>) => T;
|
|
1807
1819
|
}
|
|
1808
1820
|
/**
|
|
1809
1821
|
* @public
|
|
@@ -1882,13 +1894,16 @@ export declare namespace AutomatedReasoningPolicyDefinitionElement {
|
|
|
1882
1894
|
policyDefinitionRule?: never;
|
|
1883
1895
|
$unknown: [string, any];
|
|
1884
1896
|
}
|
|
1897
|
+
/**
|
|
1898
|
+
* @deprecated unused in schema-serde mode.
|
|
1899
|
+
*
|
|
1900
|
+
*/
|
|
1885
1901
|
interface Visitor<T> {
|
|
1886
1902
|
policyDefinitionVariable: (value: AutomatedReasoningPolicyDefinitionVariable) => T;
|
|
1887
1903
|
policyDefinitionType: (value: AutomatedReasoningPolicyDefinitionType) => T;
|
|
1888
1904
|
policyDefinitionRule: (value: AutomatedReasoningPolicyDefinitionRule) => T;
|
|
1889
1905
|
_: (name: string, value: any) => T;
|
|
1890
1906
|
}
|
|
1891
|
-
const visit: <T>(value: AutomatedReasoningPolicyDefinitionElement, visitor: Visitor<T>) => T;
|
|
1892
1907
|
}
|
|
1893
1908
|
/**
|
|
1894
1909
|
* <p>Represents a single step in the policy build process, containing context about what was being processed and any messages or results.</p>
|
|
@@ -2081,13 +2096,16 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
|
|
|
2081
2096
|
buildLog?: never;
|
|
2082
2097
|
$unknown: [string, any];
|
|
2083
2098
|
}
|
|
2099
|
+
/**
|
|
2100
|
+
* @deprecated unused in schema-serde mode.
|
|
2101
|
+
*
|
|
2102
|
+
*/
|
|
2084
2103
|
interface Visitor<T> {
|
|
2085
2104
|
policyDefinition: (value: AutomatedReasoningPolicyDefinition) => T;
|
|
2086
2105
|
qualityReport: (value: AutomatedReasoningPolicyDefinitionQualityReport) => T;
|
|
2087
2106
|
buildLog: (value: AutomatedReasoningPolicyBuildLog) => T;
|
|
2088
2107
|
_: (name: string, value: any) => T;
|
|
2089
2108
|
}
|
|
2090
|
-
const visit: <T>(value: AutomatedReasoningPolicyBuildResultAssets, visitor: Visitor<T>) => T;
|
|
2091
2109
|
}
|
|
2092
2110
|
/**
|
|
2093
2111
|
* @public
|
|
@@ -2627,6 +2645,10 @@ export declare namespace AutomatedReasoningCheckFinding {
|
|
|
2627
2645
|
noTranslations?: never;
|
|
2628
2646
|
$unknown: [string, any];
|
|
2629
2647
|
}
|
|
2648
|
+
/**
|
|
2649
|
+
* @deprecated unused in schema-serde mode.
|
|
2650
|
+
*
|
|
2651
|
+
*/
|
|
2630
2652
|
interface Visitor<T> {
|
|
2631
2653
|
valid: (value: AutomatedReasoningCheckValidFinding) => T;
|
|
2632
2654
|
invalid: (value: AutomatedReasoningCheckInvalidFinding) => T;
|
|
@@ -2637,7 +2659,6 @@ export declare namespace AutomatedReasoningCheckFinding {
|
|
|
2637
2659
|
noTranslations: (value: AutomatedReasoningCheckNoTranslationsFinding) => T;
|
|
2638
2660
|
_: (name: string, value: any) => T;
|
|
2639
2661
|
}
|
|
2640
|
-
const visit: <T>(value: AutomatedReasoningCheckFinding, visitor: Visitor<T>) => T;
|
|
2641
2662
|
}
|
|
2642
2663
|
/**
|
|
2643
2664
|
* @public
|
|
@@ -3011,12 +3032,15 @@ export declare namespace AutomatedReasoningPolicyWorkflowTypeContent {
|
|
|
3011
3032
|
policyRepairAssets?: never;
|
|
3012
3033
|
$unknown: [string, any];
|
|
3013
3034
|
}
|
|
3035
|
+
/**
|
|
3036
|
+
* @deprecated unused in schema-serde mode.
|
|
3037
|
+
*
|
|
3038
|
+
*/
|
|
3014
3039
|
interface Visitor<T> {
|
|
3015
3040
|
documents: (value: AutomatedReasoningPolicyBuildWorkflowDocument[]) => T;
|
|
3016
3041
|
policyRepairAssets: (value: AutomatedReasoningPolicyBuildWorkflowRepairContent) => T;
|
|
3017
3042
|
_: (name: string, value: any) => T;
|
|
3018
3043
|
}
|
|
3019
|
-
const visit: <T>(value: AutomatedReasoningPolicyWorkflowTypeContent, visitor: Visitor<T>) => T;
|
|
3020
3044
|
}
|
|
3021
3045
|
/**
|
|
3022
3046
|
* <p>Defines the source content for a policy build workflow, which can include documents, repair instructions, or other input materials.</p>
|
|
@@ -3340,11 +3364,14 @@ export declare namespace EndpointConfig {
|
|
|
3340
3364
|
sageMaker?: never;
|
|
3341
3365
|
$unknown: [string, any];
|
|
3342
3366
|
}
|
|
3367
|
+
/**
|
|
3368
|
+
* @deprecated unused in schema-serde mode.
|
|
3369
|
+
*
|
|
3370
|
+
*/
|
|
3343
3371
|
interface Visitor<T> {
|
|
3344
3372
|
sageMaker: (value: SageMakerEndpoint) => T;
|
|
3345
3373
|
_: (name: string, value: any) => T;
|
|
3346
3374
|
}
|
|
3347
|
-
const visit: <T>(value: EndpointConfig, visitor: Visitor<T>) => T;
|
|
3348
3375
|
}
|
|
3349
3376
|
/**
|
|
3350
3377
|
* @public
|
|
@@ -3929,11 +3956,14 @@ export declare namespace ModelDataSource {
|
|
|
3929
3956
|
s3DataSource?: never;
|
|
3930
3957
|
$unknown: [string, any];
|
|
3931
3958
|
}
|
|
3959
|
+
/**
|
|
3960
|
+
* @deprecated unused in schema-serde mode.
|
|
3961
|
+
*
|
|
3962
|
+
*/
|
|
3932
3963
|
interface Visitor<T> {
|
|
3933
3964
|
s3DataSource: (value: S3DataSource) => T;
|
|
3934
3965
|
_: (name: string, value: any) => T;
|
|
3935
3966
|
}
|
|
3936
|
-
const visit: <T>(value: ModelDataSource, visitor: Visitor<T>) => T;
|
|
3937
3967
|
}
|
|
3938
3968
|
/**
|
|
3939
3969
|
* @public
|
|
@@ -4056,11 +4086,14 @@ export declare namespace CustomizationConfig {
|
|
|
4056
4086
|
distillationConfig?: never;
|
|
4057
4087
|
$unknown: [string, any];
|
|
4058
4088
|
}
|
|
4089
|
+
/**
|
|
4090
|
+
* @deprecated unused in schema-serde mode.
|
|
4091
|
+
*
|
|
4092
|
+
*/
|
|
4059
4093
|
interface Visitor<T> {
|
|
4060
4094
|
distillationConfig: (value: DistillationConfig) => T;
|
|
4061
4095
|
_: (name: string, value: any) => T;
|
|
4062
4096
|
}
|
|
4063
|
-
const visit: <T>(value: CustomizationConfig, visitor: Visitor<T>) => T;
|
|
4064
4097
|
}
|
|
4065
4098
|
/**
|
|
4066
4099
|
* @public
|
|
@@ -4124,11 +4157,14 @@ export declare namespace InvocationLogSource {
|
|
|
4124
4157
|
s3Uri?: never;
|
|
4125
4158
|
$unknown: [string, any];
|
|
4126
4159
|
}
|
|
4160
|
+
/**
|
|
4161
|
+
* @deprecated unused in schema-serde mode.
|
|
4162
|
+
*
|
|
4163
|
+
*/
|
|
4127
4164
|
interface Visitor<T> {
|
|
4128
4165
|
s3Uri: (value: string) => T;
|
|
4129
4166
|
_: (name: string, value: any) => T;
|
|
4130
4167
|
}
|
|
4131
|
-
const visit: <T>(value: InvocationLogSource, visitor: Visitor<T>) => T;
|
|
4132
4168
|
}
|
|
4133
4169
|
/**
|
|
4134
4170
|
* <p>A mapping of a metadata key to a value that it should or should not equal.</p>
|
|
@@ -4209,6 +4245,10 @@ export declare namespace RequestMetadataFilters {
|
|
|
4209
4245
|
orAll?: never;
|
|
4210
4246
|
$unknown: [string, any];
|
|
4211
4247
|
}
|
|
4248
|
+
/**
|
|
4249
|
+
* @deprecated unused in schema-serde mode.
|
|
4250
|
+
*
|
|
4251
|
+
*/
|
|
4212
4252
|
interface Visitor<T> {
|
|
4213
4253
|
equals: (value: Record<string, string>) => T;
|
|
4214
4254
|
notEquals: (value: Record<string, string>) => T;
|
|
@@ -4216,7 +4256,6 @@ export declare namespace RequestMetadataFilters {
|
|
|
4216
4256
|
orAll: (value: RequestMetadataBaseFilters[]) => T;
|
|
4217
4257
|
_: (name: string, value: any) => T;
|
|
4218
4258
|
}
|
|
4219
|
-
const visit: <T>(value: RequestMetadataFilters, visitor: Visitor<T>) => T;
|
|
4220
4259
|
}
|
|
4221
4260
|
/**
|
|
4222
4261
|
* <p>Settings for using invocation logs to customize a model.</p>
|
|
@@ -4635,12 +4674,15 @@ export declare namespace RatingScaleItemValue {
|
|
|
4635
4674
|
floatValue?: never;
|
|
4636
4675
|
$unknown: [string, any];
|
|
4637
4676
|
}
|
|
4677
|
+
/**
|
|
4678
|
+
* @deprecated unused in schema-serde mode.
|
|
4679
|
+
*
|
|
4680
|
+
*/
|
|
4638
4681
|
interface Visitor<T> {
|
|
4639
4682
|
stringValue: (value: string) => T;
|
|
4640
4683
|
floatValue: (value: number) => T;
|
|
4641
4684
|
_: (name: string, value: any) => T;
|
|
4642
4685
|
}
|
|
4643
|
-
const visit: <T>(value: RatingScaleItemValue, visitor: Visitor<T>) => T;
|
|
4644
4686
|
}
|
|
4645
4687
|
/**
|
|
4646
4688
|
* <p>Defines the value and corresponding definition for one rating in a custom metric rating scale.</p>
|
|
@@ -4703,11 +4745,14 @@ export declare namespace AutomatedEvaluationCustomMetricSource {
|
|
|
4703
4745
|
customMetricDefinition?: never;
|
|
4704
4746
|
$unknown: [string, any];
|
|
4705
4747
|
}
|
|
4748
|
+
/**
|
|
4749
|
+
* @deprecated unused in schema-serde mode.
|
|
4750
|
+
*
|
|
4751
|
+
*/
|
|
4706
4752
|
interface Visitor<T> {
|
|
4707
4753
|
customMetricDefinition: (value: CustomMetricDefinition) => T;
|
|
4708
4754
|
_: (name: string, value: any) => T;
|
|
4709
4755
|
}
|
|
4710
|
-
const visit: <T>(value: AutomatedEvaluationCustomMetricSource, visitor: Visitor<T>) => T;
|
|
4711
4756
|
}
|
|
4712
4757
|
/**
|
|
4713
4758
|
* <p>Defines the model you want to evaluate custom metrics in an Amazon Bedrock evaluation job.</p>
|
|
@@ -4771,11 +4816,14 @@ export declare namespace EvaluationDatasetLocation {
|
|
|
4771
4816
|
s3Uri?: never;
|
|
4772
4817
|
$unknown: [string, any];
|
|
4773
4818
|
}
|
|
4819
|
+
/**
|
|
4820
|
+
* @deprecated unused in schema-serde mode.
|
|
4821
|
+
*
|
|
4822
|
+
*/
|
|
4774
4823
|
interface Visitor<T> {
|
|
4775
4824
|
s3Uri: (value: string) => T;
|
|
4776
4825
|
_: (name: string, value: any) => T;
|
|
4777
4826
|
}
|
|
4778
|
-
const visit: <T>(value: EvaluationDatasetLocation, visitor: Visitor<T>) => T;
|
|
4779
4827
|
}
|
|
4780
4828
|
/**
|
|
4781
4829
|
* <p>Used to specify the name of a built-in prompt dataset and optionally, the Amazon S3 bucket where a custom prompt dataset is saved.</p>
|
|
@@ -4864,11 +4912,14 @@ export declare namespace EvaluatorModelConfig {
|
|
|
4864
4912
|
bedrockEvaluatorModels?: never;
|
|
4865
4913
|
$unknown: [string, any];
|
|
4866
4914
|
}
|
|
4915
|
+
/**
|
|
4916
|
+
* @deprecated unused in schema-serde mode.
|
|
4917
|
+
*
|
|
4918
|
+
*/
|
|
4867
4919
|
interface Visitor<T> {
|
|
4868
4920
|
bedrockEvaluatorModels: (value: BedrockEvaluatorModel[]) => T;
|
|
4869
4921
|
_: (name: string, value: any) => T;
|
|
4870
4922
|
}
|
|
4871
|
-
const visit: <T>(value: EvaluatorModelConfig, visitor: Visitor<T>) => T;
|
|
4872
4923
|
}
|
|
4873
4924
|
/**
|
|
4874
4925
|
* <p>The configuration details of an automated evaluation job. The <code>EvaluationDatasetMetricConfig</code> object is used to specify the prompt datasets, task type, and metric names.</p>
|
|
@@ -4984,12 +5035,15 @@ export declare namespace EvaluationConfig {
|
|
|
4984
5035
|
human?: never;
|
|
4985
5036
|
$unknown: [string, any];
|
|
4986
5037
|
}
|
|
5038
|
+
/**
|
|
5039
|
+
* @deprecated unused in schema-serde mode.
|
|
5040
|
+
*
|
|
5041
|
+
*/
|
|
4987
5042
|
interface Visitor<T> {
|
|
4988
5043
|
automated: (value: AutomatedEvaluationConfig) => T;
|
|
4989
5044
|
human: (value: HumanEvaluationConfig) => T;
|
|
4990
5045
|
_: (name: string, value: any) => T;
|
|
4991
5046
|
}
|
|
4992
|
-
const visit: <T>(value: EvaluationConfig, visitor: Visitor<T>) => T;
|
|
4993
5047
|
}
|
|
4994
5048
|
/**
|
|
4995
5049
|
* @public
|
|
@@ -5081,12 +5135,15 @@ export declare namespace EvaluationModelConfig {
|
|
|
5081
5135
|
precomputedInferenceSource?: never;
|
|
5082
5136
|
$unknown: [string, any];
|
|
5083
5137
|
}
|
|
5138
|
+
/**
|
|
5139
|
+
* @deprecated unused in schema-serde mode.
|
|
5140
|
+
*
|
|
5141
|
+
*/
|
|
5084
5142
|
interface Visitor<T> {
|
|
5085
5143
|
bedrockModel: (value: EvaluationBedrockModel) => T;
|
|
5086
5144
|
precomputedInferenceSource: (value: EvaluationPrecomputedInferenceSource) => T;
|
|
5087
5145
|
_: (name: string, value: any) => T;
|
|
5088
5146
|
}
|
|
5089
|
-
const visit: <T>(value: EvaluationModelConfig, visitor: Visitor<T>) => T;
|
|
5090
5147
|
}
|
|
5091
5148
|
/**
|
|
5092
5149
|
* <p>The configuration details for the guardrail.</p>
|
|
@@ -5460,12 +5517,15 @@ export declare namespace RerankingMetadataSelectiveModeConfiguration {
|
|
|
5460
5517
|
fieldsToExclude?: never;
|
|
5461
5518
|
$unknown: [string, any];
|
|
5462
5519
|
}
|
|
5520
|
+
/**
|
|
5521
|
+
* @deprecated unused in schema-serde mode.
|
|
5522
|
+
*
|
|
5523
|
+
*/
|
|
5463
5524
|
interface Visitor<T> {
|
|
5464
5525
|
fieldsToInclude: (value: FieldForReranking[]) => T;
|
|
5465
5526
|
fieldsToExclude: (value: FieldForReranking[]) => T;
|
|
5466
5527
|
_: (name: string, value: any) => T;
|
|
5467
5528
|
}
|
|
5468
|
-
const visit: <T>(value: RerankingMetadataSelectiveModeConfiguration, visitor: Visitor<T>) => T;
|
|
5469
5529
|
}
|
|
5470
5530
|
/**
|
|
5471
5531
|
* <p>Configuration for how metadata should be used during the reranking process in Knowledge Base vector searches. This determines which metadata fields are included or excluded when reordering search results.</p>
|
|
@@ -5616,12 +5676,15 @@ export declare namespace EvaluationPrecomputedRagSourceConfig {
|
|
|
5616
5676
|
retrieveAndGenerateSourceConfig?: never;
|
|
5617
5677
|
$unknown: [string, any];
|
|
5618
5678
|
}
|
|
5679
|
+
/**
|
|
5680
|
+
* @deprecated unused in schema-serde mode.
|
|
5681
|
+
*
|
|
5682
|
+
*/
|
|
5619
5683
|
interface Visitor<T> {
|
|
5620
5684
|
retrieveSourceConfig: (value: EvaluationPrecomputedRetrieveSourceConfig) => T;
|
|
5621
5685
|
retrieveAndGenerateSourceConfig: (value: EvaluationPrecomputedRetrieveAndGenerateSourceConfig) => T;
|
|
5622
5686
|
_: (name: string, value: any) => T;
|
|
5623
5687
|
}
|
|
5624
|
-
const visit: <T>(value: EvaluationPrecomputedRagSourceConfig, visitor: Visitor<T>) => T;
|
|
5625
5688
|
}
|
|
5626
5689
|
/**
|
|
5627
5690
|
* <p>The Amazon S3 location where the results of your evaluation job are saved.</p>
|
|
@@ -980,11 +980,14 @@ export declare namespace InferenceProfileModelSource {
|
|
|
980
980
|
copyFrom?: never;
|
|
981
981
|
$unknown: [string, any];
|
|
982
982
|
}
|
|
983
|
+
/**
|
|
984
|
+
* @deprecated unused in schema-serde mode.
|
|
985
|
+
*
|
|
986
|
+
*/
|
|
983
987
|
interface Visitor<T> {
|
|
984
988
|
copyFrom: (value: string) => T;
|
|
985
989
|
_: (name: string, value: any) => T;
|
|
986
990
|
}
|
|
987
|
-
const visit: <T>(value: InferenceProfileModelSource, visitor: Visitor<T>) => T;
|
|
988
991
|
}
|
|
989
992
|
/**
|
|
990
993
|
* @public
|
|
@@ -2090,11 +2093,14 @@ export declare namespace ModelInvocationJobInputDataConfig {
|
|
|
2090
2093
|
s3InputDataConfig?: never;
|
|
2091
2094
|
$unknown: [string, any];
|
|
2092
2095
|
}
|
|
2096
|
+
/**
|
|
2097
|
+
* @deprecated unused in schema-serde mode.
|
|
2098
|
+
*
|
|
2099
|
+
*/
|
|
2093
2100
|
interface Visitor<T> {
|
|
2094
2101
|
s3InputDataConfig: (value: ModelInvocationJobS3InputDataConfig) => T;
|
|
2095
2102
|
_: (name: string, value: any) => T;
|
|
2096
2103
|
}
|
|
2097
|
-
const visit: <T>(value: ModelInvocationJobInputDataConfig, visitor: Visitor<T>) => T;
|
|
2098
2104
|
}
|
|
2099
2105
|
/**
|
|
2100
2106
|
* <p>Contains the configuration of the S3 location of the output data.</p>
|
|
@@ -2141,11 +2147,14 @@ export declare namespace ModelInvocationJobOutputDataConfig {
|
|
|
2141
2147
|
s3OutputDataConfig?: never;
|
|
2142
2148
|
$unknown: [string, any];
|
|
2143
2149
|
}
|
|
2150
|
+
/**
|
|
2151
|
+
* @deprecated unused in schema-serde mode.
|
|
2152
|
+
*
|
|
2153
|
+
*/
|
|
2144
2154
|
interface Visitor<T> {
|
|
2145
2155
|
s3OutputDataConfig: (value: ModelInvocationJobS3OutputDataConfig) => T;
|
|
2146
2156
|
_: (name: string, value: any) => T;
|
|
2147
2157
|
}
|
|
2148
|
-
const visit: <T>(value: ModelInvocationJobOutputDataConfig, visitor: Visitor<T>) => T;
|
|
2149
2158
|
}
|
|
2150
2159
|
/**
|
|
2151
2160
|
* @public
|
|
@@ -4409,6 +4418,10 @@ export declare namespace RetrievalFilter {
|
|
|
4409
4418
|
orAll?: never;
|
|
4410
4419
|
$unknown: [string, any];
|
|
4411
4420
|
}
|
|
4421
|
+
/**
|
|
4422
|
+
* @deprecated unused in schema-serde mode.
|
|
4423
|
+
*
|
|
4424
|
+
*/
|
|
4412
4425
|
interface Visitor<T> {
|
|
4413
4426
|
equals: (value: FilterAttribute) => T;
|
|
4414
4427
|
notEquals: (value: FilterAttribute) => T;
|
|
@@ -4425,7 +4438,6 @@ export declare namespace RetrievalFilter {
|
|
|
4425
4438
|
orAll: (value: RetrievalFilter[]) => T;
|
|
4426
4439
|
_: (name: string, value: any) => T;
|
|
4427
4440
|
}
|
|
4428
|
-
const visit: <T>(value: RetrievalFilter, visitor: Visitor<T>) => T;
|
|
4429
4441
|
}
|
|
4430
4442
|
/**
|
|
4431
4443
|
* <p>The configuration details for returning the results from the knowledge base vector search.</p>
|
|
@@ -4572,12 +4584,15 @@ export declare namespace KnowledgeBaseConfig {
|
|
|
4572
4584
|
retrieveAndGenerateConfig?: never;
|
|
4573
4585
|
$unknown: [string, any];
|
|
4574
4586
|
}
|
|
4587
|
+
/**
|
|
4588
|
+
* @deprecated unused in schema-serde mode.
|
|
4589
|
+
*
|
|
4590
|
+
*/
|
|
4575
4591
|
interface Visitor<T> {
|
|
4576
4592
|
retrieveConfig: (value: RetrieveConfig) => T;
|
|
4577
4593
|
retrieveAndGenerateConfig: (value: RetrieveAndGenerateConfiguration) => T;
|
|
4578
4594
|
_: (name: string, value: any) => T;
|
|
4579
4595
|
}
|
|
4580
|
-
const visit: <T>(value: KnowledgeBaseConfig, visitor: Visitor<T>) => T;
|
|
4581
4596
|
}
|
|
4582
4597
|
/**
|
|
4583
4598
|
* <p>Contains configuration details for retrieval of information and response generation.</p>
|
|
@@ -4614,12 +4629,15 @@ export declare namespace RAGConfig {
|
|
|
4614
4629
|
precomputedRagSourceConfig?: never;
|
|
4615
4630
|
$unknown: [string, any];
|
|
4616
4631
|
}
|
|
4632
|
+
/**
|
|
4633
|
+
* @deprecated unused in schema-serde mode.
|
|
4634
|
+
*
|
|
4635
|
+
*/
|
|
4617
4636
|
interface Visitor<T> {
|
|
4618
4637
|
knowledgeBaseConfig: (value: KnowledgeBaseConfig) => T;
|
|
4619
4638
|
precomputedRagSourceConfig: (value: EvaluationPrecomputedRagSourceConfig) => T;
|
|
4620
4639
|
_: (name: string, value: any) => T;
|
|
4621
4640
|
}
|
|
4622
|
-
const visit: <T>(value: RAGConfig, visitor: Visitor<T>) => T;
|
|
4623
4641
|
}
|
|
4624
4642
|
/**
|
|
4625
4643
|
* <p>The configuration details of the inference model for an evaluation job.</p> <p>For automated model evaluation jobs, only a single model is supported.</p> <p>For human-based model evaluation jobs, your annotator can compare the responses for up to two different models.</p>
|
|
@@ -4656,12 +4674,15 @@ export declare namespace EvaluationInferenceConfig {
|
|
|
4656
4674
|
ragConfigs?: never;
|
|
4657
4675
|
$unknown: [string, any];
|
|
4658
4676
|
}
|
|
4677
|
+
/**
|
|
4678
|
+
* @deprecated unused in schema-serde mode.
|
|
4679
|
+
*
|
|
4680
|
+
*/
|
|
4659
4681
|
interface Visitor<T> {
|
|
4660
4682
|
models: (value: EvaluationModelConfig[]) => T;
|
|
4661
4683
|
ragConfigs: (value: RAGConfig[]) => T;
|
|
4662
4684
|
_: (name: string, value: any) => T;
|
|
4663
4685
|
}
|
|
4664
|
-
const visit: <T>(value: EvaluationInferenceConfig, visitor: Visitor<T>) => T;
|
|
4665
4686
|
}
|
|
4666
4687
|
/**
|
|
4667
4688
|
* @public
|
|
@@ -301,10 +301,6 @@ export declare namespace AutomatedReasoningPolicyTypeValueAnnotation {
|
|
|
301
301
|
deleteTypeValue: (value: AutomatedReasoningPolicyDeleteTypeValue) => T;
|
|
302
302
|
_: (name: string, value: any) => T;
|
|
303
303
|
}
|
|
304
|
-
const visit: <T>(
|
|
305
|
-
value: AutomatedReasoningPolicyTypeValueAnnotation,
|
|
306
|
-
visitor: Visitor<T>
|
|
307
|
-
) => T;
|
|
308
304
|
}
|
|
309
305
|
export interface AutomatedReasoningPolicyUpdateTypeAnnotation {
|
|
310
306
|
name: string | undefined;
|
|
@@ -585,10 +581,6 @@ export declare namespace AutomatedReasoningPolicyAnnotation {
|
|
|
585
581
|
) => T;
|
|
586
582
|
_: (name: string, value: any) => T;
|
|
587
583
|
}
|
|
588
|
-
const visit: <T>(
|
|
589
|
-
value: AutomatedReasoningPolicyAnnotation,
|
|
590
|
-
visitor: Visitor<T>
|
|
591
|
-
) => T;
|
|
592
584
|
}
|
|
593
585
|
export interface GetAutomatedReasoningPolicyAnnotationsResponse {
|
|
594
586
|
policyArn: string | undefined;
|
|
@@ -827,10 +819,6 @@ export declare namespace AutomatedReasoningPolicyMutation {
|
|
|
827
819
|
deleteRule: (value: AutomatedReasoningPolicyDeleteRuleMutation) => T;
|
|
828
820
|
_: (name: string, value: any) => T;
|
|
829
821
|
}
|
|
830
|
-
const visit: <T>(
|
|
831
|
-
value: AutomatedReasoningPolicyMutation,
|
|
832
|
-
visitor: Visitor<T>
|
|
833
|
-
) => T;
|
|
834
822
|
}
|
|
835
823
|
export interface AutomatedReasoningPolicyPlanning {}
|
|
836
824
|
export type AutomatedReasoningPolicyBuildStepContext =
|
|
@@ -858,10 +846,6 @@ export declare namespace AutomatedReasoningPolicyBuildStepContext {
|
|
|
858
846
|
mutation: (value: AutomatedReasoningPolicyMutation) => T;
|
|
859
847
|
_: (name: string, value: any) => T;
|
|
860
848
|
}
|
|
861
|
-
const visit: <T>(
|
|
862
|
-
value: AutomatedReasoningPolicyBuildStepContext,
|
|
863
|
-
visitor: Visitor<T>
|
|
864
|
-
) => T;
|
|
865
849
|
}
|
|
866
850
|
export declare const AutomatedReasoningPolicyBuildMessageType: {
|
|
867
851
|
readonly ERROR: "ERROR";
|
|
@@ -912,10 +896,6 @@ export declare namespace AutomatedReasoningPolicyDefinitionElement {
|
|
|
912
896
|
policyDefinitionRule: (value: AutomatedReasoningPolicyDefinitionRule) => T;
|
|
913
897
|
_: (name: string, value: any) => T;
|
|
914
898
|
}
|
|
915
|
-
const visit: <T>(
|
|
916
|
-
value: AutomatedReasoningPolicyDefinitionElement,
|
|
917
|
-
visitor: Visitor<T>
|
|
918
|
-
) => T;
|
|
919
899
|
}
|
|
920
900
|
export interface AutomatedReasoningPolicyBuildStep {
|
|
921
901
|
context: AutomatedReasoningPolicyBuildStepContext | undefined;
|
|
@@ -994,10 +974,6 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
|
|
|
994
974
|
buildLog: (value: AutomatedReasoningPolicyBuildLog) => T;
|
|
995
975
|
_: (name: string, value: any) => T;
|
|
996
976
|
}
|
|
997
|
-
const visit: <T>(
|
|
998
|
-
value: AutomatedReasoningPolicyBuildResultAssets,
|
|
999
|
-
visitor: Visitor<T>
|
|
1000
|
-
) => T;
|
|
1001
977
|
}
|
|
1002
978
|
export interface GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponse {
|
|
1003
979
|
policyArn: string | undefined;
|
|
@@ -1207,10 +1183,6 @@ export declare namespace AutomatedReasoningCheckFinding {
|
|
|
1207
1183
|
noTranslations: (value: AutomatedReasoningCheckNoTranslationsFinding) => T;
|
|
1208
1184
|
_: (name: string, value: any) => T;
|
|
1209
1185
|
}
|
|
1210
|
-
const visit: <T>(
|
|
1211
|
-
value: AutomatedReasoningCheckFinding,
|
|
1212
|
-
visitor: Visitor<T>
|
|
1213
|
-
) => T;
|
|
1214
1186
|
}
|
|
1215
1187
|
export declare const AutomatedReasoningPolicyTestRunResult: {
|
|
1216
1188
|
readonly FAILED: "FAILED";
|
|
@@ -1335,10 +1307,6 @@ export declare namespace AutomatedReasoningPolicyWorkflowTypeContent {
|
|
|
1335
1307
|
) => T;
|
|
1336
1308
|
_: (name: string, value: any) => T;
|
|
1337
1309
|
}
|
|
1338
|
-
const visit: <T>(
|
|
1339
|
-
value: AutomatedReasoningPolicyWorkflowTypeContent,
|
|
1340
|
-
visitor: Visitor<T>
|
|
1341
|
-
) => T;
|
|
1342
1310
|
}
|
|
1343
1311
|
export interface AutomatedReasoningPolicyBuildWorkflowSource {
|
|
1344
1312
|
policyDefinition?: AutomatedReasoningPolicyDefinition | undefined;
|
|
@@ -1428,7 +1396,6 @@ export declare namespace EndpointConfig {
|
|
|
1428
1396
|
sageMaker: (value: SageMakerEndpoint) => T;
|
|
1429
1397
|
_: (name: string, value: any) => T;
|
|
1430
1398
|
}
|
|
1431
|
-
const visit: <T>(value: EndpointConfig, visitor: Visitor<T>) => T;
|
|
1432
1399
|
}
|
|
1433
1400
|
export interface CreateMarketplaceModelEndpointRequest {
|
|
1434
1401
|
modelSourceIdentifier: string | undefined;
|
|
@@ -1596,7 +1563,6 @@ export declare namespace ModelDataSource {
|
|
|
1596
1563
|
s3DataSource: (value: S3DataSource) => T;
|
|
1597
1564
|
_: (name: string, value: any) => T;
|
|
1598
1565
|
}
|
|
1599
|
-
const visit: <T>(value: ModelDataSource, visitor: Visitor<T>) => T;
|
|
1600
1566
|
}
|
|
1601
1567
|
export interface CreateCustomModelRequest {
|
|
1602
1568
|
modelName: string | undefined;
|
|
@@ -1639,7 +1605,6 @@ export declare namespace CustomizationConfig {
|
|
|
1639
1605
|
distillationConfig: (value: DistillationConfig) => T;
|
|
1640
1606
|
_: (name: string, value: any) => T;
|
|
1641
1607
|
}
|
|
1642
|
-
const visit: <T>(value: CustomizationConfig, visitor: Visitor<T>) => T;
|
|
1643
1608
|
}
|
|
1644
1609
|
export declare const CustomizationType: {
|
|
1645
1610
|
readonly CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING";
|
|
@@ -1674,7 +1639,6 @@ export declare namespace InvocationLogSource {
|
|
|
1674
1639
|
s3Uri: (value: string) => T;
|
|
1675
1640
|
_: (name: string, value: any) => T;
|
|
1676
1641
|
}
|
|
1677
|
-
const visit: <T>(value: InvocationLogSource, visitor: Visitor<T>) => T;
|
|
1678
1642
|
}
|
|
1679
1643
|
export interface RequestMetadataBaseFilters {
|
|
1680
1644
|
equals?: Record<string, string> | undefined;
|
|
@@ -1729,7 +1693,6 @@ export declare namespace RequestMetadataFilters {
|
|
|
1729
1693
|
orAll: (value: RequestMetadataBaseFilters[]) => T;
|
|
1730
1694
|
_: (name: string, value: any) => T;
|
|
1731
1695
|
}
|
|
1732
|
-
const visit: <T>(value: RequestMetadataFilters, visitor: Visitor<T>) => T;
|
|
1733
1696
|
}
|
|
1734
1697
|
export interface InvocationLogsConfig {
|
|
1735
1698
|
usePromptResponse?: boolean | undefined;
|
|
@@ -1855,7 +1818,6 @@ export declare namespace RatingScaleItemValue {
|
|
|
1855
1818
|
floatValue: (value: number) => T;
|
|
1856
1819
|
_: (name: string, value: any) => T;
|
|
1857
1820
|
}
|
|
1858
|
-
const visit: <T>(value: RatingScaleItemValue, visitor: Visitor<T>) => T;
|
|
1859
1821
|
}
|
|
1860
1822
|
export interface RatingScaleItem {
|
|
1861
1823
|
definition: string | undefined;
|
|
@@ -1882,10 +1844,6 @@ export declare namespace AutomatedEvaluationCustomMetricSource {
|
|
|
1882
1844
|
customMetricDefinition: (value: CustomMetricDefinition) => T;
|
|
1883
1845
|
_: (name: string, value: any) => T;
|
|
1884
1846
|
}
|
|
1885
|
-
const visit: <T>(
|
|
1886
|
-
value: AutomatedEvaluationCustomMetricSource,
|
|
1887
|
-
visitor: Visitor<T>
|
|
1888
|
-
) => T;
|
|
1889
1847
|
}
|
|
1890
1848
|
export interface CustomMetricBedrockEvaluatorModel {
|
|
1891
1849
|
modelIdentifier: string | undefined;
|
|
@@ -1913,7 +1871,6 @@ export declare namespace EvaluationDatasetLocation {
|
|
|
1913
1871
|
s3Uri: (value: string) => T;
|
|
1914
1872
|
_: (name: string, value: any) => T;
|
|
1915
1873
|
}
|
|
1916
|
-
const visit: <T>(value: EvaluationDatasetLocation, visitor: Visitor<T>) => T;
|
|
1917
1874
|
}
|
|
1918
1875
|
export interface EvaluationDataset {
|
|
1919
1876
|
name: string | undefined;
|
|
@@ -1952,7 +1909,6 @@ export declare namespace EvaluatorModelConfig {
|
|
|
1952
1909
|
bedrockEvaluatorModels: (value: BedrockEvaluatorModel[]) => T;
|
|
1953
1910
|
_: (name: string, value: any) => T;
|
|
1954
1911
|
}
|
|
1955
|
-
const visit: <T>(value: EvaluatorModelConfig, visitor: Visitor<T>) => T;
|
|
1956
1912
|
}
|
|
1957
1913
|
export interface AutomatedEvaluationConfig {
|
|
1958
1914
|
datasetMetricConfigs: EvaluationDatasetMetricConfig[] | undefined;
|
|
@@ -1998,7 +1954,6 @@ export declare namespace EvaluationConfig {
|
|
|
1998
1954
|
human: (value: HumanEvaluationConfig) => T;
|
|
1999
1955
|
_: (name: string, value: any) => T;
|
|
2000
1956
|
}
|
|
2001
|
-
const visit: <T>(value: EvaluationConfig, visitor: Visitor<T>) => T;
|
|
2002
1957
|
}
|
|
2003
1958
|
export declare const PerformanceConfigLatency: {
|
|
2004
1959
|
readonly OPTIMIZED: "optimized";
|
|
@@ -2044,7 +1999,6 @@ export declare namespace EvaluationModelConfig {
|
|
|
2044
1999
|
) => T;
|
|
2045
2000
|
_: (name: string, value: any) => T;
|
|
2046
2001
|
}
|
|
2047
|
-
const visit: <T>(value: EvaluationModelConfig, visitor: Visitor<T>) => T;
|
|
2048
2002
|
}
|
|
2049
2003
|
export interface GuardrailConfiguration {
|
|
2050
2004
|
guardrailId: string | undefined;
|
|
@@ -2170,10 +2124,6 @@ export declare namespace RerankingMetadataSelectiveModeConfiguration {
|
|
|
2170
2124
|
fieldsToExclude: (value: FieldForReranking[]) => T;
|
|
2171
2125
|
_: (name: string, value: any) => T;
|
|
2172
2126
|
}
|
|
2173
|
-
const visit: <T>(
|
|
2174
|
-
value: RerankingMetadataSelectiveModeConfiguration,
|
|
2175
|
-
visitor: Visitor<T>
|
|
2176
|
-
) => T;
|
|
2177
2127
|
}
|
|
2178
2128
|
export interface MetadataConfigurationForReranking {
|
|
2179
2129
|
selectionMode: RerankingMetadataSelectionMode | undefined;
|
|
@@ -2244,10 +2194,6 @@ export declare namespace EvaluationPrecomputedRagSourceConfig {
|
|
|
2244
2194
|
) => T;
|
|
2245
2195
|
_: (name: string, value: any) => T;
|
|
2246
2196
|
}
|
|
2247
|
-
const visit: <T>(
|
|
2248
|
-
value: EvaluationPrecomputedRagSourceConfig,
|
|
2249
|
-
visitor: Visitor<T>
|
|
2250
|
-
) => T;
|
|
2251
2197
|
}
|
|
2252
2198
|
export interface EvaluationOutputDataConfig {
|
|
2253
2199
|
s3Uri: string | undefined;
|