|
1742 | 1742 | ], |
1743 | 1743 | "idempotent":true |
1744 | 1744 | }, |
| 1745 | + "UpdateCustomModelDeployment":{ |
| 1746 | + "name":"UpdateCustomModelDeployment", |
| 1747 | + "http":{ |
| 1748 | + "method":"PATCH", |
| 1749 | + "requestUri":"/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", |
| 1750 | + "responseCode":202 |
| 1751 | + }, |
| 1752 | + "input":{"shape":"UpdateCustomModelDeploymentRequest"}, |
| 1753 | + "output":{"shape":"UpdateCustomModelDeploymentResponse"}, |
| 1754 | + "errors":[ |
| 1755 | + {"shape":"ResourceNotFoundException"}, |
| 1756 | + {"shape":"AccessDeniedException"}, |
| 1757 | + {"shape":"ValidationException"}, |
| 1758 | + {"shape":"InternalServerException"}, |
| 1759 | + {"shape":"ThrottlingException"} |
| 1760 | + ], |
| 1761 | + "idempotent":true |
| 1762 | + }, |
1745 | 1763 | "UpdateGuardrail":{ |
1746 | 1764 | "name":"UpdateGuardrail", |
1747 | 1765 | "http":{ |
|
3860 | 3878 | "type":"list", |
3861 | 3879 | "member":{"shape":"CustomModelDeploymentSummary"} |
3862 | 3880 | }, |
| 3881 | + "CustomModelDeploymentUpdateDetails":{ |
| 3882 | + "type":"structure", |
| 3883 | + "required":[ |
| 3884 | + "modelArn", |
| 3885 | + "updateStatus" |
| 3886 | + ], |
| 3887 | + "members":{ |
| 3888 | + "modelArn":{"shape":"ModelArn"}, |
| 3889 | + "updateStatus":{"shape":"CustomModelDeploymentUpdateStatus"} |
| 3890 | + } |
| 3891 | + }, |
| 3892 | + "CustomModelDeploymentUpdateStatus":{ |
| 3893 | + "type":"string", |
| 3894 | + "enum":[ |
| 3895 | + "Updating", |
| 3896 | + "UpdateCompleted", |
| 3897 | + "UpdateFailed" |
| 3898 | + ] |
| 3899 | + }, |
3863 | 3900 | "CustomModelName":{ |
3864 | 3901 | "type":"string", |
3865 | 3902 | "max":63, |
|
3904 | 3941 | "CustomizationConfig":{ |
3905 | 3942 | "type":"structure", |
3906 | 3943 | "members":{ |
3907 | | - "distillationConfig":{"shape":"DistillationConfig"} |
| 3944 | + "distillationConfig":{"shape":"DistillationConfig"}, |
| 3945 | + "rftConfig":{"shape":"RFTConfig"} |
3908 | 3946 | }, |
3909 | 3947 | "union":true |
3910 | 3948 | }, |
|
3914 | 3952 | "FINE_TUNING", |
3915 | 3953 | "CONTINUED_PRE_TRAINING", |
3916 | 3954 | "DISTILLATION", |
| 3955 | + "REINFORCEMENT_FINE_TUNING", |
3917 | 3956 | "IMPORTED" |
3918 | 3957 | ] |
3919 | 3958 | }, |
|
4212 | 4251 | "NOT_AVAILABLE" |
4213 | 4252 | ] |
4214 | 4253 | }, |
| 4254 | + "EpochCount":{ |
| 4255 | + "type":"integer", |
| 4256 | + "box":true, |
| 4257 | + "max":50, |
| 4258 | + "min":1 |
| 4259 | + }, |
4215 | 4260 | "ErrorMessage":{ |
4216 | 4261 | "type":"string", |
4217 | 4262 | "max":2048, |
|
5013 | 5058 | "createdAt":{"shape":"Timestamp"}, |
5014 | 5059 | "status":{"shape":"CustomModelDeploymentStatus"}, |
5015 | 5060 | "description":{"shape":"CustomModelDeploymentDescription"}, |
| 5061 | + "updateDetails":{"shape":"CustomModelDeploymentUpdateDetails"}, |
5016 | 5062 | "failureMessage":{"shape":"ErrorMessage"}, |
5017 | 5063 | "lastUpdatedAt":{"shape":"Timestamp"} |
5018 | 5064 | } |
|
5525 | 5571 | "formData":{"shape":"AcknowledgementFormDataBody"} |
5526 | 5572 | } |
5527 | 5573 | }, |
| 5574 | + "GraderConfig":{ |
| 5575 | + "type":"structure", |
| 5576 | + "members":{ |
| 5577 | + "lambdaGrader":{"shape":"LambdaGraderConfig"} |
| 5578 | + }, |
| 5579 | + "union":true |
| 5580 | + }, |
5528 | 5581 | "GuardrailArn":{ |
5529 | 5582 | "type":"string", |
5530 | 5583 | "max":2048, |
|
6670 | 6723 | "max":100, |
6671 | 6724 | "min":1 |
6672 | 6725 | }, |
| 6726 | + "LambdaArn":{ |
| 6727 | + "type":"string", |
| 6728 | + "max":512, |
| 6729 | + "min":1, |
| 6730 | + "pattern":"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?" |
| 6731 | + }, |
| 6732 | + "LambdaGraderConfig":{ |
| 6733 | + "type":"structure", |
| 6734 | + "required":["lambdaArn"], |
| 6735 | + "members":{ |
| 6736 | + "lambdaArn":{"shape":"LambdaArn"} |
| 6737 | + } |
| 6738 | + }, |
6673 | 6739 | "LegalTerm":{ |
6674 | 6740 | "type":"structure", |
6675 | 6741 | "members":{ |
|
8239 | 8305 | "max":1000, |
8240 | 8306 | "min":1 |
8241 | 8307 | }, |
| 8308 | + "RFTBatchSize":{ |
| 8309 | + "type":"integer", |
| 8310 | + "box":true, |
| 8311 | + "max":512, |
| 8312 | + "min":16 |
| 8313 | + }, |
| 8314 | + "RFTConfig":{ |
| 8315 | + "type":"structure", |
| 8316 | + "members":{ |
| 8317 | + "graderConfig":{"shape":"GraderConfig"}, |
| 8318 | + "hyperParameters":{"shape":"RFTHyperParameters"} |
| 8319 | + } |
| 8320 | + }, |
| 8321 | + "RFTEvalInterval":{ |
| 8322 | + "type":"integer", |
| 8323 | + "box":true, |
| 8324 | + "max":100, |
| 8325 | + "min":1 |
| 8326 | + }, |
| 8327 | + "RFTHyperParameters":{ |
| 8328 | + "type":"structure", |
| 8329 | + "members":{ |
| 8330 | + "epochCount":{"shape":"EpochCount"}, |
| 8331 | + "batchSize":{"shape":"RFTBatchSize"}, |
| 8332 | + "learningRate":{"shape":"RFTLearningRate"}, |
| 8333 | + "maxPromptLength":{"shape":"RFTMaxPromptLength"}, |
| 8334 | + "trainingSamplePerPrompt":{"shape":"RFTTrainingSamplePerPrompt"}, |
| 8335 | + "inferenceMaxTokens":{"shape":"RFTInferenceMaxTokens"}, |
| 8336 | + "reasoningEffort":{"shape":"ReasoningEffort"}, |
| 8337 | + "evalInterval":{"shape":"RFTEvalInterval"} |
| 8338 | + } |
| 8339 | + }, |
| 8340 | + "RFTInferenceMaxTokens":{ |
| 8341 | + "type":"integer", |
| 8342 | + "box":true |
| 8343 | + }, |
| 8344 | + "RFTLearningRate":{ |
| 8345 | + "type":"float", |
| 8346 | + "box":true, |
| 8347 | + "max":0.001, |
| 8348 | + "min":0.0000001 |
| 8349 | + }, |
| 8350 | + "RFTMaxPromptLength":{ |
| 8351 | + "type":"integer", |
| 8352 | + "box":true |
| 8353 | + }, |
| 8354 | + "RFTTrainingSamplePerPrompt":{ |
| 8355 | + "type":"integer", |
| 8356 | + "box":true, |
| 8357 | + "max":16, |
| 8358 | + "min":2 |
| 8359 | + }, |
8242 | 8360 | "RagConfigs":{ |
8243 | 8361 | "type":"list", |
8244 | 8362 | "member":{"shape":"RAGConfig"}, |
|
8284 | 8402 | "max":100, |
8285 | 8403 | "min":1 |
8286 | 8404 | }, |
| 8405 | + "ReasoningEffort":{ |
| 8406 | + "type":"string", |
| 8407 | + "enum":[ |
| 8408 | + "low", |
| 8409 | + "medium", |
| 8410 | + "high" |
| 8411 | + ] |
| 8412 | + }, |
8287 | 8413 | "RegionAvailability":{ |
8288 | 8414 | "type":"string", |
8289 | 8415 | "enum":[ |
|
9008 | 9134 | "testCaseId":{"shape":"AutomatedReasoningPolicyTestCaseId"} |
9009 | 9135 | } |
9010 | 9136 | }, |
| 9137 | + "UpdateCustomModelDeploymentRequest":{ |
| 9138 | + "type":"structure", |
| 9139 | + "required":[ |
| 9140 | + "modelArn", |
| 9141 | + "customModelDeploymentIdentifier" |
| 9142 | + ], |
| 9143 | + "members":{ |
| 9144 | + "modelArn":{"shape":"CustomModelArn"}, |
| 9145 | + "customModelDeploymentIdentifier":{ |
| 9146 | + "shape":"CustomModelDeploymentIdentifier", |
| 9147 | + "location":"uri", |
| 9148 | + "locationName":"customModelDeploymentIdentifier" |
| 9149 | + } |
| 9150 | + } |
| 9151 | + }, |
| 9152 | + "UpdateCustomModelDeploymentResponse":{ |
| 9153 | + "type":"structure", |
| 9154 | + "required":["customModelDeploymentArn"], |
| 9155 | + "members":{ |
| 9156 | + "customModelDeploymentArn":{"shape":"CustomModelDeploymentArn"} |
| 9157 | + } |
| 9158 | + }, |
9011 | 9159 | "UpdateGuardrailRequest":{ |
9012 | 9160 | "type":"structure", |
9013 | 9161 | "required":[ |
|
0 commit comments