@aws-sdk/client-bedrock 3.943.0 → 3.944.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist-cjs/index.js +90 -3
- package/dist-es/Bedrock.js +2 -0
- package/dist-es/commands/UpdateCustomModelDeploymentCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +11 -0
- package/dist-es/schemas/schemas_0.js +63 -3
- package/dist-types/Bedrock.d.ts +7 -0
- package/dist-types/BedrockClient.d.ts +3 -2
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +18 -1
- package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +2 -1
- package/dist-types/commands/GetCustomModelCommand.d.ts +18 -1
- package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +4 -0
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +18 -1
- package/dist-types/commands/ListCustomModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCustomModelDeploymentCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +166 -164
- package/dist-types/models/models_1.d.ts +163 -1
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/Bedrock.d.ts +17 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCustomModelDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -39
- package/dist-types/ts3.4/models/models_1.d.ts +40 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +1 -1
|
@@ -101,6 +101,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
101
101
|
import { UpdateAutomatedReasoningPolicyAnnotationsCommandInput, UpdateAutomatedReasoningPolicyAnnotationsCommandOutput } from "./commands/UpdateAutomatedReasoningPolicyAnnotationsCommand";
|
|
102
102
|
import { UpdateAutomatedReasoningPolicyCommandInput, UpdateAutomatedReasoningPolicyCommandOutput } from "./commands/UpdateAutomatedReasoningPolicyCommand";
|
|
103
103
|
import { UpdateAutomatedReasoningPolicyTestCaseCommandInput, UpdateAutomatedReasoningPolicyTestCaseCommandOutput } from "./commands/UpdateAutomatedReasoningPolicyTestCaseCommand";
|
|
104
|
+
import { UpdateCustomModelDeploymentCommandInput, UpdateCustomModelDeploymentCommandOutput } from "./commands/UpdateCustomModelDeploymentCommand";
|
|
104
105
|
import { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand";
|
|
105
106
|
import { UpdateMarketplaceModelEndpointCommandInput, UpdateMarketplaceModelEndpointCommandOutput } from "./commands/UpdateMarketplaceModelEndpointCommand";
|
|
106
107
|
import { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "./commands/UpdateProvisionedModelThroughputCommand";
|
|
@@ -110,11 +111,11 @@ export { __Client };
|
|
|
110
111
|
/**
|
|
111
112
|
* @public
|
|
112
113
|
*/
|
|
113
|
-
export type ServiceInputTypes = BatchDeleteEvaluationJobCommandInput | CancelAutomatedReasoningPolicyBuildWorkflowCommandInput | CreateAutomatedReasoningPolicyCommandInput | CreateAutomatedReasoningPolicyTestCaseCommandInput | CreateAutomatedReasoningPolicyVersionCommandInput | CreateCustomModelCommandInput | CreateCustomModelDeploymentCommandInput | CreateEvaluationJobCommandInput | CreateFoundationModelAgreementCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateInferenceProfileCommandInput | CreateMarketplaceModelEndpointCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreatePromptRouterCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput | DeleteAutomatedReasoningPolicyCommandInput | DeleteAutomatedReasoningPolicyTestCaseCommandInput | DeleteCustomModelCommandInput | DeleteCustomModelDeploymentCommandInput | DeleteEnforcedGuardrailConfigurationCommandInput | DeleteFoundationModelAgreementCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteInferenceProfileCommandInput | DeleteMarketplaceModelEndpointCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeletePromptRouterCommandInput | DeleteProvisionedModelThroughputCommandInput | DeregisterMarketplaceModelEndpointCommandInput | ExportAutomatedReasoningPolicyVersionCommandInput | GetAutomatedReasoningPolicyAnnotationsCommandInput | GetAutomatedReasoningPolicyBuildWorkflowCommandInput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandInput | GetAutomatedReasoningPolicyCommandInput | GetAutomatedReasoningPolicyNextScenarioCommandInput | GetAutomatedReasoningPolicyTestCaseCommandInput | GetAutomatedReasoningPolicyTestResultCommandInput | GetCustomModelCommandInput | GetCustomModelDeploymentCommandInput | GetEvaluationJobCommandInput | GetFoundationModelAvailabilityCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetInferenceProfileCommandInput | GetMarketplaceModelEndpointCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetPromptRouterCommandInput | GetProvisionedModelThroughputCommandInput | GetUseCaseForModelAccessCommandInput | ListAutomatedReasoningPoliciesCommandInput | ListAutomatedReasoningPolicyBuildWorkflowsCommandInput | ListAutomatedReasoningPolicyTestCasesCommandInput | ListAutomatedReasoningPolicyTestResultsCommandInput | ListCustomModelDeploymentsCommandInput | ListCustomModelsCommandInput | ListEnforcedGuardrailsConfigurationCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelAgreementOffersCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListInferenceProfilesCommandInput | ListMarketplaceModelEndpointsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListPromptRoutersCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutEnforcedGuardrailConfigurationCommandInput | PutModelInvocationLoggingConfigurationCommandInput | PutUseCaseForModelAccessCommandInput | RegisterMarketplaceModelEndpointCommandInput | StartAutomatedReasoningPolicyBuildWorkflowCommandInput | StartAutomatedReasoningPolicyTestWorkflowCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAutomatedReasoningPolicyAnnotationsCommandInput | UpdateAutomatedReasoningPolicyCommandInput | UpdateAutomatedReasoningPolicyTestCaseCommandInput | UpdateGuardrailCommandInput | UpdateMarketplaceModelEndpointCommandInput | UpdateProvisionedModelThroughputCommandInput;
|
|
114
|
+
export type ServiceInputTypes = BatchDeleteEvaluationJobCommandInput | CancelAutomatedReasoningPolicyBuildWorkflowCommandInput | CreateAutomatedReasoningPolicyCommandInput | CreateAutomatedReasoningPolicyTestCaseCommandInput | CreateAutomatedReasoningPolicyVersionCommandInput | CreateCustomModelCommandInput | CreateCustomModelDeploymentCommandInput | CreateEvaluationJobCommandInput | CreateFoundationModelAgreementCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateInferenceProfileCommandInput | CreateMarketplaceModelEndpointCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreatePromptRouterCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput | DeleteAutomatedReasoningPolicyCommandInput | DeleteAutomatedReasoningPolicyTestCaseCommandInput | DeleteCustomModelCommandInput | DeleteCustomModelDeploymentCommandInput | DeleteEnforcedGuardrailConfigurationCommandInput | DeleteFoundationModelAgreementCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteInferenceProfileCommandInput | DeleteMarketplaceModelEndpointCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeletePromptRouterCommandInput | DeleteProvisionedModelThroughputCommandInput | DeregisterMarketplaceModelEndpointCommandInput | ExportAutomatedReasoningPolicyVersionCommandInput | GetAutomatedReasoningPolicyAnnotationsCommandInput | GetAutomatedReasoningPolicyBuildWorkflowCommandInput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandInput | GetAutomatedReasoningPolicyCommandInput | GetAutomatedReasoningPolicyNextScenarioCommandInput | GetAutomatedReasoningPolicyTestCaseCommandInput | GetAutomatedReasoningPolicyTestResultCommandInput | GetCustomModelCommandInput | GetCustomModelDeploymentCommandInput | GetEvaluationJobCommandInput | GetFoundationModelAvailabilityCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetInferenceProfileCommandInput | GetMarketplaceModelEndpointCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetPromptRouterCommandInput | GetProvisionedModelThroughputCommandInput | GetUseCaseForModelAccessCommandInput | ListAutomatedReasoningPoliciesCommandInput | ListAutomatedReasoningPolicyBuildWorkflowsCommandInput | ListAutomatedReasoningPolicyTestCasesCommandInput | ListAutomatedReasoningPolicyTestResultsCommandInput | ListCustomModelDeploymentsCommandInput | ListCustomModelsCommandInput | ListEnforcedGuardrailsConfigurationCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelAgreementOffersCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListInferenceProfilesCommandInput | ListMarketplaceModelEndpointsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListPromptRoutersCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutEnforcedGuardrailConfigurationCommandInput | PutModelInvocationLoggingConfigurationCommandInput | PutUseCaseForModelAccessCommandInput | RegisterMarketplaceModelEndpointCommandInput | StartAutomatedReasoningPolicyBuildWorkflowCommandInput | StartAutomatedReasoningPolicyTestWorkflowCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAutomatedReasoningPolicyAnnotationsCommandInput | UpdateAutomatedReasoningPolicyCommandInput | UpdateAutomatedReasoningPolicyTestCaseCommandInput | UpdateCustomModelDeploymentCommandInput | UpdateGuardrailCommandInput | UpdateMarketplaceModelEndpointCommandInput | UpdateProvisionedModelThroughputCommandInput;
|
|
114
115
|
/**
|
|
115
116
|
* @public
|
|
116
117
|
*/
|
|
117
|
-
export type ServiceOutputTypes = BatchDeleteEvaluationJobCommandOutput | CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput | CreateAutomatedReasoningPolicyCommandOutput | CreateAutomatedReasoningPolicyTestCaseCommandOutput | CreateAutomatedReasoningPolicyVersionCommandOutput | CreateCustomModelCommandOutput | CreateCustomModelDeploymentCommandOutput | CreateEvaluationJobCommandOutput | CreateFoundationModelAgreementCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateInferenceProfileCommandOutput | CreateMarketplaceModelEndpointCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreatePromptRouterCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput | DeleteAutomatedReasoningPolicyCommandOutput | DeleteAutomatedReasoningPolicyTestCaseCommandOutput | DeleteCustomModelCommandOutput | DeleteCustomModelDeploymentCommandOutput | DeleteEnforcedGuardrailConfigurationCommandOutput | DeleteFoundationModelAgreementCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteInferenceProfileCommandOutput | DeleteMarketplaceModelEndpointCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeletePromptRouterCommandOutput | DeleteProvisionedModelThroughputCommandOutput | DeregisterMarketplaceModelEndpointCommandOutput | ExportAutomatedReasoningPolicyVersionCommandOutput | GetAutomatedReasoningPolicyAnnotationsCommandOutput | GetAutomatedReasoningPolicyBuildWorkflowCommandOutput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandOutput | GetAutomatedReasoningPolicyCommandOutput | GetAutomatedReasoningPolicyNextScenarioCommandOutput | GetAutomatedReasoningPolicyTestCaseCommandOutput | GetAutomatedReasoningPolicyTestResultCommandOutput | GetCustomModelCommandOutput | GetCustomModelDeploymentCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelAvailabilityCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetInferenceProfileCommandOutput | GetMarketplaceModelEndpointCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetPromptRouterCommandOutput | GetProvisionedModelThroughputCommandOutput | GetUseCaseForModelAccessCommandOutput | ListAutomatedReasoningPoliciesCommandOutput | ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput | ListAutomatedReasoningPolicyTestCasesCommandOutput | ListAutomatedReasoningPolicyTestResultsCommandOutput | ListCustomModelDeploymentsCommandOutput | ListCustomModelsCommandOutput | ListEnforcedGuardrailsConfigurationCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelAgreementOffersCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListInferenceProfilesCommandOutput | ListMarketplaceModelEndpointsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListPromptRoutersCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutEnforcedGuardrailConfigurationCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | PutUseCaseForModelAccessCommandOutput | RegisterMarketplaceModelEndpointCommandOutput | StartAutomatedReasoningPolicyBuildWorkflowCommandOutput | StartAutomatedReasoningPolicyTestWorkflowCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAutomatedReasoningPolicyAnnotationsCommandOutput | UpdateAutomatedReasoningPolicyCommandOutput | UpdateAutomatedReasoningPolicyTestCaseCommandOutput | UpdateGuardrailCommandOutput | UpdateMarketplaceModelEndpointCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
|
|
118
|
+
export type ServiceOutputTypes = BatchDeleteEvaluationJobCommandOutput | CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput | CreateAutomatedReasoningPolicyCommandOutput | CreateAutomatedReasoningPolicyTestCaseCommandOutput | CreateAutomatedReasoningPolicyVersionCommandOutput | CreateCustomModelCommandOutput | CreateCustomModelDeploymentCommandOutput | CreateEvaluationJobCommandOutput | CreateFoundationModelAgreementCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateInferenceProfileCommandOutput | CreateMarketplaceModelEndpointCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreatePromptRouterCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput | DeleteAutomatedReasoningPolicyCommandOutput | DeleteAutomatedReasoningPolicyTestCaseCommandOutput | DeleteCustomModelCommandOutput | DeleteCustomModelDeploymentCommandOutput | DeleteEnforcedGuardrailConfigurationCommandOutput | DeleteFoundationModelAgreementCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteInferenceProfileCommandOutput | DeleteMarketplaceModelEndpointCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeletePromptRouterCommandOutput | DeleteProvisionedModelThroughputCommandOutput | DeregisterMarketplaceModelEndpointCommandOutput | ExportAutomatedReasoningPolicyVersionCommandOutput | GetAutomatedReasoningPolicyAnnotationsCommandOutput | GetAutomatedReasoningPolicyBuildWorkflowCommandOutput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandOutput | GetAutomatedReasoningPolicyCommandOutput | GetAutomatedReasoningPolicyNextScenarioCommandOutput | GetAutomatedReasoningPolicyTestCaseCommandOutput | GetAutomatedReasoningPolicyTestResultCommandOutput | GetCustomModelCommandOutput | GetCustomModelDeploymentCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelAvailabilityCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetInferenceProfileCommandOutput | GetMarketplaceModelEndpointCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetPromptRouterCommandOutput | GetProvisionedModelThroughputCommandOutput | GetUseCaseForModelAccessCommandOutput | ListAutomatedReasoningPoliciesCommandOutput | ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput | ListAutomatedReasoningPolicyTestCasesCommandOutput | ListAutomatedReasoningPolicyTestResultsCommandOutput | ListCustomModelDeploymentsCommandOutput | ListCustomModelsCommandOutput | ListEnforcedGuardrailsConfigurationCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelAgreementOffersCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListInferenceProfilesCommandOutput | ListMarketplaceModelEndpointsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListPromptRoutersCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutEnforcedGuardrailConfigurationCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | PutUseCaseForModelAccessCommandOutput | RegisterMarketplaceModelEndpointCommandOutput | StartAutomatedReasoningPolicyBuildWorkflowCommandOutput | StartAutomatedReasoningPolicyTestWorkflowCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAutomatedReasoningPolicyAnnotationsCommandOutput | UpdateAutomatedReasoningPolicyCommandOutput | UpdateAutomatedReasoningPolicyTestCaseCommandOutput | UpdateCustomModelDeploymentCommandOutput | UpdateGuardrailCommandOutput | UpdateMarketplaceModelEndpointCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
|
|
118
119
|
/**
|
|
119
120
|
* @public
|
|
120
121
|
*/
|
|
@@ -42,7 +42,7 @@ declare const CreateModelCustomizationJobCommand_base: {
|
|
|
42
42
|
* roleArn: "STRING_VALUE", // required
|
|
43
43
|
* clientRequestToken: "STRING_VALUE",
|
|
44
44
|
* baseModelIdentifier: "STRING_VALUE", // required
|
|
45
|
-
* customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "IMPORTED",
|
|
45
|
+
* customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "REINFORCEMENT_FINE_TUNING" || "IMPORTED",
|
|
46
46
|
* customModelKmsKeyId: "STRING_VALUE",
|
|
47
47
|
* jobTags: [ // TagList
|
|
48
48
|
* { // Tag
|
|
@@ -119,6 +119,23 @@ declare const CreateModelCustomizationJobCommand_base: {
|
|
|
119
119
|
* maxResponseLengthForInference: Number("int"),
|
|
120
120
|
* },
|
|
121
121
|
* },
|
|
122
|
+
* rftConfig: { // RFTConfig
|
|
123
|
+
* graderConfig: { // GraderConfig Union: only one key present
|
|
124
|
+
* lambdaGrader: { // LambdaGraderConfig
|
|
125
|
+
* lambdaArn: "STRING_VALUE", // required
|
|
126
|
+
* },
|
|
127
|
+
* },
|
|
128
|
+
* hyperParameters: { // RFTHyperParameters
|
|
129
|
+
* epochCount: Number("int"),
|
|
130
|
+
* batchSize: Number("int"),
|
|
131
|
+
* learningRate: Number("float"),
|
|
132
|
+
* maxPromptLength: Number("int"),
|
|
133
|
+
* trainingSamplePerPrompt: Number("int"),
|
|
134
|
+
* inferenceMaxTokens: Number("int"),
|
|
135
|
+
* reasoningEffort: "low" || "medium" || "high",
|
|
136
|
+
* evalInterval: Number("int"),
|
|
137
|
+
* },
|
|
138
|
+
* },
|
|
122
139
|
* },
|
|
123
140
|
* };
|
|
124
141
|
* const command = new CreateModelCustomizationJobCommand(input);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { DeleteInferenceProfileRequest
|
|
4
|
+
import { DeleteInferenceProfileRequest } from "../models/models_0";
|
|
5
|
+
import { DeleteInferenceProfileResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -47,7 +47,7 @@ declare const GetCustomModelCommand_base: {
|
|
|
47
47
|
* // jobName: "STRING_VALUE",
|
|
48
48
|
* // jobArn: "STRING_VALUE",
|
|
49
49
|
* // baseModelArn: "STRING_VALUE",
|
|
50
|
-
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "IMPORTED",
|
|
50
|
+
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "REINFORCEMENT_FINE_TUNING" || "IMPORTED",
|
|
51
51
|
* // modelKmsKeyArn: "STRING_VALUE",
|
|
52
52
|
* // hyperParameters: { // ModelCustomizationHyperParameters
|
|
53
53
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -113,6 +113,23 @@ declare const GetCustomModelCommand_base: {
|
|
|
113
113
|
* // maxResponseLengthForInference: Number("int"),
|
|
114
114
|
* // },
|
|
115
115
|
* // },
|
|
116
|
+
* // rftConfig: { // RFTConfig
|
|
117
|
+
* // graderConfig: { // GraderConfig Union: only one key present
|
|
118
|
+
* // lambdaGrader: { // LambdaGraderConfig
|
|
119
|
+
* // lambdaArn: "STRING_VALUE", // required
|
|
120
|
+
* // },
|
|
121
|
+
* // },
|
|
122
|
+
* // hyperParameters: { // RFTHyperParameters
|
|
123
|
+
* // epochCount: Number("int"),
|
|
124
|
+
* // batchSize: Number("int"),
|
|
125
|
+
* // learningRate: Number("float"),
|
|
126
|
+
* // maxPromptLength: Number("int"),
|
|
127
|
+
* // trainingSamplePerPrompt: Number("int"),
|
|
128
|
+
* // inferenceMaxTokens: Number("int"),
|
|
129
|
+
* // reasoningEffort: "low" || "medium" || "high",
|
|
130
|
+
* // evalInterval: Number("int"),
|
|
131
|
+
* // },
|
|
132
|
+
* // },
|
|
116
133
|
* // },
|
|
117
134
|
* // modelStatus: "Active" || "Creating" || "Failed",
|
|
118
135
|
* // failureMessage: "STRING_VALUE",
|
|
@@ -48,6 +48,10 @@ declare const GetCustomModelDeploymentCommand_base: {
|
|
|
48
48
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
49
49
|
* // status: "Creating" || "Active" || "Failed", // required
|
|
50
50
|
* // description: "STRING_VALUE",
|
|
51
|
+
* // updateDetails: { // CustomModelDeploymentUpdateDetails
|
|
52
|
+
* // modelArn: "STRING_VALUE", // required
|
|
53
|
+
* // updateStatus: "Updating" || "UpdateCompleted" || "UpdateFailed", // required
|
|
54
|
+
* // },
|
|
51
55
|
* // failureMessage: "STRING_VALUE",
|
|
52
56
|
* // lastUpdatedAt: new Date("TIMESTAMP"),
|
|
53
57
|
* // };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { GetInferenceProfileRequest, GetInferenceProfileResponse } from "../models/
|
|
4
|
+
import { GetInferenceProfileRequest, GetInferenceProfileResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -119,7 +119,7 @@ declare const GetModelCustomizationJobCommand_base: {
|
|
|
119
119
|
* // outputDataConfig: { // OutputDataConfig
|
|
120
120
|
* // s3Uri: "STRING_VALUE", // required
|
|
121
121
|
* // },
|
|
122
|
-
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "IMPORTED",
|
|
122
|
+
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "REINFORCEMENT_FINE_TUNING" || "IMPORTED",
|
|
123
123
|
* // outputModelKmsKeyArn: "STRING_VALUE",
|
|
124
124
|
* // trainingMetrics: { // TrainingMetrics
|
|
125
125
|
* // trainingLoss: Number("float"),
|
|
@@ -144,6 +144,23 @@ declare const GetModelCustomizationJobCommand_base: {
|
|
|
144
144
|
* // maxResponseLengthForInference: Number("int"),
|
|
145
145
|
* // },
|
|
146
146
|
* // },
|
|
147
|
+
* // rftConfig: { // RFTConfig
|
|
148
|
+
* // graderConfig: { // GraderConfig Union: only one key present
|
|
149
|
+
* // lambdaGrader: { // LambdaGraderConfig
|
|
150
|
+
* // lambdaArn: "STRING_VALUE", // required
|
|
151
|
+
* // },
|
|
152
|
+
* // },
|
|
153
|
+
* // hyperParameters: { // RFTHyperParameters
|
|
154
|
+
* // epochCount: Number("int"),
|
|
155
|
+
* // batchSize: Number("int"),
|
|
156
|
+
* // learningRate: Number("float"),
|
|
157
|
+
* // maxPromptLength: Number("int"),
|
|
158
|
+
* // trainingSamplePerPrompt: Number("int"),
|
|
159
|
+
* // inferenceMaxTokens: Number("int"),
|
|
160
|
+
* // reasoningEffort: "low" || "medium" || "high",
|
|
161
|
+
* // evalInterval: Number("int"),
|
|
162
|
+
* // },
|
|
163
|
+
* // },
|
|
147
164
|
* // },
|
|
148
165
|
* // };
|
|
149
166
|
*
|
|
@@ -60,7 +60,7 @@ declare const ListCustomModelsCommand_base: {
|
|
|
60
60
|
* // creationTime: new Date("TIMESTAMP"), // required
|
|
61
61
|
* // baseModelArn: "STRING_VALUE", // required
|
|
62
62
|
* // baseModelName: "STRING_VALUE", // required
|
|
63
|
-
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "IMPORTED",
|
|
63
|
+
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "REINFORCEMENT_FINE_TUNING" || "IMPORTED",
|
|
64
64
|
* // ownerAccountId: "STRING_VALUE",
|
|
65
65
|
* // modelStatus: "Active" || "Creating" || "Failed",
|
|
66
66
|
* // },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { ListInferenceProfilesRequest, ListInferenceProfilesResponse } from "../models/
|
|
4
|
+
import { ListInferenceProfilesRequest, ListInferenceProfilesResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -78,7 +78,7 @@ declare const ListModelCustomizationJobsCommand_base: {
|
|
|
78
78
|
* // endTime: new Date("TIMESTAMP"),
|
|
79
79
|
* // customModelArn: "STRING_VALUE",
|
|
80
80
|
* // customModelName: "STRING_VALUE",
|
|
81
|
-
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "IMPORTED",
|
|
81
|
+
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "REINFORCEMENT_FINE_TUNING" || "IMPORTED",
|
|
82
82
|
* // },
|
|
83
83
|
* // ],
|
|
84
84
|
* // };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import { UpdateCustomModelDeploymentRequest, UpdateCustomModelDeploymentResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateCustomModelDeploymentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateCustomModelDeploymentCommandInput extends UpdateCustomModelDeploymentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateCustomModelDeploymentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCustomModelDeploymentCommandOutput extends UpdateCustomModelDeploymentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateCustomModelDeploymentCommand_base: {
|
|
25
|
+
new (input: UpdateCustomModelDeploymentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCustomModelDeploymentCommandInput, UpdateCustomModelDeploymentCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateCustomModelDeploymentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCustomModelDeploymentCommandInput, UpdateCustomModelDeploymentCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Updates a custom model deployment with a new custom model. This allows you to deploy updated models without creating new deployment endpoints. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockClient, UpdateCustomModelDeploymentCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
|
+
* // const { BedrockClient, UpdateCustomModelDeploymentCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
38
|
+
* const client = new BedrockClient(config);
|
|
39
|
+
* const input = { // UpdateCustomModelDeploymentRequest
|
|
40
|
+
* modelArn: "STRING_VALUE", // required
|
|
41
|
+
* customModelDeploymentIdentifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateCustomModelDeploymentCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateCustomModelDeploymentResponse
|
|
46
|
+
* // customModelDeploymentArn: "STRING_VALUE", // required
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UpdateCustomModelDeploymentCommandInput - {@link UpdateCustomModelDeploymentCommandInput}
|
|
52
|
+
* @returns {@link UpdateCustomModelDeploymentCommandOutput}
|
|
53
|
+
* @see {@link UpdateCustomModelDeploymentCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UpdateCustomModelDeploymentCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link BedrockServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class UpdateCustomModelDeploymentCommand extends UpdateCustomModelDeploymentCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: UpdateCustomModelDeploymentRequest;
|
|
83
|
+
output: UpdateCustomModelDeploymentResponse;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: UpdateCustomModelDeploymentCommandInput;
|
|
87
|
+
output: UpdateCustomModelDeploymentCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -92,6 +92,7 @@ export * from "./UntagResourceCommand";
|
|
|
92
92
|
export * from "./UpdateAutomatedReasoningPolicyAnnotationsCommand";
|
|
93
93
|
export * from "./UpdateAutomatedReasoningPolicyCommand";
|
|
94
94
|
export * from "./UpdateAutomatedReasoningPolicyTestCaseCommand";
|
|
95
|
+
export * from "./UpdateCustomModelDeploymentCommand";
|
|
95
96
|
export * from "./UpdateGuardrailCommand";
|
|
96
97
|
export * from "./UpdateMarketplaceModelEndpointCommand";
|
|
97
98
|
export * from "./UpdateProvisionedModelThroughputCommand";
|
|
@@ -201,6 +201,19 @@ export declare const CustomModelDeploymentStatus: {
|
|
|
201
201
|
* @public
|
|
202
202
|
*/
|
|
203
203
|
export type CustomModelDeploymentStatus = (typeof CustomModelDeploymentStatus)[keyof typeof CustomModelDeploymentStatus];
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
* @enum
|
|
207
|
+
*/
|
|
208
|
+
export declare const CustomModelDeploymentUpdateStatus: {
|
|
209
|
+
readonly UPDATE_COMPLETED: "UpdateCompleted";
|
|
210
|
+
readonly UPDATE_FAILED: "UpdateFailed";
|
|
211
|
+
readonly UPDATING: "Updating";
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
export type CustomModelDeploymentUpdateStatus = (typeof CustomModelDeploymentUpdateStatus)[keyof typeof CustomModelDeploymentUpdateStatus];
|
|
204
217
|
/**
|
|
205
218
|
* @public
|
|
206
219
|
* @enum
|
|
@@ -224,6 +237,19 @@ export declare const SortOrder: {
|
|
|
224
237
|
* @public
|
|
225
238
|
*/
|
|
226
239
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
240
|
+
/**
|
|
241
|
+
* @public
|
|
242
|
+
* @enum
|
|
243
|
+
*/
|
|
244
|
+
export declare const ReasoningEffort: {
|
|
245
|
+
readonly HIGH: "high";
|
|
246
|
+
readonly LOW: "low";
|
|
247
|
+
readonly MEDIUM: "medium";
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
export type ReasoningEffort = (typeof ReasoningEffort)[keyof typeof ReasoningEffort];
|
|
227
253
|
/**
|
|
228
254
|
* @public
|
|
229
255
|
* @enum
|
|
@@ -233,6 +259,7 @@ export declare const CustomizationType: {
|
|
|
233
259
|
readonly DISTILLATION: "DISTILLATION";
|
|
234
260
|
readonly FINE_TUNING: "FINE_TUNING";
|
|
235
261
|
readonly IMPORTED: "IMPORTED";
|
|
262
|
+
readonly REINFORCEMENT_FINE_TUNING: "REINFORCEMENT_FINE_TUNING";
|
|
236
263
|
};
|
|
237
264
|
/**
|
|
238
265
|
* @public
|