2023/06/13 - AWS Well-Architected Tool - 13 new13 updated api methods
Changes AWS Well-Architected now supports Profiles that help customers prioritize which questions to focus on first by providing a list of prioritized questions that are better aligned with their business goals and outcomes.
Delete a profile.
See also: AWS API Documentation
Request Syntax
client.delete_profile( ProfileArn='string', ClientRequestToken='string' )
string
[REQUIRED]
The profile ARN.
string
[REQUIRED]
A unique case-sensitive string used to ensure that this request is idempotent (executes only once).
You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.
This field is autopopulated if not provided.
None
List profile notifications.
See also: AWS API Documentation
Request Syntax
client.list_profile_notifications( WorkloadId='string', NextToken='string', MaxResults=123 )
string
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
string
The token to use to retrieve the next set of results.
integer
The maximum number of results to return for this request.
dict
Response Syntax
{ 'NotificationSummaries': [ { 'CurrentProfileVersion': 'string', 'LatestProfileVersion': 'string', 'Type': 'PROFILE_ANSWERS_UPDATED'|'PROFILE_DELETED', 'ProfileArn': 'string', 'ProfileName': 'string', 'WorkloadId': 'string', 'WorkloadName': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) --
NotificationSummaries (list) --
Notification summaries.
(dict) --
The profile notification summary.
CurrentProfileVersion (string) --
The current profile version.
LatestProfileVersion (string) --
The latest profile version.
Type (string) --
Type of notification.
ProfileArn (string) --
The profile ARN.
ProfileName (string) --
The profile name.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
WorkloadName (string) --
The name of the workload.
The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.
NextToken (string) --
The token to use to retrieve the next set of results.
Get profile information.
See also: AWS API Documentation
Request Syntax
client.get_profile( ProfileArn='string', ProfileVersion='string' )
string
[REQUIRED]
The profile ARN.
string
The profile version.
dict
Response Syntax
{ 'Profile': { 'ProfileArn': 'string', 'ProfileVersion': 'string', 'ProfileName': 'string', 'ProfileDescription': 'string', 'ProfileQuestions': [ { 'QuestionId': 'string', 'QuestionTitle': 'string', 'QuestionDescription': 'string', 'QuestionChoices': [ { 'ChoiceId': 'string', 'ChoiceTitle': 'string', 'ChoiceDescription': 'string' }, ], 'SelectedChoiceIds': [ 'string', ], 'MinSelectedChoices': 123, 'MaxSelectedChoices': 123 }, ], 'Owner': 'string', 'CreatedAt': datetime(2015, 1, 1), 'UpdatedAt': datetime(2015, 1, 1), 'ShareInvitationId': 'string', 'Tags': { 'string': 'string' } } }
Response Structure
(dict) --
Profile (dict) --
The profile.
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
The profile version.
ProfileName (string) --
The profile name.
ProfileDescription (string) --
The profile description.
ProfileQuestions (list) --
Profile questions.
(dict) --
A profile question.
QuestionId (string) --
The ID of the question.
QuestionTitle (string) --
The title of the question.
QuestionDescription (string) --
The description of the question.
QuestionChoices (list) --
The question choices.
(dict) --
The profile choice.
ChoiceId (string) --
The ID of a choice.
ChoiceTitle (string) --
The title of a choice.
ChoiceDescription (string) --
The description of a choice.
SelectedChoiceIds (list) --
The selected choices.
(string) --
The ID of a choice.
MinSelectedChoices (integer) --
The minimum number of selected choices.
MaxSelectedChoices (integer) --
The maximum number of selected choices.
Owner (string) --
An Amazon Web Services account ID.
CreatedAt (datetime) --
The date and time recorded.
UpdatedAt (datetime) --
The date and time recorded.
ShareInvitationId (string) --
The ID assigned to the share invitation.
Tags (dict) --
The tags assigned to the profile.
(string) --
(string) --
Upgrade a profile.
See also: AWS API Documentation
Request Syntax
client.upgrade_profile_version( WorkloadId='string', ProfileArn='string', MilestoneName='string', ClientRequestToken='string' )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
string
[REQUIRED]
The profile ARN.
string
The name of the milestone in a workload.
Milestone names must be unique within a workload.
string
A unique case-sensitive string used to ensure that this request is idempotent (executes only once).
You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.
This field is autopopulated if not provided.
None
List profiles.
See also: AWS API Documentation
Request Syntax
client.list_profiles( ProfileNamePrefix='string', ProfileOwnerType='SELF'|'SHARED', NextToken='string', MaxResults=123 )
string
Prefix for profile name.
string
Profile owner type.
string
The token to use to retrieve the next set of results.
integer
The maximum number of results to return for this request.
dict
Response Syntax
{ 'ProfileSummaries': [ { 'ProfileArn': 'string', 'ProfileVersion': 'string', 'ProfileName': 'string', 'ProfileDescription': 'string', 'Owner': 'string', 'CreatedAt': datetime(2015, 1, 1), 'UpdatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) --
ProfileSummaries (list) --
Profile summaries.
(dict) --
Summary of a profile.
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
The profile version.
ProfileName (string) --
The profile name.
ProfileDescription (string) --
The profile description.
Owner (string) --
An Amazon Web Services account ID.
CreatedAt (datetime) --
The date and time recorded.
UpdatedAt (datetime) --
The date and time recorded.
NextToken (string) --
The token to use to retrieve the next set of results.
Create a profile.
See also: AWS API Documentation
Request Syntax
client.create_profile( ProfileName='string', ProfileDescription='string', ProfileQuestions=[ { 'QuestionId': 'string', 'SelectedChoiceIds': [ 'string', ] }, ], ClientRequestToken='string', Tags={ 'string': 'string' } )
string
[REQUIRED]
Name of the profile.
string
[REQUIRED]
The profile description.
list
[REQUIRED]
The profile questions.
(dict) --
An update to a profile question.
QuestionId (string) --
The ID of the question.
SelectedChoiceIds (list) --
The selected choices.
(string) --
The ID of a choice.
string
[REQUIRED]
A unique case-sensitive string used to ensure that this request is idempotent (executes only once).
You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.
This field is autopopulated if not provided.
dict
The tags assigned to the profile.
(string) --
(string) --
dict
Response Syntax
{ 'ProfileArn': 'string', 'ProfileVersion': 'string' }
Response Structure
(dict) --
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
Version of the profile.
Associate a profile with a workload.
See also: AWS API Documentation
Request Syntax
client.associate_profiles( WorkloadId='string', ProfileArns=[ 'string', ] )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
list
[REQUIRED]
The list of profile ARNs to associate with the workload.
(string) --
None
Disassociate a profile from a workload.
See also: AWS API Documentation
Request Syntax
client.disassociate_profiles( WorkloadId='string', ProfileArns=[ 'string', ] )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
list
[REQUIRED]
The list of profile ARNs to disassociate from the workload.
(string) --
None
Update a profile.
See also: AWS API Documentation
Request Syntax
client.update_profile( ProfileArn='string', ProfileDescription='string', ProfileQuestions=[ { 'QuestionId': 'string', 'SelectedChoiceIds': [ 'string', ] }, ] )
string
[REQUIRED]
The profile ARN.
string
The profile description.
list
Profile questions.
(dict) --
An update to a profile question.
QuestionId (string) --
The ID of the question.
SelectedChoiceIds (list) --
The selected choices.
(string) --
The ID of a choice.
dict
Response Syntax
{ 'Profile': { 'ProfileArn': 'string', 'ProfileVersion': 'string', 'ProfileName': 'string', 'ProfileDescription': 'string', 'ProfileQuestions': [ { 'QuestionId': 'string', 'QuestionTitle': 'string', 'QuestionDescription': 'string', 'QuestionChoices': [ { 'ChoiceId': 'string', 'ChoiceTitle': 'string', 'ChoiceDescription': 'string' }, ], 'SelectedChoiceIds': [ 'string', ], 'MinSelectedChoices': 123, 'MaxSelectedChoices': 123 }, ], 'Owner': 'string', 'CreatedAt': datetime(2015, 1, 1), 'UpdatedAt': datetime(2015, 1, 1), 'ShareInvitationId': 'string', 'Tags': { 'string': 'string' } } }
Response Structure
(dict) --
Profile (dict) --
The profile.
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
The profile version.
ProfileName (string) --
The profile name.
ProfileDescription (string) --
The profile description.
ProfileQuestions (list) --
Profile questions.
(dict) --
A profile question.
QuestionId (string) --
The ID of the question.
QuestionTitle (string) --
The title of the question.
QuestionDescription (string) --
The description of the question.
QuestionChoices (list) --
The question choices.
(dict) --
The profile choice.
ChoiceId (string) --
The ID of a choice.
ChoiceTitle (string) --
The title of a choice.
ChoiceDescription (string) --
The description of a choice.
SelectedChoiceIds (list) --
The selected choices.
(string) --
The ID of a choice.
MinSelectedChoices (integer) --
The minimum number of selected choices.
MaxSelectedChoices (integer) --
The maximum number of selected choices.
Owner (string) --
An Amazon Web Services account ID.
CreatedAt (datetime) --
The date and time recorded.
UpdatedAt (datetime) --
The date and time recorded.
ShareInvitationId (string) --
The ID assigned to the share invitation.
Tags (dict) --
The tags assigned to the profile.
(string) --
(string) --
Get profile template.
See also: AWS API Documentation
Request Syntax
client.get_profile_template()
dict
Response Syntax
{ 'ProfileTemplate': { 'TemplateName': 'string', 'TemplateQuestions': [ { 'QuestionId': 'string', 'QuestionTitle': 'string', 'QuestionDescription': 'string', 'QuestionChoices': [ { 'ChoiceId': 'string', 'ChoiceTitle': 'string', 'ChoiceDescription': 'string' }, ], 'MinSelectedChoices': 123, 'MaxSelectedChoices': 123 }, ], 'CreatedAt': datetime(2015, 1, 1), 'UpdatedAt': datetime(2015, 1, 1) } }
Response Structure
(dict) --
ProfileTemplate (dict) --
The profile template.
TemplateName (string) --
The name of the profile template.
TemplateQuestions (list) --
Profile template questions.
(dict) --
A profile template question.
QuestionId (string) --
The ID of the question.
QuestionTitle (string) --
The title of the question.
QuestionDescription (string) --
The description of the question.
QuestionChoices (list) --
The question choices.
(dict) --
A profile template choice.
ChoiceId (string) --
The ID of a choice.
ChoiceTitle (string) --
The title of a choice.
ChoiceDescription (string) --
The description of a choice.
MinSelectedChoices (integer) --
The minimum number of choices selected.
MaxSelectedChoices (integer) --
The maximum number of choices selected.
CreatedAt (datetime) --
The date and time recorded.
UpdatedAt (datetime) --
The date and time recorded.
{'ProfileArns': ['string']}
Create a new workload.
The owner of a workload can share the workload with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Only the owner of a workload can delete it.
For more information, see Defining a Workload in the Well-Architected Tool User Guide.
See also: AWS API Documentation
Request Syntax
client.create_workload( WorkloadName='string', Description='string', Environment='PRODUCTION'|'PREPRODUCTION', AccountIds=[ 'string', ], AwsRegions=[ 'string', ], NonAwsRegions=[ 'string', ], PillarPriorities=[ 'string', ], ArchitecturalDesign='string', ReviewOwner='string', IndustryType='string', Industry='string', Lenses=[ 'string', ], Notes='string', ClientRequestToken='string', Tags={ 'string': 'string' }, DiscoveryConfig={ 'TrustedAdvisorIntegrationStatus': 'ENABLED'|'DISABLED', 'WorkloadResourceDefinition': [ 'WORKLOAD_METADATA'|'APP_REGISTRY', ] }, Applications=[ 'string', ], ProfileArns=[ 'string', ] )
string
[REQUIRED]
The name of the workload.
The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.
string
[REQUIRED]
The description for the workload.
string
[REQUIRED]
The environment for the workload.
list
The list of Amazon Web Services account IDs associated with the workload.
(string) --
An Amazon Web Services account ID.
list
The list of Amazon Web Services Regions associated with the workload, for example, us-east-2, or ca-central-1.
(string) --
An Amazon Web Services Region, for example, us-west-2 or ap-northeast-1.
list
The list of non-Amazon Web Services Regions associated with the workload.
(string) --
list
The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its PillarReviewSummary$PillarId.
(string) --
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
string
The URL of the architectural design for the workload.
string
The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.
string
The industry type for the workload.
If specified, must be one of the following:
Agriculture
Automobile
Defense
Design and Engineering
Digital Advertising
Education
Environmental Protection
Financial Services
Gaming
General Public Services
Healthcare
Hospitality
InfoTech
Justice and Public Safety
Life Sciences
Manufacturing
Media & Entertainment
Mining & Resources
Oil & Gas
Power & Utilities
Professional Services
Real Estate & Construction
Retail & Wholesale
Social Protection
Telecommunications
Travel, Transportation & Logistics
Other
string
The industry for the workload.
list
[REQUIRED]
The list of lenses associated with the workload. Each lens is identified by its LensSummary$LensAlias.
(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 as arn: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.
string
The notes associated with the workload.
string
[REQUIRED]
A unique case-sensitive string used to ensure that this request is idempotent (executes only once).
You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.
This field is autopopulated if not provided.
dict
The tags to be associated with the workload.
(string) --
(string) --
dict
Well-Architected discovery configuration settings associated to the workload.
TrustedAdvisorIntegrationStatus (string) --
Discovery integration status in respect to Trusted Advisor for the workload.
WorkloadResourceDefinition (list) --
The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
(string) --
list
List of AppRegistry application ARNs associated to the workload.
(string) --
list
The list of profile ARNs associated with the workload.
(string) --
dict
Response Syntax
{ 'WorkloadId': 'string', 'WorkloadArn': 'string' }
Response Structure
(dict) --
Output of a create workload call.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
WorkloadArn (string) --
The ARN for the workload.
{'LensReview': {'PillarReviewSummaries': {'PrioritizedRiskCounts': {'UNANSWERED | HIGH | MEDIUM | NONE | NOT_APPLICABLE': 'integer'}}, 'PrioritizedRiskCounts': {'UNANSWERED | HIGH | MEDIUM | NONE | NOT_APPLICABLE': 'integer'}, 'Profiles': [{'ProfileArn': 'string', 'ProfileVersion': 'string'}]}}
Get lens review.
See also: AWS API Documentation
Request Syntax
client.get_lens_review( WorkloadId='string', LensAlias='string', MilestoneNumber=123 )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
string
[REQUIRED]
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 as arn: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.
integer
The milestone number.
A workload can have a maximum of 100 milestones.
dict
Response Syntax
{ 'WorkloadId': 'string', 'MilestoneNumber': 123, 'LensReview': { 'LensAlias': 'string', 'LensArn': 'string', 'LensVersion': 'string', 'LensName': 'string', 'LensStatus': 'CURRENT'|'NOT_CURRENT'|'DEPRECATED'|'DELETED'|'UNSHARED', 'PillarReviewSummaries': [ { 'PillarId': 'string', 'PillarName': 'string', 'Notes': 'string', 'RiskCounts': { 'string': 123 }, 'PrioritizedRiskCounts': { 'string': 123 } }, ], 'UpdatedAt': datetime(2015, 1, 1), 'Notes': 'string', 'RiskCounts': { 'string': 123 }, 'NextToken': 'string', 'Profiles': [ { 'ProfileArn': 'string', 'ProfileVersion': 'string' }, ], 'PrioritizedRiskCounts': { 'string': 123 } } }
Response Structure
(dict) --
Output of a get lens review call.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
MilestoneNumber (integer) --
The milestone number.
A workload can have a maximum of 100 milestones.
LensReview (dict) --
A lens review of a question.
LensAlias (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 as arn: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.
LensArn (string) --
The ARN for the lens.
LensVersion (string) --
The version of the lens.
LensName (string) --
The full name of the lens.
LensStatus (string) --
The status of the lens.
PillarReviewSummaries (list) --
List of pillar review summaries of lens review in a workload.
(dict) --
A pillar review summary of a lens review.
PillarId (string) --
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
PillarName (string) --
The name of the pillar.
Notes (string) --
The notes associated with the workload.
RiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
PrioritizedRiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
UpdatedAt (datetime) --
The date and time recorded.
Notes (string) --
The notes associated with the workload.
RiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
NextToken (string) --
The token to use to retrieve the next set of results.
Profiles (list) --
The profiles associated with the workload.
(dict) --
The profile associated with a workload.
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
The profile version.
PrioritizedRiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
{'Milestone': {'Workload': {'PrioritizedRiskCounts': {'UNANSWERED | HIGH | MEDIUM | NONE | NOT_APPLICABLE': 'integer'}, 'Profiles': [{'ProfileArn': 'string', 'ProfileVersion': 'string'}]}}}
Get a milestone for an existing workload.
See also: AWS API Documentation
Request Syntax
client.get_milestone( WorkloadId='string', MilestoneNumber=123 )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
integer
[REQUIRED]
The milestone number.
A workload can have a maximum of 100 milestones.
dict
Response Syntax
{ 'WorkloadId': 'string', 'Milestone': { 'MilestoneNumber': 123, 'MilestoneName': 'string', 'RecordedAt': datetime(2015, 1, 1), 'Workload': { 'WorkloadId': 'string', 'WorkloadArn': 'string', 'WorkloadName': 'string', 'Description': 'string', 'Environment': 'PRODUCTION'|'PREPRODUCTION', 'UpdatedAt': datetime(2015, 1, 1), 'AccountIds': [ 'string', ], 'AwsRegions': [ 'string', ], 'NonAwsRegions': [ 'string', ], 'ArchitecturalDesign': 'string', 'ReviewOwner': 'string', 'ReviewRestrictionDate': datetime(2015, 1, 1), 'IsReviewOwnerUpdateAcknowledged': True|False, 'IndustryType': 'string', 'Industry': 'string', 'Notes': 'string', 'ImprovementStatus': 'NOT_APPLICABLE'|'NOT_STARTED'|'IN_PROGRESS'|'COMPLETE'|'RISK_ACKNOWLEDGED', 'RiskCounts': { 'string': 123 }, 'PillarPriorities': [ 'string', ], 'Lenses': [ 'string', ], 'Owner': 'string', 'ShareInvitationId': 'string', 'Tags': { 'string': 'string' }, 'DiscoveryConfig': { 'TrustedAdvisorIntegrationStatus': 'ENABLED'|'DISABLED', 'WorkloadResourceDefinition': [ 'WORKLOAD_METADATA'|'APP_REGISTRY', ] }, 'Applications': [ 'string', ], 'Profiles': [ { 'ProfileArn': 'string', 'ProfileVersion': 'string' }, ], 'PrioritizedRiskCounts': { 'string': 123 } } } }
Response Structure
(dict) --
Output of a get milestone call.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
Milestone (dict) --
A milestone return object.
MilestoneNumber (integer) --
The milestone number.
A workload can have a maximum of 100 milestones.
MilestoneName (string) --
The name of the milestone in a workload.
Milestone names must be unique within a workload.
RecordedAt (datetime) --
The date and time recorded.
Workload (dict) --
A workload return object.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
WorkloadArn (string) --
The ARN for the workload.
WorkloadName (string) --
The name of the workload.
The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.
Description (string) --
The description for the workload.
Environment (string) --
The environment for the workload.
UpdatedAt (datetime) --
The date and time recorded.
AccountIds (list) --
The list of Amazon Web Services account IDs associated with the workload.
(string) --
An Amazon Web Services account ID.
AwsRegions (list) --
The list of Amazon Web Services Regions associated with the workload, for example, us-east-2, or ca-central-1.
(string) --
An Amazon Web Services Region, for example, us-west-2 or ap-northeast-1.
NonAwsRegions (list) --
The list of non-Amazon Web Services Regions associated with the workload.
(string) --
ArchitecturalDesign (string) --
The URL of the architectural design for the workload.
ReviewOwner (string) --
The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.
ReviewRestrictionDate (datetime) --
The date and time recorded.
IsReviewOwnerUpdateAcknowledged (boolean) --
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
IndustryType (string) --
The industry type for the workload.
If specified, must be one of the following:
Agriculture
Automobile
Defense
Design and Engineering
Digital Advertising
Education
Environmental Protection
Financial Services
Gaming
General Public Services
Healthcare
Hospitality
InfoTech
Justice and Public Safety
Life Sciences
Manufacturing
Media & Entertainment
Mining & Resources
Oil & Gas
Power & Utilities
Professional Services
Real Estate & Construction
Retail & Wholesale
Social Protection
Telecommunications
Travel, Transportation & Logistics
Other
Industry (string) --
The industry for the workload.
Notes (string) --
The notes associated with the workload.
ImprovementStatus (string) --
The improvement status for a workload.
RiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
PillarPriorities (list) --
The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its PillarReviewSummary$PillarId.
(string) --
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
Lenses (list) --
The list of lenses associated with the workload. Each lens is identified by its LensSummary$LensAlias.
(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 as arn: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.
Owner (string) --
An Amazon Web Services account ID.
ShareInvitationId (string) --
The ID assigned to the share invitation.
Tags (dict) --
The tags associated with the workload.
(string) --
(string) --
DiscoveryConfig (dict) --
Discovery configuration associated to the workload.
TrustedAdvisorIntegrationStatus (string) --
Discovery integration status in respect to Trusted Advisor for the workload.
WorkloadResourceDefinition (list) --
The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
(string) --
Applications (list) --
List of AppRegistry application ARNs associated to the workload.
(string) --
Profiles (list) --
Profile associated with a workload.
(dict) --
The profile associated with a workload.
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
The profile version.
PrioritizedRiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
{'Workload': {'PrioritizedRiskCounts': {'UNANSWERED | HIGH | MEDIUM | NONE | NOT_APPLICABLE': 'integer'}, 'Profiles': [{'ProfileArn': 'string', 'ProfileVersion': 'string'}]}}
Get an existing workload.
See also: AWS API Documentation
Request Syntax
client.get_workload( WorkloadId='string' )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
dict
Response Syntax
{ 'Workload': { 'WorkloadId': 'string', 'WorkloadArn': 'string', 'WorkloadName': 'string', 'Description': 'string', 'Environment': 'PRODUCTION'|'PREPRODUCTION', 'UpdatedAt': datetime(2015, 1, 1), 'AccountIds': [ 'string', ], 'AwsRegions': [ 'string', ], 'NonAwsRegions': [ 'string', ], 'ArchitecturalDesign': 'string', 'ReviewOwner': 'string', 'ReviewRestrictionDate': datetime(2015, 1, 1), 'IsReviewOwnerUpdateAcknowledged': True|False, 'IndustryType': 'string', 'Industry': 'string', 'Notes': 'string', 'ImprovementStatus': 'NOT_APPLICABLE'|'NOT_STARTED'|'IN_PROGRESS'|'COMPLETE'|'RISK_ACKNOWLEDGED', 'RiskCounts': { 'string': 123 }, 'PillarPriorities': [ 'string', ], 'Lenses': [ 'string', ], 'Owner': 'string', 'ShareInvitationId': 'string', 'Tags': { 'string': 'string' }, 'DiscoveryConfig': { 'TrustedAdvisorIntegrationStatus': 'ENABLED'|'DISABLED', 'WorkloadResourceDefinition': [ 'WORKLOAD_METADATA'|'APP_REGISTRY', ] }, 'Applications': [ 'string', ], 'Profiles': [ { 'ProfileArn': 'string', 'ProfileVersion': 'string' }, ], 'PrioritizedRiskCounts': { 'string': 123 } } }
Response Structure
(dict) --
Output of a get workload call.
Workload (dict) --
A workload return object.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
WorkloadArn (string) --
The ARN for the workload.
WorkloadName (string) --
The name of the workload.
The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.
Description (string) --
The description for the workload.
Environment (string) --
The environment for the workload.
UpdatedAt (datetime) --
The date and time recorded.
AccountIds (list) --
The list of Amazon Web Services account IDs associated with the workload.
(string) --
An Amazon Web Services account ID.
AwsRegions (list) --
The list of Amazon Web Services Regions associated with the workload, for example, us-east-2, or ca-central-1.
(string) --
An Amazon Web Services Region, for example, us-west-2 or ap-northeast-1.
NonAwsRegions (list) --
The list of non-Amazon Web Services Regions associated with the workload.
(string) --
ArchitecturalDesign (string) --
The URL of the architectural design for the workload.
ReviewOwner (string) --
The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.
ReviewRestrictionDate (datetime) --
The date and time recorded.
IsReviewOwnerUpdateAcknowledged (boolean) --
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
IndustryType (string) --
The industry type for the workload.
If specified, must be one of the following:
Agriculture
Automobile
Defense
Design and Engineering
Digital Advertising
Education
Environmental Protection
Financial Services
Gaming
General Public Services
Healthcare
Hospitality
InfoTech
Justice and Public Safety
Life Sciences
Manufacturing
Media & Entertainment
Mining & Resources
Oil & Gas
Power & Utilities
Professional Services
Real Estate & Construction
Retail & Wholesale
Social Protection
Telecommunications
Travel, Transportation & Logistics
Other
Industry (string) --
The industry for the workload.
Notes (string) --
The notes associated with the workload.
ImprovementStatus (string) --
The improvement status for a workload.
RiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
PillarPriorities (list) --
The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its PillarReviewSummary$PillarId.
(string) --
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
Lenses (list) --
The list of lenses associated with the workload. Each lens is identified by its LensSummary$LensAlias.
(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 as arn: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.
Owner (string) --
An Amazon Web Services account ID.
ShareInvitationId (string) --
The ID assigned to the share invitation.
Tags (dict) --
The tags associated with the workload.
(string) --
(string) --
DiscoveryConfig (dict) --
Discovery configuration associated to the workload.
TrustedAdvisorIntegrationStatus (string) --
Discovery integration status in respect to Trusted Advisor for the workload.
WorkloadResourceDefinition (list) --
The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
(string) --
Applications (list) --
List of AppRegistry application ARNs associated to the workload.
(string) --
Profiles (list) --
Profile associated with a workload.
(dict) --
The profile associated with a workload.
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
The profile version.
PrioritizedRiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
{'QuestionPriority': 'PRIORITIZED | NONE'}Response
{'AnswerSummaries': {'QuestionType': 'PRIORITIZED | NON_PRIORITIZED'}}
List of answers for a particular workload and lens.
See also: AWS API Documentation
Request Syntax
client.list_answers( WorkloadId='string', LensAlias='string', PillarId='string', MilestoneNumber=123, NextToken='string', MaxResults=123, QuestionPriority='PRIORITIZED'|'NONE' )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
string
[REQUIRED]
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 as arn: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.
string
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
integer
The milestone number.
A workload can have a maximum of 100 milestones.
string
The token to use to retrieve the next set of results.
integer
The maximum number of results to return for this request.
string
The priority of the question.
dict
Response Syntax
{ 'WorkloadId': 'string', 'MilestoneNumber': 123, 'LensAlias': 'string', 'LensArn': 'string', 'AnswerSummaries': [ { 'QuestionId': 'string', 'PillarId': 'string', 'QuestionTitle': 'string', 'Choices': [ { 'ChoiceId': 'string', 'Title': 'string', 'Description': 'string', 'HelpfulResource': { 'DisplayText': 'string', 'Url': 'string' }, 'ImprovementPlan': { 'DisplayText': 'string', 'Url': 'string' }, 'AdditionalResources': [ { 'Type': 'HELPFUL_RESOURCE'|'IMPROVEMENT_PLAN', 'Content': [ { 'DisplayText': 'string', 'Url': 'string' }, ] }, ] }, ], 'SelectedChoices': [ 'string', ], 'ChoiceAnswerSummaries': [ { 'ChoiceId': 'string', 'Status': 'SELECTED'|'NOT_APPLICABLE'|'UNSELECTED', 'Reason': 'OUT_OF_SCOPE'|'BUSINESS_PRIORITIES'|'ARCHITECTURE_CONSTRAINTS'|'OTHER'|'NONE' }, ], 'IsApplicable': True|False, 'Risk': 'UNANSWERED'|'HIGH'|'MEDIUM'|'NONE'|'NOT_APPLICABLE', 'Reason': 'OUT_OF_SCOPE'|'BUSINESS_PRIORITIES'|'ARCHITECTURE_CONSTRAINTS'|'OTHER'|'NONE', 'QuestionType': 'PRIORITIZED'|'NON_PRIORITIZED' }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Output of a list answers call.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
MilestoneNumber (integer) --
The milestone number.
A workload can have a maximum of 100 milestones.
LensAlias (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 as arn: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.
LensArn (string) --
The ARN for the lens.
AnswerSummaries (list) --
List of answer summaries of lens review in a workload.
(dict) --
An answer summary of a lens review in a workload.
QuestionId (string) --
The ID of the question.
PillarId (string) --
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
QuestionTitle (string) --
The title of the question.
Choices (list) --
List of choices available for a question.
(dict) --
A choice available to answer question.
ChoiceId (string) --
The ID of a choice.
Title (string) --
The title of a choice.
Description (string) --
The description of a choice.
HelpfulResource (dict) --
The helpful resource (both text and URL) for a particular choice.
This field only applies to custom lenses. Each choice can have only one helpful resource.
DisplayText (string) --
The display text for the choice content.
Url (string) --
The URL for the choice content.
ImprovementPlan (dict) --
The improvement plan (both text and URL) for a particular choice.
This field only applies to custom lenses. Each choice can have only one improvement plan.
DisplayText (string) --
The display text for the choice content.
Url (string) --
The URL for the choice content.
AdditionalResources (list) --
The additional resources for a choice in a custom lens.
A choice can have up to two additional resources: one of type HELPFUL_RESOURCE, one of type IMPROVEMENT_PLAN, or both.
(dict) --
The choice level additional resources for a custom lens.
This field does not apply to Amazon Web Services official lenses.
Type (string) --
Type of additional resource for a custom lens.
Content (list) --
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.
(dict) --
The choice content.
DisplayText (string) --
The display text for the choice content.
Url (string) --
The URL for the choice content.
SelectedChoices (list) --
List of selected choice IDs in a question answer.
The values entered replace the previously selected choices.
(string) --
The ID of a choice.
ChoiceAnswerSummaries (list) --
A list of selected choices to a question in your workload.
(dict) --
A choice summary that has been answered on a question in your workload.
ChoiceId (string) --
The ID of a choice.
Status (string) --
The status of a choice.
Reason (string) --
The reason why a choice is non-applicable to a question in your workload.
IsApplicable (boolean) --
Defines whether this question is applicable to a lens review.
Risk (string) --
The risk for a given workload, lens review, pillar, or question.
Reason (string) --
The reason why a choice is non-applicable to a question in your workload.
QuestionType (string) --
The type of the question.
NextToken (string) --
The token to use to retrieve the next set of results.
{'QuestionPriority': 'PRIORITIZED | NONE'}
List lens review improvements.
See also: AWS API Documentation
Request Syntax
client.list_lens_review_improvements( WorkloadId='string', LensAlias='string', PillarId='string', MilestoneNumber=123, NextToken='string', MaxResults=123, QuestionPriority='PRIORITIZED'|'NONE' )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
string
[REQUIRED]
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 as arn: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.
string
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
integer
The milestone number.
A workload can have a maximum of 100 milestones.
string
The token to use to retrieve the next set of results.
integer
The maximum number of results to return for this request.
string
The priority of the question.
dict
Response Syntax
{ 'WorkloadId': 'string', 'MilestoneNumber': 123, 'LensAlias': 'string', 'LensArn': 'string', 'ImprovementSummaries': [ { 'QuestionId': 'string', 'PillarId': 'string', 'QuestionTitle': 'string', 'Risk': 'UNANSWERED'|'HIGH'|'MEDIUM'|'NONE'|'NOT_APPLICABLE', 'ImprovementPlanUrl': 'string', 'ImprovementPlans': [ { 'ChoiceId': 'string', 'DisplayText': 'string', 'ImprovementPlanUrl': 'string' }, ] }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Output of a list lens review improvements call.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
MilestoneNumber (integer) --
The milestone number.
A workload can have a maximum of 100 milestones.
LensAlias (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 as arn: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.
LensArn (string) --
The ARN for the lens.
ImprovementSummaries (list) --
List of improvement summaries of lens review in a workload.
(dict) --
An improvement summary of a lens review in a workload.
QuestionId (string) --
The ID of the question.
PillarId (string) --
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
QuestionTitle (string) --
The title of the question.
Risk (string) --
The risk for a given workload, lens review, pillar, or question.
ImprovementPlanUrl (string) --
The improvement plan URL for a question in an Amazon Web Services official lenses.
This value is only available if the question has been answered.
This value does not apply to custom lenses.
ImprovementPlans (list) --
The improvement plan details.
(dict) --
The choice level improvement plan.
ChoiceId (string) --
The ID of a choice.
DisplayText (string) --
The display text for the improvement plan.
ImprovementPlanUrl (string) --
The improvement plan URL for a question in an Amazon Web Services official lenses.
This value is only available if the question has been answered.
This value does not apply to custom lenses.
NextToken (string) --
The token to use to retrieve the next set of results.
{'LensReviewSummaries': {'PrioritizedRiskCounts': {'UNANSWERED | HIGH | MEDIUM | NONE | NOT_APPLICABLE': 'integer'}, 'Profiles': [{'ProfileArn': 'string', 'ProfileVersion': 'string'}]}}
List lens reviews for a particular workload.
See also: AWS API Documentation
Request Syntax
client.list_lens_reviews( WorkloadId='string', MilestoneNumber=123, NextToken='string', MaxResults=123 )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
integer
The milestone number.
A workload can have a maximum of 100 milestones.
string
The token to use to retrieve the next set of results.
integer
The maximum number of results to return for this request.
dict
Response Syntax
{ 'WorkloadId': 'string', 'MilestoneNumber': 123, 'LensReviewSummaries': [ { 'LensAlias': 'string', 'LensArn': 'string', 'LensVersion': 'string', 'LensName': 'string', 'LensStatus': 'CURRENT'|'NOT_CURRENT'|'DEPRECATED'|'DELETED'|'UNSHARED', 'UpdatedAt': datetime(2015, 1, 1), 'RiskCounts': { 'string': 123 }, 'Profiles': [ { 'ProfileArn': 'string', 'ProfileVersion': 'string' }, ], 'PrioritizedRiskCounts': { 'string': 123 } }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Output of a list lens reviews call.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
MilestoneNumber (integer) --
The milestone number.
A workload can have a maximum of 100 milestones.
LensReviewSummaries (list) --
List of lens summaries of lens reviews of a workload.
(dict) --
A lens review summary of a workload.
LensAlias (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 as arn: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.
LensArn (string) --
The ARN for the lens.
LensVersion (string) --
The version of the lens.
LensName (string) --
The full name of the lens.
LensStatus (string) --
The status of the lens.
UpdatedAt (datetime) --
The date and time recorded.
RiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
Profiles (list) --
The profiles associated with the workload.
(dict) --
The profile associated with a workload.
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
The profile version.
PrioritizedRiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
NextToken (string) --
The token to use to retrieve the next set of results.
{'MilestoneSummaries': {'WorkloadSummary': {'PrioritizedRiskCounts': {'UNANSWERED | HIGH | MEDIUM | NONE | NOT_APPLICABLE': 'integer'}, 'Profiles': [{'ProfileArn': 'string', 'ProfileVersion': 'string'}]}}}
List all milestones for an existing workload.
See also: AWS API Documentation
Request Syntax
client.list_milestones( WorkloadId='string', NextToken='string', MaxResults=123 )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
string
The token to use to retrieve the next set of results.
integer
The maximum number of results to return for this request.
dict
Response Syntax
{ 'WorkloadId': 'string', 'MilestoneSummaries': [ { 'MilestoneNumber': 123, 'MilestoneName': 'string', 'RecordedAt': datetime(2015, 1, 1), 'WorkloadSummary': { 'WorkloadId': 'string', 'WorkloadArn': 'string', 'WorkloadName': 'string', 'Owner': 'string', 'UpdatedAt': datetime(2015, 1, 1), 'Lenses': [ 'string', ], 'RiskCounts': { 'string': 123 }, 'ImprovementStatus': 'NOT_APPLICABLE'|'NOT_STARTED'|'IN_PROGRESS'|'COMPLETE'|'RISK_ACKNOWLEDGED', 'Profiles': [ { 'ProfileArn': 'string', 'ProfileVersion': 'string' }, ], 'PrioritizedRiskCounts': { 'string': 123 } } }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Output of a list milestones call.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
MilestoneSummaries (list) --
A list of milestone summaries.
(dict) --
A milestone summary return object.
MilestoneNumber (integer) --
The milestone number.
A workload can have a maximum of 100 milestones.
MilestoneName (string) --
The name of the milestone in a workload.
Milestone names must be unique within a workload.
RecordedAt (datetime) --
The date and time recorded.
WorkloadSummary (dict) --
A workload summary return object.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
WorkloadArn (string) --
The ARN for the workload.
WorkloadName (string) --
The name of the workload.
The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.
Owner (string) --
An Amazon Web Services account ID.
UpdatedAt (datetime) --
The date and time recorded.
Lenses (list) --
The list of lenses associated with the workload. Each lens is identified by its LensSummary$LensAlias.
(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 as arn: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.
RiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
ImprovementStatus (string) --
The improvement status for a workload.
Profiles (list) --
Profile associated with a workload.
(dict) --
The profile associated with a workload.
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
The profile version.
PrioritizedRiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
NextToken (string) --
The token to use to retrieve the next set of results.
{'WorkloadSummaries': {'PrioritizedRiskCounts': {'UNANSWERED | HIGH | MEDIUM | NONE | NOT_APPLICABLE': 'integer'}, 'Profiles': [{'ProfileArn': 'string', 'ProfileVersion': 'string'}]}}
Paginated list of workloads.
See also: AWS API Documentation
Request Syntax
client.list_workloads( WorkloadNamePrefix='string', NextToken='string', MaxResults=123 )
string
An optional string added to the beginning of each workload name returned in the results.
string
The token to use to retrieve the next set of results.
integer
The maximum number of results to return for this request.
dict
Response Syntax
{ 'WorkloadSummaries': [ { 'WorkloadId': 'string', 'WorkloadArn': 'string', 'WorkloadName': 'string', 'Owner': 'string', 'UpdatedAt': datetime(2015, 1, 1), 'Lenses': [ 'string', ], 'RiskCounts': { 'string': 123 }, 'ImprovementStatus': 'NOT_APPLICABLE'|'NOT_STARTED'|'IN_PROGRESS'|'COMPLETE'|'RISK_ACKNOWLEDGED', 'Profiles': [ { 'ProfileArn': 'string', 'ProfileVersion': 'string' }, ], 'PrioritizedRiskCounts': { 'string': 123 } }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Output of a list workloads call.
WorkloadSummaries (list) --
A list of workload summaries.
(dict) --
A workload summary return object.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
WorkloadArn (string) --
The ARN for the workload.
WorkloadName (string) --
The name of the workload.
The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.
Owner (string) --
An Amazon Web Services account ID.
UpdatedAt (datetime) --
The date and time recorded.
Lenses (list) --
The list of lenses associated with the workload. Each lens is identified by its LensSummary$LensAlias.
(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 as arn: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.
RiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
ImprovementStatus (string) --
The improvement status for a workload.
Profiles (list) --
Profile associated with a workload.
(dict) --
The profile associated with a workload.
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
The profile version.
PrioritizedRiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
NextToken (string) --
The token to use to retrieve the next set of results.
{'LensReview': {'PillarReviewSummaries': {'PrioritizedRiskCounts': {'UNANSWERED | HIGH | MEDIUM | NONE | NOT_APPLICABLE': 'integer'}}, 'PrioritizedRiskCounts': {'UNANSWERED | HIGH | MEDIUM | NONE | NOT_APPLICABLE': 'integer'}, 'Profiles': [{'ProfileArn': 'string', 'ProfileVersion': 'string'}]}}
Update lens review for a particular workload.
See also: AWS API Documentation
Request Syntax
client.update_lens_review( WorkloadId='string', LensAlias='string', LensNotes='string', PillarNotes={ 'string': 'string' } )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
string
[REQUIRED]
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 as arn: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.
string
The notes associated with the workload.
dict
List of pillar notes of a lens review in a workload.
(string) --
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
(string) --
The notes associated with the workload.
dict
Response Syntax
{ 'WorkloadId': 'string', 'LensReview': { 'LensAlias': 'string', 'LensArn': 'string', 'LensVersion': 'string', 'LensName': 'string', 'LensStatus': 'CURRENT'|'NOT_CURRENT'|'DEPRECATED'|'DELETED'|'UNSHARED', 'PillarReviewSummaries': [ { 'PillarId': 'string', 'PillarName': 'string', 'Notes': 'string', 'RiskCounts': { 'string': 123 }, 'PrioritizedRiskCounts': { 'string': 123 } }, ], 'UpdatedAt': datetime(2015, 1, 1), 'Notes': 'string', 'RiskCounts': { 'string': 123 }, 'NextToken': 'string', 'Profiles': [ { 'ProfileArn': 'string', 'ProfileVersion': 'string' }, ], 'PrioritizedRiskCounts': { 'string': 123 } } }
Response Structure
(dict) --
Output of a update lens review call.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
LensReview (dict) --
A lens review of a question.
LensAlias (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 as arn: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.
LensArn (string) --
The ARN for the lens.
LensVersion (string) --
The version of the lens.
LensName (string) --
The full name of the lens.
LensStatus (string) --
The status of the lens.
PillarReviewSummaries (list) --
List of pillar review summaries of lens review in a workload.
(dict) --
A pillar review summary of a lens review.
PillarId (string) --
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
PillarName (string) --
The name of the pillar.
Notes (string) --
The notes associated with the workload.
RiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
PrioritizedRiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
UpdatedAt (datetime) --
The date and time recorded.
Notes (string) --
The notes associated with the workload.
RiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
NextToken (string) --
The token to use to retrieve the next set of results.
Profiles (list) --
The profiles associated with the workload.
(dict) --
The profile associated with a workload.
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
The profile version.
PrioritizedRiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
{'Workload': {'PrioritizedRiskCounts': {'UNANSWERED | HIGH | MEDIUM | NONE | NOT_APPLICABLE': 'integer'}, 'Profiles': [{'ProfileArn': 'string', 'ProfileVersion': 'string'}]}}
Update an existing workload.
See also: AWS API Documentation
Request Syntax
client.update_workload( WorkloadId='string', WorkloadName='string', Description='string', Environment='PRODUCTION'|'PREPRODUCTION', AccountIds=[ 'string', ], AwsRegions=[ 'string', ], NonAwsRegions=[ 'string', ], PillarPriorities=[ 'string', ], ArchitecturalDesign='string', ReviewOwner='string', IsReviewOwnerUpdateAcknowledged=True|False, IndustryType='string', Industry='string', Notes='string', ImprovementStatus='NOT_APPLICABLE'|'NOT_STARTED'|'IN_PROGRESS'|'COMPLETE'|'RISK_ACKNOWLEDGED', DiscoveryConfig={ 'TrustedAdvisorIntegrationStatus': 'ENABLED'|'DISABLED', 'WorkloadResourceDefinition': [ 'WORKLOAD_METADATA'|'APP_REGISTRY', ] }, Applications=[ 'string', ] )
string
[REQUIRED]
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
string
The name of the workload.
The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.
string
The description for the workload.
string
The environment for the workload.
list
The list of Amazon Web Services account IDs associated with the workload.
(string) --
An Amazon Web Services account ID.
list
The list of Amazon Web Services Regions associated with the workload, for example, us-east-2, or ca-central-1.
(string) --
An Amazon Web Services Region, for example, us-west-2 or ap-northeast-1.
list
The list of non-Amazon Web Services Regions associated with the workload.
(string) --
list
The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its PillarReviewSummary$PillarId.
(string) --
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
string
The URL of the architectural design for the workload.
string
The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.
boolean
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
string
The industry type for the workload.
If specified, must be one of the following:
Agriculture
Automobile
Defense
Design and Engineering
Digital Advertising
Education
Environmental Protection
Financial Services
Gaming
General Public Services
Healthcare
Hospitality
InfoTech
Justice and Public Safety
Life Sciences
Manufacturing
Media & Entertainment
Mining & Resources
Oil & Gas
Power & Utilities
Professional Services
Real Estate & Construction
Retail & Wholesale
Social Protection
Telecommunications
Travel, Transportation & Logistics
Other
string
The industry for the workload.
string
The notes associated with the workload.
string
The improvement status for a workload.
dict
Well-Architected discovery configuration settings to associate to the workload.
TrustedAdvisorIntegrationStatus (string) --
Discovery integration status in respect to Trusted Advisor for the workload.
WorkloadResourceDefinition (list) --
The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
(string) --
list
List of AppRegistry application ARNs to associate to the workload.
(string) --
dict
Response Syntax
{ 'Workload': { 'WorkloadId': 'string', 'WorkloadArn': 'string', 'WorkloadName': 'string', 'Description': 'string', 'Environment': 'PRODUCTION'|'PREPRODUCTION', 'UpdatedAt': datetime(2015, 1, 1), 'AccountIds': [ 'string', ], 'AwsRegions': [ 'string', ], 'NonAwsRegions': [ 'string', ], 'ArchitecturalDesign': 'string', 'ReviewOwner': 'string', 'ReviewRestrictionDate': datetime(2015, 1, 1), 'IsReviewOwnerUpdateAcknowledged': True|False, 'IndustryType': 'string', 'Industry': 'string', 'Notes': 'string', 'ImprovementStatus': 'NOT_APPLICABLE'|'NOT_STARTED'|'IN_PROGRESS'|'COMPLETE'|'RISK_ACKNOWLEDGED', 'RiskCounts': { 'string': 123 }, 'PillarPriorities': [ 'string', ], 'Lenses': [ 'string', ], 'Owner': 'string', 'ShareInvitationId': 'string', 'Tags': { 'string': 'string' }, 'DiscoveryConfig': { 'TrustedAdvisorIntegrationStatus': 'ENABLED'|'DISABLED', 'WorkloadResourceDefinition': [ 'WORKLOAD_METADATA'|'APP_REGISTRY', ] }, 'Applications': [ 'string', ], 'Profiles': [ { 'ProfileArn': 'string', 'ProfileVersion': 'string' }, ], 'PrioritizedRiskCounts': { 'string': 123 } } }
Response Structure
(dict) --
Output of an update workload call.
Workload (dict) --
A workload return object.
WorkloadId (string) --
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
WorkloadArn (string) --
The ARN for the workload.
WorkloadName (string) --
The name of the workload.
The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.
Description (string) --
The description for the workload.
Environment (string) --
The environment for the workload.
UpdatedAt (datetime) --
The date and time recorded.
AccountIds (list) --
The list of Amazon Web Services account IDs associated with the workload.
(string) --
An Amazon Web Services account ID.
AwsRegions (list) --
The list of Amazon Web Services Regions associated with the workload, for example, us-east-2, or ca-central-1.
(string) --
An Amazon Web Services Region, for example, us-west-2 or ap-northeast-1.
NonAwsRegions (list) --
The list of non-Amazon Web Services Regions associated with the workload.
(string) --
ArchitecturalDesign (string) --
The URL of the architectural design for the workload.
ReviewOwner (string) --
The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.
ReviewRestrictionDate (datetime) --
The date and time recorded.
IsReviewOwnerUpdateAcknowledged (boolean) --
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
IndustryType (string) --
The industry type for the workload.
If specified, must be one of the following:
Agriculture
Automobile
Defense
Design and Engineering
Digital Advertising
Education
Environmental Protection
Financial Services
Gaming
General Public Services
Healthcare
Hospitality
InfoTech
Justice and Public Safety
Life Sciences
Manufacturing
Media & Entertainment
Mining & Resources
Oil & Gas
Power & Utilities
Professional Services
Real Estate & Construction
Retail & Wholesale
Social Protection
Telecommunications
Travel, Transportation & Logistics
Other
Industry (string) --
The industry for the workload.
Notes (string) --
The notes associated with the workload.
ImprovementStatus (string) --
The improvement status for a workload.
RiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.
PillarPriorities (list) --
The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its PillarReviewSummary$PillarId.
(string) --
The ID used to identify a pillar, for example, security.
A pillar is identified by its PillarReviewSummary$PillarId.
Lenses (list) --
The list of lenses associated with the workload. Each lens is identified by its LensSummary$LensAlias.
(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 as arn: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.
Owner (string) --
An Amazon Web Services account ID.
ShareInvitationId (string) --
The ID assigned to the share invitation.
Tags (dict) --
The tags associated with the workload.
(string) --
(string) --
DiscoveryConfig (dict) --
Discovery configuration associated to the workload.
TrustedAdvisorIntegrationStatus (string) --
Discovery integration status in respect to Trusted Advisor for the workload.
WorkloadResourceDefinition (list) --
The mode to use for identifying resources associated with the workload.
You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
(string) --
Applications (list) --
List of AppRegistry application ARNs associated to the workload.
(string) --
Profiles (list) --
Profile associated with a workload.
(dict) --
The profile associated with a workload.
ProfileArn (string) --
The profile ARN.
ProfileVersion (string) --
The profile version.
PrioritizedRiskCounts (dict) --
A map from risk names to the count of how many questions have that rating.
(string) --
The risk for a given workload, lens review, pillar, or question.
(integer) --
A non-negative integer that denotes how many.