Skip to content

Commit 61b2628

Browse files
Updated API models and rebuilt service gems.
1 parent b1a85d7 commit 61b2628

File tree

20 files changed

+2257
-54
lines changed

20 files changed

+2257
-54
lines changed

apis/bedrock/2023-04-20/api-2.json

Lines changed: 149 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1742,6 +1742,24 @@
17421742
],
17431743
"idempotent":true
17441744
},
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+
},
17451763
"UpdateGuardrail":{
17461764
"name":"UpdateGuardrail",
17471765
"http":{
@@ -3860,6 +3878,25 @@
38603878
"type":"list",
38613879
"member":{"shape":"CustomModelDeploymentSummary"}
38623880
},
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+
},
38633900
"CustomModelName":{
38643901
"type":"string",
38653902
"max":63,
@@ -3904,7 +3941,8 @@
39043941
"CustomizationConfig":{
39053942
"type":"structure",
39063943
"members":{
3907-
"distillationConfig":{"shape":"DistillationConfig"}
3944+
"distillationConfig":{"shape":"DistillationConfig"},
3945+
"rftConfig":{"shape":"RFTConfig"}
39083946
},
39093947
"union":true
39103948
},
@@ -3914,6 +3952,7 @@
39143952
"FINE_TUNING",
39153953
"CONTINUED_PRE_TRAINING",
39163954
"DISTILLATION",
3955+
"REINFORCEMENT_FINE_TUNING",
39173956
"IMPORTED"
39183957
]
39193958
},
@@ -4212,6 +4251,12 @@
42124251
"NOT_AVAILABLE"
42134252
]
42144253
},
4254+
"EpochCount":{
4255+
"type":"integer",
4256+
"box":true,
4257+
"max":50,
4258+
"min":1
4259+
},
42154260
"ErrorMessage":{
42164261
"type":"string",
42174262
"max":2048,
@@ -5013,6 +5058,7 @@
50135058
"createdAt":{"shape":"Timestamp"},
50145059
"status":{"shape":"CustomModelDeploymentStatus"},
50155060
"description":{"shape":"CustomModelDeploymentDescription"},
5061+
"updateDetails":{"shape":"CustomModelDeploymentUpdateDetails"},
50165062
"failureMessage":{"shape":"ErrorMessage"},
50175063
"lastUpdatedAt":{"shape":"Timestamp"}
50185064
}
@@ -5525,6 +5571,13 @@
55255571
"formData":{"shape":"AcknowledgementFormDataBody"}
55265572
}
55275573
},
5574+
"GraderConfig":{
5575+
"type":"structure",
5576+
"members":{
5577+
"lambdaGrader":{"shape":"LambdaGraderConfig"}
5578+
},
5579+
"union":true
5580+
},
55285581
"GuardrailArn":{
55295582
"type":"string",
55305583
"max":2048,
@@ -6670,6 +6723,19 @@
66706723
"max":100,
66716724
"min":1
66726725
},
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+
},
66736739
"LegalTerm":{
66746740
"type":"structure",
66756741
"members":{
@@ -8239,6 +8305,58 @@
82398305
"max":1000,
82408306
"min":1
82418307
},
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+
},
82428360
"RagConfigs":{
82438361
"type":"list",
82448362
"member":{"shape":"RAGConfig"},
@@ -8284,6 +8402,14 @@
82848402
"max":100,
82858403
"min":1
82868404
},
8405+
"ReasoningEffort":{
8406+
"type":"string",
8407+
"enum":[
8408+
"low",
8409+
"medium",
8410+
"high"
8411+
]
8412+
},
82878413
"RegionAvailability":{
82888414
"type":"string",
82898415
"enum":[
@@ -9008,6 +9134,28 @@
90089134
"testCaseId":{"shape":"AutomatedReasoningPolicyTestCaseId"}
90099135
}
90109136
},
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+
},
90119159
"UpdateGuardrailRequest":{
90129160
"type":"structure",
90139161
"required":[

0 commit comments

Comments
 (0)