Skip to content

Commit 4c98d50

Browse files
author
AWS
committed
AWS Well-Architected Tool Update: Adds support for lens tagging, Adds support for multiple helpful-resource urls and multiple improvement-plan urls.
1 parent fccb4f6 commit 4c98d50

File tree

2 files changed

+47
-5
lines changed

2 files changed

+47
-5
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": "Adds support for lens tagging, Adds support for multiple helpful-resource urls and multiple improvement-plan urls."
6+
}

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

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@
509509
{"shape":"InternalServerException"},
510510
{"shape":"ResourceNotFoundException"}
511511
],
512-
"documentation":"<p>List the tags for a resource.</p>"
512+
"documentation":"<p>List the tags for a resource.</p> <note> <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p> </note>"
513513
},
514514
"ListWorkloadShares":{
515515
"name":"ListWorkloadShares",
@@ -556,7 +556,7 @@
556556
{"shape":"InternalServerException"},
557557
{"shape":"ResourceNotFoundException"}
558558
],
559-
"documentation":"<p>Adds one or more tags to the specified resource.</p>"
559+
"documentation":"<p>Adds one or more tags to the specified resource.</p> <note> <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p> </note>"
560560
},
561561
"UntagResource":{
562562
"name":"UntagResource",
@@ -570,7 +570,7 @@
570570
{"shape":"InternalServerException"},
571571
{"shape":"ResourceNotFoundException"}
572572
],
573-
"documentation":"<p>Deletes specified tags from a resource.</p> <p>To specify multiple tags, use separate <b>tagKeys</b> parameters, for example:</p> <p> <code>DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2</code> </p>"
573+
"documentation":"<p>Deletes specified tags from a resource.</p> <note> <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p> </note> <p>To specify multiple tags, use separate <b>tagKeys</b> parameters, for example:</p> <p> <code>DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2</code> </p>"
574574
},
575575
"UpdateAnswer":{
576576
"name":"UpdateAnswer",
@@ -691,6 +691,31 @@
691691
"error":{"httpStatusCode":403},
692692
"exception":true
693693
},
694+
"AdditionalResourceType":{
695+
"type":"string",
696+
"enum":[
697+
"HELPFUL_RESOURCE",
698+
"IMPROVEMENT_PLAN"
699+
]
700+
},
701+
"AdditionalResources":{
702+
"type":"structure",
703+
"members":{
704+
"Type":{
705+
"shape":"AdditionalResourceType",
706+
"documentation":"<p>Type of additional resource.</p>"
707+
},
708+
"Content":{
709+
"shape":"Urls",
710+
"documentation":"<p>The URLs for additional resources, either helpful resources or improvement plans. Up to five additional URLs can be specified.</p>"
711+
}
712+
},
713+
"documentation":"<p>The choice level additional resources.</p>"
714+
},
715+
"AdditionalResourcesList":{
716+
"type":"list",
717+
"member":{"shape":"AdditionalResources"}
718+
},
694719
"Answer":{
695720
"type":"structure",
696721
"members":{
@@ -799,6 +824,10 @@
799824
"ImprovementPlan":{
800825
"shape":"ChoiceContent",
801826
"documentation":"<p>The choice level improvement plan.</p>"
827+
},
828+
"AdditionalResources":{
829+
"shape":"AdditionalResourcesList",
830+
"documentation":"<p>The additional resources for a choice. A choice can have up to two additional resources: one of type <code>HELPFUL_RESOURCE</code>, one of type <code>IMPROVEMENT_PLAN</code>, or both.</p>"
802831
}
803832
},
804833
"documentation":"<p>A choice available to answer question.</p>"
@@ -1080,7 +1109,6 @@
10801109
"WorkloadName",
10811110
"Description",
10821111
"Environment",
1083-
"ReviewOwner",
10841112
"Lenses",
10851113
"ClientRequestToken"
10861114
],
@@ -1660,13 +1688,17 @@
16601688
"ShareInvitationId":{
16611689
"shape":"ShareInvitationId",
16621690
"documentation":"<p>The ID assigned to the share invitation.</p>"
1691+
},
1692+
"Tags":{
1693+
"shape":"TagMap",
1694+
"documentation":"<p>The tags assigned to the lens.</p>"
16631695
}
16641696
},
16651697
"documentation":"<p>A lens return object.</p>"
16661698
},
16671699
"LensAlias":{
16681700
"type":"string",
1669-
"documentation":"<p>The alias of the lens, for example, <code>serverless</code>.</p> <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>",
1701+
"documentation":"<p>The alias of the lens.</p> <p>For Amazon Web Services official lenses, this is either the lens alias, such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p> <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p> <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>",
16701702
"max":128,
16711703
"min":1
16721704
},
@@ -2896,6 +2928,10 @@
28962928
"ClientRequestToken":{"shape":"ClientRequestToken"}
28972929
}
28982930
},
2931+
"Urls":{
2932+
"type":"list",
2933+
"member":{"shape":"ChoiceContent"}
2934+
},
28992935
"ValidationException":{
29002936
"type":"structure",
29012937
"required":["Message"],

0 commit comments

Comments
 (0)