Skip to content

Commit 7ae3502

Browse files
Remove incorrect endpoint tests
1 parent 9d14c6d commit 7ae3502

File tree

7 files changed

+38
-170
lines changed

7 files changed

+38
-170
lines changed

generator/ServiceModels/savingsplans/savingsplans-2019-06-28.api.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
"globalEndpoint":"savingsplans.amazonaws.com",
77
"jsonVersion":"1.0",
88
"protocol":"rest-json",
9+
"protocols":["rest-json"],
910
"serviceAbbreviation":"AWSSavingsPlans",
1011
"serviceFullName":"AWS Savings Plans",
1112
"serviceId":"savingsplans",
1213
"signatureVersion":"v4",
13-
"uid":"savingsplans-2019-06-28"
14+
"uid":"savingsplans-2019-06-28",
15+
"auth":["aws.auth#sigv4"]
1416
},
1517
"operations":{
1618
"CreateSavingsPlan":{
@@ -202,8 +204,7 @@
202204
},
203205
"DeleteQueuedSavingsPlanResponse":{
204206
"type":"structure",
205-
"members":{
206-
}
207+
"members":{}
207208
},
208209
"DescribeSavingsPlanRatesRequest":{
209210
"type":"structure",
@@ -783,8 +784,7 @@
783784
},
784785
"TagResourceResponse":{
785786
"type":"structure",
786-
"members":{
787-
}
787+
"members":{}
788788
},
789789
"TagValue":{"type":"string"},
790790
"TermDurationInSeconds":{"type":"long"},
@@ -809,8 +809,7 @@
809809
},
810810
"UntagResourceResponse":{
811811
"type":"structure",
812-
"members":{
813-
}
812+
"members":{}
814813
},
815814
"ValidationException":{
816815
"type":"structure",

generator/ServiceModels/savingsplans/savingsplans-2019-06-28.docs.json

Lines changed: 24 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,11 @@
3434
},
3535
"CreateSavingsPlanRequest": {
3636
"base": null,
37-
"refs": {
38-
}
37+
"refs": {}
3938
},
4039
"CreateSavingsPlanResponse": {
4140
"base": null,
42-
"refs": {
43-
}
41+
"refs": {}
4442
},
4543
"CurrencyCode": {
4644
"base": null,
@@ -66,53 +64,43 @@
6664
},
6765
"DeleteQueuedSavingsPlanRequest": {
6866
"base": null,
69-
"refs": {
70-
}
67+
"refs": {}
7168
},
7269
"DeleteQueuedSavingsPlanResponse": {
7370
"base": null,
74-
"refs": {
75-
}
71+
"refs": {}
7672
},
7773
"DescribeSavingsPlanRatesRequest": {
7874
"base": null,
79-
"refs": {
80-
}
75+
"refs": {}
8176
},
8277
"DescribeSavingsPlanRatesResponse": {
8378
"base": null,
84-
"refs": {
85-
}
79+
"refs": {}
8680
},
8781
"DescribeSavingsPlansOfferingRatesRequest": {
8882
"base": null,
89-
"refs": {
90-
}
83+
"refs": {}
9184
},
9285
"DescribeSavingsPlansOfferingRatesResponse": {
9386
"base": null,
94-
"refs": {
95-
}
87+
"refs": {}
9688
},
9789
"DescribeSavingsPlansOfferingsRequest": {
9890
"base": null,
99-
"refs": {
100-
}
91+
"refs": {}
10192
},
10293
"DescribeSavingsPlansOfferingsResponse": {
10394
"base": null,
104-
"refs": {
105-
}
95+
"refs": {}
10696
},
10797
"DescribeSavingsPlansRequest": {
10898
"base": null,
109-
"refs": {
110-
}
99+
"refs": {}
111100
},
112101
"DescribeSavingsPlansResponse": {
113102
"base": null,
114-
"refs": {
115-
}
103+
"refs": {}
116104
},
117105
"DurationsList": {
118106
"base": null,
@@ -135,8 +123,7 @@
135123
},
136124
"InternalServerException": {
137125
"base": "<p>An unexpected error occurred.</p>",
138-
"refs": {
139-
}
126+
"refs": {}
140127
},
141128
"JsonSafeFilterValueString": {
142129
"base": null,
@@ -157,13 +144,11 @@
157144
},
158145
"ListTagsForResourceRequest": {
159146
"base": null,
160-
"refs": {
161-
}
147+
"refs": {}
162148
},
163149
"ListTagsForResourceResponse": {
164150
"base": null,
165-
"refs": {
166-
}
151+
"refs": {}
167152
},
168153
"MaxResults": {
169154
"base": null,
@@ -206,18 +191,15 @@
206191
},
207192
"ResourceNotFoundException": {
208193
"base": "<p>The specified resource was not found.</p>",
209-
"refs": {
210-
}
194+
"refs": {}
211195
},
212196
"ReturnSavingsPlanRequest": {
213197
"base": null,
214-
"refs": {
215-
}
198+
"refs": {}
216199
},
217200
"ReturnSavingsPlanResponse": {
218201
"base": null,
219-
"refs": {
220-
}
202+
"refs": {}
221203
},
222204
"SavingsPlan": {
223205
"base": "<p>Information about a Savings Plan.</p>",
@@ -609,8 +591,7 @@
609591
},
610592
"ServiceQuotaExceededException": {
611593
"base": "<p>A service quota has been exceeded.</p>",
612-
"refs": {
613-
}
594+
"refs": {}
614595
},
615596
"String": {
616597
"base": null,
@@ -650,13 +631,11 @@
650631
},
651632
"TagResourceRequest": {
652633
"base": null,
653-
"refs": {
654-
}
634+
"refs": {}
655635
},
656636
"TagResourceResponse": {
657637
"base": null,
658-
"refs": {
659-
}
638+
"refs": {}
660639
},
661640
"TagValue": {
662641
"base": null,
@@ -687,18 +666,15 @@
687666
},
688667
"UntagResourceRequest": {
689668
"base": null,
690-
"refs": {
691-
}
669+
"refs": {}
692670
},
693671
"UntagResourceResponse": {
694672
"base": null,
695-
"refs": {
696-
}
673+
"refs": {}
697674
},
698675
"ValidationException": {
699676
"base": "<p>One of the input parameters is not valid.</p>",
700-
"refs": {
701-
}
677+
"refs": {}
702678
}
703679
}
704680
}

