Skip to content

Commit ca0b4ce

Browse files
author
AWS
committed
Amazon Bedrock Update: You can now specify a cross region inference profile as a teacher model for the CreateModelCustomizationJob API. Additionally, the GetModelCustomizationJob API has been enhanced to return the sub-task statuses of a customization job within the StatusDetails response field.
1 parent f6adeaa commit ca0b4ce

File tree

2 files changed

+99
-2
lines changed

2 files changed

+99
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Bedrock",
4+
"contributor": "",
5+
"description": "You can now specify a cross region inference profile as a teacher model for the CreateModelCustomizationJob API. Additionally, the GetModelCustomizationJob API has been enhanced to return the sub-task statuses of a customization job within the StatusDetails response field."
6+
}

services/bedrock/src/main/resources/codegen-resources/service-2.json

Lines changed: 93 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2168,7 +2168,7 @@
21682168
"members":{
21692169
"distillationConfig":{
21702170
"shape":"DistillationConfig",
2171-
"documentation":"<p>The distillation configuration for the custom model.</p>"
2171+
"documentation":"<p>The Distillation configuration for the custom model.</p>"
21722172
}
21732173
},
21742174
"documentation":"<p>A model customization configuration</p>",
@@ -2182,6 +2182,24 @@
21822182
"DISTILLATION"
21832183
]
21842184
},
2185+
"DataProcessingDetails":{
2186+
"type":"structure",
2187+
"members":{
2188+
"status":{
2189+
"shape":"JobStatusDetails",
2190+
"documentation":"<p>The status of the data processing sub-task of the job.</p>"
2191+
},
2192+
"creationTime":{
2193+
"shape":"Timestamp",
2194+
"documentation":"<p>The start time of the data processing sub-task of the job.</p>"
2195+
},
2196+
"lastModifiedTime":{
2197+
"shape":"Timestamp",
2198+
"documentation":"<p>The latest update to the data processing sub-task of the job.</p>"
2199+
}
2200+
},
2201+
"documentation":"<p>For a Distillation job, the status details for the data processing sub-task of the job.</p>"
2202+
},
21852203
"DeleteCustomModelRequest":{
21862204
"type":"structure",
21872205
"required":["modelIdentifier"],
@@ -3675,6 +3693,10 @@
36753693
"shape":"ErrorMessage",
36763694
"documentation":"<p>Information about why the job failed.</p>"
36773695
},
3696+
"statusDetails":{
3697+
"shape":"StatusDetails",
3698+
"documentation":"<p>For a Distillation job, the details about the statuses of the sub-tasks of the customization job. </p>"
3699+
},
36783700
"creationTime":{
36793701
"shape":"Timestamp",
36803702
"documentation":"<p>Time that the resource was created.</p>"
@@ -5443,6 +5465,17 @@
54435465
"min":1,
54445466
"pattern":"[a-zA-Z0-9](-*[a-zA-Z0-9\\+\\-\\.])*"
54455467
},
5468+
"JobStatusDetails":{
5469+
"type":"string",
5470+
"enum":[
5471+
"InProgress",
5472+
"Completed",
5473+
"Stopping",
5474+
"Stopped",
5475+
"Failed",
5476+
"NotStarted"
5477+
]
5478+
},
54465479
"KbInferenceConfig":{
54475480
"type":"structure",
54485481
"members":{
@@ -6624,6 +6657,10 @@
66246657
"shape":"Timestamp",
66256658
"documentation":"<p>Time that the customization job was last modified.</p>"
66266659
},
6660+
"statusDetails":{
6661+
"shape":"StatusDetails",
6662+
"documentation":"<p>Details about the status of the data processing sub-task of the job.</p>"
6663+
},
66276664
"creationTime":{
66286665
"shape":"Timestamp",
66296666
"documentation":"<p>Creation time of the custom model. </p>"
@@ -7720,6 +7757,24 @@
77207757
"INCOMPATIBLE_ENDPOINT"
77217758
]
77227759
},
7760+
"StatusDetails":{
7761+
"type":"structure",
7762+
"members":{
7763+
"validationDetails":{
7764+
"shape":"ValidationDetails",
7765+
"documentation":"<p>The status details for the validation sub-task of the job.</p>"
7766+
},
7767+
"dataProcessingDetails":{
7768+
"shape":"DataProcessingDetails",
7769+
"documentation":"<p>The status details for the data processing sub-task of the job.</p>"
7770+
},
7771+
"trainingDetails":{
7772+
"shape":"TrainingDetails",
7773+
"documentation":"<p>The status details for the training sub-task of the job.</p>"
7774+
}
7775+
},
7776+
"documentation":"<p>For a Distillation job, the status details for sub-tasks of the job. Possible statuses for each sub-task include the following:</p> <ul> <li> <p>NotStarted</p> </li> <li> <p>InProgress</p> </li> <li> <p>Completed</p> </li> <li> <p>Stopping</p> </li> <li> <p>Stopped</p> </li> <li> <p>Failed</p> </li> </ul>"
7777+
},
77237778
"StopEvaluationJobRequest":{
77247779
"type":"structure",
77257780
"required":["jobIdentifier"],
@@ -7871,7 +7926,7 @@
78717926
},
78727927
"TeacherModelIdentifier":{
78737928
"type":"string",
7874-
"pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)"
7929+
"pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)$)|([0-9]{12}:inference-profile/[a-zA-Z0-9-:.]+$)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})"
78757930
},
78767931
"Temperature":{
78777932
"type":"float",
@@ -7959,6 +8014,24 @@
79598014
},
79608015
"documentation":"<p>S3 Location of the training data.</p>"
79618016
},
8017+
"TrainingDetails":{
8018+
"type":"structure",
8019+
"members":{
8020+
"status":{
8021+
"shape":"JobStatusDetails",
8022+
"documentation":"<p>The status of the training sub-task of the job.</p>"
8023+
},
8024+
"creationTime":{
8025+
"shape":"Timestamp",
8026+
"documentation":"<p>The start time of the training sub-task of the job.</p>"
8027+
},
8028+
"lastModifiedTime":{
8029+
"shape":"Timestamp",
8030+
"documentation":"<p>The latest update to the training sub-task of the job.</p>"
8031+
}
8032+
},
8033+
"documentation":"<p>For a Distillation job, the status details for the training sub-task of the job.</p>"
8034+
},
79628035
"TrainingMetrics":{
79638036
"type":"structure",
79648037
"members":{
@@ -8146,6 +8219,24 @@
81468219
},
81478220
"documentation":"<p>Array of up to 10 validators.</p>"
81488221
},
8222+
"ValidationDetails":{
8223+
"type":"structure",
8224+
"members":{
8225+
"status":{
8226+
"shape":"JobStatusDetails",
8227+
"documentation":"<p>The status of the validation sub-task of the job.</p>"
8228+
},
8229+
"creationTime":{
8230+
"shape":"Timestamp",
8231+
"documentation":"<p>The start time of the validation sub-task of the job.</p>"
8232+
},
8233+
"lastModifiedTime":{
8234+
"shape":"Timestamp",
8235+
"documentation":"<p>The latest update to the validation sub-task of the job.</p>"
8236+
}
8237+
},
8238+
"documentation":"<p>For a Distillation job, the status details for the validation sub-task of the job.</p>"
8239+
},
81498240
"ValidationException":{
81508241
"type":"structure",
81518242
"members":{

0 commit comments

Comments
 (0)