Skip to content

Commit 84ab349

Browse files
author
AWS
committed
Amazon Elasticsearch Service Update: Remove incorrect endpoint tests
1 parent 113de4a commit 84ab349

File tree

3 files changed

+17
-66
lines changed

3 files changed

+17
-66
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 Elasticsearch Service",
4+
"contributor": "",
5+
"description": "Remove incorrect endpoint tests"
6+
}

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

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -533,17 +533,6 @@
533533
"UseDualStack": false
534534
}
535535
},
536-
{
537-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
538-
"expect": {
539-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
540-
},
541-
"params": {
542-
"Region": "us-iso-east-1",
543-
"UseFIPS": true,
544-
"UseDualStack": true
545-
}
546-
},
547536
{
548537
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
549538
"expect": {
@@ -557,17 +546,6 @@
557546
"UseDualStack": false
558547
}
559548
},
560-
{
561-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
562-
"expect": {
563-
"error": "DualStack is enabled but this partition does not support DualStack"
564-
},
565-
"params": {
566-
"Region": "us-iso-east-1",
567-
"UseFIPS": false,
568-
"UseDualStack": true
569-
}
570-
},
571549
{
572550
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
573551
"expect": {
@@ -581,17 +559,6 @@
581559
"UseDualStack": false
582560
}
583561
},
584-
{
585-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
586-
"expect": {
587-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
588-
},
589-
"params": {
590-
"Region": "us-isob-east-1",
591-
"UseFIPS": true,
592-
"UseDualStack": true
593-
}
594-
},
595562
{
596563
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
597564
"expect": {
@@ -605,17 +572,6 @@
605572
"UseDualStack": false
606573
}
607574
},
608-
{
609-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
610-
"expect": {
611-
"error": "DualStack is enabled but this partition does not support DualStack"
612-
},
613-
"params": {
614-
"Region": "us-isob-east-1",
615-
"UseFIPS": false,
616-
"UseDualStack": true
617-
}
618-
},
619575
{
620576
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
621577
"expect": {

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

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -879,8 +879,7 @@
879879
},
880880
"AccessDeniedException":{
881881
"type":"structure",
882-
"members":{
883-
},
882+
"members":{},
884883
"documentation":"<p>An error occurred because user does not have permissions to access the resource. Returns HTTP status code 403.</p>",
885884
"error":{"httpStatusCode":403},
886885
"exception":true
@@ -1591,8 +1590,7 @@
15911590
},
15921591
"ConflictException":{
15931592
"type":"structure",
1594-
"members":{
1595-
},
1593+
"members":{},
15961594
"documentation":"<p>An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP status code 409.</p>",
15971595
"error":{"httpStatusCode":409},
15981596
"exception":true
@@ -2342,8 +2340,7 @@
23422340
"DisableTimestamp":{"type":"timestamp"},
23432341
"DisabledOperationException":{
23442342
"type":"structure",
2345-
"members":{
2346-
},
2343+
"members":{},
23472344
"documentation":"<p>An error occured because the client wanted to access a not supported operation. Gives http status code of 409.</p>",
23482345
"error":{"httpStatusCode":409},
23492346
"exception":true
@@ -3283,24 +3280,21 @@
32833280
"IntegerClass":{"type":"integer"},
32843281
"InternalException":{
32853282
"type":"structure",
3286-
"members":{
3287-
},
3283+
"members":{},
32883284
"documentation":"<p>The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.</p>",
32893285
"error":{"httpStatusCode":500},
32903286
"exception":true
32913287
},
32923288
"InvalidPaginationTokenException":{
32933289
"type":"structure",
3294-
"members":{
3295-
},
3290+
"members":{},
32963291
"documentation":"<p>The request processing has failed because of invalid pagination token provided by customer. Returns an HTTP status code of 400. </p>",
32973292
"error":{"httpStatusCode":400},
32983293
"exception":true
32993294
},
33003295
"InvalidTypeException":{
33013296
"type":"structure",
3302-
"members":{
3303-
},
3297+
"members":{},
33043298
"documentation":"<p>An exception for trying to create or access sub-resource that is either invalid or not supported. Gives http status code of 409.</p>",
33053299
"error":{"httpStatusCode":409},
33063300
"exception":true
@@ -3318,8 +3312,7 @@
33183312
"LastUpdated":{"type":"timestamp"},
33193313
"LimitExceededException":{
33203314
"type":"structure",
3321-
"members":{
3322-
},
3315+
"members":{},
33233316
"documentation":"<p>An exception for trying to create more than allowed resources or sub-resources. Gives http status code of 409.</p>",
33243317
"error":{"httpStatusCode":409},
33253318
"exception":true
@@ -4240,16 +4233,14 @@
42404233
},
42414234
"ResourceAlreadyExistsException":{
42424235
"type":"structure",
4243-
"members":{
4244-
},
4236+
"members":{},
42454237
"documentation":"<p>An exception for creating a resource that already exists. Gives http status code of 400.</p>",
42464238
"error":{"httpStatusCode":409},
42474239
"exception":true
42484240
},
42494241
"ResourceNotFoundException":{
42504242
"type":"structure",
4251-
"members":{
4252-
},
4243+
"members":{},
42534244
"documentation":"<p>An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.</p>",
42544245
"error":{"httpStatusCode":409},
42554246
"exception":true
@@ -4276,8 +4267,7 @@
42764267
},
42774268
"RevokeVpcEndpointAccessResponse":{
42784269
"type":"structure",
4279-
"members":{
4280-
},
4270+
"members":{},
42814271
"documentation":"<p>Container for response parameters to the <code><a>RevokeVpcEndpointAccess</a></code> operation. The response body for this operation is empty.</p>"
42824272
},
42834273
"RoleArn":{
@@ -4942,8 +4932,7 @@
49424932
},
49434933
"ValidationException":{
49444934
"type":"structure",
4945-
"members":{
4946-
},
4935+
"members":{},
49474936
"documentation":"<p>An exception for missing / invalid input fields. Gives http status code of 400.</p>",
49484937
"error":{"httpStatusCode":400},
49494938
"exception":true

0 commit comments

Comments
 (0)