Skip to content

Commit af534aa

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 67db690 commit af534aa

File tree

4 files changed

+403
-178
lines changed

4 files changed

+403
-178
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,9 @@
730730
{
731731
"target": "com.amazonaws.bedrockruntime#ServiceQuotaExceededException"
732732
},
733+
{
734+
"target": "com.amazonaws.bedrockruntime#ServiceUnavailableException"
735+
},
733736
{
734737
"target": "com.amazonaws.bedrockruntime#ThrottlingException"
735738
},
@@ -6048,6 +6051,12 @@
60486051
"traits": {
60496052
"smithy.api#enumValue": "content_filtered"
60506053
}
6054+
},
6055+
"MODEL_CONTEXT_WINDOW_EXCEEDED": {
6056+
"target": "smithy.api#Unit",
6057+
"traits": {
6058+
"smithy.api#enumValue": "model_context_window_exceeded"
6059+
}
60516060
}
60526061
}
60536062
},

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6237,7 +6237,7 @@
62376237
"min": 20,
62386238
"max": 1011
62396239
},
6240-
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}$"
6240+
"smithy.api#pattern": "^arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}$"
62416241
}
62426242
},
62436243
"com.amazonaws.bedrock#CustomModelDeploymentArn": {
@@ -10111,11 +10111,21 @@
1011110111
"smithy.api#output": {}
1011210112
}
1011310113
},
10114+
"com.amazonaws.bedrock#GetFoundationModelIdentifier": {
10115+
"type": "string",
10116+
"traits": {
10117+
"smithy.api#length": {
10118+
"min": 1,
10119+
"max": 2048
10120+
},
10121+
"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})$"
10122+
}
10123+
},
1011410124
"com.amazonaws.bedrock#GetFoundationModelRequest": {
1011510125
"type": "structure",
1011610126
"members": {
1011710127
"modelIdentifier": {
10118-
"target": "com.amazonaws.bedrock#ModelIdentifier",
10128+
"target": "com.amazonaws.bedrock#GetFoundationModelIdentifier",
1011910129
"traits": {
1012010130
"smithy.api#documentation": "<p>The model identifier. </p>",
1012110131
"smithy.api#httpLabel": {},
@@ -13811,7 +13821,7 @@
1381113821
"min": 1,
1381213822
"max": 256
1381313823
},
13814-
"smithy.api#pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$"
13824+
"smithy.api#pattern": "^[a-zA-Z0-9]([-a-zA-Z0-9]{0,254}[a-zA-Z0-9])?$"
1381513825
}
1381613826
},
1381713827
"com.amazonaws.bedrock#Identifier": {
@@ -19017,7 +19027,6 @@
1901719027
"com.amazonaws.bedrock#RoleArn": {
1901819028
"type": "string",
1901919029
"traits": {
19020-
"smithy.api#documentation": "ARN of a IAM role",
1902119030
"smithy.api#length": {
1902219031
"max": 2048
1902319032
},

0 commit comments

Comments
 (0)