Skip to content

Commit 10f10fe

Browse files
chore(enum-updater): update enum static mapping (#34421)
This PR updates the CDK enum mapping file.
1 parent 4ea004d commit 10f10fe

File tree

4 files changed

+137
-19
lines changed

4 files changed

+137
-19
lines changed

tools/@aws-cdk/enum-updater/lib/cdk-enums.json

Lines changed: 62 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@
326326
"r7a",
327327
"memory8-graviton",
328328
"r8g",
329+
"memory8-graviton4-nvme-drive",
330+
"r8gd",
329331
"compute3",
330332
"c3",
331333
"compute4",
@@ -358,6 +360,8 @@
358360
"c6gd",
359361
"compute7-graviton3-nvme-drive",
360362
"c7gd",
363+
"compute8-graviton4-nvme-drive",
364+
"c8gd",
361365
"compute6-graviton2-high-network-bandwidth",
362366
"c6gn",
363367
"compute7-graviton3-high-network-bandwidth",
@@ -484,6 +488,8 @@
484488
"m8g",
485489
"standard7-graviton3-nvme-drive",
486490
"m7gd",
491+
"standard8-graviton4-nvme-drive",
492+
"m8gd",
487493
"standard7-intel",
488494
"m7i",
489495
"standard7-intel-flex",
@@ -2810,6 +2816,41 @@
28102816
}
28112817
},
28122818
"location": {
2819+
"AllowMapsAction": {
2820+
"path": "aws-cdk/packages/@aws-cdk/aws-location-alpha/lib/api-key.ts",
2821+
"enumLike": false,
2822+
"values": [
2823+
"geo-maps:GetStaticMap",
2824+
"geo-maps:GetTile",
2825+
"geo-maps:*"
2826+
]
2827+
},
2828+
"AllowPlacesAction": {
2829+
"path": "aws-cdk/packages/@aws-cdk/aws-location-alpha/lib/api-key.ts",
2830+
"enumLike": false,
2831+
"values": [
2832+
"geo-places:Autocomplete",
2833+
"geo-places:Geocode",
2834+
"geo-places:GetPlace",
2835+
"geo-places:ReverseGeocode",
2836+
"geo-places:SearchNearby",
2837+
"geo-places:SearchText",
2838+
"geo-places:Suggest",
2839+
"geo-places:*"
2840+
]
2841+
},
2842+
"AllowRoutesAction": {
2843+
"path": "aws-cdk/packages/@aws-cdk/aws-location-alpha/lib/api-key.ts",
2844+
"enumLike": false,
2845+
"values": [
2846+
"geo-routes:CalculateIsolines",
2847+
"geo-routes:CalculateRoutes",
2848+
"geo-routes:CalculateRouteMatrix",
2849+
"geo-routes:OptimizeWaypoints",
2850+
"geo-routes:SnapToRoads",
2851+
"geo-routes:*"
2852+
]
2853+
},
28132854
"CustomLayer": {
28142855
"path": "aws-cdk/packages/@aws-cdk/aws-location-alpha/lib/map.ts",
28152856
"enumLike": false,
@@ -3441,6 +3482,14 @@
34413482
"COGNITO_USER_POOLS"
34423483
]
34433484
},
3485+
"IpAddressType": {
3486+
"path": "aws-cdk/packages/aws-cdk-lib/aws-apigateway/lib/restapi.ts",
3487+
"enumLike": false,
3488+
"values": [
3489+
"ipv4",
3490+
"dualstack"
3491+
]
3492+
},
34443493
"ApiKeySourceType": {
34453494
"path": "aws-cdk/packages/aws-cdk-lib/aws-apigateway/lib/restapi.ts",
34463495
"enumLike": false,
@@ -8302,7 +8351,8 @@
83028351
"OPENSEARCH_2_11",
83038352
"OPENSEARCH_2_13",
83048353
"OPENSEARCH_2_15",
8305-
"OPENSEARCH_2_17"
8354+
"OPENSEARCH_2_17",
8355+
"OPENSEARCH_2_19"
83068356
]
83078357
}
83088358
},
@@ -8693,7 +8743,8 @@
86938743
"VER_16_6_LIMITLESS",
86948744
"VER_16_8",
86958745
"VER_17_1",
8696-
"VER_17_2"
8746+
"VER_17_2",
8747+
"VER_17_4"
86978748
]
86988749
},
86998750
"DatabaseClusterEngine": {
@@ -8896,8 +8947,10 @@
88968947
"VER_8_0_39",
88978948
"VER_8_0_40",
88988949
"VER_8_0_41",
8950+
"VER_8_0_42",
88998951
"VER_8_4_3",
8900-
"VER_8_4_4"
8952+
"VER_8_4_4",
8953+
"VER_8_4_5"
89018954
]
89028955
},
89038956
"PostgresEngineVersion": {
@@ -11440,6 +11493,7 @@
1144011493
"AMAZON_NOVA_REEL_V1_0",
1144111494
"AMAZON_NOVA_REEL_V1_1",
1144211495
"AMAZON_NOVA_SONIC_V1_0",
11496+
"AMAZON_NOVA_PREMIER_V1_0",
1144311497
"AI21_J2_MID",
1144411498
"AI21_LABS_JURASSIC_2_MID_V1",
1144511499
"AI21_J2_ULTRA",
@@ -11512,6 +11566,8 @@
1151211566
"META_LLAMA_3_2_11B_INSTRUCT_V1",
1151311567
"META_LLAMA_3_2_90B_INSTRUCT_V1",
1151411568
"META_LLAMA_3_3_70B_INSTRUCT_V1",
11569+
"META_LLAMA_4_MAVERICK_17B_INSTRUCT_V1_0",
11570+
"META_LLAMA_4_SCOUT_17B_INSTRUCT_V1_0",
1151511571
"MISTRAL_MISTRAL_7B_INSTRUCT_V0_2",
1151611572
"MISTRAL_MIXTRAL_8X7B_INSTRUCT_V0_1",
1151711573
"MISTRAL_LARGE_V0_1",
@@ -11527,7 +11583,9 @@
1152711583
"STABILITY_STABLE_IMAGE_ULTRA_V1_0",
1152811584
"STABILITY_STABLE_IMAGE_ULTRA_V1_1",
1152911585
"STABILITY_STABLE_IMAGE_CORE_V1_0",
11530-
"STABILITY_STABLE_IMAGE_CORE_V1_1"
11586+
"STABILITY_STABLE_IMAGE_CORE_V1_1",
11587+
"WRITER_PALMYRA_X4_V1_0",
11588+
"WRITER_PALMYRA_X5_V1_0"
1153111589
]
1153211590
}
1153311591
},

