Skip to content

Commit bbf3cad

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent a13ff90 commit bbf3cad

File tree

7 files changed

+794
-32
lines changed

7 files changed

+794
-32
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::ServiceDiscovery - Updated the API, and documentation for AWS Cloud Map.
5+
6+
* Feature - Aws::Shield - Updated the API, and documentation for AWS Shield.
7+
48
2.11.522 (2020-06-05)
59
------------------
610

aws-sdk-core/apis/servicediscovery/2017-03-14/api-2.json

Lines changed: 173 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
{"shape":"InvalidInput"},
2626
{"shape":"NamespaceAlreadyExists"},
2727
{"shape":"ResourceLimitExceeded"},
28-
{"shape":"DuplicateRequest"}
28+
{"shape":"DuplicateRequest"},
29+
{"shape":"TooManyTagsException"}
2930
]
3031
},
3132
"CreatePrivateDnsNamespace":{
@@ -40,7 +41,8 @@
4041
{"shape":"InvalidInput"},
4142
{"shape":"NamespaceAlreadyExists"},
4243
{"shape":"ResourceLimitExceeded"},
43-
{"shape":"DuplicateRequest"}
44+
{"shape":"DuplicateRequest"},
45+
{"shape":"TooManyTagsException"}
4446
]
4547
},
4648
"CreatePublicDnsNamespace":{
@@ -55,7 +57,8 @@
5557
{"shape":"InvalidInput"},
5658
{"shape":"NamespaceAlreadyExists"},
5759
{"shape":"ResourceLimitExceeded"},
58-
{"shape":"DuplicateRequest"}
60+
{"shape":"DuplicateRequest"},
61+
{"shape":"TooManyTagsException"}
5962
]
6063
},
6164
"CreateService":{
@@ -70,7 +73,8 @@
7073
{"shape":"InvalidInput"},
7174
{"shape":"ResourceLimitExceeded"},
7275
{"shape":"NamespaceNotFound"},
73-
{"shape":"ServiceAlreadyExists"}
76+
{"shape":"ServiceAlreadyExists"},
77+
{"shape":"TooManyTagsException"}
7478
]
7579
},
7680
"DeleteNamespace":{
@@ -129,7 +133,8 @@
129133
"errors":[
130134
{"shape":"ServiceNotFound"},
131135
{"shape":"NamespaceNotFound"},
132-
{"shape":"InvalidInput"}
136+
{"shape":"InvalidInput"},
137+
{"shape":"RequestLimitExceeded"}
133138
],
134139
"endpoint":{"hostPrefix":"data-"}
135140
},
@@ -249,6 +254,19 @@
249254
{"shape":"InvalidInput"}
250255
]
251256
},
257+
"ListTagsForResource":{
258+
"name":"ListTagsForResource",
259+
"http":{
260+
"method":"POST",
261+
"requestUri":"/"
262+
},
263+
"input":{"shape":"ListTagsForResourceRequest"},
264+
"output":{"shape":"ListTagsForResourceResponse"},
265+
"errors":[
266+
{"shape":"ResourceNotFoundException"},
267+
{"shape":"InvalidInput"}
268+
]
269+
},
252270
"RegisterInstance":{
253271
"name":"RegisterInstance",
254272
"http":{
@@ -265,6 +283,33 @@
265283
{"shape":"ServiceNotFound"}
266284
]
267285
},
286+
"TagResource":{
287+
"name":"TagResource",
288+
"http":{
289+
"method":"POST",
290+
"requestUri":"/"
291+
},
292+
"input":{"shape":"TagResourceRequest"},
293+
"output":{"shape":"TagResourceResponse"},
294+
"errors":[
295+
{"shape":"ResourceNotFoundException"},
296+
{"shape":"TooManyTagsException"},
297+
{"shape":"InvalidInput"}
298+
]
299+
},
300+
"UntagResource":{
301+
"name":"UntagResource",
302+
"http":{
303+
"method":"POST",
304+
"requestUri":"/"
305+
},
306+
"input":{"shape":"UntagResourceRequest"},
307+
"output":{"shape":"UntagResourceResponse"},
308+
"errors":[
309+
{"shape":"ResourceNotFoundException"},
310+
{"shape":"InvalidInput"}
311+
]
312+
},
268313
"UpdateInstanceCustomHealthStatus":{
269314
"name":"UpdateInstanceCustomHealthStatus",
270315
"http":{
@@ -295,17 +340,24 @@
295340
}
296341
},
297342
"shapes":{
343+
"AmazonResourceName":{
344+
"type":"string",
345+
"max":1011,
346+
"min":1
347+
},
298348
"Arn":{
299349
"type":"string",
300350
"max":255
301351
},
302352
"AttrKey":{
303353
"type":"string",
304-
"max":255
354+
"max":255,
355+
"pattern":"^[a-zA-Z0-9!-~]+$"
305356
},
306357
"AttrValue":{
307358
"type":"string",
308-
"max":1024
359+
"max":1024,
360+
"pattern":"^([a-zA-Z0-9!-~][ \\ta-zA-Z0-9!-~]*){0,1}[a-zA-Z0-9!-~]{0,1}$"
309361
},
310362
"Attributes":{
311363
"type":"map",
@@ -322,7 +374,8 @@
322374
"shape":"ResourceId",
323375
"idempotencyToken":true
324376
},
325-
"Description":{"shape":"ResourceDescription"}
377+
"Description":{"shape":"ResourceDescription"},
378+
"Tags":{"shape":"TagList"}
326379
}
327380
},
328381
"CreateHttpNamespaceResponse":{
@@ -344,7 +397,8 @@
344397
"idempotencyToken":true
345398
},
346399
"Description":{"shape":"ResourceDescription"},
347-
"Vpc":{"shape":"ResourceId"}
400+
"Vpc":{"shape":"ResourceId"},
401+
"Tags":{"shape":"TagList"}
348402
}
349403
},
350404
"CreatePrivateDnsNamespaceResponse":{
@@ -362,7 +416,8 @@
362416
"shape":"ResourceId",
363417
"idempotencyToken":true
364418
},
365-
"Description":{"shape":"ResourceDescription"}
419+
"Description":{"shape":"ResourceDescription"},
420+
"Tags":{"shape":"TagList"}
366421
}
367422
},
368423
"CreatePublicDnsNamespaceResponse":{
@@ -384,7 +439,8 @@
384439
"Description":{"shape":"ResourceDescription"},
385440
"DnsConfig":{"shape":"DnsConfig"},
386441
"HealthCheckConfig":{"shape":"HealthCheckConfig"},
387-
"HealthCheckCustomConfig":{"shape":"HealthCheckCustomConfig"}
442+
"HealthCheckCustomConfig":{"shape":"HealthCheckCustomConfig"},
443+
"Tags":{"shape":"TagList"}
388444
}
389445
},
390446
"CreateServiceResponse":{
@@ -458,7 +514,7 @@
458514
"members":{
459515
"NamespaceName":{"shape":"NamespaceName"},
460516
"ServiceName":{"shape":"ServiceName"},
461-
"MaxResults":{"shape":"MaxResults"},
517+
"MaxResults":{"shape":"DiscoverMaxResults"},
462518
"QueryParameters":{"shape":"Attributes"},
463519
"HealthStatus":{"shape":"HealthStatusFilter"}
464520
}
@@ -469,6 +525,11 @@
469525
"Instances":{"shape":"HttpInstanceSummaryList"}
470526
}
471527
},
528+
"DiscoverMaxResults":{
529+
"type":"integer",
530+
"max":1000,
531+
"min":1
532+
},
472533
"DnsConfig":{
473534
"type":"structure",
474535
"required":["DnsRecords"],
@@ -778,6 +839,19 @@
778839
"NextToken":{"shape":"NextToken"}
779840
}
780841
},
842+
"ListTagsForResourceRequest":{
843+
"type":"structure",
844+
"required":["ResourceARN"],
845+
"members":{
846+
"ResourceARN":{"shape":"AmazonResourceName"}
847+
}
848+
},
849+
"ListTagsForResourceResponse":{
850+
"type":"structure",
851+
"members":{
852+
"Tags":{"shape":"TagList"}
853+
}
854+
},
781855
"MaxResults":{
782856
"type":"integer",
783857
"max":100,
@@ -1004,6 +1078,13 @@
10041078
"OperationId":{"shape":"OperationId"}
10051079
}
10061080
},
1081+
"RequestLimitExceeded":{
1082+
"type":"structure",
1083+
"members":{
1084+
"Message":{"shape":"ErrorMessage"}
1085+
},
1086+
"exception":true
1087+
},
10071088
"ResourceCount":{"type":"integer"},
10081089
"ResourceDescription":{
10091090
"type":"string",
@@ -1027,6 +1108,13 @@
10271108
},
10281109
"exception":true
10291110
},
1111+
"ResourceNotFoundException":{
1112+
"type":"structure",
1113+
"members":{
1114+
"Message":{"shape":"ErrorMessage"}
1115+
},
1116+
"exception":true
1117+
},
10301118
"ResourcePath":{
10311119
"type":"string",
10321120
"max":255
@@ -1065,7 +1153,6 @@
10651153
},
10661154
"ServiceChange":{
10671155
"type":"structure",
1068-
"required":["DnsConfig"],
10691156
"members":{
10701157
"Description":{"shape":"ResourceDescription"},
10711158
"DnsConfig":{"shape":"DnsConfigChange"},
@@ -1121,7 +1208,80 @@
11211208
"CreateDate":{"shape":"Timestamp"}
11221209
}
11231210
},
1211+
"Tag":{
1212+
"type":"structure",
1213+
"required":[
1214+
"Key",
1215+
"Value"
1216+
],
1217+
"members":{
1218+
"Key":{"shape":"TagKey"},
1219+
"Value":{"shape":"TagValue"}
1220+
}
1221+
},
1222+
"TagKey":{
1223+
"type":"string",
1224+
"max":128,
1225+
"min":1
1226+
},
1227+
"TagKeyList":{
1228+
"type":"list",
1229+
"member":{"shape":"TagKey"},
1230+
"max":200,
1231+
"min":0
1232+
},
1233+
"TagList":{
1234+
"type":"list",
1235+
"member":{"shape":"Tag"},
1236+
"max":200,
1237+
"min":0
1238+
},
1239+
"TagResourceRequest":{
1240+
"type":"structure",
1241+
"required":[
1242+
"ResourceARN",
1243+
"Tags"
1244+
],
1245+
"members":{
1246+
"ResourceARN":{"shape":"AmazonResourceName"},
1247+
"Tags":{"shape":"TagList"}
1248+
}
1249+
},
1250+
"TagResourceResponse":{
1251+
"type":"structure",
1252+
"members":{
1253+
}
1254+
},
1255+
"TagValue":{
1256+
"type":"string",
1257+
"max":256,
1258+
"min":0
1259+
},
11241260
"Timestamp":{"type":"timestamp"},
1261+
"TooManyTagsException":{
1262+
"type":"structure",
1263+
"members":{
1264+
"Message":{"shape":"ErrorMessage"},
1265+
"ResourceName":{"shape":"AmazonResourceName"}
1266+
},
1267+
"exception":true
1268+
},
1269+
"UntagResourceRequest":{
1270+
"type":"structure",
1271+
"required":[
1272+
"ResourceARN",
1273+
"TagKeys"
1274+
],
1275+
"members":{
1276+
"ResourceARN":{"shape":"AmazonResourceName"},
1277+
"TagKeys":{"shape":"TagKeyList"}
1278+
}
1279+
},
1280+
"UntagResourceResponse":{
1281+
"type":"structure",
1282+
"members":{
1283+
}
1284+
},
11251285
"UpdateInstanceCustomHealthStatusRequest":{
11261286
"type":"structure",
11271287
"required":[

0 commit comments

Comments
 (0)