@aws-sdk/client-bedrock 3.699.0 → 3.705.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.
Files changed (27) hide show
  1. package/dist-cjs/index.js +770 -36
  2. package/dist-es/commands/CreateModelCustomizationJobCommand.js +2 -1
  3. package/dist-es/commands/GetCustomModelCommand.js +2 -1
  4. package/dist-es/commands/GetModelCustomizationJobCommand.js +2 -1
  5. package/dist-es/models/models_0.js +291 -24
  6. package/dist-es/protocols/Aws_restJson1.js +410 -3
  7. package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +3 -1
  8. package/dist-types/commands/CreateEvaluationJobCommand.d.ts +156 -2
  9. package/dist-types/commands/CreateGuardrailCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +43 -3
  11. package/dist-types/commands/GetCustomModelCommand.d.ts +42 -2
  12. package/dist-types/commands/GetEvaluationJobCommand.d.ts +156 -3
  13. package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
  14. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +43 -3
  15. package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -1
  16. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  17. package/dist-types/commands/ListCustomModelsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +10 -2
  19. package/dist-types/commands/ListFoundationModelsCommand.d.ts +2 -2
  20. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +1 -1
  22. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  23. package/dist-types/commands/StopEvaluationJobCommand.d.ts +1 -1
  24. package/dist-types/commands/StopModelInvocationJobCommand.d.ts +1 -1
  25. package/dist-types/models/models_0.d.ts +1585 -175
  26. package/dist-types/ts3.4/models/models_0.d.ts +683 -55
  27. package/package.json +1 -1
@@ -27,7 +27,7 @@ declare const CreateEvaluationJobCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>API operation for creating and managing Amazon Bedrock automatic model evaluation jobs and model evaluation jobs that use human workers. To learn more about the requirements for creating a model evaluation job see, <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation.html">Model evaluation</a>.</p>
30
+ * <p>Creates an evaluation job.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -46,6 +46,7 @@ declare const CreateEvaluationJobCommand_base: {
46
46
  * value: "STRING_VALUE", // required
47
47
  * },
48
48
  * ],
49
+ * applicationType: "ModelEvaluation" || "RagEvaluation",
49
50
  * evaluationConfig: { // EvaluationConfig Union: only one key present
50
51
  * automated: { // AutomatedEvaluationConfig
51
52
  * datasetMetricConfigs: [ // EvaluationDatasetMetricConfigs // required
@@ -62,6 +63,13 @@ declare const CreateEvaluationJobCommand_base: {
62
63
  * ],
63
64
  * },
64
65
  * ],
66
+ * evaluatorModelConfig: { // EvaluatorModelConfig Union: only one key present
67
+ * bedrockEvaluatorModels: [ // BedrockEvaluatorModels
68
+ * { // BedrockEvaluatorModel
69
+ * modelIdentifier: "STRING_VALUE", // required
70
+ * },
71
+ * ],
72
+ * },
65
73
  * },
