@aws-sdk/client-bedrock 3.1087.0 → 3.1089.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 +1 -1
- package/dist-types/ts3.4/Bedrock.d.ts +346 -529
- package/dist-types/ts3.4/BedrockClient.d.ts +16 -29
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/BatchDeleteAdvancedPromptOptimizationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/BatchDeleteEvaluationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateAdvancedPromptOptimizationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateCustomModelCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateCustomModelDeploymentCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateEvaluationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateFoundationModelAgreementCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateInferenceProfileCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateMarketplaceModelEndpointCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateModelCopyJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateModelInvocationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreatePromptRouterCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteCustomModelDeploymentCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteFoundationModelAgreementCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteMarketplaceModelEndpointCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeletePromptRouterCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetAccountDataRetentionCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetAdvancedPromptOptimizationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetCustomModelDeploymentCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetEvaluationJobCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetFoundationModelAvailabilityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetMarketplaceModelEndpointCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetModelCopyJobCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetModelInvocationJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetUseCaseForModelAccessCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListAdvancedPromptOptimizationJobsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPoliciesCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListCustomModelDeploymentsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListEvaluationJobsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListFoundationModelAgreementOffersCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListMarketplaceModelEndpointsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListModelCopyJobsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListModelInvocationJobsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/PutAccountDataRetentionCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/PutUseCaseForModelAccessCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/RegisterMarketplaceModelEndpointCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StopAdvancedPromptOptimizationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StopEvaluationJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StopModelInvocationJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateCustomModelDeploymentCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateMarketplaceModelEndpointCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +4 -6
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +27 -54
- package/dist-types/ts3.4/models/errors.d.ts +9 -27
- package/dist-types/ts3.4/models/models_0.d.ts +37 -103
- package/dist-types/ts3.4/models/models_1.d.ts +10 -30
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -37
- package/dist-types/ts3.4/runtimeConfig.d.ts +13 -27
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +5 -13
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +39 -39
|
@@ -12,8 +12,7 @@ export type InputTags = (typeof InputTags)[keyof typeof InputTags];
|
|
|
12
12
|
export declare const ConfigurationOwner: {
|
|
13
13
|
readonly ACCOUNT: "ACCOUNT";
|
|
14
14
|
};
|
|
15
|
-
export type ConfigurationOwner =
|
|
16
|
-
(typeof ConfigurationOwner)[keyof typeof ConfigurationOwner];
|
|
15
|
+
export type ConfigurationOwner = (typeof ConfigurationOwner)[keyof typeof ConfigurationOwner];
|
|
17
16
|
export declare const AdvancedPromptOptimizationJobStatus: {
|
|
18
17
|
readonly COMPLETED: "Completed";
|
|
19
18
|
readonly DELETING: "Deleting";
|
|
@@ -40,8 +39,7 @@ export declare const AgreementStatus: {
|
|
|
40
39
|
readonly NOT_AVAILABLE: "NOT_AVAILABLE";
|
|
41
40
|
readonly PENDING: "PENDING";
|
|
42
41
|
};
|
|
43
|
-
export type AgreementStatus =
|
|
44
|
-
(typeof AgreementStatus)[keyof typeof AgreementStatus];
|
|
42
|
+
export type AgreementStatus = (typeof AgreementStatus)[keyof typeof AgreementStatus];
|
|
45
43
|
export declare const AutomatedReasoningCheckResult: {
|
|
46
44
|
readonly IMPOSSIBLE: "IMPOSSIBLE";
|
|
47
45
|
readonly INVALID: "INVALID";
|
|
@@ -156,8 +154,7 @@ export declare const ReasoningEffort: {
|
|
|
156
154
|
readonly LOW: "low";
|
|
157
155
|
readonly MEDIUM: "medium";
|
|
158
156
|
};
|
|
159
|
-
export type ReasoningEffort =
|
|
160
|
-
(typeof ReasoningEffort)[keyof typeof ReasoningEffort];
|
|
157
|
+
export type ReasoningEffort = (typeof ReasoningEffort)[keyof typeof ReasoningEffort];
|
|
161
158
|
export declare const CustomizationType: {
|
|
162
159
|
readonly CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING";
|
|
163
160
|
readonly DISTILLATION: "DISTILLATION";
|
|
@@ -165,8 +162,7 @@ export declare const CustomizationType: {
|
|
|
165
162
|
readonly IMPORTED: "IMPORTED";
|
|
166
163
|
readonly REINFORCEMENT_FINE_TUNING: "REINFORCEMENT_FINE_TUNING";
|
|
167
164
|
};
|
|
168
|
-
export type CustomizationType =
|
|
169
|
-
(typeof CustomizationType)[keyof typeof CustomizationType];
|
|
165
|
+
export type CustomizationType = (typeof CustomizationType)[keyof typeof CustomizationType];
|
|
170
166
|
export declare const ModelStatus: {
|
|
171
167
|
readonly ACTIVE: "Active";
|
|
172
168
|
readonly CREATING: "Creating";
|
|
@@ -179,8 +175,7 @@ export declare const DataRetentionMode: {
|
|
|
179
175
|
readonly NONE: "none";
|
|
180
176
|
readonly PROVIDER_DATA_SHARE: "provider_data_share";
|
|
181
177
|
};
|
|
182
|
-
export type DataRetentionMode =
|
|
183
|
-
(typeof DataRetentionMode)[keyof typeof DataRetentionMode];
|
|
178
|
+
export type DataRetentionMode = (typeof DataRetentionMode)[keyof typeof DataRetentionMode];
|
|
184
179
|
export declare const EvaluationJobStatus: {
|
|
185
180
|
readonly COMPLETED: "Completed";
|
|
186
181
|
readonly DELETING: "Deleting";
|
|
@@ -189,14 +184,12 @@ export declare const EvaluationJobStatus: {
|
|
|
189
184
|
readonly STOPPED: "Stopped";
|
|
190
185
|
readonly STOPPING: "Stopping";
|
|
191
186
|
};
|
|
192
|
-
export type EvaluationJobStatus =
|
|
193
|
-
(typeof EvaluationJobStatus)[keyof typeof EvaluationJobStatus];
|
|
187
|
+
export type EvaluationJobStatus = (typeof EvaluationJobStatus)[keyof typeof EvaluationJobStatus];
|
|
194
188
|
export declare const ApplicationType: {
|
|
195
189
|
readonly MODEL_EVALUATION: "ModelEvaluation";
|
|
196
190
|
readonly RAG_EVALUATION: "RagEvaluation";
|
|
197
191
|
};
|
|
198
|
-
export type ApplicationType =
|
|
199
|
-
(typeof ApplicationType)[keyof typeof ApplicationType];
|
|
192
|
+
export type ApplicationType = (typeof ApplicationType)[keyof typeof ApplicationType];
|
|
200
193
|
export declare const EvaluationTaskType: {
|
|
201
194
|
readonly CLASSIFICATION: "Classification";
|
|
202
195
|
readonly CUSTOM: "Custom";
|
|
@@ -204,8 +197,7 @@ export declare const EvaluationTaskType: {
|
|
|
204
197
|
readonly QUESTION_AND_ANSWER: "QuestionAndAnswer";
|
|
205
198
|
readonly SUMMARIZATION: "Summarization";
|
|
206
199
|
};
|
|
207
|
-
export type EvaluationTaskType =
|
|
208
|
-
(typeof EvaluationTaskType)[keyof typeof EvaluationTaskType];
|
|
200
|
+
export type EvaluationTaskType = (typeof EvaluationTaskType)[keyof typeof EvaluationTaskType];
|
|
209
201
|
export declare const PerformanceConfigLatency: {
|
|
210
202
|
readonly OPTIMIZED: "optimized";
|
|
211
203
|
readonly STANDARD: "standard";
|
|
@@ -216,8 +208,7 @@ export declare const ExternalSourceType: {
|
|
|
216
208
|
readonly BYTE_CONTENT: "BYTE_CONTENT";
|
|
217
209
|
readonly S3: "S3";
|
|
218
210
|
};
|
|
219
|
-
export type ExternalSourceType =
|
|
220
|
-
(typeof ExternalSourceType)[keyof typeof ExternalSourceType];
|
|
211
|
+
export type ExternalSourceType = (typeof ExternalSourceType)[keyof typeof ExternalSourceType];
|
|
221
212
|
export declare const QueryTransformationType: {
|
|
222
213
|
readonly QUERY_DECOMPOSITION: "QUERY_DECOMPOSITION";
|
|
223
214
|
};
|
|
@@ -256,8 +247,7 @@ export declare const EvaluationJobType: {
|
|
|
256
247
|
readonly AUTOMATED: "Automated";
|
|
257
248
|
readonly HUMAN: "Human";
|
|
258
249
|
};
|
|
259
|
-
export type EvaluationJobType =
|
|
260
|
-
(typeof EvaluationJobType)[keyof typeof EvaluationJobType];
|
|
250
|
+
export type EvaluationJobType = (typeof EvaluationJobType)[keyof typeof EvaluationJobType];
|
|
261
251
|
export declare const GuardrailContentFilterAction: {
|
|
262
252
|
readonly BLOCK: "BLOCK";
|
|
263
253
|
readonly NONE: "NONE";
|
|
@@ -268,8 +258,7 @@ export declare const GuardrailModality: {
|
|
|
268
258
|
readonly IMAGE: "IMAGE";
|
|
269
259
|
readonly TEXT: "TEXT";
|
|
270
260
|
};
|
|
271
|
-
export type GuardrailModality =
|
|
272
|
-
(typeof GuardrailModality)[keyof typeof GuardrailModality];
|
|
261
|
+
export type GuardrailModality = (typeof GuardrailModality)[keyof typeof GuardrailModality];
|
|
273
262
|
export declare const GuardrailFilterStrength: {
|
|
274
263
|
readonly HIGH: "HIGH";
|
|
275
264
|
readonly LOW: "LOW";
|
|
@@ -358,19 +347,16 @@ export declare const GuardrailTopicAction: {
|
|
|
358
347
|
readonly BLOCK: "BLOCK";
|
|
359
348
|
readonly NONE: "NONE";
|
|
360
349
|
};
|
|
361
|
-
export type GuardrailTopicAction =
|
|
362
|
-
(typeof GuardrailTopicAction)[keyof typeof GuardrailTopicAction];
|
|
350
|
+
export type GuardrailTopicAction = (typeof GuardrailTopicAction)[keyof typeof GuardrailTopicAction];
|
|
363
351
|
export declare const GuardrailTopicType: {
|
|
364
352
|
readonly DENY: "DENY";
|
|
365
353
|
};
|
|
366
|
-
export type GuardrailTopicType =
|
|
367
|
-
(typeof GuardrailTopicType)[keyof typeof GuardrailTopicType];
|
|
354
|
+
export type GuardrailTopicType = (typeof GuardrailTopicType)[keyof typeof GuardrailTopicType];
|
|
368
355
|
export declare const GuardrailWordAction: {
|
|
369
356
|
readonly BLOCK: "BLOCK";
|
|
370
357
|
readonly NONE: "NONE";
|
|
371
358
|
};
|
|
372
|
-
export type GuardrailWordAction =
|
|
373
|
-
(typeof GuardrailWordAction)[keyof typeof GuardrailWordAction];
|
|
359
|
+
export type GuardrailWordAction = (typeof GuardrailWordAction)[keyof typeof GuardrailWordAction];
|
|
374
360
|
export declare const GuardrailManagedWordsType: {
|
|
375
361
|
readonly PROFANITY: "PROFANITY";
|
|
376
362
|
};
|
|
@@ -384,8 +370,7 @@ export declare const GuardrailStatus: {
|
|
|
384
370
|
readonly UPDATING: "UPDATING";
|
|
385
371
|
readonly VERSIONING: "VERSIONING";
|
|
386
372
|
};
|
|
387
|
-
export type GuardrailStatus =
|
|
388
|
-
(typeof GuardrailStatus)[keyof typeof GuardrailStatus];
|
|
373
|
+
export type GuardrailStatus = (typeof GuardrailStatus)[keyof typeof GuardrailStatus];
|
|
389
374
|
export declare const InferenceProfileStatus: {
|
|
390
375
|
readonly ACTIVE: "ACTIVE";
|
|
391
376
|
};
|
|
@@ -395,22 +380,19 @@ export declare const InferenceProfileType: {
|
|
|
395
380
|
readonly APPLICATION: "APPLICATION";
|
|
396
381
|
readonly SYSTEM_DEFINED: "SYSTEM_DEFINED";
|
|
397
382
|
};
|
|
398
|
-
export type InferenceProfileType =
|
|
399
|
-
(typeof InferenceProfileType)[keyof typeof InferenceProfileType];
|
|
383
|
+
export type InferenceProfileType = (typeof InferenceProfileType)[keyof typeof InferenceProfileType];
|
|
400
384
|
export declare const ModelCopyJobStatus: {
|
|
401
385
|
readonly COMPLETED: "Completed";
|
|
402
386
|
readonly FAILED: "Failed";
|
|
403
387
|
readonly IN_PROGRESS: "InProgress";
|
|
404
388
|
};
|
|
405
|
-
export type ModelCopyJobStatus =
|
|
406
|
-
(typeof ModelCopyJobStatus)[keyof typeof ModelCopyJobStatus];
|
|
389
|
+
export type ModelCopyJobStatus = (typeof ModelCopyJobStatus)[keyof typeof ModelCopyJobStatus];
|
|
407
390
|
export declare const ModelImportJobStatus: {
|
|
408
391
|
readonly COMPLETED: "Completed";
|
|
409
392
|
readonly FAILED: "Failed";
|
|
410
393
|
readonly IN_PROGRESS: "InProgress";
|
|
411
394
|
};
|
|
412
|
-
export type ModelImportJobStatus =
|
|
413
|
-
(typeof ModelImportJobStatus)[keyof typeof ModelImportJobStatus];
|
|
395
|
+
export type ModelImportJobStatus = (typeof ModelImportJobStatus)[keyof typeof ModelImportJobStatus];
|
|
414
396
|
export declare const S3InputFormat: {
|
|
415
397
|
readonly JSONL: "JSONL";
|
|
416
398
|
};
|
|
@@ -419,8 +401,7 @@ export declare const ModelInvocationType: {
|
|
|
419
401
|
readonly Converse: "Converse";
|
|
420
402
|
readonly InvokeModel: "InvokeModel";
|
|
421
403
|
};
|
|
422
|
-
export type ModelInvocationType =
|
|
423
|
-
(typeof ModelInvocationType)[keyof typeof ModelInvocationType];
|
|
404
|
+
export type ModelInvocationType = (typeof ModelInvocationType)[keyof typeof ModelInvocationType];
|
|
424
405
|
export declare const ModelInvocationJobStatus: {
|
|
425
406
|
readonly COMPLETED: "Completed";
|
|
426
407
|
readonly EXPIRED: "Expired";
|
|
@@ -440,8 +421,7 @@ export declare const ModelCustomization: {
|
|
|
440
421
|
readonly DISTILLATION: "DISTILLATION";
|
|
441
422
|
readonly FINE_TUNING: "FINE_TUNING";
|
|
442
423
|
};
|
|
443
|
-
export type ModelCustomization =
|
|
444
|
-
(typeof ModelCustomization)[keyof typeof ModelCustomization];
|
|
424
|
+
export type ModelCustomization = (typeof ModelCustomization)[keyof typeof ModelCustomization];
|
|
445
425
|
export declare const InferenceType: {
|
|
446
426
|
readonly ON_DEMAND: "ON_DEMAND";
|
|
447
427
|
readonly PROVISIONED: "PROVISIONED";
|
|
@@ -462,20 +442,17 @@ export type FoundationModelLifecycleStatus =
|
|
|
462
442
|
export declare const PromptRouterStatus: {
|
|
463
443
|
readonly AVAILABLE: "AVAILABLE";
|
|
464
444
|
};
|
|
465
|
-
export type PromptRouterStatus =
|
|
466
|
-
(typeof PromptRouterStatus)[keyof typeof PromptRouterStatus];
|
|
445
|
+
export type PromptRouterStatus = (typeof PromptRouterStatus)[keyof typeof PromptRouterStatus];
|
|
467
446
|
export declare const PromptRouterType: {
|
|
468
447
|
readonly CUSTOM: "custom";
|
|
469
448
|
readonly DEFAULT: "default";
|
|
470
449
|
};
|
|
471
|
-
export type PromptRouterType =
|
|
472
|
-
(typeof PromptRouterType)[keyof typeof PromptRouterType];
|
|
450
|
+
export type PromptRouterType = (typeof PromptRouterType)[keyof typeof PromptRouterType];
|
|
473
451
|
export declare const CommitmentDuration: {
|
|
474
452
|
readonly ONE_MONTH: "OneMonth";
|
|
475
453
|
readonly SIX_MONTHS: "SixMonths";
|
|
476
454
|
};
|
|
477
|
-
export type CommitmentDuration =
|
|
478
|
-
(typeof CommitmentDuration)[keyof typeof CommitmentDuration];
|
|
455
|
+
export type CommitmentDuration = (typeof CommitmentDuration)[keyof typeof CommitmentDuration];
|
|
479
456
|
export declare const ProvisionedModelStatus: {
|
|
480
457
|
readonly CREATING: "Creating";
|
|
481
458
|
readonly FAILED: "Failed";
|
|
@@ -493,8 +470,7 @@ export declare const AuthorizationStatus: {
|
|
|
493
470
|
readonly AUTHORIZED: "AUTHORIZED";
|
|
494
471
|
readonly NOT_AUTHORIZED: "NOT_AUTHORIZED";
|
|
495
472
|
};
|
|
496
|
-
export type AuthorizationStatus =
|
|
497
|
-
(typeof AuthorizationStatus)[keyof typeof AuthorizationStatus];
|
|
473
|
+
export type AuthorizationStatus = (typeof AuthorizationStatus)[keyof typeof AuthorizationStatus];
|
|
498
474
|
export declare const EntitlementAvailability: {
|
|
499
475
|
readonly AVAILABLE: "AVAILABLE";
|
|
500
476
|
readonly NOT_AVAILABLE: "NOT_AVAILABLE";
|
|
@@ -505,8 +481,7 @@ export declare const RegionAvailability: {
|
|
|
505
481
|
readonly AVAILABLE: "AVAILABLE";
|
|
506
482
|
readonly NOT_AVAILABLE: "NOT_AVAILABLE";
|
|
507
483
|
};
|
|
508
|
-
export type RegionAvailability =
|
|
509
|
-
(typeof RegionAvailability)[keyof typeof RegionAvailability];
|
|
484
|
+
export type RegionAvailability = (typeof RegionAvailability)[keyof typeof RegionAvailability];
|
|
510
485
|
export declare const OfferType: {
|
|
511
486
|
readonly ALL: "ALL";
|
|
512
487
|
readonly PUBLIC: "PUBLIC";
|
|
@@ -529,8 +504,7 @@ export declare const JobStatusDetails: {
|
|
|
529
504
|
readonly STOPPED: "Stopped";
|
|
530
505
|
readonly STOPPING: "Stopping";
|
|
531
506
|
};
|
|
532
|
-
export type JobStatusDetails =
|
|
533
|
-
(typeof JobStatusDetails)[keyof typeof JobStatusDetails];
|
|
507
|
+
export type JobStatusDetails = (typeof JobStatusDetails)[keyof typeof JobStatusDetails];
|
|
534
508
|
export declare const FineTuningJobStatus: {
|
|
535
509
|
readonly COMPLETED: "Completed";
|
|
536
510
|
readonly FAILED: "Failed";
|
|
@@ -538,5 +512,4 @@ export declare const FineTuningJobStatus: {
|
|
|
538
512
|
readonly STOPPED: "Stopped";
|
|
539
513
|
readonly STOPPING: "Stopping";
|
|
540
514
|
};
|
|
541
|
-
export type FineTuningJobStatus =
|
|
542
|
-
(typeof FineTuningJobStatus)[keyof typeof FineTuningJobStatus];
|
|
515
|
+
export type FineTuningJobStatus = (typeof FineTuningJobStatus)[keyof typeof FineTuningJobStatus];
|
|
@@ -3,30 +3,22 @@ import { BedrockServiceException as __BaseException } from "./BedrockServiceExce
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
6
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
7
|
}
|
|
10
8
|
export declare class InternalServerException extends __BaseException {
|
|
11
9
|
readonly name: "InternalServerException";
|
|
12
10
|
readonly $fault: "server";
|
|
13
|
-
constructor(
|
|
14
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
15
|
-
);
|
|
11
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
16
12
|
}
|
|
17
13
|
export declare class ThrottlingException extends __BaseException {
|
|
18
14
|
readonly name: "ThrottlingException";
|
|
19
15
|
readonly $fault: "client";
|
|
20
|
-
constructor(
|
|
21
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
22
|
-
);
|
|
16
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
23
17
|
}
|
|
24
18
|
export declare class ValidationException extends __BaseException {
|
|
25
19
|
readonly name: "ValidationException";
|
|
26
20
|
readonly $fault: "client";
|
|
27
|
-
constructor(
|
|
28
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
29
|
-
);
|
|
21
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
30
22
|
}
|
|
31
23
|
export declare class ConflictException extends __BaseException {
|
|
32
24
|
readonly name: "ConflictException";
|
|
@@ -36,36 +28,26 @@ export declare class ConflictException extends __BaseException {
|
|
|
36
28
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
37
29
|
readonly name: "ResourceNotFoundException";
|
|
38
30
|
readonly $fault: "client";
|
|
39
|
-
constructor(
|
|
40
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
41
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
42
32
|
}
|
|
43
33
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
44
34
|
readonly name: "ServiceQuotaExceededException";
|
|
45
35
|
readonly $fault: "client";
|
|
46
|
-
constructor(
|
|
47
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
48
|
-
);
|
|
36
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
49
37
|
}
|
|
50
38
|
export declare class TooManyTagsException extends __BaseException {
|
|
51
39
|
readonly name: "TooManyTagsException";
|
|
52
40
|
readonly $fault: "client";
|
|
53
41
|
resourceName?: string | undefined;
|
|
54
|
-
constructor(
|
|
55
|
-
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
56
|
-
);
|
|
42
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
57
43
|
}
|
|
58
44
|
export declare class ResourceInUseException extends __BaseException {
|
|
59
45
|
readonly name: "ResourceInUseException";
|
|
60
46
|
readonly $fault: "client";
|
|
61
|
-
constructor(
|
|
62
|
-
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
63
|
-
);
|
|
47
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
64
48
|
}
|
|
65
49
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
66
50
|
readonly name: "ServiceUnavailableException";
|
|
67
51
|
readonly $fault: "server";
|
|
68
|
-
constructor(
|
|
69
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
70
|
-
);
|
|
52
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
71
53
|
}
|
|
@@ -90,9 +90,7 @@ export interface BatchDeleteAdvancedPromptOptimizationJobError {
|
|
|
90
90
|
}
|
|
91
91
|
export interface BatchDeleteAdvancedPromptOptimizationJobResponse {
|
|
92
92
|
errors: BatchDeleteAdvancedPromptOptimizationJobError[] | undefined;
|
|
93
|
-
advancedPromptOptimizationJobs:
|
|
94
|
-
| BatchDeleteAdvancedPromptOptimizationJobItem[]
|
|
95
|
-
| undefined;
|
|
93
|
+
advancedPromptOptimizationJobs: BatchDeleteAdvancedPromptOptimizationJobItem[] | undefined;
|
|
96
94
|
}
|
|
97
95
|
export interface InferenceConfiguration {
|
|
98
96
|
maxTokens?: number | undefined;
|
|
@@ -634,27 +632,19 @@ export declare namespace AutomatedReasoningPolicyAnnotation {
|
|
|
634
632
|
updateType: (value: AutomatedReasoningPolicyUpdateTypeAnnotation) => T;
|
|
635
633
|
deleteType: (value: AutomatedReasoningPolicyDeleteTypeAnnotation) => T;
|
|
636
634
|
addVariable: (value: AutomatedReasoningPolicyAddVariableAnnotation) => T;
|
|
637
|
-
updateVariable: (
|
|
638
|
-
|
|
639
|
-
) => T;
|
|
640
|
-
deleteVariable: (
|
|
641
|
-
value: AutomatedReasoningPolicyDeleteVariableAnnotation
|
|
642
|
-
) => T;
|
|
635
|
+
updateVariable: (value: AutomatedReasoningPolicyUpdateVariableAnnotation) => T;
|
|
636
|
+
deleteVariable: (value: AutomatedReasoningPolicyDeleteVariableAnnotation) => T;
|
|
643
637
|
addRule: (value: AutomatedReasoningPolicyAddRuleAnnotation) => T;
|
|
644
638
|
updateRule: (value: AutomatedReasoningPolicyUpdateRuleAnnotation) => T;
|
|
645
639
|
deleteRule: (value: AutomatedReasoningPolicyDeleteRuleAnnotation) => T;
|
|
646
640
|
addRuleFromNaturalLanguage: (
|
|
647
|
-
value: AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation
|
|
648
|
-
) => T;
|
|
649
|
-
updateFromRulesFeedback: (
|
|
650
|
-
value: AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation
|
|
641
|
+
value: AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation,
|
|
651
642
|
) => T;
|
|
643
|
+
updateFromRulesFeedback: (value: AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation) => T;
|
|
652
644
|
updateFromScenarioFeedback: (
|
|
653
|
-
value: AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation
|
|
654
|
-
) => T;
|
|
655
|
-
ingestContent: (
|
|
656
|
-
value: AutomatedReasoningPolicyIngestContentAnnotation
|
|
645
|
+
value: AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation,
|
|
657
646
|
) => T;
|
|
647
|
+
ingestContent: (value: AutomatedReasoningPolicyIngestContentAnnotation) => T;
|
|
658
648
|
_: (name: string, value: any) => T;
|
|
659
649
|
}
|
|
660
650
|
}
|
|
@@ -676,9 +666,7 @@ export interface GetAutomatedReasoningPolicyBuildWorkflowResponse {
|
|
|
676
666
|
status: AutomatedReasoningPolicyBuildWorkflowStatus | undefined;
|
|
677
667
|
buildWorkflowType: AutomatedReasoningPolicyBuildWorkflowType | undefined;
|
|
678
668
|
documentName?: string | undefined;
|
|
679
|
-
documentContentType?:
|
|
680
|
-
| AutomatedReasoningPolicyBuildDocumentContentType
|
|
681
|
-
| undefined;
|
|
669
|
+
documentContentType?: AutomatedReasoningPolicyBuildDocumentContentType | undefined;
|
|
682
670
|
documentDescription?: string | undefined;
|
|
683
671
|
createdAt: Date | undefined;
|
|
684
672
|
updatedAt: Date | undefined;
|
|
@@ -861,12 +849,8 @@ export declare namespace AutomatedReasoningPolicyMutation {
|
|
|
861
849
|
updateType: (value: AutomatedReasoningPolicyUpdateTypeMutation) => T;
|
|
862
850
|
deleteType: (value: AutomatedReasoningPolicyDeleteTypeMutation) => T;
|
|
863
851
|
addVariable: (value: AutomatedReasoningPolicyAddVariableMutation) => T;
|
|
864
|
-
updateVariable: (
|
|
865
|
-
|
|
866
|
-
) => T;
|
|
867
|
-
deleteVariable: (
|
|
868
|
-
value: AutomatedReasoningPolicyDeleteVariableMutation
|
|
869
|
-
) => T;
|
|
852
|
+
updateVariable: (value: AutomatedReasoningPolicyUpdateVariableMutation) => T;
|
|
853
|
+
deleteVariable: (value: AutomatedReasoningPolicyDeleteVariableMutation) => T;
|
|
870
854
|
addRule: (value: AutomatedReasoningPolicyAddRuleMutation) => T;
|
|
871
855
|
updateRule: (value: AutomatedReasoningPolicyUpdateRuleMutation) => T;
|
|
872
856
|
deleteRule: (value: AutomatedReasoningPolicyDeleteRuleMutation) => T;
|
|
@@ -935,9 +919,7 @@ export declare namespace AutomatedReasoningPolicyDefinitionElement {
|
|
|
935
919
|
$unknown: [string, any];
|
|
936
920
|
}
|
|
937
921
|
interface Visitor<T> {
|
|
938
|
-
policyDefinitionVariable: (
|
|
939
|
-
value: AutomatedReasoningPolicyDefinitionVariable
|
|
940
|
-
) => T;
|
|
922
|
+
policyDefinitionVariable: (value: AutomatedReasoningPolicyDefinitionVariable) => T;
|
|
941
923
|
policyDefinitionType: (value: AutomatedReasoningPolicyDefinitionType) => T;
|
|
942
924
|
policyDefinitionRule: (value: AutomatedReasoningPolicyDefinitionRule) => T;
|
|
943
925
|
_: (name: string, value: any) => T;
|
|
@@ -958,9 +940,7 @@ export interface AutomatedReasoningPolicyBuildLog {
|
|
|
958
940
|
}
|
|
959
941
|
export interface AutomatedReasoningPolicySourceDocument {
|
|
960
942
|
document: Uint8Array | undefined;
|
|
961
|
-
documentContentType:
|
|
962
|
-
| AutomatedReasoningPolicyBuildDocumentContentType
|
|
963
|
-
| undefined;
|
|
943
|
+
documentContentType: AutomatedReasoningPolicyBuildDocumentContentType | undefined;
|
|
964
944
|
documentName: string | undefined;
|
|
965
945
|
documentDescription?: string | undefined;
|
|
966
946
|
documentHash: string | undefined;
|
|
@@ -1011,18 +991,14 @@ export interface AutomatedReasoningPolicyStatementReference {
|
|
|
1011
991
|
}
|
|
1012
992
|
export interface AutomatedReasoningPolicyRuleReport {
|
|
1013
993
|
rule: string | undefined;
|
|
1014
|
-
groundingStatements?:
|
|
1015
|
-
| AutomatedReasoningPolicyStatementReference[]
|
|
1016
|
-
| undefined;
|
|
994
|
+
groundingStatements?: AutomatedReasoningPolicyStatementReference[] | undefined;
|
|
1017
995
|
groundingJustifications?: string[] | undefined;
|
|
1018
996
|
accuracyScore?: number | undefined;
|
|
1019
997
|
accuracyJustification?: string | undefined;
|
|
1020
998
|
}
|
|
1021
999
|
export interface AutomatedReasoningPolicyVariableReport {
|
|
1022
1000
|
policyVariable: string | undefined;
|
|
1023
|
-
groundingStatements?:
|
|
1024
|
-
| AutomatedReasoningPolicyStatementReference[]
|
|
1025
|
-
| undefined;
|
|
1001
|
+
groundingStatements?: AutomatedReasoningPolicyStatementReference[] | undefined;
|
|
1026
1002
|
groundingJustifications?: string[] | undefined;
|
|
1027
1003
|
accuracyScore?: number | undefined;
|
|
1028
1004
|
accuracyJustification?: string | undefined;
|
|
@@ -1031,9 +1007,7 @@ export interface AutomatedReasoningPolicyFidelityReport {
|
|
|
1031
1007
|
coverageScore: number | undefined;
|
|
1032
1008
|
accuracyScore: number | undefined;
|
|
1033
1009
|
ruleReports: Record<string, AutomatedReasoningPolicyRuleReport> | undefined;
|
|
1034
|
-
variableReports:
|
|
1035
|
-
| Record<string, AutomatedReasoningPolicyVariableReport>
|
|
1036
|
-
| undefined;
|
|
1010
|
+
variableReports: Record<string, AutomatedReasoningPolicyVariableReport> | undefined;
|
|
1037
1011
|
documentSources: AutomatedReasoningPolicyReportSourceDocument[] | undefined;
|
|
1038
1012
|
}
|
|
1039
1013
|
export interface AutomatedReasoningPolicyGeneratedTestCase {
|
|
@@ -1066,9 +1040,7 @@ export interface AutomatedReasoningPolicyDefinitionQualityReport {
|
|
|
1066
1040
|
variableCount: number | undefined;
|
|
1067
1041
|
ruleCount: number | undefined;
|
|
1068
1042
|
unusedTypes: string[] | undefined;
|
|
1069
|
-
unusedTypeValues:
|
|
1070
|
-
| AutomatedReasoningPolicyDefinitionTypeValuePair[]
|
|
1071
|
-
| undefined;
|
|
1043
|
+
unusedTypeValues: AutomatedReasoningPolicyDefinitionTypeValuePair[] | undefined;
|
|
1072
1044
|
unusedVariables: string[] | undefined;
|
|
1073
1045
|
conflictingRules: string[] | undefined;
|
|
1074
1046
|
disjointRuleSets: AutomatedReasoningPolicyDisjointRuleSet[] | undefined;
|
|
@@ -1185,17 +1157,11 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
|
|
|
1185
1157
|
}
|
|
1186
1158
|
interface Visitor<T> {
|
|
1187
1159
|
policyDefinition: (value: AutomatedReasoningPolicyDefinition) => T;
|
|
1188
|
-
qualityReport: (
|
|
1189
|
-
value: AutomatedReasoningPolicyDefinitionQualityReport
|
|
1190
|
-
) => T;
|
|
1160
|
+
qualityReport: (value: AutomatedReasoningPolicyDefinitionQualityReport) => T;
|
|
1191
1161
|
buildLog: (value: AutomatedReasoningPolicyBuildLog) => T;
|
|
1192
|
-
generatedTestCases: (
|
|
1193
|
-
value: AutomatedReasoningPolicyGeneratedTestCases
|
|
1194
|
-
) => T;
|
|
1162
|
+
generatedTestCases: (value: AutomatedReasoningPolicyGeneratedTestCases) => T;
|
|
1195
1163
|
policyScenarios: (value: AutomatedReasoningPolicyScenarios) => T;
|
|
1196
|
-
assetManifest: (
|
|
1197
|
-
value: AutomatedReasoningPolicyBuildResultAssetManifest
|
|
1198
|
-
) => T;
|
|
1164
|
+
assetManifest: (value: AutomatedReasoningPolicyBuildResultAssetManifest) => T;
|
|
1199
1165
|
document: (value: AutomatedReasoningPolicySourceDocument) => T;
|
|
1200
1166
|
fidelityReport: (value: AutomatedReasoningPolicyFidelityReport) => T;
|
|
1201
1167
|
_: (name: string, value: any) => T;
|
|
@@ -1255,9 +1221,7 @@ export interface AutomatedReasoningCheckInputTextReference {
|
|
|
1255
1221
|
export interface AutomatedReasoningCheckTranslation {
|
|
1256
1222
|
premises?: AutomatedReasoningLogicStatement[] | undefined;
|
|
1257
1223
|
claims: AutomatedReasoningLogicStatement[] | undefined;
|
|
1258
|
-
untranslatedPremises?:
|
|
1259
|
-
| AutomatedReasoningCheckInputTextReference[]
|
|
1260
|
-
| undefined;
|
|
1224
|
+
untranslatedPremises?: AutomatedReasoningCheckInputTextReference[] | undefined;
|
|
1261
1225
|
untranslatedClaims?: AutomatedReasoningCheckInputTextReference[] | undefined;
|
|
1262
1226
|
confidence: number | undefined;
|
|
1263
1227
|
}
|
|
@@ -1390,9 +1354,7 @@ export declare namespace AutomatedReasoningCheckFinding {
|
|
|
1390
1354
|
invalid: (value: AutomatedReasoningCheckInvalidFinding) => T;
|
|
1391
1355
|
satisfiable: (value: AutomatedReasoningCheckSatisfiableFinding) => T;
|
|
1392
1356
|
impossible: (value: AutomatedReasoningCheckImpossibleFinding) => T;
|
|
1393
|
-
translationAmbiguous: (
|
|
1394
|
-
value: AutomatedReasoningCheckTranslationAmbiguousFinding
|
|
1395
|
-
) => T;
|
|
1357
|
+
translationAmbiguous: (value: AutomatedReasoningCheckTranslationAmbiguousFinding) => T;
|
|
1396
1358
|
tooComplex: (value: AutomatedReasoningCheckTooComplexFinding) => T;
|
|
1397
1359
|
noTranslations: (value: AutomatedReasoningCheckNoTranslationsFinding) => T;
|
|
1398
1360
|
_: (name: string, value: any) => T;
|
|
@@ -1425,9 +1387,7 @@ export interface AutomatedReasoningPolicySummary {
|
|
|
1425
1387
|
updatedAt: Date | undefined;
|
|
1426
1388
|
}
|
|
1427
1389
|
export interface ListAutomatedReasoningPoliciesResponse {
|
|
1428
|
-
automatedReasoningPolicySummaries:
|
|
1429
|
-
| AutomatedReasoningPolicySummary[]
|
|
1430
|
-
| undefined;
|
|
1390
|
+
automatedReasoningPolicySummaries: AutomatedReasoningPolicySummary[] | undefined;
|
|
1431
1391
|
nextToken?: string | undefined;
|
|
1432
1392
|
}
|
|
1433
1393
|
export interface ListAutomatedReasoningPolicyBuildWorkflowsRequest {
|
|
@@ -1470,9 +1430,7 @@ export interface ListAutomatedReasoningPolicyTestResultsResponse {
|
|
|
1470
1430
|
}
|
|
1471
1431
|
export interface AutomatedReasoningPolicyBuildWorkflowDocument {
|
|
1472
1432
|
document: Uint8Array | undefined;
|
|
1473
|
-
documentContentType:
|
|
1474
|
-
| AutomatedReasoningPolicyBuildDocumentContentType
|
|
1475
|
-
| undefined;
|
|
1433
|
+
documentContentType: AutomatedReasoningPolicyBuildDocumentContentType | undefined;
|
|
1476
1434
|
documentName: string | undefined;
|
|
1477
1435
|
documentDescription?: string | undefined;
|
|
1478
1436
|
}
|
|
@@ -1544,15 +1502,11 @@ export declare namespace AutomatedReasoningPolicyWorkflowTypeContent {
|
|
|
1544
1502
|
}
|
|
1545
1503
|
interface Visitor<T> {
|
|
1546
1504
|
documents: (value: AutomatedReasoningPolicyBuildWorkflowDocument[]) => T;
|
|
1547
|
-
policyRepairAssets: (
|
|
1548
|
-
value: AutomatedReasoningPolicyBuildWorkflowRepairContent
|
|
1549
|
-
) => T;
|
|
1505
|
+
policyRepairAssets: (value: AutomatedReasoningPolicyBuildWorkflowRepairContent) => T;
|
|
1550
1506
|
generateFidelityReportContent: (
|
|
1551
|
-
value: AutomatedReasoningPolicyGenerateFidelityReportContent
|
|
1552
|
-
) => T;
|
|
1553
|
-
iterativeRefinementContent: (
|
|
1554
|
-
value: AutomatedReasoningPolicyIterativeRefinementContent
|
|
1507
|
+
value: AutomatedReasoningPolicyGenerateFidelityReportContent,
|
|
1555
1508
|
) => T;
|
|
1509
|
+
iterativeRefinementContent: (value: AutomatedReasoningPolicyIterativeRefinementContent) => T;
|
|
1556
1510
|
_: (name: string, value: any) => T;
|
|
1557
1511
|
}
|
|
1558
1512
|
}
|
|
@@ -1628,9 +1582,7 @@ export interface SageMakerEndpoint {
|
|
|
1628
1582
|
kmsEncryptionKey?: string | undefined;
|
|
1629
1583
|
vpc?: VpcConfig | undefined;
|
|
1630
1584
|
}
|
|
1631
|
-
export type EndpointConfig =
|
|
1632
|
-
| EndpointConfig.SageMakerMember
|
|
1633
|
-
| EndpointConfig.$UnknownMember;
|
|
1585
|
+
export type EndpointConfig = EndpointConfig.SageMakerMember | EndpointConfig.$UnknownMember;
|
|
1634
1586
|
export declare namespace EndpointConfig {
|
|
1635
1587
|
interface SageMakerMember {
|
|
1636
1588
|
sageMaker: SageMakerEndpoint;
|
|
@@ -1799,9 +1751,7 @@ export declare namespace CustomModelDataSource {
|
|
|
1799
1751
|
export interface S3DataSource {
|
|
1800
1752
|
s3Uri: string | undefined;
|
|
1801
1753
|
}
|
|
1802
|
-
export type ModelDataSource =
|
|
1803
|
-
| ModelDataSource.S3DataSourceMember
|
|
1804
|
-
| ModelDataSource.$UnknownMember;
|
|
1754
|
+
export type ModelDataSource = ModelDataSource.S3DataSourceMember | ModelDataSource.$UnknownMember;
|
|
1805
1755
|
export declare namespace ModelDataSource {
|
|
1806
1756
|
interface S3DataSourceMember {
|
|
1807
1757
|
s3DataSource: S3DataSource;
|
|
@@ -1845,9 +1795,7 @@ export interface DistillationConfig {
|
|
|
1845
1795
|
export interface LambdaGraderConfig {
|
|
1846
1796
|
lambdaArn: string | undefined;
|
|
1847
1797
|
}
|
|
1848
|
-
export type GraderConfig =
|
|
1849
|
-
| GraderConfig.LambdaGraderMember
|
|
1850
|
-
| GraderConfig.$UnknownMember;
|
|
1798
|
+
export type GraderConfig = GraderConfig.LambdaGraderMember | GraderConfig.$UnknownMember;
|
|
1851
1799
|
export declare namespace GraderConfig {
|
|
1852
1800
|
interface LambdaGraderMember {
|
|
1853
1801
|
lambdaGrader: LambdaGraderConfig;
|
|
@@ -2068,9 +2016,7 @@ export interface ListEnforcedGuardrailsConfigurationResponse {
|
|
|
2068
2016
|
}
|
|
2069
2017
|
export interface PutEnforcedGuardrailConfigurationRequest {
|
|
2070
2018
|
configId?: string | undefined;
|
|
2071
|
-
guardrailInferenceConfig:
|
|
2072
|
-
| AccountEnforcedGuardrailInferenceInputConfiguration
|
|
2073
|
-
| undefined;
|
|
2019
|
+
guardrailInferenceConfig: AccountEnforcedGuardrailInferenceInputConfiguration | undefined;
|
|
2074
2020
|
}
|
|
2075
2021
|
export interface PutEnforcedGuardrailConfigurationResponse {
|
|
2076
2022
|
configId?: string | undefined;
|
|
@@ -2279,9 +2225,7 @@ export declare namespace EvaluationModelConfig {
|
|
|
2279
2225
|
}
|
|
2280
2226
|
interface Visitor<T> {
|
|
2281
2227
|
bedrockModel: (value: EvaluationBedrockModel) => T;
|
|
2282
|
-
precomputedInferenceSource: (
|
|
2283
|
-
value: EvaluationPrecomputedInferenceSource
|
|
2284
|
-
) => T;
|
|
2228
|
+
precomputedInferenceSource: (value: EvaluationPrecomputedInferenceSource) => T;
|
|
2285
2229
|
_: (name: string, value: any) => T;
|
|
2286
2230
|
}
|
|
2287
2231
|
}
|
|
@@ -2335,9 +2279,7 @@ export interface QueryTransformationConfiguration {
|
|
|
2335
2279
|
type: QueryTransformationType | undefined;
|
|
2336
2280
|
}
|
|
2337
2281
|
export interface OrchestrationConfiguration {
|
|
2338
|
-
queryTransformationConfiguration:
|
|
2339
|
-
| QueryTransformationConfiguration
|
|
2340
|
-
| undefined;
|
|
2282
|
+
queryTransformationConfiguration: QueryTransformationConfiguration | undefined;
|
|
2341
2283
|
}
|
|
2342
2284
|
export interface FilterAttribute {
|
|
2343
2285
|
key: string | undefined;
|
|
@@ -2383,26 +2325,20 @@ export declare namespace RerankingMetadataSelectiveModeConfiguration {
|
|
|
2383
2325
|
}
|
|
2384
2326
|
export interface MetadataConfigurationForReranking {
|
|
2385
2327
|
selectionMode: RerankingMetadataSelectionMode | undefined;
|
|
2386
|
-
selectiveModeConfiguration?:
|
|
2387
|
-
| RerankingMetadataSelectiveModeConfiguration
|
|
2388
|
-
| undefined;
|
|
2328
|
+
selectiveModeConfiguration?: RerankingMetadataSelectiveModeConfiguration | undefined;
|
|
2389
2329
|
}
|
|
2390
2330
|
export interface VectorSearchBedrockRerankingModelConfiguration {
|
|
2391
2331
|
modelArn: string | undefined;
|
|
2392
2332
|
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
2393
2333
|
}
|
|
2394
2334
|
export interface VectorSearchBedrockRerankingConfiguration {
|
|
2395
|
-
modelConfiguration:
|
|
2396
|
-
| VectorSearchBedrockRerankingModelConfiguration
|
|
2397
|
-
| undefined;
|
|
2335
|
+
modelConfiguration: VectorSearchBedrockRerankingModelConfiguration | undefined;
|
|
2398
2336
|
numberOfRerankedResults?: number | undefined;
|
|
2399
2337
|
metadataConfiguration?: MetadataConfigurationForReranking | undefined;
|
|
2400
2338
|
}
|
|
2401
2339
|
export interface VectorSearchRerankingConfiguration {
|
|
2402
2340
|
type: VectorSearchRerankingConfigurationType | undefined;
|
|
2403
|
-
bedrockRerankingConfiguration?:
|
|
2404
|
-
| VectorSearchBedrockRerankingConfiguration
|
|
2405
|
-
| undefined;
|
|
2341
|
+
bedrockRerankingConfiguration?: VectorSearchBedrockRerankingConfiguration | undefined;
|
|
2406
2342
|
}
|
|
2407
2343
|
export interface EvaluationPrecomputedRetrieveAndGenerateSourceConfig {
|
|
2408
2344
|
ragSourceIdentifier: string | undefined;
|
|
@@ -2431,11 +2367,9 @@ export declare namespace EvaluationPrecomputedRagSourceConfig {
|
|
|
2431
2367
|
$unknown: [string, any];
|
|
2432
2368
|
}
|
|
2433
2369
|
interface Visitor<T> {
|
|
2434
|
-
retrieveSourceConfig: (
|
|
2435
|
-
value: EvaluationPrecomputedRetrieveSourceConfig
|
|
2436
|
-
) => T;
|
|
2370
|
+
retrieveSourceConfig: (value: EvaluationPrecomputedRetrieveSourceConfig) => T;
|
|
2437
2371
|
retrieveAndGenerateSourceConfig: (
|
|
2438
|
-
value: EvaluationPrecomputedRetrieveAndGenerateSourceConfig
|
|
2372
|
+
value: EvaluationPrecomputedRetrieveAndGenerateSourceConfig,
|
|
2439
2373
|
) => T;
|
|
2440
2374
|
_: (name: string, value: any) => T;
|
|
2441
2375
|
}
|