Skip to content

Commit 27439d9

Browse files
author
AWS
committed
Amazon Athena Update: Make DefaultExecutorDpuSize and CoordinatorDpuSize fields optional in StartSession
1 parent 578aa1a commit 27439d9

File tree

3 files changed

+60
-2
lines changed

3 files changed

+60
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Athena",
4+
"contributor": "",
5+
"description": "Make DefaultExecutorDpuSize and CoordinatorDpuSize fields optional in StartSession"
6+
}

services/athena/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,17 @@
494494
"UseDualStack": true
495495
}
496496
},
497+
{
498+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
499+
"expect": {
500+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
501+
},
502+
"params": {
503+
"Region": "us-iso-east-1",
504+
"UseFIPS": true,
505+
"UseDualStack": true
506+
}
507+
},
497508
{
498509
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
499510
"expect": {
@@ -507,6 +518,17 @@
507518
"UseDualStack": false
508519
}
509520
},
521+
{
522+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
523+
"expect": {
524+
"error": "DualStack is enabled but this partition does not support DualStack"
525+
},
526+
"params": {
527+
"Region": "us-iso-east-1",
528+
"UseFIPS": false,
529+
"UseDualStack": true
530+
}
531+
},
510532
{
511533
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
512534
"expect": {
@@ -520,6 +542,17 @@
520542
"UseDualStack": false
521543
}
522544
},
545+
{
546+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
547+
"expect": {
548+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
549+
},
550+
"params": {
551+
"Region": "us-isob-east-1",
552+
"UseFIPS": true,
553+
"UseDualStack": true
554+
}
555+
},
523556
{
524557
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
525558
"expect": {
@@ -533,6 +566,17 @@
533566
"UseDualStack": false
534567
}
535568
},
569+
{
570+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
571+
"expect": {
572+
"error": "DualStack is enabled but this partition does not support DualStack"
573+
},
574+
"params": {
575+
"Region": "us-isob-east-1",
576+
"UseFIPS": false,
577+
"UseDualStack": true
578+
}
579+
},
536580
{
537581
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
538582
"expect": {
@@ -596,6 +640,12 @@
596640
"UseDualStack": true,
597641
"Endpoint": "https://example.com"
598642
}
643+
},
644+
{
645+
"documentation": "Missing region",
646+
"expect": {
647+
"error": "Invalid Configuration: Missing Region"
648+
}
599649
}
600650
],
601651
"version": "1.0"

services/athena/src/main/resources/codegen-resources/service-2.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,8 @@
12771277
},
12781278
"CoordinatorDpuSize":{
12791279
"type":"integer",
1280-
"max":5000,
1280+
"box":true,
1281+
"max":1,
12811282
"min":1
12821283
},
12831284
"CreateDataCatalogInput":{
@@ -1582,7 +1583,8 @@
15821583
},
15831584
"DefaultExecutorDpuSize":{
15841585
"type":"integer",
1585-
"max":5000,
1586+
"box":true,
1587+
"max":1,
15861588
"min":1
15871589
},
15881590
"DeleteDataCatalogInput":{

0 commit comments

Comments
 (0)