66
74
  * human: { // HumanEvaluationConfig
67
75
  * humanWorkflowConfig: { // HumanWorkflowConfig
@@ -96,7 +104,153 @@ declare const CreateEvaluationJobCommand_base: {
96
104
  * { // EvaluationModelConfig Union: only one key present
97
105
  * bedrockModel: { // EvaluationBedrockModel
98
106
  * modelIdentifier: "STRING_VALUE", // required
99
- * inferenceParams: "STRING_VALUE", // required
107
+ * inferenceParams: "STRING_VALUE",
108
+ * },
109
+ * },
110
+ * ],
111
+ * ragConfigs: [ // RagConfigs
112
+ * { // RAGConfig Union: only one key present
113
+ * knowledgeBaseConfig: { // KnowledgeBaseConfig Union: only one key present
114
+ * retrieveConfig: { // RetrieveConfig
115
+ * knowledgeBaseId: "STRING_VALUE", // required
116
+ * knowledgeBaseRetrievalConfiguration: { // KnowledgeBaseRetrievalConfiguration
117
+ * vectorSearchConfiguration: { // KnowledgeBaseVectorSearchConfiguration
118
+ * numberOfResults: Number("int"),
119
+ * overrideSearchType: "HYBRID" || "SEMANTIC",
120
+ * filter: { // RetrievalFilter Union: only one key present
121
+ * equals: { // FilterAttribute
122
+ * key: "STRING_VALUE", // required
123
+ * value: "DOCUMENT_VALUE", // required
124
+ * },
125
+ * notEquals: {
126
+ * key: "STRING_VALUE", // required
127
+ * value: "DOCUMENT_VALUE", // required
128
+ * },
129
+ * greaterThan: {
130
+ * key: "STRING_VALUE", // required
131
+ * value: "DOCUMENT_VALUE", // required
132
+ * },
133
+ * greaterThanOrEquals: {
134
+ * key: "STRING_VALUE", // required
135
+ * value: "DOCUMENT_VALUE", // required
136
+ * },
137
+ * lessThan: {
138
+ * key: "STRING_VALUE", // required
139
+ * value: "DOCUMENT_VALUE", // required
140
+ * },
141
+ * lessThanOrEquals: "<FilterAttribute>",
142
+ * in: "<FilterAttribute>",
143
+ * notIn: "<FilterAttribute>",
144
+ * startsWith: "<FilterAttribute>",
145
+ * listContains: "<FilterAttribute>",
146
+ * stringContains: "<FilterAttribute>",
147
+ * andAll: [ // RetrievalFilterList
148
+ * {// Union: only one key present
149
+ * equals: "<FilterAttribute>",
150
+ * notEquals: "<FilterAttribute>",
151
+ * greaterThan: "<FilterAttribute>",
152
+ * greaterThanOrEquals: "<FilterAttribute>",
153
+ * lessThan: "<FilterAttribute>",
154
+ * lessThanOrEquals: "<FilterAttribute>",
155
+ * in: "<FilterAttribute>",
156
+ * notIn: "<FilterAttribute>",
157
+ * startsWith: "<FilterAttribute>",
158
+ * listContains: "<FilterAttribute>",
159
+ * stringContains: "<FilterAttribute>",
160
+ * andAll: [
161
+ * "<RetrievalFilter>",
162
+ * ],
163
+ * orAll: [
164
+ * "<RetrievalFilter>",
165
+ * ],
166
+ * },
167
+ * ],
168
+ * orAll: [
169
+ * "<RetrievalFilter>",
170
+ * ],
171
+ * },
172
+ * },
173
+ * },
174
+ * },
175
+ * retrieveAndGenerateConfig: { // RetrieveAndGenerateConfiguration
176
+ * type: "KNOWLEDGE_BASE" || "EXTERNAL_SOURCES", // required
177
+ * knowledgeBaseConfiguration: { // KnowledgeBaseRetrieveAndGenerateConfiguration
178
+ * knowledgeBaseId: "STRING_VALUE", // required
179
+ * modelArn: "STRING_VALUE", // required
180
+ * retrievalConfiguration: {
181
+ * vectorSearchConfiguration: {
182
+ * numberOfResults: Number("int"),
183
+ * overrideSearchType: "HYBRID" || "SEMANTIC",
184
+ * filter: "<RetrievalFilter>",
185
+ * },
186
+ * },
187
+ * generationConfiguration: { // GenerationConfiguration
188
+ * promptTemplate: { // PromptTemplate
189
+ * textPromptTemplate: "STRING_VALUE",
190
+ * },
191
+ * guardrailConfiguration: { // GuardrailConfiguration
192
+ * guardrailId: "STRING_VALUE", // required
193
+ * guardrailVersion: "STRING_VALUE", // required
194
+ * },
195
+ * kbInferenceConfig: { // KbInferenceConfig
196
+ * textInferenceConfig: { // TextInferenceConfig
197
+ * temperature: Number("float"),
198
+ * topP: Number("float"),
199
+ * maxTokens: Number("int"),
200
+ * stopSequences: [ // RAGStopSequences
201
+ * "STRING_VALUE",
202
+ * ],
203
+ * },
204
+ * },
205
+ * additionalModelRequestFields: { // AdditionalModelRequestFields
206
+ * "<keys>": "DOCUMENT_VALUE",
207
+ * },
208
+ * },
209
+ * orchestrationConfiguration: { // OrchestrationConfiguration
210
+ * queryTransformationConfiguration: { // QueryTransformationConfiguration
211
+ * type: "QUERY_DECOMPOSITION", // required
212
+ * },
213
+ * },
214
+ * },
215
+ * externalSourcesConfiguration: { // ExternalSourcesRetrieveAndGenerateConfiguration
216
+ * modelArn: "STRING_VALUE", // required
217
+ * sources: [ // ExternalSources // required
218
+ * { // ExternalSource
219
+ * sourceType: "S3" || "BYTE_CONTENT", // required
220
+ * s3Location: { // S3ObjectDoc
221
+ * uri: "STRING_VALUE", // required
222
+ * },
223
+ * byteContent: { // ByteContentDoc
224
+ * identifier: "STRING_VALUE", // required
225
+ * contentType: "STRING_VALUE", // required
226
+ * data: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
227
+ * },
228
+ * },
229
+ * ],
230
+ * generationConfiguration: { // ExternalSourcesGenerationConfiguration
231
+ * promptTemplate: {
232
+ * textPromptTemplate: "STRING_VALUE",
233
+ * },
234
+ * guardrailConfiguration: {
235
+ * guardrailId: "STRING_VALUE", // required
236
+ * guardrailVersion: "STRING_VALUE", // required
237
+ * },
238
+ * kbInferenceConfig: {
239
+ * textInferenceConfig: {
240
+ * temperature: Number("float"),
241
+ * topP: Number("float"),
242
+ * maxTokens: Number("int"),
243
+ * stopSequences: [
244
+ * "STRING_VALUE",
245
+ * ],
246
+ * },
247
+ * },
248
+ * additionalModelRequestFields: {
249
+ * "<keys>": "DOCUMENT_VALUE",
250
+ * },
251
+ * },
252
+ * },
253
+ * },
100
254
  * },
101
255
  * },
102
256
  * ],
@@ -57,7 +57,7 @@ declare const CreateGuardrailCommand_base: {
57
57
  * </ul>
58
58
  * <p>In addition to the above policies, you can also configure the messages to be returned to
59
59
  * the user if a user input or model response is in violation of the policies defined in the guardrail.</p>
60
- * <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">Guardrails for Amazon Bedrock</a> in
60
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">Amazon Bedrock Guardrails</a> in
61
61
  * the <i>Amazon Bedrock User Guide</i>.</p>
62
62
  * @example
63
63
  * Use a bare-bones client and the command you need to make an API call.
@@ -48,7 +48,7 @@ declare const CreateModelCustomizationJobCommand_base: {
48
48
  * roleArn: "STRING_VALUE", // required
49
49
  * clientRequestToken: "STRING_VALUE",
50
50
  * baseModelIdentifier: "STRING_VALUE", // required
51
- * customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
51
+ * customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
52
52
  * customModelKmsKeyId: "STRING_VALUE",
53
53
  * jobTags: [ // TagList
54
54
  * { // Tag
@@ -63,7 +63,39 @@ declare const CreateModelCustomizationJobCommand_base: {
63
63
  * },
64
64
  * ],
65
65
  * trainingDataConfig: { // TrainingDataConfig
66
- * s3Uri: "STRING_VALUE", // required
66
+ * s3Uri: "STRING_VALUE",
67
+ * invocationLogsConfig: { // InvocationLogsConfig
68
+ * usePromptResponse: true || false,
69
+ * invocationLogSource: { // InvocationLogSource Union: only one key present
70
+ * s3Uri: "STRING_VALUE",
71
+ * },
72
+ * requestMetadataFilters: { // RequestMetadataFilters Union: only one key present
73
+ * equals: { // RequestMetadataMap
74
+ * "<keys>": "STRING_VALUE",
75
+ * },
76
+ * notEquals: {
77
+ * "<keys>": "STRING_VALUE",
78
+ * },
79
+ * andAll: [ // RequestMetadataFiltersList
80
+ * { // RequestMetadataBaseFilters
81
+ * equals: {
82
+ * "<keys>": "STRING_VALUE",
83
+ * },
84
+ * notEquals: {
85
+ * "<keys>": "STRING_VALUE",
86
+ * },
87
+ * },
88
+ * ],
89
+ * orAll: [
90
+ * {
91
+ * equals: {
92
+ * "<keys>": "STRING_VALUE",
93
+ * },
94
+ * notEquals: "<RequestMetadataMap>",
95
+ * },
96
+ * ],
97
+ * },
98
+ * },
67
99
  * },
68
100
  * validationDataConfig: { // ValidationDataConfig
69
101
  * validators: [ // Validators // required
@@ -75,7 +107,7 @@ declare const CreateModelCustomizationJobCommand_base: {
75
107
  * outputDataConfig: { // OutputDataConfig
76
108
  * s3Uri: "STRING_VALUE", // required
77
109
  * },
78
- * hyperParameters: { // ModelCustomizationHyperParameters // required
110
+ * hyperParameters: { // ModelCustomizationHyperParameters
79
111
  * "<keys>": "STRING_VALUE",
80
112
  * },
81
113
  * vpcConfig: { // VpcConfig
@@ -86,6 +118,14 @@ declare const CreateModelCustomizationJobCommand_base: {
86
118
  * "STRING_VALUE",
87
119
  * ],
88
120
  * },
121
+ * customizationConfig: { // CustomizationConfig Union: only one key present
122
+ * distillationConfig: { // DistillationConfig
123
+ * teacherModelConfig: { // TeacherModelConfig
124
+ * teacherModelIdentifier: "STRING_VALUE", // required
125
+ * maxResponseLengthForInference: Number("int"),
126
+ * },
127
+ * },
128
+ * },
89
129
  * };
90
130
  * const command = new CreateModelCustomizationJobCommand(input);
91
131
  * const response = await client.send(command);
@@ -45,13 +45,45 @@ declare const GetCustomModelCommand_base: {
45
45
  * // jobName: "STRING_VALUE",
46
46
  * // jobArn: "STRING_VALUE", // required
47
47
  * // baseModelArn: "STRING_VALUE", // required
48
- * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
48
+ * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
49
49
  * // modelKmsKeyArn: "STRING_VALUE",
50
50
  * // hyperParameters: { // ModelCustomizationHyperParameters
51
51
  * // "<keys>": "STRING_VALUE",
52
52
  * // },
53
53
  * // trainingDataConfig: { // TrainingDataConfig
54
- * // s3Uri: "STRING_VALUE", // required
54
+ * // s3Uri: "STRING_VALUE",
55
+ * // invocationLogsConfig: { // InvocationLogsConfig
56
+ * // usePromptResponse: true || false,
57
+ * // invocationLogSource: { // InvocationLogSource Union: only one key present
58
+ * // s3Uri: "STRING_VALUE",
59
+ * // },
60
+ * // requestMetadataFilters: { // RequestMetadataFilters Union: only one key present
61
+ * // equals: { // RequestMetadataMap
62
+ * // "<keys>": "STRING_VALUE",
63
+ * // },
64
+ * // notEquals: {
65
+ * // "<keys>": "STRING_VALUE",
66
+ * // },
67
+ * // andAll: [ // RequestMetadataFiltersList
68
+ * // { // RequestMetadataBaseFilters
69
+ * // equals: {
70
+ * // "<keys>": "STRING_VALUE",
71
+ * // },
72
+ * // notEquals: {
73
+ * // "<keys>": "STRING_VALUE",
74
+ * // },
75
+ * // },
76
+ * // ],
77
+ * // orAll: [
78
+ * // {
79
+ * // equals: {
80
+ * // "<keys>": "STRING_VALUE",
81
+ * // },
82
+ * // notEquals: "<RequestMetadataMap>",
83
+ * // },
84
+ * // ],
85
+ * // },
86
+ * // },
55
87
  * // },
56
88
  * // validationDataConfig: { // ValidationDataConfig
57
89
  * // validators: [ // Validators // required
@@ -72,6 +104,14 @@ declare const GetCustomModelCommand_base: {
72
104
  * // },
73
105
  * // ],
74
106
  * // creationTime: new Date("TIMESTAMP"), // required
107
+ * // customizationConfig: { // CustomizationConfig Union: only one key present
108
+ * // distillationConfig: { // DistillationConfig
109
+ * // teacherModelConfig: { // TeacherModelConfig
110
+ * // teacherModelIdentifier: "STRING_VALUE", // required
111
+ * // maxResponseLengthForInference: Number("int"),
112
+ * // },
113
+ * // },
114
+ * // },
75
115
  * // };
76
116
  *
77
117
  * ```
@@ -27,8 +27,7 @@ declare const GetEvaluationJobCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the properties associated with a model evaluation job, including the
31
- * status of the job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation.html">Model evaluation</a>.</p>
30
+ * <p>Gets information about an evaluation job, such as the status of the job.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -48,6 +47,7 @@ declare const GetEvaluationJobCommand_base: {
48
47
  * // roleArn: "STRING_VALUE", // required
49
48
  * // customerEncryptionKeyId: "STRING_VALUE",
50
49
  * // jobType: "Human" || "Automated", // required
50
+ * // applicationType: "ModelEvaluation" || "RagEvaluation",
51
51
  * // evaluationConfig: { // EvaluationConfig Union: only one key present
52
52
  * // automated: { // AutomatedEvaluationConfig
53
53
  * // datasetMetricConfigs: [ // EvaluationDatasetMetricConfigs // required
@@ -64,6 +64,13 @@ declare const GetEvaluationJobCommand_base: {
64
64
  * // ],
65
65
  * // },
66
66
  * // ],
67
+ * // evaluatorModelConfig: { // EvaluatorModelConfig Union: only one key present
68
+ * // bedrockEvaluatorModels: [ // BedrockEvaluatorModels
69
+ * // { // BedrockEvaluatorModel
70
+ * // modelIdentifier: "STRING_VALUE", // required
71
+ * // },
72
+ * // ],
73
+ * // },
67
74
  * // },
68
75
  * // human: { // HumanEvaluationConfig
69
76
  * // humanWorkflowConfig: { // HumanWorkflowConfig
@@ -98,7 +105,153 @@ declare const GetEvaluationJobCommand_base: {
98
105
  * // { // EvaluationModelConfig Union: only one key present
99
106
  * // bedrockModel: { // EvaluationBedrockModel
100
107
  * // modelIdentifier: "STRING_VALUE", // required
101
- * // inferenceParams: "STRING_VALUE", // required
108
+ * // inferenceParams: "STRING_VALUE",
109
+ * // },
110
+ * // },
111
+ * // ],
112
+ * // ragConfigs: [ // RagConfigs
113
+ * // { // RAGConfig Union: only one key present
114
+ * // knowledgeBaseConfig: { // KnowledgeBaseConfig Union: only one key present
115
+ * // retrieveConfig: { // RetrieveConfig
116
+ * // knowledgeBaseId: "STRING_VALUE", // required
117
+ * // knowledgeBaseRetrievalConfiguration: { // KnowledgeBaseRetrievalConfiguration
118
+ * // vectorSearchConfiguration: { // KnowledgeBaseVectorSearchConfiguration
119
+ * // numberOfResults: Number("int"),
120
+ * // overrideSearchType: "HYBRID" || "SEMANTIC",
121
+ * // filter: { // RetrievalFilter Union: only one key present
122
+ * // equals: { // FilterAttribute
123
+ * // key: "STRING_VALUE", // required
124
+ * // value: "DOCUMENT_VALUE", // required
125
+ * // },
126
+ * // notEquals: {
127
+ * // key: "STRING_VALUE", // required
128
+ * // value: "DOCUMENT_VALUE", // required
129
+ * // },
130
+ * // greaterThan: {
131
+ * // key: "STRING_VALUE", // required
132
+ * // value: "DOCUMENT_VALUE", // required
133
+ * // },
134
+ * // greaterThanOrEquals: {
135
+ * // key: "STRING_VALUE", // required
136
+ * // value: "DOCUMENT_VALUE", // required
137
+ * // },
138
+ * // lessThan: {
139
+ * // key: "STRING_VALUE", // required
140
+ * // value: "DOCUMENT_VALUE", // required
141
+ * // },
142
+ * // lessThanOrEquals: "<FilterAttribute>",
143
+ * // in: "<FilterAttribute>",
144
+ * // notIn: "<FilterAttribute>",
145
+ * // startsWith: "<FilterAttribute>",
146
+ * // listContains: "<FilterAttribute>",
147
+ * // stringContains: "<FilterAttribute>",
148
+ * // andAll: [ // RetrievalFilterList
149
+ * // {// Union: only one key present
150
+ * // equals: "<FilterAttribute>",
151
+ * // notEquals: "<FilterAttribute>",
152
+ * // greaterThan: "<FilterAttribute>",
153
+ * // greaterThanOrEquals: "<FilterAttribute>",
154
+ * // lessThan: "<FilterAttribute>",
155
+ * // lessThanOrEquals: "<FilterAttribute>",
156
+ * // in: "<FilterAttribute>",
157
+ * // notIn: "<FilterAttribute>",
158
+ * // startsWith: "<FilterAttribute>",
159
+ * // listContains: "<FilterAttribute>",
160
+ * // stringContains: "<FilterAttribute>",
161
+ * // andAll: [
162
+ * // "<RetrievalFilter>",
163
+ * // ],
164
+ * // orAll: [
165
+ * // "<RetrievalFilter>",
166
+ * // ],
167
+ * // },
168
+ * // ],
169
+ * // orAll: [
170
+ * // "<RetrievalFilter>",
171
+ * // ],
172
+ * // },
173
+ * // },
174
+ * // },
175
+ * // },
176
+ * // retrieveAndGenerateConfig: { // RetrieveAndGenerateConfiguration
177
+ * // type: "KNOWLEDGE_BASE" || "EXTERNAL_SOURCES", // required
178
+ * // knowledgeBaseConfiguration: { // KnowledgeBaseRetrieveAndGenerateConfiguration
179
+ * // knowledgeBaseId: "STRING_VALUE", // required
180
+ * // modelArn: "STRING_VALUE", // required
181
+ * // retrievalConfiguration: {
182
+ * // vectorSearchConfiguration: {
183
+ * // numberOfResults: Number("int"),
184
+ * // overrideSearchType: "HYBRID" || "SEMANTIC",
185
+ * // filter: "<RetrievalFilter>",
186
+ * // },
187
+ * // },
188
+ * // generationConfiguration: { // GenerationConfiguration
189
+ * // promptTemplate: { // PromptTemplate
190
+ * // textPromptTemplate: "STRING_VALUE",
191
+ * // },
192
+ * // guardrailConfiguration: { // GuardrailConfiguration
193
+ * // guardrailId: "STRING_VALUE", // required
194
+ * // guardrailVersion: "STRING_VALUE", // required
195
+ * // },
196
+ * // kbInferenceConfig: { // KbInferenceConfig
197
+ * // textInferenceConfig: { // TextInferenceConfig
198
+ * // temperature: Number("float"),
199
+ * // topP: Number("float"),
200
+ * // maxTokens: Number("int"),
201
+ * // stopSequences: [ // RAGStopSequences
202
+ * // "STRING_VALUE",
203
+ * // ],
204
+ * // },
205
+ * // },
206
+ * // additionalModelRequestFields: { // AdditionalModelRequestFields
207
+ * // "<keys>": "DOCUMENT_VALUE",
208
+ * // },
209
+ * // },
210
+ * // orchestrationConfiguration: { // OrchestrationConfiguration
211
+ * // queryTransformationConfiguration: { // QueryTransformationConfiguration
212
+ * // type: "QUERY_DECOMPOSITION", // required
213
+ * // },
214
+ * // },
215
+ * // },
216
+ * // externalSourcesConfiguration: { // ExternalSourcesRetrieveAndGenerateConfiguration
217
+ * // modelArn: "STRING_VALUE", // required
218
+ * // sources: [ // ExternalSources // required
219
+ * // { // ExternalSource
220
+ * // sourceType: "S3" || "BYTE_CONTENT", // required
221
+ * // s3Location: { // S3ObjectDoc
222
+ * // uri: "STRING_VALUE", // required
223
+ * // },
224
+ * // byteContent: { // ByteContentDoc
225
+ * // identifier: "STRING_VALUE", // required
226
+ * // contentType: "STRING_VALUE", // required
227
+ * // data: new Uint8Array(), // required
228
+ * // },
229
+ * // },
230
+ * // ],
231
+ * // generationConfiguration: { // ExternalSourcesGenerationConfiguration
232
+ * // promptTemplate: {
233
+ * // textPromptTemplate: "STRING_VALUE",
234
+ * // },
235
+ * // guardrailConfiguration: {
236
+ * // guardrailId: "STRING_VALUE", // required
237
+ * // guardrailVersion: "STRING_VALUE", // required
238
+ * // },
239
+ * // kbInferenceConfig: {
240
+ * // textInferenceConfig: {
241
+ * // temperature: Number("float"),
242
+ * // topP: Number("float"),
243
+ * // maxTokens: Number("int"),
244
+ * // stopSequences: [
245
+ * // "STRING_VALUE",
246
+ * // ],
247
+ * // },
248
+ * // },
249
+ * // additionalModelRequestFields: {
250
+ * // "<keys>": "DOCUMENT_VALUE",
251
+ * // },
252
+ * // },
253
+ * // },
254
+ * // },
102
255
  * // },
103
256
  * // },
104
257
  * // ],
@@ -53,7 +53,7 @@ declare const GetFoundationModelCommand_base: {
53
53
  * // ],
54
54
  * // responseStreamingSupported: true || false,
55
55
  * // customizationsSupported: [ // ModelCustomizationList
56
- * // "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
56
+ * // "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
57
57
  * // ],
58
58
  * // inferenceTypesSupported: [ // InferenceTypeList
59
59
  * // "ON_DEMAND" || "PROVISIONED",
@@ -53,11 +53,43 @@ declare const GetModelCustomizationJobCommand_base: {
53
53
  * // lastModifiedTime: new Date("TIMESTAMP"),
54
54
  * // endTime: new Date("TIMESTAMP"),
55
55
  * // baseModelArn: "STRING_VALUE", // required
56
- * // hyperParameters: { // ModelCustomizationHyperParameters // required
56
+ * // hyperParameters: { // ModelCustomizationHyperParameters
57
57
  * // "<keys>": "STRING_VALUE",
58
58
  * // },
59
59
  * // trainingDataConfig: { // TrainingDataConfig
60
- * // s3Uri: "STRING_VALUE", // required
60
+ * // s3Uri: "STRING_VALUE",
61
+ * // invocationLogsConfig: { // InvocationLogsConfig
62
+ * // usePromptResponse: true || false,
63
+ * // invocationLogSource: { // InvocationLogSource Union: only one key present
64
+ * // s3Uri: "STRING_VALUE",
65
+ * // },
66
+ * // requestMetadataFilters: { // RequestMetadataFilters Union: only one key present
67
+ * // equals: { // RequestMetadataMap
68
+ * // "<keys>": "STRING_VALUE",
69
+ * // },
70
+ * // notEquals: {
71
+ * // "<keys>": "STRING_VALUE",
72
+ * // },
73
+ * // andAll: [ // RequestMetadataFiltersList
74
+ * // { // RequestMetadataBaseFilters
75
+ * // equals: {
76
+ * // "<keys>": "STRING_VALUE",
77
+ * // },
78
+ * // notEquals: {
79
+ * // "<keys>": "STRING_VALUE",
80
+ * // },
81
+ * // },
82
+ * // ],
83
+ * // orAll: [
84
+ * // {
85
+ * // equals: {
86
+ * // "<keys>": "STRING_VALUE",
87
+ * // },
88
+ * // notEquals: "<RequestMetadataMap>",
89
+ * // },
90
+ * // ],
91
+ * // },
92
+ * // },
61
93
  * // },
62
94
  * // validationDataConfig: { // ValidationDataConfig
63
95
  * // validators: [ // Validators // required
@@ -69,7 +101,7 @@ declare const GetModelCustomizationJobCommand_base: {
69
101
  * // outputDataConfig: { // OutputDataConfig
70
102
  * // s3Uri: "STRING_VALUE", // required
71
103
  * // },
72
- * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
104
+ * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
73
105
  * // outputModelKmsKeyArn: "STRING_VALUE",
74
106
  * // trainingMetrics: { // TrainingMetrics
75
107
  * // trainingLoss: Number("float"),
@@ -87,6 +119,14 @@ declare const GetModelCustomizationJobCommand_base: {
87
119
  * // "STRING_VALUE",
88
120
  * // ],
89
121
  * // },
122
+ * // customizationConfig: { // CustomizationConfig Union: only one key present
123
+ * // distillationConfig: { // DistillationConfig
124
+ * // teacherModelConfig: { // TeacherModelConfig
125
+ * // teacherModelIdentifier: "STRING_VALUE", // required
126
+ * // maxResponseLengthForInference: Number("int"),
127
+ * // },
128
+ * // },
129
+ * // },
90
130
  * // };
91
131
  *
92
132
  * ```
@@ -27,7 +27,7 @@ declare const GetModelInvocationJobCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Gets details about a batch inference job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-manage.html#batch-inference-view">View details about a batch inference job</a>
30
+ * <p>Gets details about a batch inference job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-monitor">Monitor batch inference jobs</a>
31
31
  * </p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -54,6 +54,7 @@ declare const GetModelInvocationLoggingConfigurationCommand_base: {
54
54
  * // textDataDeliveryEnabled: true || false,
55
55
  * // imageDataDeliveryEnabled: true || false,
56
56
  * // embeddingDataDeliveryEnabled: true || false,
57
+ * // videoDataDeliveryEnabled: true || false,
57
58
  * // },
58
59
  * // };
59
60
  *
@@ -58,7 +58,7 @@ declare const ListCustomModelsCommand_base: {
58
58
  * // creationTime: new Date("TIMESTAMP"), // required
59
59
  * // baseModelArn: "STRING_VALUE", // required
60
60
  * // baseModelName: "STRING_VALUE", // required
61
- * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
61
+ * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
62
62
  * // ownerAccountId: "STRING_VALUE",
63
63
  * // },
64
64
  * // ],