Skip to content

Commit a3dc08d

Browse files
AWS Well-Architected now supports Review Templates that allows you to create templates with pre-filled answers for Well-Architected and Custom Lens best practices.
1 parent fbdc1b8 commit a3dc08d

File tree

111 files changed

+22996
-2674
lines changed

Some content is hidden

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

111 files changed

+22996
-2674
lines changed

generator/ServiceModels/wellarchitected/wellarchitected-2020-03-31.api.json

Lines changed: 841 additions & 20 deletions
Large diffs are not rendered by default.

generator/ServiceModels/wellarchitected/wellarchitected-2020-03-31.docs.json

Lines changed: 454 additions & 36 deletions
Large diffs are not rendered by default.

generator/ServiceModels/wellarchitected/wellarchitected-2020-03-31.endpoint-rule-set.json

Lines changed: 154 additions & 190 deletions
Large diffs are not rendered by default.

generator/ServiceModels/wellarchitected/wellarchitected-2020-03-31.normal.json

Lines changed: 1060 additions & 19 deletions
Large diffs are not rendered by default.

generator/ServiceModels/wellarchitected/wellarchitected-2020-03-31.paginators.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,26 @@
6565
"output_token": "NextToken",
6666
"limit_key": "MaxResults"
6767
},
68+
"ListReviewTemplateAnswers": {
69+
"input_token": "NextToken",
70+
"output_token": "NextToken",
71+
"limit_key": "MaxResults"
72+
},
73+
"ListReviewTemplates": {
74+
"input_token": "NextToken",
75+
"output_token": "NextToken",
76+
"limit_key": "MaxResults"
77+
},
6878
"ListShareInvitations": {
6979
"input_token": "NextToken",
7080
"output_token": "NextToken",
7181
"limit_key": "MaxResults"
7282
},
83+
"ListTemplateShares": {
84+
"input_token": "NextToken",
85+
"output_token": "NextToken",
86+
"limit_key": "MaxResults"
87+
},
7388
"ListWorkloadShares": {
7489
"input_token": "NextToken",
7590
"output_token": "NextToken",

sdk/code-analysis/ServiceAnalysis/WellArchitected/Generated/PropertyValueRules.xml

Lines changed: 474 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
/*
17+
* Do not modify this file. This file is generated from the wellarchitected-2020-03-31.normal.json service model.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
using System.Xml.Serialization;
22+
using System.Text;
23+
using System.IO;
24+
using System.Net;
25+
26+
using Amazon.Runtime;
27+
using Amazon.Runtime.Internal;
28+
29+
namespace Amazon.WellArchitected.Model
30+
{
31+
/// <summary>
32+
/// Container for the parameters to the CreateReviewTemplate operation.
33+
/// Create a review template.
34+
///
35+
/// <note>
36+
/// <para>
37+
/// <b>Disclaimer</b>
38+
/// </para>
39+
///
40+
/// <para>
41+
/// Do not include or gather personal identifiable information (PII) of end users or other
42+
/// identifiable individuals in or via your review templates. If your review template
43+
/// or those shared with you and used in your account do include or collect PII you are
44+
/// responsible for: ensuring that the included PII is processed in accordance with applicable
45+
/// law, providing adequate privacy notices, and obtaining necessary consents for processing
46+
/// such data.
47+
/// </para>
48+
/// </note>
49+
/// </summary>
50+
public partial class CreateReviewTemplateRequest : AmazonWellArchitectedRequest
51+
{
52+
private string _clientRequestToken;
53+
private string _description;
54+
private List<string> _lenses = new List<string>();
55+
private string _notes;
56+
private Dictionary<string, string> _tags = new Dictionary<string, string>();
57+
private string _templateName;
58+
59+
/// <summary>
60+
/// Gets and sets the property ClientRequestToken.
61+
/// </summary>
62+
[AWSProperty(Min=1, Max=2048)]
63+
public string ClientRequestToken
64+
{
65+
get { return this._clientRequestToken; }
66+
set { this._clientRequestToken = value; }
67+
}
68+
69+
// Check to see if ClientRequestToken property is set
70+
internal bool IsSetClientRequestToken()
71+
{
72+
return this._clientRequestToken != null;
73+
}
74+
75+
/// <summary>
76+
/// Gets and sets the property Description.
77+
/// <para>
78+
/// The review template description.
79+
/// </para>
80+
/// </summary>
81+
[AWSProperty(Required=true, Min=3, Max=250)]
82+
public string Description
83+
{
84+
get { return this._description; }
85+
set { this._description = value; }
86+
}
87+
88+
// Check to see if Description property is set
89+
internal bool IsSetDescription()
90+
{
91+
return this._description != null;
92+
}
93+
94+
/// <summary>
95+
/// Gets and sets the property Lenses.
96+
/// <para>
97+
/// Lenses applied to the review template.
98+
/// </para>
99+
/// </summary>
100+
[AWSProperty(Required=true)]
101+
public List<string> Lenses
102+
{
103+
get { return this._lenses; }
104+
set { this._lenses = value; }
105+
}
106+
107+
// Check to see if Lenses property is set
108+
internal bool IsSetLenses()
109+
{
110+
return this._lenses != null && this._lenses.Count > 0;
111+
}
112+
113+
/// <summary>
114+
/// Gets and sets the property Notes.
115+
/// </summary>
116+
[AWSProperty(Max=2084)]
117+
public string Notes
118+
{
119+
get { return this._notes; }
120+
set { this._notes = value; }
121+
}
122+
123+
// Check to see if Notes property is set
124+
internal bool IsSetNotes()
125+
{
126+
return this._notes != null;
127+
}
128+
129+
/// <summary>
130+
/// Gets and sets the property Tags.
131+
/// <para>
132+
/// The tags assigned to the review template.
133+
/// </para>
134+
/// </summary>
135+
[AWSProperty(Min=1, Max=50)]
136+
public Dictionary<string, string> Tags
137+
{
138+
get { return this._tags; }
139+
set { this._tags = value; }
140+
}
141+
142+
// Check to see if Tags property is set
143+
internal bool IsSetTags()
144+
{
145+
return this._tags != null && this._tags.Count > 0;
146+
}
147+
148+
/// <summary>
149+
/// Gets and sets the property TemplateName.
150+
/// <para>
151+
/// Name of the review template.
152+
/// </para>
153+
/// </summary>
154+
[AWSProperty(Required=true, Min=3, Max=100)]
155+
public string TemplateName
156+
{
157+
get { return this._templateName; }
158+
set { this._templateName = value; }
159+
}
160+
161+
// Check to see if TemplateName property is set
162+
internal bool IsSetTemplateName()
163+
{
164+
return this._templateName != null;
165+
}
166+
167+
}
168+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
/*
17+
* Do not modify this file. This file is generated from the wellarchitected-2020-03-31.normal.json service model.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
using System.Xml.Serialization;
22+
using System.Text;
23+
using System.IO;
24+
using System.Net;
25+
26+
using Amazon.Runtime;
27+
using Amazon.Runtime.Internal;
28+
29+
namespace Amazon.WellArchitected.Model
30+
{
31+
/// <summary>
32+
/// This is the response object from the CreateReviewTemplate operation.
33+
/// </summary>
34+
public partial class CreateReviewTemplateResponse : AmazonWebServiceResponse
35+
{
36+
private string _templateArn;
37+
38+
/// <summary>
39+
/// Gets and sets the property TemplateArn.
40+
/// <para>
41+
/// The review template ARN.
42+
/// </para>
43+
/// </summary>
44+
[AWSProperty(Min=50, Max=250)]
45+
public string TemplateArn
46+
{
47+
get { return this._templateArn; }
48+
set { this._templateArn = value; }
49+
}
50+
51+
// Check to see if TemplateArn property is set
52+
internal bool IsSetTemplateArn()
53+
{
54+
return this._templateArn != null;
55+
}
56+
57+
}
58+
}
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
/*
17+
* Do not modify this file. This file is generated from the wellarchitected-2020-03-31.normal.json service model.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
using System.Xml.Serialization;
22+
using System.Text;
23+
using System.IO;
24+
using System.Net;
25+
26+
using Amazon.Runtime;
27+
using Amazon.Runtime.Internal;
28+
29+
namespace Amazon.WellArchitected.Model
30+
{
31+
/// <summary>
32+
/// Container for the parameters to the CreateTemplateShare operation.
33+
/// Create a review template share.
34+
///
35+
///
36+
/// <para>
37+
/// The owner of a review template can share it with other Amazon Web Services accounts,
38+
/// users, an organization, and organizational units (OUs) in the same Amazon Web Services
39+
/// Region.
40+
/// </para>
41+
///
42+
/// <para>
43+
/// Shared access to a review template is not removed until the review template share
44+
/// invitation is deleted.
45+
/// </para>
46+
///
47+
/// <para>
48+
/// If you share a review template with an organization or OU, all accounts in the organization
49+
/// or OU are granted access to the review template.
50+
/// </para>
51+
/// <note>
52+
/// <para>
53+
/// <b>Disclaimer</b>
54+
/// </para>
55+
///
56+
/// <para>
57+
/// By sharing your review template with other Amazon Web Services accounts, you acknowledge
58+
/// that Amazon Web Services will make your review template available to those other accounts.
59+
/// </para>
60+
/// </note>
61+
/// </summary>
62+
public partial class CreateTemplateShareRequest : AmazonWellArchitectedRequest
63+
{
64+
private string _clientRequestToken;
65+
private string _sharedWith;
66+
private string _templateArn;
67+
68+
/// <summary>
69+
/// Gets and sets the property ClientRequestToken.
70+
/// </summary>
71+
[AWSProperty(Min=1, Max=2048)]
72+
public string ClientRequestToken
73+
{
74+
get { return this._clientRequestToken; }
75+
set { this._clientRequestToken = value; }
76+
}
77+
78+
// Check to see if ClientRequestToken property is set
79+
internal bool IsSetClientRequestToken()
80+
{
81+
return this._clientRequestToken != null;
82+
}
83+
84+
/// <summary>
85+
/// Gets and sets the property SharedWith.
86+
/// </summary>
87+
[AWSProperty(Required=true, Min=12, Max=2048)]
88+
public string SharedWith
89+
{
90+
get { return this._sharedWith; }
91+
set { this._sharedWith = value; }
92+
}
93+
94+
// Check to see if SharedWith property is set
95+
internal bool IsSetSharedWith()
96+
{
97+
return this._sharedWith != null;
98+
}
99+
100+
/// <summary>
101+
/// Gets and sets the property TemplateArn.
102+
/// <para>
103+
/// The review template ARN.
104+
/// </para>
105+
/// </summary>
106+
[AWSProperty(Required=true, Min=50, Max=250)]
107+
public string TemplateArn
108+
{
109+
get { return this._templateArn; }
110+
set { this._templateArn = value; }
111+
}
112+
113+
// Check to see if TemplateArn property is set
114+
internal bool IsSetTemplateArn()
115+
{
116+
return this._templateArn != null;
117+
}
118+
119+
}
120+
}

0 commit comments

Comments
 (0)