Skip to content

Commit 0494db3

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent dfcc3bc commit 0494db3

10 files changed

+2015
-732
lines changed

codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json

Lines changed: 305 additions & 223 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/bedrock-agent.json

Lines changed: 66 additions & 11 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/bedrock.json

Lines changed: 160 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2749,7 +2749,7 @@
27492749
"distillationConfig": {
27502750
"target": "com.amazonaws.bedrock#DistillationConfig",
27512751
"traits": {
2752-
"smithy.api#documentation": "<p>The distillation configuration for the custom model.</p>"
2752+
"smithy.api#documentation": "<p>The Distillation configuration for the custom model.</p>"
27532753
}
27542754
}
27552755
},
@@ -2780,6 +2780,32 @@
27802780
}
27812781
}
27822782
},
2783+
"com.amazonaws.bedrock#DataProcessingDetails": {
2784+
"type": "structure",
2785+
"members": {
2786+
"status": {
2787+
"target": "com.amazonaws.bedrock#JobStatusDetails",
2788+
"traits": {
2789+
"smithy.api#documentation": "<p>The status of the data processing sub-task of the job.</p>"
2790+
}
2791+
},
2792+
"creationTime": {
2793+
"target": "com.amazonaws.bedrock#Timestamp",
2794+
"traits": {
2795+
"smithy.api#documentation": "<p>The start time of the data processing sub-task of the job.</p>"
2796+
}
2797+
},
2798+
"lastModifiedTime": {
2799+
"target": "com.amazonaws.bedrock#Timestamp",
2800+
"traits": {
2801+
"smithy.api#documentation": "<p>The latest update to the data processing sub-task of the job.</p>"
2802+
}
2803+
}
2804+
},
2805+
"traits": {
2806+
"smithy.api#documentation": "<p>For a Distillation job, the status details for the data processing sub-task of the job.</p>"
2807+
}
2808+
},
27832809
"com.amazonaws.bedrock#DeleteCustomModel": {
27842810
"type": "operation",
27852811
"input": {
@@ -5653,6 +5679,12 @@
56535679
"smithy.api#documentation": "<p>Information about why the job failed.</p>"
56545680
}
56555681
},
5682+
"statusDetails": {
5683+
"target": "com.amazonaws.bedrock#StatusDetails",
5684+
"traits": {
5685+
"smithy.api#documentation": "<p>For a Distillation job, the details about the statuses of the sub-tasks of the customization job. </p>"
5686+
}
5687+
},
56565688
"creationTime": {
56575689
"target": "com.amazonaws.bedrock#Timestamp",
56585690
"traits": {
@@ -8709,6 +8741,47 @@
87098741
"smithy.api#pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9\\+\\-\\.])*$"
87108742
}
87118743
},
8744+
"com.amazonaws.bedrock#JobStatusDetails": {
8745+
"type": "enum",
8746+
"members": {
8747+
"IN_PROGRESS": {
8748+
"target": "smithy.api#Unit",
8749+
"traits": {
8750+
"smithy.api#enumValue": "InProgress"
8751+
}
8752+
},
8753+
"COMPLETED": {
8754+
"target": "smithy.api#Unit",
8755+
"traits": {
8756+
"smithy.api#enumValue": "Completed"
8757+
}
8758+
},
8759+
"STOPPING": {
8760+
"target": "smithy.api#Unit",
8761+
"traits": {
8762+
"smithy.api#enumValue": "Stopping"
8763+
}
8764+
},
8765+
"STOPPED": {
8766+
"target": "smithy.api#Unit",
8767+
"traits": {
8768+
"smithy.api#enumValue": "Stopped"
8769+
}
8770+
},
8771+
"FAILED": {
8772+
"target": "smithy.api#Unit",
8773+
"traits": {
8774+
"smithy.api#enumValue": "Failed"
8775+
}
8776+
},
8777+
"NOT_STARTED": {
8778+
"target": "smithy.api#Unit",
8779+
"traits": {
8780+
"smithy.api#enumValue": "NotStarted"
8781+
}
8782+
}
8783+
}
8784+
},
87128785
"com.amazonaws.bedrock#KbInferenceConfig": {
87138786
"type": "structure",
87148787
"members": {
@@ -10888,6 +10961,12 @@
1088810961
"smithy.api#documentation": "<p>Time that the customization job was last modified.</p>"
1088910962
}
1089010963
},
10964+
"statusDetails": {
10965+
"target": "com.amazonaws.bedrock#StatusDetails",
10966+
"traits": {
10967+
"smithy.api#documentation": "<p>Details about the status of the data processing sub-task of the job.</p>"
10968+
}
10969+
},
1089110970
"creationTime": {
1089210971
"target": "com.amazonaws.bedrock#Timestamp",
1089310972
"traits": {
@@ -12269,7 +12348,7 @@
1226912348
}
1227012349
},
1227112350
"traits": {
12272-
"smithy.api#documentation": "<p>Rules for filtering invocation logs. A filter can be a mapping of a metadata\n key to a value that it should or should not equal (a base filter), or a list of base filters\n that are all applied with <code>AND</code> or <code>OR</code> logical operators</p>"
12351+
"smithy.api#documentation": "<p>Rules for filtering invocation logs. A filter can be a mapping of a metadata\n key to a value that it should or should not equal (a base filter), or a list of base filters\n that are all applied with <code>AND</code> or <code>OR</code> logical operators</p>"
1227312352
}
1227412353
},
1227512354
"com.amazonaws.bedrock#RequestMetadataFiltersList": {
@@ -12773,6 +12852,32 @@
1277312852
}
1277412853
}
1277512854
},
12855+
"com.amazonaws.bedrock#StatusDetails": {
12856+
"type": "structure",
12857+
"members": {
12858+
"validationDetails": {
12859+
"target": "com.amazonaws.bedrock#ValidationDetails",
12860+
"traits": {
12861+
"smithy.api#documentation": "<p>The status details for the validation sub-task of the job.</p>"
12862+
}
12863+
},
12864+
"dataProcessingDetails": {
12865+
"target": "com.amazonaws.bedrock#DataProcessingDetails",
12866+
"traits": {
12867+
"smithy.api#documentation": "<p>The status details for the data processing sub-task of the job.</p>"
12868+
}
12869+
},
12870+
"trainingDetails": {
12871+
"target": "com.amazonaws.bedrock#TrainingDetails",
12872+
"traits": {
12873+
"smithy.api#documentation": "<p>The status details for the training sub-task of the job.</p>"
12874+
}
12875+
}
12876+
},
12877+
"traits": {
12878+
"smithy.api#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>\n <ul>\n <li>\n <p>NotStarted</p>\n </li>\n <li>\n <p>InProgress</p>\n </li>\n <li>\n <p>Completed</p>\n </li>\n <li>\n <p>Stopping</p>\n </li>\n <li>\n <p>Stopped</p>\n </li>\n <li>\n <p>Failed</p>\n </li>\n </ul>"
12879+
}
12880+
},
1277612881
"com.amazonaws.bedrock#StopEvaluationJob": {
1277712882
"type": "operation",
1277812883
"input": {
@@ -13158,7 +13263,7 @@
1315813263
"com.amazonaws.bedrock#TeacherModelIdentifier": {
1315913264
"type": "string",
1316013265
"traits": {
13161-
"smithy.api#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][_-]?)+)$"
13266+
"smithy.api#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})$"
1316213267
}
1316313268
},
1316413269
"com.amazonaws.bedrock#Temperature": {
@@ -13279,6 +13384,32 @@
1327913384
"smithy.api#documentation": "<p>S3 Location of the training data.</p>"
1328013385
}
1328113386
},
13387+
"com.amazonaws.bedrock#TrainingDetails": {
13388+
"type": "structure",
13389+
"members": {
13390+
"status": {
13391+
"target": "com.amazonaws.bedrock#JobStatusDetails",
13392+
"traits": {
13393+
"smithy.api#documentation": "<p>The status of the training sub-task of the job.</p>"
13394+
}
13395+
},
13396+
"creationTime": {
13397+
"target": "com.amazonaws.bedrock#Timestamp",
13398+
"traits": {
13399+
"smithy.api#documentation": "<p>The start time of the training sub-task of the job.</p>"
13400+
}
13401+
},
13402+
"lastModifiedTime": {
13403+
"target": "com.amazonaws.bedrock#Timestamp",
13404+
"traits": {
13405+
"smithy.api#documentation": "<p>The latest update to the training sub-task of the job.</p>"
13406+
}
13407+
}
13408+
},
13409+
"traits": {
13410+
"smithy.api#documentation": "<p>For a Distillation job, the status details for the training sub-task of the job.</p>"
13411+
}
13412+
},
1328213413
"com.amazonaws.bedrock#TrainingMetrics": {
1328313414
"type": "structure",
1328413415
"members": {
@@ -13705,6 +13836,32 @@
1370513836
"smithy.api#documentation": "<p>Array of up to 10 validators.</p>"
1370613837
}
1370713838
},
13839+
"com.amazonaws.bedrock#ValidationDetails": {
13840+
"type": "structure",
13841+
"members": {
13842+
"status": {
13843+
"target": "com.amazonaws.bedrock#JobStatusDetails",
13844+
"traits": {
13845+
"smithy.api#documentation": "<p>The status of the validation sub-task of the job.</p>"
13846+
}
13847+
},
13848+
"creationTime": {
13849+
"target": "com.amazonaws.bedrock#Timestamp",
13850+
"traits": {
13851+
"smithy.api#documentation": "<p>The start time of the validation sub-task of the job.</p>"
13852+
}
13853+
},
13854+
"lastModifiedTime": {
13855+
"target": "com.amazonaws.bedrock#Timestamp",
13856+
"traits": {
13857+
"smithy.api#documentation": "<p>The latest update to the validation sub-task of the job.</p>"
13858+
}
13859+
}
13860+
},
13861+
"traits": {
13862+
"smithy.api#documentation": "<p>For a Distillation job, the status details for the validation sub-task of the job.</p>"
13863+
}
13864+
},
1370813865
"com.amazonaws.bedrock#ValidationException": {
1370913866
"type": "structure",
1371013867
"members": {

0 commit comments

Comments
 (0)