Skip to content

Commit 7ee76c8

Browse files
Update API model
1 parent e9e0a91 commit 7ee76c8

File tree

8 files changed

+429
-122
lines changed

8 files changed

+429
-122
lines changed

tools/code-generation/smithy/api-descriptions/apprunner.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4514,6 +4514,12 @@
45144514
"traits": {
45154515
"smithy.api#enumValue": "NODEJS_18"
45164516
}
4517+
},
4518+
"NODEJS_22": {
4519+
"target": "smithy.api#Unit",
4520+
"traits": {
4521+
"smithy.api#enumValue": "NODEJS_22"
4522+
}
45174523
}
45184524
}
45194525
},

tools/code-generation/smithy/api-descriptions/appsync.json

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,6 +2206,12 @@
22062206
"traits": {
22072207
"smithy.api#documentation": "<p>The date and time that the <code>ChannelNamespace</code> was last changed.</p>"
22082208
}
2209+
},
2210+
"handlerConfigs": {
2211+
"target": "com.amazonaws.appsync#HandlerConfigs",
2212+
"traits": {
2213+
"smithy.api#documentation": "<p>The configuration for the <code>OnPublish</code> and <code>OnSubscribe</code> handlers.</p>"
2214+
}
22092215
}
22102216
},
22112217
"traits": {
@@ -2791,6 +2797,12 @@
27912797
},
27922798
"tags": {
27932799
"target": "com.amazonaws.appsync#TagMap"
2800+
},
2801+
"handlerConfigs": {
2802+
"target": "com.amazonaws.appsync#HandlerConfigs",
2803+
"traits": {
2804+
"smithy.api#documentation": "<p>The configuration for the <code>OnPublish</code> and <code>OnSubscribe</code> handlers.</p>"
2805+
}
27942806
}
27952807
},
27962808
"traits": {
@@ -6796,6 +6808,65 @@
67966808
"target": "com.amazonaws.appsync#GraphqlApi"
67976809
}
67986810
},
6811+
"com.amazonaws.appsync#HandlerBehavior": {
6812+
"type": "enum",
6813+
"members": {
6814+
"CODE": {
6815+
"target": "smithy.api#Unit",
6816+
"traits": {
6817+
"smithy.api#enumValue": "CODE"
6818+
}
6819+
},
6820+
"DIRECT": {
6821+
"target": "smithy.api#Unit",
6822+
"traits": {
6823+
"smithy.api#enumValue": "DIRECT"
6824+
}
6825+
}
6826+
}
6827+
},
6828+
"com.amazonaws.appsync#HandlerConfig": {
6829+
"type": "structure",
6830+
"members": {
6831+
"behavior": {
6832+
"target": "com.amazonaws.appsync#HandlerBehavior",
6833+
"traits": {
6834+
"smithy.api#documentation": "<p>The behavior for the handler.</p>",
6835+
"smithy.api#required": {}
6836+
}
6837+
},
6838+
"integration": {
6839+
"target": "com.amazonaws.appsync#Integration",
6840+
"traits": {
6841+
"smithy.api#documentation": "<p>The integration data source configuration for the handler.</p>",
6842+
"smithy.api#required": {}
6843+
}
6844+
}
6845+
},
6846+
"traits": {
6847+
"smithy.api#documentation": "<p>The configuration for a handler.</p>"
6848+
}
6849+
},
6850+
"com.amazonaws.appsync#HandlerConfigs": {
6851+
"type": "structure",
6852+
"members": {
6853+
"onPublish": {
6854+
"target": "com.amazonaws.appsync#HandlerConfig",
6855+
"traits": {
6856+
"smithy.api#documentation": "<p>The configuration for the <code>OnPublish</code> handler.</p>"
6857+
}
6858+
},
6859+
"onSubscribe": {
6860+
"target": "com.amazonaws.appsync#HandlerConfig",
6861+
"traits": {
6862+
"smithy.api#documentation": "<p>The configuration for the <code>OnSubscribe</code> handler.</p>"
6863+
}
6864+
}
6865+
},
6866+
"traits": {
6867+
"smithy.api#documentation": "<p>The configuration for the <code>OnPublish</code> and <code>OnSubscribe</code> handlers.</p>"
6868+
}
6869+
},
67996870
"com.amazonaws.appsync#HttpDataSourceConfig": {
68006871
"type": "structure",
68016872
"members": {
@@ -6816,6 +6887,27 @@
68166887
"smithy.api#documentation": "<p>Describes an HTTP data source configuration.</p>"
68176888
}
68186889
},
6890+
"com.amazonaws.appsync#Integration": {
6891+
"type": "structure",
6892+
"members": {
6893+
"dataSourceName": {
6894+
"target": "com.amazonaws.appsync#String",
6895+
"traits": {
6896+
"smithy.api#documentation": "<p>The unique name of the data source that has been configured on the API.</p>",
6897+
"smithy.api#required": {}
6898+
}
6899+
},
6900+
"lambdaConfig": {
6901+
"target": "com.amazonaws.appsync#LambdaConfig",
6902+
"traits": {
6903+
"smithy.api#documentation": "<p>The configuration for a Lambda data source.</p>"
6904+
}
6905+
}
6906+
},
6907+
"traits": {
6908+
"smithy.api#documentation": "<p>The integration data source configuration for the handler.</p>"
6909+
}
6910+
},
68196911
"com.amazonaws.appsync#InternalFailureException": {
68206912
"type": "structure",
68216913
"members": {
@@ -6829,6 +6921,23 @@
68296921
"smithy.api#httpError": 500
68306922
}
68316923
},
6924+
"com.amazonaws.appsync#InvokeType": {
6925+
"type": "enum",
6926+
"members": {
6927+
"REQUEST_RESPONSE": {
6928+
"target": "smithy.api#Unit",
6929+
"traits": {
6930+
"smithy.api#enumValue": "REQUEST_RESPONSE"
6931+
}
6932+
},
6933+
"EVENT": {
6934+
"target": "smithy.api#Unit",
6935+
"traits": {
6936+
"smithy.api#enumValue": "EVENT"
6937+
}
6938+
}
6939+
}
6940+
},
68326941
"com.amazonaws.appsync#LambdaAuthorizerConfig": {
68336942
"type": "structure",
68346943
"members": {
@@ -6857,6 +6966,20 @@
68576966
"smithy.api#documentation": "<p>A <code>LambdaAuthorizerConfig</code> specifies how to authorize AppSync\n API access when using the <code>AWS_LAMBDA</code> authorizer mode. Be aware that an AppSync API can have only one Lambda authorizer configured at a\n time.</p>"
68586967
}
68596968
},
6969+
"com.amazonaws.appsync#LambdaConfig": {
6970+
"type": "structure",
6971+
"members": {
6972+
"invokeType": {
6973+
"target": "com.amazonaws.appsync#InvokeType",
6974+
"traits": {
6975+
"smithy.api#documentation": "<p>The invocation type for a Lambda data source.</p>"
6976+
}
6977+
}
6978+
},
6979+
"traits": {
6980+
"smithy.api#documentation": "<p>The configuration for a Lambda data source.</p>"
6981+
}
6982+
},
68606983
"com.amazonaws.appsync#LambdaConflictHandlerConfig": {
68616984
"type": "structure",
68626985
"members": {
@@ -9839,6 +9962,12 @@
98399962
"traits": {
98409963
"smithy.api#documentation": "<p>The event handler functions that run custom business logic to process published events\n and subscribe requests.</p>"
98419964
}
9965+
},
9966+
"handlerConfigs": {
9967+
"target": "com.amazonaws.appsync#HandlerConfigs",
9968+
"traits": {
9969+
"smithy.api#documentation": "<p>The configuration for the <code>OnPublish</code> and <code>OnSubscribe</code> handlers.</p>"
9970+
}
98429971
}
98439972
},
98449973
"traits": {

tools/code-generation/smithy/api-descriptions/bedrock-data-automation.json

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,17 @@
767767
"smithy.api#documentation": "List of Audio Extraction Category Type"
768768
}
769769
},
770+
"com.amazonaws.bedrockdataautomation#AudioOverrideConfiguration": {
771+
"type": "structure",
772+
"members": {
773+
"modalityProcessing": {
774+
"target": "com.amazonaws.bedrockdataautomation#ModalityProcessingConfiguration"
775+
}
776+
},
777+
"traits": {
778+
"smithy.api#documentation": "Override Configuration of Audio"
779+
}
780+
},
770781
"com.amazonaws.bedrockdataautomation#AudioStandardExtraction": {
771782
"type": "structure",
772783
"members": {
@@ -1798,6 +1809,38 @@
17981809
"smithy.api#output": {}
17991810
}
18001811
},
1812+
"com.amazonaws.bedrockdataautomation#DesiredModality": {
1813+
"type": "enum",
1814+
"members": {
1815+
"IMAGE": {
1816+
"target": "smithy.api#Unit",
1817+
"traits": {
1818+
"smithy.api#enumValue": "IMAGE"
1819+
}
1820+
},
1821+
"DOCUMENT": {
1822+
"target": "smithy.api#Unit",
1823+
"traits": {
1824+
"smithy.api#enumValue": "DOCUMENT"
1825+
}
1826+
},
1827+
"AUDIO": {
1828+
"target": "smithy.api#Unit",
1829+
"traits": {
1830+
"smithy.api#enumValue": "AUDIO"
1831+
}
1832+
},
1833+
"VIDEO": {
1834+
"target": "smithy.api#Unit",
1835+
"traits": {
1836+
"smithy.api#enumValue": "VIDEO"
1837+
}
1838+
}
1839+
},
1840+
"traits": {
1841+
"smithy.api#documentation": "Desired Modality types"
1842+
}
1843+
},
18011844
"com.amazonaws.bedrockdataautomation#DocumentBoundingBox": {
18021845
"type": "structure",
18031846
"members": {
@@ -1955,6 +1998,9 @@
19551998
"members": {
19561999
"splitter": {
19572000
"target": "com.amazonaws.bedrockdataautomation#SplitterConfiguration"
2001+
},
2002+
"modalityProcessing": {
2003+
"target": "com.amazonaws.bedrockdataautomation#ModalityProcessingConfiguration"
19582004
}
19592005
},
19602006
"traits": {
@@ -2268,6 +2314,17 @@
22682314
"smithy.api#documentation": "List of Image Extraction Category"
22692315
}
22702316
},
2317+
"com.amazonaws.bedrockdataautomation#ImageOverrideConfiguration": {
2318+
"type": "structure",
2319+
"members": {
2320+
"modalityProcessing": {
2321+
"target": "com.amazonaws.bedrockdataautomation#ModalityProcessingConfiguration"
2322+
}
2323+
},
2324+
"traits": {
2325+
"smithy.api#documentation": "Override Configuration of Image"
2326+
}
2327+
},
22712328
"com.amazonaws.bedrockdataautomation#ImageStandardExtraction": {
22722329
"type": "structure",
22732330
"members": {
@@ -2622,6 +2679,37 @@
26222679
}
26232680
}
26242681
},
2682+
"com.amazonaws.bedrockdataautomation#ModalityProcessingConfiguration": {
2683+
"type": "structure",
2684+
"members": {
2685+
"state": {
2686+
"target": "com.amazonaws.bedrockdataautomation#State"
2687+
}
2688+
},
2689+
"traits": {
2690+
"smithy.api#documentation": "Configuration to enable/disable processing of modality"
2691+
}
2692+
},
2693+
"com.amazonaws.bedrockdataautomation#ModalityRoutingConfiguration": {
2694+
"type": "structure",
2695+
"members": {
2696+
"jpeg": {
2697+
"target": "com.amazonaws.bedrockdataautomation#DesiredModality"
2698+
},
2699+
"png": {
2700+
"target": "com.amazonaws.bedrockdataautomation#DesiredModality"
2701+
},
2702+
"mp4": {
2703+
"target": "com.amazonaws.bedrockdataautomation#DesiredModality"
2704+
},
2705+
"mov": {
2706+
"target": "com.amazonaws.bedrockdataautomation#DesiredModality"
2707+
}
2708+
},
2709+
"traits": {
2710+
"smithy.api#documentation": "Configuration for routing file type to desired modality"
2711+
}
2712+
},
26252713
"com.amazonaws.bedrockdataautomation#NextToken": {
26262714
"type": "string",
26272715
"traits": {
@@ -2645,6 +2733,18 @@
26452733
"members": {
26462734
"document": {
26472735
"target": "com.amazonaws.bedrockdataautomation#DocumentOverrideConfiguration"
2736+
},
2737+
"image": {
2738+
"target": "com.amazonaws.bedrockdataautomation#ImageOverrideConfiguration"
2739+
},
2740+
"video": {
2741+
"target": "com.amazonaws.bedrockdataautomation#VideoOverrideConfiguration"
2742+
},
2743+
"audio": {
2744+
"target": "com.amazonaws.bedrockdataautomation#AudioOverrideConfiguration"
2745+
},
2746+
"modalityRouting": {
2747+
"target": "com.amazonaws.bedrockdataautomation#ModalityRoutingConfiguration"
26482748
}
26492749
},
26502750
"traits": {
@@ -3279,6 +3379,17 @@
32793379
"smithy.api#documentation": "List of Video Extraction Category Type"
32803380
}
32813381
},
3382+
"com.amazonaws.bedrockdataautomation#VideoOverrideConfiguration": {
3383+
"type": "structure",
3384+
"members": {
3385+
"modalityProcessing": {
3386+
"target": "com.amazonaws.bedrockdataautomation#ModalityProcessingConfiguration"
3387+
}
3388+
},
3389+
"traits": {
3390+
"smithy.api#documentation": "Override Configuration of Video"
3391+
}
3392+
},
32823393
"com.amazonaws.bedrockdataautomation#VideoStandardExtraction": {
32833394
"type": "structure",
32843395
"members": {

tools/code-generation/smithy/api-descriptions/codebuild.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4597,12 +4597,7 @@
45974597
}
45984598
},
45994599
"com.amazonaws.codebuild#FleetCapacity": {
4600-
"type": "integer",
4601-
"traits": {
4602-
"smithy.api#range": {
4603-
"min": 1
4604-
}
4605-
}
4600+
"type": "integer"
46064601
},
46074602
"com.amazonaws.codebuild#FleetContextCode": {
46084603
"type": "enum",

0 commit comments

Comments
 (0)