Skip to content

Commit e96eaeb

Browse files
Update models for release
1 parent 051ff78 commit e96eaeb

12 files changed

Lines changed: 842 additions & 28 deletions

File tree

.changes/3.366.0

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"type": "api-change",
4+
"category": "Bedrock",
5+
"description": "Adding support in Amazon Bedrock to customize models with reinforcement fine-tuning (RFT) and support for updating the existing Custom Model Deployments."
6+
},
7+
{
8+
"type": "api-change",
9+
"category": "SageMaker",
10+
"description": "Introduces Serverless training: A fully managed compute infrastructure that abstracts away all infrastructure complexity, allowing you to focus purely on model development. Added AI model customization assets used to train, refine, and evaluate custom models during the model customization process."
11+
}
12+
]

.changes/nextrelease/8.5-support.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

3+
## next release
4+
5+
* `Aws\` - Adds support for PHP 8.5
6+
* `Aws\Bedrock` - Adding support in Amazon Bedrock to customize models with reinforcement fine-tuning (RFT) and support for updating the existing Custom Model Deployments.
7+
* `Aws\SageMaker` - Introduces Serverless training: A fully managed compute infrastructure that abstracts away all infrastructure complexity, allowing you to focus purely on model development. Added AI model customization assets used to train, refine, and evaluate custom models during the model customization process.
8+
39
## 3.365.0 - 2025-12-02
410

511
* `Aws\` - Fixed an issue in NonSeekableStreamDecodingEventStreamIterator where partial reads from non-seekable streams could result in truncated payloads and CRC mismatches.

src/Bedrock/BedrockClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@
193193
* @method \GuzzleHttp\Promise\Promise updateAutomatedReasoningPolicyAnnotationsAsync(array $args = [])
194194
* @method \Aws\Result updateAutomatedReasoningPolicyTestCase(array $args = [])
195195
* @method \GuzzleHttp\Promise\Promise updateAutomatedReasoningPolicyTestCaseAsync(array $args = [])
196+
* @method \Aws\Result updateCustomModelDeployment(array $args = [])
197+
* @method \GuzzleHttp\Promise\Promise updateCustomModelDeploymentAsync(array $args = [])
196198
* @method \Aws\Result updateGuardrail(array $args = [])
197199
* @method \GuzzleHttp\Promise\Promise updateGuardrailAsync(array $args = [])
198200
* @method \Aws\Result updateMarketplaceModelEndpoint(array $args = [])

src/data/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":[

src/data/bedrock/2023-04-20/api-2.json.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)