generator/ServiceModels/savingsplans/savingsplans-2019-06-28.endpoint-tests.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -187,17 +187,6 @@
187187
"UseDualStack": false
188188
}
189189
},
190-
{
191-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
192-
"expect": {
193-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
194-
},
195-
"params": {
196-
"Region": "us-iso-east-1",
197-
"UseFIPS": true,
198-
"UseDualStack": true
199-
}
200-
},
201190
{
202191
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
203192
"expect": {
@@ -211,17 +200,6 @@
211200
"UseDualStack": false
212201
}
213202
},
214-
{
215-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
216-
"expect": {
217-
"error": "DualStack is enabled but this partition does not support DualStack"
218-
},
219-
"params": {
220-
"Region": "us-iso-east-1",
221-
"UseFIPS": false,
222-
"UseDualStack": true
223-
}
224-
},
225203
{
226204
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
227205
"expect": {
@@ -235,17 +213,6 @@
235213
"UseDualStack": false
236214
}
237215
},
238-
{
239-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
240-
"expect": {
241-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
242-
},
243-
"params": {
244-
"Region": "us-isob-east-1",
245-
"UseFIPS": true,
246-
"UseDualStack": true
247-
}
248-
},
249216
{
250217
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
251218
"expect": {
@@ -259,17 +226,6 @@
259226
"UseDualStack": false
260227
}
261228
},
262-
{
263-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
264-
"expect": {
265-
"error": "DualStack is enabled but this partition does not support DualStack"
266-
},
267-
"params": {
268-
"Region": "us-isob-east-1",
269-
"UseFIPS": false,
270-
"UseDualStack": true
271-
}
272-
},
273229
{
274230
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
275231
"expect": {
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"version": "1.0",
3-
"examples": {
4-
}
3+
"examples": {}
54
}

generator/ServiceModels/savingsplans/savingsplans-2019-06-28.normal.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
"globalEndpoint":"savingsplans.amazonaws.com",
77
"jsonVersion":"1.0",
88
"protocol":"rest-json",
9+
"protocols":["rest-json"],
910
"serviceAbbreviation":"AWSSavingsPlans",
1011
"serviceFullName":"AWS Savings Plans",
1112
"serviceId":"savingsplans",
1213
"signatureVersion":"v4",
13-
"uid":"savingsplans-2019-06-28"
14+
"uid":"savingsplans-2019-06-28",
15+
"auth":["aws.auth#sigv4"]
1416
},
1517
"operations":{
1618
"CreateSavingsPlan":{
@@ -234,8 +236,7 @@
234236
},
235237
"DeleteQueuedSavingsPlanResponse":{
236238
"type":"structure",
237-
"members":{
238-
}
239+
"members":{}
239240
},
240241
"DescribeSavingsPlanRatesRequest":{
241242
"type":"structure",
@@ -1173,8 +1174,7 @@
11731174
},
11741175
"TagResourceResponse":{
11751176
"type":"structure",
1176-
"members":{
1177-
}
1177+
"members":{}
11781178
},
11791179
"TagValue":{"type":"string"},
11801180
"TermDurationInSeconds":{"type":"long"},
@@ -1205,8 +1205,7 @@
12051205
},
12061206
"UntagResourceResponse":{
12071207
"type":"structure",
1208-
"members":{
1209-
}
1208+
"members":{}
12101209
},
12111210
"ValidationException":{
12121211
"type":"structure",
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"pagination": {
3-
}
2+
"pagination": {}
43
}

0 commit comments

Comments
 (0)