Skip to content

Commit de54261

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated API models and rebuilt service gems.
1 parent 77d7134 commit de54261

File tree

74 files changed

+2290
-484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+2290
-484
lines changed

apis/controltower/2018-05-10/api-2.json

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,51 @@
100100
{"shape":"ThrottlingException"},
101101
{"shape":"ResourceNotFoundException"}
102102
]
103+
},
104+
"ListTagsForResource":{
105+
"name":"ListTagsForResource",
106+
"http":{
107+
"method":"GET",
108+
"requestUri":"/tags/{resourceArn}",
109+
"responseCode":200
110+
},
111+
"input":{"shape":"ListTagsForResourceInput"},
112+
"output":{"shape":"ListTagsForResourceOutput"},
113+
"errors":[
114+
{"shape":"ValidationException"},
115+
{"shape":"InternalServerException"},
116+
{"shape":"ResourceNotFoundException"}
117+
]
118+
},
119+
"TagResource":{
120+
"name":"TagResource",
121+
"http":{
122+
"method":"POST",
123+
"requestUri":"/tags/{resourceArn}",
124+
"responseCode":204
125+
},
126+
"input":{"shape":"TagResourceInput"},
127+
"output":{"shape":"TagResourceOutput"},
128+
"errors":[
129+
{"shape":"ValidationException"},
130+
{"shape":"InternalServerException"},
131+
{"shape":"ResourceNotFoundException"}
132+
]
133+
},
134+
"UntagResource":{
135+
"name":"UntagResource",
136+
"http":{
137+
"method":"DELETE",
138+
"requestUri":"/tags/{resourceArn}",
139+
"responseCode":204
140+
},
141+
"input":{"shape":"UntagResourceInput"},
142+
"output":{"shape":"UntagResourceOutput"},
143+
"errors":[
144+
{"shape":"ValidationException"},
145+
{"shape":"InternalServerException"},
146+
{"shape":"ResourceNotFoundException"}
147+
]
103148
}
104149
},
105150
"shapes":{
@@ -205,13 +250,15 @@
205250
],
206251
"members":{
207252
"controlIdentifier":{"shape":"ControlIdentifier"},
253+
"tags":{"shape":"TagMap"},
208254
"targetIdentifier":{"shape":"TargetIdentifier"}
209255
}
210256
},
211257
"EnableControlOutput":{
212258
"type":"structure",
213259
"required":["operationIdentifier"],
214260
"members":{
261+
"arn":{"shape":"Arn"},
215262
"operationIdentifier":{"shape":"OperationIdentifier"}
216263
}
217264
},
@@ -315,6 +362,24 @@
315362
"nextToken":{"shape":"String"}
316363
}
317364
},
365+
"ListTagsForResourceInput":{
366+
"type":"structure",
367+
"required":["resourceArn"],
368+
"members":{
369+
"resourceArn":{
370+
"shape":"Arn",
371+
"location":"uri",
372+
"locationName":"resourceArn"
373+
}
374+
}
375+
},
376+
"ListTagsForResourceOutput":{
377+
"type":"structure",
378+
"required":["tags"],
379+
"members":{
380+
"tags":{"shape":"TagMap"}
381+
}
382+
},
318383
"MaxResults":{
319384
"type":"integer",
320385
"box":true,
@@ -367,6 +432,49 @@
367432
"type":"timestamp",
368433
"timestampFormat":"iso8601"
369434
},
435+
"TagKey":{
436+
"type":"string",
437+
"max":128,
438+
"min":1
439+
},
440+
"TagKeys":{
441+
"type":"list",
442+
"member":{"shape":"TagKey"},
443+
"max":200,
444+
"min":0
445+
},
446+
"TagMap":{
447+
"type":"map",
448+
"key":{"shape":"TagKey"},
449+
"value":{"shape":"TagValue"},
450+
"max":200,
451+
"min":0
452+
},
453+
"TagResourceInput":{
454+
"type":"structure",
455+
"required":[
456+
"resourceArn",
457+
"tags"
458+
],
459+
"members":{
460+
"resourceArn":{
461+
"shape":"Arn",
462+
"location":"uri",
463+
"locationName":"resourceArn"
464+
},
465+
"tags":{"shape":"TagMap"}
466+
}
467+
},
468+
"TagResourceOutput":{
469+
"type":"structure",
470+
"members":{
471+
}
472+
},
473+
"TagValue":{
474+
"type":"string",
475+
"max":256,
476+
"min":0
477+
},
370478
"TargetIdentifier":{
371479
"type":"string",
372480
"max":2048,
@@ -397,6 +505,30 @@
397505
"exception":true,
398506
"retryable":{"throttling":true}
399507
},
508+
"UntagResourceInput":{
509+
"type":"structure",
510+
"required":[
511+
"resourceArn",
512+
"tagKeys"
513+
],
514+
"members":{
515+
"resourceArn":{
516+
"shape":"Arn",
517+
"location":"uri",
518+
"locationName":"resourceArn"
519+
},
520+
"tagKeys":{
521+
"shape":"TagKeys",
522+
"location":"querystring",
523+
"locationName":"tagKeys"
524+
}
525+
}
526+
},
527+
"UntagResourceOutput":{
528+
"type":"structure",
529+
"members":{
530+
}
531+
},
400532
"ValidationException":{
401533
"type":"structure",
402534
"required":["message"],

apis/controltower/2018-05-10/docs-2.json

Lines changed: 86 additions & 22 deletions
Large diffs are not rendered by default.

apis/controltower/2018-05-10/endpoint-rule-set-1.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
]
4141
}
4242
],
43-
"type": "tree",
4443
"rules": [
4544
{
4645
"conditions": [
@@ -83,7 +82,8 @@
8382
},
8483
"type": "endpoint"
8584
}
86-
]
85+
],
86+
"type": "tree"
8787
},
8888
{
8989
"conditions": [
@@ -96,7 +96,6 @@
9696
]
9797
}
9898
],
99-
"type": "tree",
10099
"rules": [
101100
{
102101
"conditions": [
@@ -110,7 +109,6 @@
110109
"assign": "PartitionResult"
111110
}
112111
],
113-
"type": "tree",
114112
"rules": [
115113
{
116114
"conditions": [
@@ -133,7 +131,6 @@
133131
]
134132
}
135133
],
136-
"type": "tree",
137134
"rules": [
138135
{
139136
"conditions": [
@@ -168,7 +165,6 @@
168165
]
169166
}
170167
],
171-
"type": "tree",
172168
"rules": [
173169
{
174170
"conditions": [],
@@ -179,14 +175,16 @@
179175
},
180176
"type": "endpoint"
181177
}
182-
]
178+
],
179+
"type": "tree"
183180
},
184181
{
185182
"conditions": [],
186183
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
187184
"type": "error"
188185
}
189-
]
186+
],
187+
"type": "tree"
190188
},
191189
{
192190
"conditions": [
@@ -200,14 +198,12 @@
200198
]
201199
}
202200
],
203-
"type": "tree",
204201
"rules": [
205202
{
206203
"conditions": [
207204
{
208205
"fn": "booleanEquals",
209206
"argv": [
210-
true,
211207
{
212208
"fn": "getAttr",
213209
"argv": [
@@ -216,11 +212,11 @@
216212
},
217213
"supportsFIPS"
218214
]
219-
}
215+
},
216+
true
220217
]
221218
}
222219
],
223-
"type": "tree",
224220
"rules": [
225221
{
226222
"conditions": [],
@@ -231,14 +227,16 @@
231227
},
232228
"type": "endpoint"
233229
}
234-
]
230+
],
231+
"type": "tree"
235232
},
236233
{
237234
"conditions": [],
238235
"error": "FIPS is enabled but this partition does not support FIPS",
239236
"type": "error"
240237
}
241-
]
238+
],
239+
"type": "tree"
242240
},
243241
{
244242
"conditions": [
@@ -252,7 +250,6 @@
252250
]
253251
}
254252
],
255-
"type": "tree",
256253
"rules": [
257254
{
258255
"conditions": [
@@ -272,7 +269,6 @@
272269
]
273270
}
274271
],
275-
"type": "tree",
276272
"rules": [
277273
{
278274
"conditions": [],
@@ -283,14 +279,16 @@
283279
},
284280
"type": "endpoint"
285281
}
286-
]
282+
],
283+
"type": "tree"
287284
},
288285
{
289286
"conditions": [],
290287
"error": "DualStack is enabled but this partition does not support DualStack",
291288
"type": "error"
292289
}
293-
]
290+
],
291+
"type": "tree"
294292
},
295293
{
296294
"conditions": [],
@@ -301,9 +299,11 @@
301299
},
302300
"type": "endpoint"
303301
}
304-
]
302+
],
303+
"type": "tree"
305304
}
306-
]
305+
],
306+
"type": "tree"
307307
},
308308
{
309309
"conditions": [],

apis/controltower/2018-05-10/endpoint-tests-1.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,17 @@
529529
"expect": {
530530
"error": "Invalid Configuration: Missing Region"
531531
}
532+
},
533+
{
534+
"documentation": "Partition doesn't support DualStack",
535+
"expect": {
536+
"error": "DualStack is enabled but this partition does not support DualStack"
537+
},
538+
"params": {
539+
"Region": "us-isob-east-1",
540+
"UseFIPS": false,
541+
"UseDualStack": true
542+
}
532543
}
533544
],
534545
"version": "1.0"

0 commit comments

Comments
 (0)