tools/@aws-cdk/enum-updater/lib/sdk-enums.json

Lines changed: 50 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,8 @@
795795
"PHP_81",
796796
"RUBY_31",
797797
"PYTHON_311",
798-
"NODEJS_18"
798+
"NODEJS_18",
799+
"NODEJS_22"
799800
],
800801
"EgressType": [
801802
"DEFAULT",
@@ -869,6 +870,14 @@
869870
"INFO",
870871
"DEBUG"
871872
],
873+
"HandlerBehavior": [
874+
"CODE",
875+
"DIRECT"
876+
],
877+
"InvokeType": [
878+
"REQUEST_RESPONSE",
879+
"EVENT"
880+
],
872881
"MetricsConfig": [
873882
"ENABLED",
874883
"DISABLED"
@@ -1772,6 +1781,12 @@
17721781
"IN_PROGRESS",
17731782
"FAILED"
17741783
],
1784+
"DesiredModality": [
1785+
"DOCUMENT",
1786+
"IMAGE",
1787+
"VIDEO",
1788+
"AUDIO"
1789+
],
17751790
"DocumentExtractionGranularityType": [
17761791
"DOCUMENT",
17771792
"PAGE",
@@ -1985,6 +2000,13 @@
19852000
"BLOCK",
19862001
"NONE"
19872002
],
2003+
"PromptRouterStatus": [
2004+
"AVAILABLE"
2005+
],
2006+
"PromptRouterType": [
2007+
"custom",
2008+
"default"
2009+
],
19882010
"EmbeddingDataType": [
19892011
"FLOAT32",
19902012
"BINARY"
@@ -2195,7 +2217,8 @@
21952217
"certificatemanager": {
21962218
"ValidationMethod": [
21972219
"DNS",
2198-
"EMAIL"
2220+
"EMAIL",
2221+
"HTTP"
21992222
]
22002223
},
22012224
"chatbot": {
@@ -2496,6 +2519,7 @@
24962519
"http3"
24972520
],
24982521
"PriceClass": [
2522+
"None",
24992523
"PriceClass_100",
25002524
"PriceClass_200",
25012525
"PriceClass_All"
@@ -2785,12 +2809,6 @@
27852809
"static-ip",
27862810
"vip"
27872811
],
2788-
"Reason": [
2789-
"pending-validation",
2790-
"validation-failed",
2791-
"pending-activation",
2792-
"customer-activated"
2793-
],
27942812
"Status": [
27952813
"active",
27962814
"inactive"
@@ -3200,6 +3218,10 @@
32003218
"CUSTOM_AUTH_FLOW_ONLY",
32013219
"USER_PASSWORD_AUTH"
32023220
],
3221+
"Feature": [
3222+
"ENABLED",
3223+
"DISABLED"
3224+
],
32033225
"DesiredDeliveryMediums": [
32043226
"EMAIL",
32053227
"SMS"
@@ -4147,6 +4169,9 @@
41474169
"ASSIGNED",
41484170
"NOT_ASSIGNED"
41494171
],
4172+
"EntityType": [
4173+
"DOMAIN_UNIT"
4174+
],
41504175
"MemberIdentifierType": [
41514176
"USER_IDENTIFIER",
41524177
"GROUP_IDENTIFIER"
@@ -5752,6 +5777,14 @@
57525777
"FilterType": [
57535778
"PREFIX_MATCH"
57545779
],
5780+
"ScanFrequency": [
5781+
"SCAN_ON_PUSH",
5782+
"CONTINUOUS_SCAN"
5783+
],
5784+
"ScanType": [
5785+
"BASIC",
5786+
"ENHANCED"
5787+
],
57555788
"ImageTagMutability": [
57565789
"MUTABLE",
57575790
"IMMUTABLE"
@@ -6977,6 +7010,10 @@
69777010
"Service": [
69787011
"ECR"
69797012
],
7013+
"DataType": [
7014+
"text",
7015+
"aws:ec2:image"
7016+
],
69807017
"OnFailure": [
69817018
"CONTINUE",
69827019
"ABORT"
@@ -9103,6 +9140,10 @@
91039140
"SINGLE_PERIOD",
91049141
"MULTI_PERIOD"
91059142
],
9143+
"StreamingMediaFileConditioning": [
9144+
"TRANSCODE",
9145+
"NONE"
9146+
],
91069147
"AccessType": [
91079148
"S3_SIGV4",
91089149
"SECRETS_MANAGER_ACCESS_TOKEN",
@@ -13144,6 +13185,7 @@
1314413185
"SUN"
1314513186
]
1314613187
},
13188+
"ssmguiconnect": {},
1314713189
"ssmincidents": {
1314813190
"TargetAccount": [
1314913191
"IMPACTED_ACCOUNT",

tools/@aws-cdk/enum-updater/lib/static-enum-mapping.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,12 +508,24 @@
508508
"sdk_enum_name": "AuthenticationType",
509509
"match_percentage": 1
510510
},
511+
"HandlerBehavior": {
512+
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/channel-namespace.ts",
513+
"sdk_service": "appsync",
514+
"sdk_enum_name": "HandlerBehavior",
515+
"match_percentage": 1
516+
},
511517
"AppSyncDataSourceType": {
512518
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/data-source-common.ts",
513519
"sdk_service": "appsync",
514520
"sdk_enum_name": "Type",
515521
"match_percentage": 1
516522
},
523+
"LambdaInvokeType": {
524+
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/data-source-common.ts",
525+
"sdk_service": "appsync",
526+
"sdk_enum_name": "InvokeType",
527+
"match_percentage": 1
528+
},
517529
"Visibility": {
518530
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/graphqlapi-base.ts",
519531
"sdk_service": "appsync",
@@ -1377,4 +1389,4 @@
13771389
"match_percentage": 1
13781390
}
13791391
}
1380-
}
1392+
}

