Skip to content

Commit c85962b

Browse files
Update SDK models
1 parent c8e3311 commit c85962b

File tree

76 files changed

+853
-1735
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+853
-1735
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4-
"examples/lambda",
5-
"examples/examples",
64
"examples/test-utils",
7-
"examples/webassembly",
5+
"examples/examples",
86
"examples/cross_service",
7+
"examples/lambda",
8+
"examples/webassembly",
99
"tests/webassembly",
1010
"tests/no-default-features"
1111
]

aws-models/athena.json

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

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": {

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": {

aws-models/datazone.json

Lines changed: 113 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,12 @@
251251
"traits": {
252252
"smithy.api#documentation": "<p>A description that specifies the reason for accepting the specified subscription\n request.</p>"
253253
}
254+
},
255+
"assetScopes": {
256+
"target": "com.amazonaws.datazone#AcceptedAssetScopes",
257+
"traits": {
258+
"smithy.api#documentation": "<p>The asset scopes of the accept subscription request.</p>"
259+
}
254260
}
255261
},
256262
"traits": {
@@ -354,6 +360,34 @@
354360
"smithy.api#output": {}
355361
}
356362
},
363+
"com.amazonaws.datazone#AcceptedAssetScope": {
364+
"type": "structure",
365+
"members": {
366+
"assetId": {
367+
"target": "com.amazonaws.datazone#AssetId",
368+
"traits": {
369+
"smithy.api#documentation": "<p>The asset ID of the accepted asset scope.</p>",
370+
"smithy.api#required": {}
371+
}
372+
},
373+
"filterIds": {
374+
"target": "com.amazonaws.datazone#FilterIds",
375+
"traits": {
376+
"smithy.api#documentation": "<p>The filter IDs of the accepted asset scope.</p>",
377+
"smithy.api#required": {}
378+
}
379+
}
380+
},
381+
"traits": {
382+
"smithy.api#documentation": "<p>The accepted asset scope.</p>"
383+
}
384+
},
385+
"com.amazonaws.datazone#AcceptedAssetScopes": {
386+
"type": "list",
387+
"member": {
388+
"target": "com.amazonaws.datazone#AcceptedAssetScope"
389+
}
390+
},
357391
"com.amazonaws.datazone#AccessDeniedException": {
358392
"type": "structure",
359393
"members": {
@@ -1225,6 +1259,41 @@
12251259
"target": "com.amazonaws.datazone#AssetRevision"
12261260
}
12271261
},
1262+
"com.amazonaws.datazone#AssetScope": {
1263+
"type": "structure",
1264+
"members": {
1265+
"assetId": {
1266+
"target": "com.amazonaws.datazone#AssetId",
1267+
"traits": {
1268+
"smithy.api#documentation": "<p>The asset ID of the asset scope.</p>",
1269+
"smithy.api#required": {}
1270+
}
1271+
},
1272+
"filterIds": {
1273+
"target": "com.amazonaws.datazone#FilterIds",
1274+
"traits": {
1275+
"smithy.api#documentation": "<p>The filter IDs of the asset scope.</p>",
1276+
"smithy.api#required": {}
1277+
}
1278+
},
1279+
"status": {
1280+
"target": "smithy.api#String",
1281+
"traits": {
1282+
"smithy.api#documentation": "<p>The status of the asset scope.</p>",
1283+
"smithy.api#required": {}
1284+
}
1285+
},
1286+
"errorMessage": {
1287+
"target": "smithy.api#String",
1288+
"traits": {
1289+
"smithy.api#documentation": "<p>The error message of the asset scope.</p>"
1290+
}
1291+
}
1292+
},
1293+
"traits": {
1294+
"smithy.api#documentation": "<p>The asset scope.</p>"
1295+
}
1296+
},
12281297
"com.amazonaws.datazone#AssetTargetNameMap": {
12291298
"type": "structure",
12301299
"members": {
@@ -5120,7 +5189,7 @@
51205189
"domainUnitId": {
51215190
"target": "com.amazonaws.datazone#DomainUnitId",
51225191
"traits": {
5123-
"smithy.api#documentation": "<p>The ID of the domain unit. This parameter is not required and if it is not specified, then\n the project is created at the root domain unit level.</p>"
5192+
"smithy.api#documentation": "<p>The ID of the domain unit. This parameter is not required and if it is not specified,\n then the project is created at the root domain unit level.</p>"
51245193
}
51255194
}
51265195
},
@@ -10235,7 +10304,7 @@
1023510304
}
1023610305
},
1023710306
"traits": {
10238-
"smithy.api#documentation": "<p>The grant filter for the domain unit. In the current release of Amazon DataZone, the only\nsupported filter is the <code>allDomainUnitsGrantFilter</code>.</p>"
10307+
"smithy.api#documentation": "<p>The grant filter for the domain unit. In the current release of Amazon DataZone, the\n only supported filter is the <code>allDomainUnitsGrantFilter</code>.</p>"
1023910308
}
1024010309
},
1024110310
"com.amazonaws.datazone#DomainUnitGroupProperties": {
@@ -11243,6 +11312,12 @@
1124311312
"smithy.api#pattern": "^[a-zA-Z0-9_-]{1,36}$"
1124411313
}
1124511314
},
11315+
"com.amazonaws.datazone#FilterIds": {
11316+
"type": "list",
11317+
"member": {
11318+
"target": "com.amazonaws.datazone#FilterId"
11319+
}
11320+
},
1124611321
"com.amazonaws.datazone#FilterList": {
1124711322
"type": "list",
1124811323
"member": {
@@ -21250,6 +21325,12 @@
2125021325
"traits": {
2125121326
"smithy.api#enumValue": "CONTRIBUTOR"
2125221327
}
21328+
},
21329+
"PROJECT_CATALOG_STEWARD": {
21330+
"target": "smithy.api#Unit",
21331+
"traits": {
21332+
"smithy.api#enumValue": "PROJECT_CATALOG_STEWARD"
21333+
}
2125321334
}
2125421335
}
2125521336
},
@@ -24244,6 +24325,12 @@
2424424325
"traits": {
2424524326
"smithy.api#documentation": "<p>The failure timestamp included in the details of the asset for which the subscription\n grant is created.</p>"
2424624327
}
24328+
},
24329+
"assetScope": {
24330+
"target": "com.amazonaws.datazone#AssetScope",
24331+
"traits": {
24332+
"smithy.api#documentation": "<p>The asset scope of the subscribed asset.</p>"
24333+
}
2424724334
}
2424824335
},
2424924336
"traits": {
@@ -24282,6 +24369,12 @@
2428224369
"traits": {
2428324370
"smithy.api#documentation": "<p>The glossary terms attached to the published asset for which the subscription grant is\n created.</p>"
2428424371
}
24372+
},
24373+
"assetScope": {
24374+
"target": "com.amazonaws.datazone#AssetScope",
24375+
"traits": {
24376+
"smithy.api#documentation": "<p>The asset scope of the subscribed asset listing.</p>"
24377+
}
2428524378
}
2428624379
},
2428724380
"traits": {
@@ -28566,6 +28659,24 @@
2856628659
"traits": {
2856728660
"smithy.api#enumValue": "PROJECT_CONTRIBUTOR"
2856828661
}
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+
}
2856928680
}
2857028681
}
2857128682
},

0 commit comments

Comments
 (0)