Skip to content

Commit 85b77ca

Browse files
author
AWS
committed
AWS Well-Architected Tool Update: This release supports tagging on AWS Well-Architected workloads.
1 parent bb31004 commit 85b77ca

File tree

2 files changed

+148
-1
lines changed

2 files changed

+148
-1
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": "AWS Well-Architected Tool",
4+
"contributor": "",
5+
"description": "This release supports tagging on AWS Well-Architected workloads."
6+
}

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

Lines changed: 142 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,20 @@
355355
],
356356
"documentation":"<p>List the workload invitations.</p>"
357357
},
358+
"ListTagsForResource":{
359+
"name":"ListTagsForResource",
360+
"http":{
361+
"method":"GET",
362+
"requestUri":"/tags/{WorkloadArn}"
363+
},
364+
"input":{"shape":"ListTagsForResourceInput"},
365+
"output":{"shape":"ListTagsForResourceOutput"},
366+
"errors":[
367+
{"shape":"InternalServerException"},
368+
{"shape":"ResourceNotFoundException"}
369+
],
370+
"documentation":"<p>List the tags for a resource.</p>"
371+
},
358372
"ListWorkloadShares":{
359373
"name":"ListWorkloadShares",
360374
"http":{
@@ -388,6 +402,34 @@
388402
],
389403
"documentation":"<p>List workloads. Paginated.</p>"
390404
},
405+
"TagResource":{
406+
"name":"TagResource",
407+
"http":{
408+
"method":"POST",
409+
"requestUri":"/tags/{WorkloadArn}"
410+
},
411+
"input":{"shape":"TagResourceInput"},
412+
"output":{"shape":"TagResourceOutput"},
413+
"errors":[
414+
{"shape":"InternalServerException"},
415+
{"shape":"ResourceNotFoundException"}
416+
],
417+
"documentation":"<p>Adds one or more tags to the specified resource.</p>"
418+
},
419+
"UntagResource":{
420+
"name":"UntagResource",
421+
"http":{
422+
"method":"DELETE",
423+
"requestUri":"/tags/{WorkloadArn}"
424+
},
425+
"input":{"shape":"UntagResourceInput"},
426+
"output":{"shape":"UntagResourceOutput"},
427+
"errors":[
428+
{"shape":"InternalServerException"},
429+
{"shape":"ResourceNotFoundException"}
430+
],
431+
"documentation":"<p>Deletes specified tags from a resource.</p>"
432+
},
391433
"UpdateAnswer":{
392434
"name":"UpdateAnswer",
393435
"http":{
@@ -404,7 +446,7 @@
404446
{"shape":"AccessDeniedException"},
405447
{"shape":"ThrottlingException"}
406448
],
407-
"documentation":"<p>Update the answer.</p>"
449+
"documentation":"<p>Update the answer to a specific question in a workload review.</p>"
408450
},
409451
"UpdateLensReview":{
410452
"name":"UpdateLensReview",
@@ -685,6 +727,10 @@
685727
"ClientRequestToken":{
686728
"shape":"ClientRequestToken",
687729
"idempotencyToken":true
730+
},
731+
"Tags":{
732+
"shape":"TagMap",
733+
"documentation":"<p>The tags to be associated with the workload.</p>"
688734
}
689735
},
690736
"documentation":"<p>Input for workload creation.</p>"
@@ -1433,6 +1479,26 @@
14331479
},
14341480
"documentation":"<p>Input for List Share Invitations</p>"
14351481
},
1482+
"ListTagsForResourceInput":{
1483+
"type":"structure",
1484+
"required":["WorkloadArn"],
1485+
"members":{
1486+
"WorkloadArn":{
1487+
"shape":"WorkloadArn",
1488+
"location":"uri",
1489+
"locationName":"WorkloadArn"
1490+
}
1491+
}
1492+
},
1493+
"ListTagsForResourceOutput":{
1494+
"type":"structure",
1495+
"members":{
1496+
"Tags":{
1497+
"shape":"TagMap",
1498+
"documentation":"<p>The tags for the resource.</p>"
1499+
}
1500+
}
1501+
},
14361502
"ListWorkloadSharesInput":{
14371503
"type":"structure",
14381504
"required":["WorkloadId"],
@@ -1804,6 +1870,52 @@
18041870
"type":"string",
18051871
"max":100
18061872
},
1873+
"TagKey":{
1874+
"type":"string",
1875+
"max":128,
1876+
"min":1
1877+
},
1878+
"TagKeyList":{
1879+
"type":"list",
1880+
"member":{"shape":"TagKey"},
1881+
"max":50,
1882+
"min":1
1883+
},
1884+
"TagMap":{
1885+
"type":"map",
1886+
"key":{"shape":"TagKey"},
1887+
"value":{"shape":"TagValue"},
1888+
"max":50,
1889+
"min":1
1890+
},
1891+
"TagResourceInput":{
1892+
"type":"structure",
1893+
"required":[
1894+
"WorkloadArn",
1895+
"Tags"
1896+
],
1897+
"members":{
1898+
"WorkloadArn":{
1899+
"shape":"WorkloadArn",
1900+
"location":"uri",
1901+
"locationName":"WorkloadArn"
1902+
},
1903+
"Tags":{
1904+
"shape":"TagMap",
1905+
"documentation":"<p>The tags for the resource.</p>"
1906+
}
1907+
}
1908+
},
1909+
"TagResourceOutput":{
1910+
"type":"structure",
1911+
"members":{
1912+
}
1913+
},
1914+
"TagValue":{
1915+
"type":"string",
1916+
"max":256,
1917+
"min":0
1918+
},
18071919
"ThrottlingException":{
18081920
"type":"structure",
18091921
"required":["Message"],
@@ -1820,6 +1932,31 @@
18201932
"type":"timestamp",
18211933
"documentation":"<p>The date and time recorded.</p>"
18221934
},
1935+
"UntagResourceInput":{
1936+
"type":"structure",
1937+
"required":[
1938+
"WorkloadArn",
1939+
"TagKeys"
1940+
],
1941+
"members":{
1942+
"WorkloadArn":{
1943+
"shape":"WorkloadArn",
1944+
"location":"uri",
1945+
"locationName":"WorkloadArn"
1946+
},
1947+
"TagKeys":{
1948+
"shape":"TagKeyList",
1949+
"documentation":"<p>The keys of the tags to be removed.</p>",
1950+
"location":"querystring",
1951+
"locationName":"tagKeys"
1952+
}
1953+
}
1954+
},
1955+
"UntagResourceOutput":{
1956+
"type":"structure",
1957+
"members":{
1958+
}
1959+
},
18231960
"UpdateAnswerInput":{
18241961
"type":"structure",
18251962
"required":[
@@ -2085,6 +2222,10 @@
20852222
"ShareInvitationId":{
20862223
"shape":"ShareInvitationId",
20872224
"documentation":"<p>The ID assigned to the share invitation.</p>"
2225+
},
2226+
"Tags":{
2227+
"shape":"TagMap",
2228+
"documentation":"<p>The tags associated with the workload.</p>"
20882229
}
20892230
},
20902231
"documentation":"<p>A workload return object.</p>"

0 commit comments

Comments
 (0)