Skip to content

Commit 53f050e

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent cec179c commit 53f050e

File tree

16 files changed

+17304
-2628
lines changed

16 files changed

+17304
-2628
lines changed

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

Lines changed: 52 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,17 @@
10981098
"UseDualStack": true
10991099
}
11001100
},
1101+
{
1102+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
1103+
"expect": {
1104+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
1105+
},
1106+
"params": {
1107+
"Region": "us-iso-east-1",
1108+
"UseFIPS": true,
1109+
"UseDualStack": true
1110+
}
1111+
},
11011112
{
11021113
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
11031114
"expect": {
@@ -1111,6 +1122,17 @@
11111122
"UseDualStack": false
11121123
}
11131124
},
1125+
{
1126+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
1127+
"expect": {
1128+
"error": "DualStack is enabled but this partition does not support DualStack"
1129+
},
1130+
"params": {
1131+
"Region": "us-iso-east-1",
1132+
"UseFIPS": false,
1133+
"UseDualStack": true
1134+
}
1135+
},
11141136
{
11151137
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
11161138
"expect": {
@@ -1124,6 +1146,17 @@
11241146
"UseDualStack": false
11251147
}
11261148
},
1149+
{
1150+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
1151+
"expect": {
1152+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
1153+
},
1154+
"params": {
1155+
"Region": "us-isob-east-1",
1156+
"UseFIPS": true,
1157+
"UseDualStack": true
1158+
}
1159+
},
11271160
{
11281161
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
11291162
"expect": {
@@ -1137,6 +1170,17 @@
11371170
"UseDualStack": false
11381171
}
11391172
},
1173+
{
1174+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
1175+
"expect": {
1176+
"error": "DualStack is enabled but this partition does not support DualStack"
1177+
},
1178+
"params": {
1179+
"Region": "us-isob-east-1",
1180+
"UseFIPS": false,
1181+
"UseDualStack": true
1182+
}
1183+
},
11401184
{
11411185
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
11421186
"expect": {
@@ -1200,6 +1244,12 @@
12001244
"UseDualStack": true,
12011245
"Endpoint": "https://example.com"
12021246
}
1247+
},
1248+
{
1249+
"documentation": "Missing region",
1250+
"expect": {
1251+
"error": "Invalid Configuration: Missing Region"
1252+
}
12031253
}
12041254
],
12051255
"version": "1.0"
@@ -1869,10 +1919,9 @@
18691919
"com.amazonaws.athena#CoordinatorDpuSize": {
18701920
"type": "integer",
18711921
"traits": {
1872-
"smithy.api#default": 0,
18731922
"smithy.api#range": {
18741923
"min": 1,
1875-
"max": 5000
1924+
"max": 1
18761925
}
18771926
}
18781927
},
@@ -2440,10 +2489,9 @@
24402489
"com.amazonaws.athena#DefaultExecutorDpuSize": {
24412490
"type": "integer",
24422491
"traits": {
2443-
"smithy.api#default": 0,
24442492
"smithy.api#range": {
24452493
"min": 1,
2446-
"max": 5000
2494+
"max": 1
24472495
}
24482496
}
24492497
},
@@ -2738,7 +2786,6 @@
27382786
"CoordinatorDpuSize": {
27392787
"target": "com.amazonaws.athena#CoordinatorDpuSize",
27402788
"traits": {
2741-
"smithy.api#default": 0,
27422789
"smithy.api#documentation": "<p>The number of DPUs to use for the coordinator. A coordinator is a special executor\n that orchestrates processing work and manages other executors in a notebook\n session.</p>"
27432790
}
27442791
},
@@ -2753,7 +2800,6 @@
27532800
"DefaultExecutorDpuSize": {
27542801
"target": "com.amazonaws.athena#DefaultExecutorDpuSize",
27552802
"traits": {
2756-
"smithy.api#default": 0,
27572803
"smithy.api#documentation": "<p>The default number of DPUs to use for executors. An executor is the smallest unit of\n compute that a notebook session can request from Athena.</p>"
27582804
}
27592805
},

0 commit comments

Comments
 (0)