WellArchitected / Client / update_review_template
update_review_template#
- WellArchitected.Client.update_review_template(**kwargs)#
Update a review template.
See also: AWS API Documentation
Request Syntax
response = client.update_review_template( TemplateArn='string', TemplateName='string', Description='string', Notes='string', LensesToAssociate=[ 'string', ], LensesToDisassociate=[ 'string', ] )
- Parameters:
TemplateArn (string) –
[REQUIRED]
The review template ARN.
TemplateName (string) – The review template name.
Description (string) – The review template description.
Notes (string) –
The notes associated with the workload.
For a review template, these are the notes that will be associated with the workload when the template is applied.
LensesToAssociate (list) –
A list of lens aliases or ARNs to apply to the review template.
(string) –
The alias of the lens.
For Amazon Web Services official lenses, this is either the lens alias, such as
serverless
, or the lens ARN, such asarn:aws:wellarchitected:us-east-1::lens/serverless
. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.For custom lenses, this is the lens ARN, such as
arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef
.Each lens is identified by its LensSummary$LensAlias.
LensesToDisassociate (list) –
A list of lens aliases or ARNs to unapply to the review template. The
wellarchitected
lens cannot be unapplied.(string) –
The alias of the lens.
For Amazon Web Services official lenses, this is either the lens alias, such as
serverless
, or the lens ARN, such asarn:aws:wellarchitected:us-east-1::lens/serverless
. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.For custom lenses, this is the lens ARN, such as
arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef
.Each lens is identified by its LensSummary$LensAlias.
- Return type:
dict
- Returns:
Response Syntax
{ 'ReviewTemplate': { 'Description': 'string', 'Lenses': [ 'string', ], 'Notes': 'string', 'QuestionCounts': { 'string': 123 }, 'Owner': 'string', 'UpdatedAt': datetime(2015, 1, 1), 'TemplateArn': 'string', 'TemplateName': 'string', 'Tags': { 'string': 'string' }, 'UpdateStatus': 'CURRENT'|'LENS_NOT_CURRENT', 'ShareInvitationId': 'string' } }
Response Structure
(dict) –
ReviewTemplate (dict) –
A review template.
Description (string) –
The review template description.
Lenses (list) –
The lenses applied to the review template.
(string) –
The alias of the lens.
For Amazon Web Services official lenses, this is either the lens alias, such as
serverless
, or the lens ARN, such asarn:aws:wellarchitected:us-east-1::lens/serverless
. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.For custom lenses, this is the lens ARN, such as
arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef
.Each lens is identified by its LensSummary$LensAlias.
Notes (string) –
The notes associated with the workload.
For a review template, these are the notes that will be associated with the workload when the template is applied.
QuestionCounts (dict) –
A count of how many total questions are answered and unanswered in the review template.
(string) –
(integer) –
A non-negative integer that denotes how many.
Owner (string) –
An Amazon Web Services account ID.
UpdatedAt (datetime) –
The date and time recorded.
TemplateArn (string) –
The review template ARN.
TemplateName (string) –
The name of the review template.
Tags (dict) –
The tags assigned to the review template.
(string) –
(string) –
UpdateStatus (string) –
The latest status of a review template.
ShareInvitationId (string) –
The ID assigned to the template share invitation.
Exceptions
WellArchitected.Client.exceptions.ValidationException
WellArchitected.Client.exceptions.ResourceNotFoundException
WellArchitected.Client.exceptions.ConflictException
WellArchitected.Client.exceptions.InternalServerException
WellArchitected.Client.exceptions.AccessDeniedException
WellArchitected.Client.exceptions.ThrottlingException