Skip to content

Commit 1babd98

Browse files
feat: update AWS API models
1 parent 23b5615 commit 1babd98

File tree

5 files changed

+63
-309
lines changed

5 files changed

+63
-309
lines changed

codegen/sdk/aws-models/athena.json

Lines changed: 9 additions & 303 deletions
Large diffs are not rendered by default.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@
10271027
"min": 1,
10281028
"max": 2048
10291029
},
1030-
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([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}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$"
1030+
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(model-gateway|inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$"
10311031
}
10321032
},
10331033
"com.amazonaws.bedrockruntime#Converse": {
@@ -3078,7 +3078,7 @@
30783078
"min": 1,
30793079
"max": 2048
30803080
},
3081-
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([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}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$"
3081+
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(model-gateway|inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$"
30823082
}
30833083
},
30843084
"com.amazonaws.bedrockruntime#InvokeModelRequest": {

codegen/sdk/aws-models/bedrock.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2720,7 +2720,7 @@
27202720
"min": 1,
27212721
"max": 2048
27222722
},
2723-
"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}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z]{2}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))$"
2723+
"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}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z]{2}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))$"
27242724
}
27252725
},
27262726
"com.amazonaws.bedrock#EvaluationModelIdentifiers": {
@@ -3757,6 +3757,12 @@
37573757
"traits": {
37583758
"smithy.api#documentation": "<p>The imported model is encrypted at rest using this key.</p>"
37593759
}
3760+
},
3761+
"instructSupported": {
3762+
"target": "com.amazonaws.bedrock#InstructSupported",
3763+
"traits": {
3764+
"smithy.api#documentation": "<p>Specifies if the imported model supports fine tuning.</p>"
3765+
}
37603766
}
37613767
},
37623768
"traits": {
@@ -6189,10 +6195,22 @@
61896195
"smithy.api#documentation": "<p>Creation time of the imported model.</p>",
61906196
"smithy.api#required": {}
61916197
}
6198+
},
6199+
"instructSupported": {
6200+
"target": "com.amazonaws.bedrock#InstructSupported",
6201+
"traits": {
6202+
"smithy.api#documentation": "<p>Specifies if the imported model supports fine tuning.</p>"
6203+
}
6204+
},
6205+
"modelArchitecture": {
6206+
"target": "com.amazonaws.bedrock#ModelArchitecture",
6207+
"traits": {
6208+
"smithy.api#documentation": "<p>The architecture of the imported model.</p>"
6209+
}
61926210
}
61936211
},
61946212
"traits": {
6195-
"smithy.api#documentation": "<p>Information about tne imported model.</p>"
6213+
"smithy.api#documentation": "<p>Information about the imported model.</p>"
61966214
}
61976215
},
61986216
"com.amazonaws.bedrock#ImportedModelSummaryList": {
@@ -6410,6 +6428,9 @@
64106428
"target": "com.amazonaws.bedrock#InferenceType"
64116429
}
64126430
},
6431+
"com.amazonaws.bedrock#InstructSupported": {
6432+
"type": "boolean"
6433+
},
64136434
"com.amazonaws.bedrock#InternalServerException": {
64146435
"type": "structure",
64156436
"members": {
@@ -7866,6 +7887,9 @@
78667887
"com.amazonaws.bedrock#MetricFloat": {
78677888
"type": "float"
78687889
},
7890+
"com.amazonaws.bedrock#ModelArchitecture": {
7891+
"type": "string"
7892+
},
78697893
"com.amazonaws.bedrock#ModelArn": {
78707894
"type": "string",
78717895
"traits": {

codegen/sdk/aws-models/datazone.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21325,6 +21325,12 @@
2132521325
"traits": {
2132621326
"smithy.api#enumValue": "CONTRIBUTOR"
2132721327
}
21328+
},
21329+
"PROJECT_CATALOG_STEWARD": {
21330+
"target": "smithy.api#Unit",
21331+
"traits": {
21332+
"smithy.api#enumValue": "PROJECT_CATALOG_STEWARD"
21333+
}
2132821334
}
2132921335
}
2133021336
},
@@ -28653,6 +28659,24 @@
2865328659
"traits": {
2865428660
"smithy.api#enumValue": "PROJECT_CONTRIBUTOR"
2865528661
}
28662+
},
28663+
"PROJECT_CATALOG_VIEWER": {
28664+
"target": "smithy.api#Unit",
28665+
"traits": {
28666+
"smithy.api#enumValue": "PROJECT_CATALOG_VIEWER"
28667+
}
28668+
},
28669+
"PROJECT_CATALOG_CONSUMER": {
28670+
"target": "smithy.api#Unit",
28671+
"traits": {
28672+
"smithy.api#enumValue": "PROJECT_CATALOG_CONSUMER"
28673+
}
28674+
},
28675+
"PROJECT_CATALOG_STEWARD": {
28676+
"target": "smithy.api#Unit",
28677+
"traits": {
28678+
"smithy.api#enumValue": "PROJECT_CATALOG_STEWARD"
28679+
}
2865628680
}
2865728681
}
2865828682
},

0 commit comments

Comments
 (0)