tools/@aws-cdk/enum-updater/lib/unmatched-enums.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,15 @@
286286
}
287287
},
288288
"location": {
289+
"AllowMapsAction": {
290+
"cdk_path": "aws-cdk/packages/@aws-cdk/aws-location-alpha/lib/api-key.ts"
291+
},
292+
"AllowPlacesAction": {
293+
"cdk_path": "aws-cdk/packages/@aws-cdk/aws-location-alpha/lib/api-key.ts"
294+
},
295+
"AllowRoutesAction": {
296+
"cdk_path": "aws-cdk/packages/@aws-cdk/aws-location-alpha/lib/api-key.ts"
297+
},
289298
"CustomLayer": {
290299
"cdk_path": "aws-cdk/packages/@aws-cdk/aws-location-alpha/lib/map.ts"
291300
},
@@ -451,6 +460,9 @@
451460
"AuthorizationType": {
452461
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-apigateway/lib/method.ts"
453462
},
463+
"IpAddressType": {
464+
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-apigateway/lib/restapi.ts"
465+
},
454466
"EndpointType": {
455467
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-apigateway/lib/restapi.ts"
456468
},
@@ -595,12 +607,6 @@
595607
}
596608
},
597609
"appsync": {
598-
"HandlerBehavior": {
599-
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/channel-namespace.ts"
600-
},
601-
"LambdaInvokeType": {
602-
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/data-source-common.ts"
603-
},
604610
"FunctionRuntime": {
605611
"cdk_path": "aws-cdk/packages/aws-cdk-lib/aws-appsync/lib/runtime.ts"
606612
}

0 commit comments

Comments
 (0)