SDK for PHP 3.x

Client: Aws\WellArchitected\WellArchitectedClient
Service ID: wellarchitected
Version: 2020-03-31

This page describes the parameters and results for the operations of the AWS Well-Architected Tool (2020-03-31), and shows how to use the Aws\WellArchitected\WellArchitectedClient object to call the described operations. This documentation is specific to the 2020-03-31 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

AssociateLenses ( array $params = [] )
Associate a lens to a workload.
AssociateProfiles ( array $params = [] )
Associate a profile with a workload.
CreateLensShare ( array $params = [] )
Create a lens share.
CreateLensVersion ( array $params = [] )
Create a new lens version.
CreateMilestone ( array $params = [] )
Create a milestone for an existing workload.
CreateProfile ( array $params = [] )
Create a profile.
CreateProfileShare ( array $params = [] )
Create a profile share.
CreateReviewTemplate ( array $params = [] )
Create a review template.
CreateTemplateShare ( array $params = [] )
Create a review template share.
CreateWorkload ( array $params = [] )
Create a new workload.
CreateWorkloadShare ( array $params = [] )
Create a workload share.
DeleteLens ( array $params = [] )
Delete an existing lens.
DeleteLensShare ( array $params = [] )
Delete a lens share.
DeleteProfile ( array $params = [] )
Delete a profile.
DeleteProfileShare ( array $params = [] )
Delete a profile share.
DeleteReviewTemplate ( array $params = [] )
Delete a review template.
DeleteTemplateShare ( array $params = [] )
Delete a review template share.
DeleteWorkload ( array $params = [] )
Delete an existing workload.
DeleteWorkloadShare ( array $params = [] )
Delete a workload share.
DisassociateLenses ( array $params = [] )
Disassociate a lens from a workload.
DisassociateProfiles ( array $params = [] )
Disassociate a profile from a workload.
ExportLens ( array $params = [] )
Export an existing lens.
GetAnswer ( array $params = [] )
Get the answer to a specific question in a workload review.
GetConsolidatedReport ( array $params = [] )
Get a consolidated report of your workloads.
GetGlobalSettings ( array $params = [] )
Global settings for all workloads.
GetLens ( array $params = [] )
Get an existing lens.
GetLensReview ( array $params = [] )
Get lens review.
GetLensReviewReport ( array $params = [] )
Get lens review report.
GetLensVersionDifference ( array $params = [] )
Get lens version differences.
GetMilestone ( array $params = [] )
Get a milestone for an existing workload.
GetProfile ( array $params = [] )
Get profile information.
GetProfileTemplate ( array $params = [] )
Get profile template.
GetReviewTemplate ( array $params = [] )
Get review template.
GetReviewTemplateAnswer ( array $params = [] )
Get review template answer.
GetReviewTemplateLensReview ( array $params = [] )
Get a lens review associated with a review template.
GetWorkload ( array $params = [] )
Get an existing workload.
ImportLens ( array $params = [] )
Import a new custom lens or update an existing custom lens.
ListAnswers ( array $params = [] )
List of answers for a particular workload and lens.
ListCheckDetails ( array $params = [] )
List of Trusted Advisor check details by account related to the workload.
ListCheckSummaries ( array $params = [] )
List of Trusted Advisor checks summarized for all accounts related to the workload.
ListLensReviewImprovements ( array $params = [] )
List the improvements of a particular lens review.
ListLensReviews ( array $params = [] )
List lens reviews for a particular workload.
ListLensShares ( array $params = [] )
List the lens shares associated with the lens.
ListLenses ( array $params = [] )
List the available lenses.
ListMilestones ( array $params = [] )
List all milestones for an existing workload.
ListNotifications ( array $params = [] )
List lens notifications.
ListProfileNotifications ( array $params = [] )
List profile notifications.
ListProfileShares ( array $params = [] )
List profile shares.
ListProfiles ( array $params = [] )
List profiles.
ListReviewTemplateAnswers ( array $params = [] )
List the answers of a review template.
ListReviewTemplates ( array $params = [] )
List review templates.
ListShareInvitations ( array $params = [] )
List the share invitations.
ListTagsForResource ( array $params = [] )
List the tags for a resource.
ListTemplateShares ( array $params = [] )
List review template shares.
ListWorkloadShares ( array $params = [] )
List the workload shares associated with the workload.
ListWorkloads ( array $params = [] )
Paginated list of workloads.
TagResource ( array $params = [] )
Adds one or more tags to the specified resource.
UntagResource ( array $params = [] )
Deletes specified tags from a resource.
UpdateAnswer ( array $params = [] )
Update the answer to a specific question in a workload review.
UpdateGlobalSettings ( array $params = [] )
Update whether the Amazon Web Services account is opted into organization sharing and discovery integration features.
UpdateIntegration ( array $params = [] )
Update integration features.
UpdateLensReview ( array $params = [] )
Update lens review for a particular workload.
UpdateProfile ( array $params = [] )
Update a profile.
UpdateReviewTemplate ( array $params = [] )
Update a review template.
UpdateReviewTemplateAnswer ( array $params = [] )
Update a review template answer.
UpdateReviewTemplateLensReview ( array $params = [] )
Update a lens review associated with a review template.
UpdateShareInvitation ( array $params = [] )
Update a workload or custom lens share invitation.
UpdateWorkload ( array $params = [] )
Update an existing workload.
UpdateWorkloadShare ( array $params = [] )
Update a workload share.
UpgradeLensReview ( array $params = [] )
Upgrade lens review for a particular workload.
UpgradeProfileVersion ( array $params = [] )
Upgrade a profile.
UpgradeReviewTemplateLensReview ( array $params = [] )
Upgrade the lens review of a review template.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

GetConsolidatedReport
ListAnswers
ListCheckDetails
ListCheckSummaries
ListLensReviewImprovements
ListLensReviews
ListLensShares
ListLenses
ListMilestones
ListNotifications
ListProfileNotifications
ListProfileShares
ListProfiles
ListReviewTemplateAnswers
ListReviewTemplates
ListShareInvitations
ListTemplateShares
ListWorkloadShares
ListWorkloads

Operations

AssociateLenses

$result = $client->associateLenses([/* ... */]);
$promise = $client->associateLensesAsync([/* ... */]);

Associate a lens to a workload.

Up to 10 lenses can be associated with a workload in a single API operation. A maximum of 20 lenses can be associated with a workload.

Disclaimer

By accessing and/or applying custom lenses created by another Amazon Web Services user or account, you acknowledge that custom lenses created by other users and shared with you are Third Party Content as defined in the Amazon Web Services Customer Agreement.

Parameter Syntax

$result = $client->associateLenses([
    'LensAliases' => ['<string>', ...], // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
LensAliases
Required: Yes
Type: Array of strings

List of lens aliases to associate or disassociate with a workload. Up to 10 lenses can be specified.

Identify a lens using its LensSummary$LensAlias.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

AssociateProfiles

$result = $client->associateProfiles([/* ... */]);
$promise = $client->associateProfilesAsync([/* ... */]);

Associate a profile with a workload.

Parameter Syntax

$result = $client->associateProfiles([
    'ProfileArns' => ['<string>', ...], // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ProfileArns
Required: Yes
Type: Array of strings

The list of profile ARNs to associate with the workload.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

CreateLensShare

$result = $client->createLensShare([/* ... */]);
$promise = $client->createLensShareAsync([/* ... */]);

Create a lens share.

The owner of a lens can share it with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Lenses provided by Amazon Web Services (Amazon Web Services Official Content) cannot be shared.

Shared access to a lens is not removed until the lens invitation is deleted.

If you share a lens with an organization or OU, all accounts in the organization or OU are granted access to the lens.

For more information, see Sharing a custom lens in the Well-Architected Tool User Guide.

Disclaimer

By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.

Parameter Syntax

$result = $client->createLensShare([
    'ClientRequestToken' => '<string>', // REQUIRED
    'LensAlias' => '<string>', // REQUIRED
    'SharedWith' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

LensAlias
Required: Yes
Type: 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.

SharedWith
Required: Yes
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

Result Syntax

[
    'ShareId' => '<string>',
]

Result Details

Members
ShareId
Type: string

The ID associated with the share.

Errors

ValidationException:

The user input is not valid.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ServiceQuotaExceededException:

The user has reached their resource quota.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

CreateLensVersion

$result = $client->createLensVersion([/* ... */]);
$promise = $client->createLensVersionAsync([/* ... */]);

Create a new lens version.

A lens can have up to 100 versions.

Use this operation to publish a new lens version after you have imported a lens. The LensAlias is used to identify the lens to be published. The owner of a lens can share the lens with other Amazon Web Services accounts and users in the same Amazon Web Services Region. Only the owner of a lens can delete it.

Parameter Syntax

$result = $client->createLensVersion([
    'ClientRequestToken' => '<string>', // REQUIRED
    'IsMajorVersion' => true || false,
    'LensAlias' => '<string>', // REQUIRED
    'LensVersion' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

IsMajorVersion
Type: boolean

Set to true if this new major lens version.

LensAlias
Required: Yes
Type: 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.

LensVersion
Required: Yes
Type: string

The version of the lens being created.

Result Syntax

[
    'LensArn' => '<string>',
    'LensVersion' => '<string>',
]

Result Details

Members
LensArn
Type: string

The ARN for the lens.

LensVersion
Type: string

The version of the lens.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ServiceQuotaExceededException:

The user has reached their resource quota.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

CreateMilestone

$result = $client->createMilestone([/* ... */]);
$promise = $client->createMilestoneAsync([/* ... */]);

Create a milestone for an existing workload.

Parameter Syntax

$result = $client->createMilestone([
    'ClientRequestToken' => '<string>', // REQUIRED
    'MilestoneName' => '<string>', // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

MilestoneName
Required: Yes
Type: string

The name of the milestone in a workload.

Milestone names must be unique within a workload.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'MilestoneNumber' => <integer>,
    'WorkloadId' => '<string>',
]

Result Details

Members
MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ServiceQuotaExceededException:

The user has reached their resource quota.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

CreateProfile

$result = $client->createProfile([/* ... */]);
$promise = $client->createProfileAsync([/* ... */]);

Create a profile.

Parameter Syntax

$result = $client->createProfile([
    'ClientRequestToken' => '<string>', // REQUIRED
    'ProfileDescription' => '<string>', // REQUIRED
    'ProfileName' => '<string>', // REQUIRED
    'ProfileQuestions' => [ // REQUIRED
        [
            'QuestionId' => '<string>',
            'SelectedChoiceIds' => ['<string>', ...],
        ],
        // ...
    ],
    'Tags' => ['<string>', ...],
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

ProfileDescription
Required: Yes
Type: string

The profile description.

ProfileName
Required: Yes
Type: string

Name of the profile.

ProfileQuestions
Required: Yes
Type: Array of ProfileQuestionUpdate structures

The profile questions.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags assigned to the profile.

Result Syntax

[
    'ProfileArn' => '<string>',
    'ProfileVersion' => '<string>',
]

Result Details

Members
ProfileArn
Type: string

The profile ARN.

ProfileVersion
Type: string

Version of the profile.

Errors

ValidationException:

The user input is not valid.

ConflictException:

The resource has already been processed, was deleted, or is too large.

ServiceQuotaExceededException:

The user has reached their resource quota.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

CreateProfileShare

$result = $client->createProfileShare([/* ... */]);
$promise = $client->createProfileShareAsync([/* ... */]);

Create a profile share.

Parameter Syntax

$result = $client->createProfileShare([
    'ClientRequestToken' => '<string>', // REQUIRED
    'ProfileArn' => '<string>', // REQUIRED
    'SharedWith' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

ProfileArn
Required: Yes
Type: string

The profile ARN.

SharedWith
Required: Yes
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

Result Syntax

[
    'ProfileArn' => '<string>',
    'ShareId' => '<string>',
]

Result Details

Members
ProfileArn
Type: string

The profile ARN.

ShareId
Type: string

The ID associated with the share.

Errors

ValidationException:

The user input is not valid.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ServiceQuotaExceededException:

The user has reached their resource quota.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

CreateReviewTemplate

$result = $client->createReviewTemplate([/* ... */]);
$promise = $client->createReviewTemplateAsync([/* ... */]);

Create a review template.

Disclaimer

Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your review templates. If your review template or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.

Parameter Syntax

$result = $client->createReviewTemplate([
    'ClientRequestToken' => '<string>', // REQUIRED
    'Description' => '<string>', // REQUIRED
    'Lenses' => ['<string>', ...], // REQUIRED
    'Notes' => '<string>',
    'Tags' => ['<string>', ...],
    'TemplateName' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

Description
Required: Yes
Type: string

The review template description.

Lenses
Required: Yes
Type: Array of strings

Lenses applied to the review template.

Notes
Type: 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.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags assigned to the review template.

TemplateName
Required: Yes
Type: string

Name of the review template.

Result Syntax

[
    'TemplateArn' => '<string>',
]

Result Details

Members
TemplateArn
Type: string

The review template ARN.

Errors

ValidationException:

The user input is not valid.

ConflictException:

The resource has already been processed, was deleted, or is too large.

ServiceQuotaExceededException:

The user has reached their resource quota.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ResourceNotFoundException:

The requested resource was not found.

ThrottlingException:

Request was denied due to request throttling.

CreateTemplateShare

$result = $client->createTemplateShare([/* ... */]);
$promise = $client->createTemplateShareAsync([/* ... */]);

Create a review template share.

The owner of a review template can share it with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region.

Shared access to a review template is not removed until the review template share invitation is deleted.

If you share a review template with an organization or OU, all accounts in the organization or OU are granted access to the review template.

Disclaimer

By sharing your review template with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your review template available to those other accounts.

Parameter Syntax

$result = $client->createTemplateShare([
    'ClientRequestToken' => '<string>', // REQUIRED
    'SharedWith' => '<string>', // REQUIRED
    'TemplateArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

SharedWith
Required: Yes
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

TemplateArn
Required: Yes
Type: string

The review template ARN.

Result Syntax

[
    'ShareId' => '<string>',
    'TemplateArn' => '<string>',
]

Result Details

Members
ShareId
Type: string

The ID associated with the share.

TemplateArn
Type: string

The review template ARN.

Errors

ValidationException:

The user input is not valid.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ServiceQuotaExceededException:

The user has reached their resource quota.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

CreateWorkload

$result = $client->createWorkload([/* ... */]);
$promise = $client->createWorkloadAsync([/* ... */]);

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.

Either AwsRegions, NonAwsRegions, or both must be specified when creating a workload.

You also must specify ReviewOwner, even though the parameter is listed as not being required in the following section.

When creating a workload using a review template, you must have the following IAM permissions:

  • wellarchitected:GetReviewTemplate

  • wellarchitected:GetReviewTemplateAnswer

  • wellarchitected:ListReviewTemplateAnswers

  • wellarchitected:GetReviewTemplateLensReview

Parameter Syntax

$result = $client->createWorkload([
    'AccountIds' => ['<string>', ...],
    'Applications' => ['<string>', ...],
    'ArchitecturalDesign' => '<string>',
    'AwsRegions' => ['<string>', ...],
    'ClientRequestToken' => '<string>', // REQUIRED
    'Description' => '<string>', // REQUIRED
    'DiscoveryConfig' => [
        'TrustedAdvisorIntegrationStatus' => 'ENABLED|DISABLED',
        'WorkloadResourceDefinition' => ['<string>', ...],
    ],
    'Environment' => 'PRODUCTION|PREPRODUCTION', // REQUIRED
    'Industry' => '<string>',
    'IndustryType' => '<string>',
    'JiraConfiguration' => [
        'IssueManagementStatus' => 'ENABLED|DISABLED|INHERIT',
        'IssueManagementType' => 'AUTO|MANUAL',
        'JiraProjectKey' => '<string>',
    ],
    'Lenses' => ['<string>', ...], // REQUIRED
    'NonAwsRegions' => ['<string>', ...],
    'Notes' => '<string>',
    'PillarPriorities' => ['<string>', ...],
    'ProfileArns' => ['<string>', ...],
    'ReviewOwner' => '<string>',
    'ReviewTemplateArns' => ['<string>', ...],
    'Tags' => ['<string>', ...],
    'WorkloadName' => '<string>', // REQUIRED
]);

Parameter Details

Members
AccountIds
Type: Array of strings

The list of Amazon Web Services account IDs associated with the workload.

Applications
Type: Array of strings

List of AppRegistry application ARNs associated to the workload.

ArchitecturalDesign
Type: string

The URL of the architectural design for the workload.

AwsRegions
Type: Array of strings

The list of Amazon Web Services Regions associated with the workload, for example, us-east-2, or ca-central-1.

ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

Description
Required: Yes
Type: string

The description for the workload.

DiscoveryConfig
Type: WorkloadDiscoveryConfig structure

Well-Architected discovery configuration settings associated to the workload.

Environment
Required: Yes
Type: string

The environment for the workload.

Industry
Type: string

The industry for the workload.

IndustryType
Type: 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

JiraConfiguration

Jira configuration settings when creating a workload.

Lenses
Required: Yes
Type: Array of strings

The list of lenses associated with the workload. Each lens is identified by its LensSummary$LensAlias.

If a review template that specifies lenses is applied to the workload, those lenses are applied to the workload in addition to these lenses.

NonAwsRegions
Type: Array of strings

The list of non-Amazon Web Services Regions associated with the workload.

Notes
Type: 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.

PillarPriorities
Type: Array of strings

The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its PillarReviewSummary$PillarId.

ProfileArns
Type: Array of strings

The list of profile ARNs associated with the workload.

ReviewOwner
Type: 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.

ReviewTemplateArns
Type: Array of strings

The list of review template ARNs to associate with the workload.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags to be associated with the workload.

WorkloadName
Required: Yes
Type: 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.

Result Syntax

[
    'WorkloadArn' => '<string>',
    'WorkloadId' => '<string>',
]

Result Details

Members
WorkloadArn
Type: string

The ARN for the workload.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

ConflictException:

The resource has already been processed, was deleted, or is too large.

ServiceQuotaExceededException:

The user has reached their resource quota.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ResourceNotFoundException:

The requested resource was not found.

ThrottlingException:

Request was denied due to request throttling.

CreateWorkloadShare

$result = $client->createWorkloadShare([/* ... */]);
$promise = $client->createWorkloadShareAsync([/* ... */]);

Create a workload share.

The owner of a workload can share it with other Amazon Web Services accounts and users in the same Amazon Web Services Region. Shared access to a workload is not removed until the workload invitation is deleted.

If you share a workload with an organization or OU, all accounts in the organization or OU are granted access to the workload.

For more information, see Sharing a workload in the Well-Architected Tool User Guide.

Parameter Syntax

$result = $client->createWorkloadShare([
    'ClientRequestToken' => '<string>', // REQUIRED
    'PermissionType' => 'READONLY|CONTRIBUTOR', // REQUIRED
    'SharedWith' => '<string>', // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

PermissionType
Required: Yes
Type: string

Permission granted on a share request.

SharedWith
Required: Yes
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'ShareId' => '<string>',
    'WorkloadId' => '<string>',
]

Result Details

Members
ShareId
Type: string

The ID associated with the share.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ServiceQuotaExceededException:

The user has reached their resource quota.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

DeleteLens

$result = $client->deleteLens([/* ... */]);
$promise = $client->deleteLensAsync([/* ... */]);

Delete an existing lens.

Only the owner of a lens can delete it. After the lens is deleted, Amazon Web Services accounts and users that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.

Disclaimer

By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.

Parameter Syntax

$result = $client->deleteLens([
    'ClientRequestToken' => '<string>', // REQUIRED
    'LensAlias' => '<string>', // REQUIRED
    'LensStatus' => 'ALL|DRAFT|PUBLISHED', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

LensAlias
Required: Yes
Type: 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.

LensStatus
Required: Yes
Type: string

The status of the lens to be deleted.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

DeleteLensShare

$result = $client->deleteLensShare([/* ... */]);
$promise = $client->deleteLensShareAsync([/* ... */]);

Delete a lens share.

After the lens share is deleted, Amazon Web Services accounts, users, organizations, and organizational units (OUs) that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.

Disclaimer

By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.

Parameter Syntax

$result = $client->deleteLensShare([
    'ClientRequestToken' => '<string>', // REQUIRED
    'LensAlias' => '<string>', // REQUIRED
    'ShareId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

LensAlias
Required: Yes
Type: 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.

ShareId
Required: Yes
Type: string

The ID associated with the share.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

DeleteProfile

$result = $client->deleteProfile([/* ... */]);
$promise = $client->deleteProfileAsync([/* ... */]);

Delete a profile.

Disclaimer

By sharing your profile with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your profile available to those other accounts. Those other accounts may continue to access and use your shared profile even if you delete the profile from your own Amazon Web Services account or terminate your Amazon Web Services account.

Parameter Syntax

$result = $client->deleteProfile([
    'ClientRequestToken' => '<string>', // REQUIRED
    'ProfileArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

ProfileArn
Required: Yes
Type: string

The profile ARN.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

DeleteProfileShare

$result = $client->deleteProfileShare([/* ... */]);
$promise = $client->deleteProfileShareAsync([/* ... */]);

Delete a profile share.

Parameter Syntax

$result = $client->deleteProfileShare([
    'ClientRequestToken' => '<string>', // REQUIRED
    'ProfileArn' => '<string>', // REQUIRED
    'ShareId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

ProfileArn
Required: Yes
Type: string

The profile ARN.

ShareId
Required: Yes
Type: string

The ID associated with the share.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

DeleteReviewTemplate

$result = $client->deleteReviewTemplate([/* ... */]);
$promise = $client->deleteReviewTemplateAsync([/* ... */]);

Delete a review template.

Only the owner of a review template can delete it.

After the review template is deleted, Amazon Web Services accounts, users, organizations, and organizational units (OUs) that you shared the review template with will no longer be able to apply it to new workloads.

Parameter Syntax

$result = $client->deleteReviewTemplate([
    'ClientRequestToken' => '<string>', // REQUIRED
    'TemplateArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

TemplateArn
Required: Yes
Type: string

The review template ARN.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

DeleteTemplateShare

$result = $client->deleteTemplateShare([/* ... */]);
$promise = $client->deleteTemplateShareAsync([/* ... */]);

Delete a review template share.

After the review template share is deleted, Amazon Web Services accounts, users, organizations, and organizational units (OUs) that you shared the review template with will no longer be able to apply it to new workloads.

Parameter Syntax

$result = $client->deleteTemplateShare([
    'ClientRequestToken' => '<string>', // REQUIRED
    'ShareId' => '<string>', // REQUIRED
    'TemplateArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

ShareId
Required: Yes
Type: string

The ID associated with the share.

TemplateArn
Required: Yes
Type: string

The review template ARN.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

DeleteWorkload

$result = $client->deleteWorkload([/* ... */]);
$promise = $client->deleteWorkloadAsync([/* ... */]);

Delete an existing workload.

Parameter Syntax

$result = $client->deleteWorkload([
    'ClientRequestToken' => '<string>', // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

DeleteWorkloadShare

$result = $client->deleteWorkloadShare([/* ... */]);
$promise = $client->deleteWorkloadShareAsync([/* ... */]);

Delete a workload share.

Parameter Syntax

$result = $client->deleteWorkloadShare([
    'ClientRequestToken' => '<string>', // REQUIRED
    'ShareId' => '<string>', // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

ShareId
Required: Yes
Type: string

The ID associated with the share.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

DisassociateLenses

$result = $client->disassociateLenses([/* ... */]);
$promise = $client->disassociateLensesAsync([/* ... */]);

Disassociate a lens from a workload.

Up to 10 lenses can be disassociated from a workload in a single API operation.

The Amazon Web Services Well-Architected Framework lens (wellarchitected) cannot be removed from a workload.

Parameter Syntax

$result = $client->disassociateLenses([
    'LensAliases' => ['<string>', ...], // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
LensAliases
Required: Yes
Type: Array of strings

List of lens aliases to associate or disassociate with a workload. Up to 10 lenses can be specified.

Identify a lens using its LensSummary$LensAlias.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

DisassociateProfiles

$result = $client->disassociateProfiles([/* ... */]);
$promise = $client->disassociateProfilesAsync([/* ... */]);

Disassociate a profile from a workload.

Parameter Syntax

$result = $client->disassociateProfiles([
    'ProfileArns' => ['<string>', ...], // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ProfileArns
Required: Yes
Type: Array of strings

The list of profile ARNs to disassociate from the workload.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ExportLens

$result = $client->exportLens([/* ... */]);
$promise = $client->exportLensAsync([/* ... */]);

Export an existing lens.

Only the owner of a lens can export it. Lenses provided by Amazon Web Services (Amazon Web Services Official Content) cannot be exported.

Lenses are defined in JSON. For more information, see JSON format specification in the Well-Architected Tool User Guide.

Disclaimer

Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your custom lenses. If your custom lens or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.

Parameter Syntax

$result = $client->exportLens([
    'LensAlias' => '<string>', // REQUIRED
    'LensVersion' => '<string>',
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

LensVersion
Type: string

The lens version to be exported.

Result Syntax

[
    'LensJSON' => '<string>',
]

Result Details

Members
LensJSON
Type: string

The JSON representation of a lens.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetAnswer

$result = $client->getAnswer([/* ... */]);
$promise = $client->getAnswerAsync([/* ... */]);

Get the answer to a specific question in a workload review.

Parameter Syntax

$result = $client->getAnswer([
    'LensAlias' => '<string>', // REQUIRED
    'MilestoneNumber' => <integer>,
    'QuestionId' => '<string>', // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

QuestionId
Required: Yes
Type: string

The ID of the question.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'Answer' => [
        'ChoiceAnswers' => [
            [
                'ChoiceId' => '<string>',
                'Notes' => '<string>',
                'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
                'Status' => 'SELECTED|NOT_APPLICABLE|UNSELECTED',
            ],
            // ...
        ],
        'Choices' => [
            [
                'AdditionalResources' => [
                    [
                        'Content' => [
                            [
                                'DisplayText' => '<string>',
                                'Url' => '<string>',
                            ],
                            // ...
                        ],
                        'Type' => 'HELPFUL_RESOURCE|IMPROVEMENT_PLAN',
                    ],
                    // ...
                ],
                'ChoiceId' => '<string>',
                'Description' => '<string>',
                'HelpfulResource' => [
                    'DisplayText' => '<string>',
                    'Url' => '<string>',
                ],
                'ImprovementPlan' => [
                    'DisplayText' => '<string>',
                    'Url' => '<string>',
                ],
                'Title' => '<string>',
            ],
            // ...
        ],
        'HelpfulResourceDisplayText' => '<string>',
        'HelpfulResourceUrl' => '<string>',
        'ImprovementPlanUrl' => '<string>',
        'IsApplicable' => true || false,
        'JiraConfiguration' => [
            'JiraIssueUrl' => '<string>',
            'LastSyncedTime' => <DateTime>,
        ],
        'Notes' => '<string>',
        'PillarId' => '<string>',
        'QuestionDescription' => '<string>',
        'QuestionId' => '<string>',
        'QuestionTitle' => '<string>',
        'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
        'Risk' => 'UNANSWERED|HIGH|MEDIUM|NONE|NOT_APPLICABLE',
        'SelectedChoices' => ['<string>', ...],
    ],
    'LensAlias' => '<string>',
    'LensArn' => '<string>',
    'MilestoneNumber' => <integer>,
    'WorkloadId' => '<string>',
]

Result Details

Members
Answer
Type: Answer structure

An answer of the question.

LensAlias
Type: 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
Type: string

The ARN for the lens.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetConsolidatedReport

$result = $client->getConsolidatedReport([/* ... */]);
$promise = $client->getConsolidatedReportAsync([/* ... */]);

Get a consolidated report of your workloads.

You can optionally choose to include workloads that have been shared with you.

Parameter Syntax

$result = $client->getConsolidatedReport([
    'Format' => 'PDF|JSON', // REQUIRED
    'IncludeSharedResources' => true || false,
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
Format
Required: Yes
Type: string

The format of the consolidated report.

For PDF, Base64String is returned. For JSON, Metrics is returned.

IncludeSharedResources
Type: boolean

Set to true to have shared resources included in the report.

MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

Result Syntax

[
    'Base64String' => '<string>',
    'Metrics' => [
        [
            'Lenses' => [
                [
                    'LensArn' => '<string>',
                    'Pillars' => [
                        [
                            'PillarId' => '<string>',
                            'Questions' => [
                                [
                                    'BestPractices' => [
                                        [
                                            'ChoiceId' => '<string>',
                                            'ChoiceTitle' => '<string>',
                                        ],
                                        // ...
                                    ],
                                    'QuestionId' => '<string>',
                                    'Risk' => 'UNANSWERED|HIGH|MEDIUM|NONE|NOT_APPLICABLE',
                                ],
                                // ...
                            ],
                            'RiskCounts' => [<integer>, ...],
                        ],
                        // ...
                    ],
                    'RiskCounts' => [<integer>, ...],
                ],
                // ...
            ],
            'LensesAppliedCount' => <integer>,
            'MetricType' => 'WORKLOAD',
            'RiskCounts' => [<integer>, ...],
            'UpdatedAt' => <DateTime>,
            'WorkloadArn' => '<string>',
            'WorkloadId' => '<string>',
            'WorkloadName' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
Base64String
Type: string

The Base64-encoded string representation of a lens review report.

This data can be used to create a PDF file.

Only returned by GetConsolidatedReport when PDF format is requested.

Metrics
Type: Array of ConsolidatedReportMetric structures

The metrics that make up the consolidated report.

Only returned when JSON format is requested.

NextToken
Type: string

The token to use to retrieve the next set of results.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ConflictException:

The resource has already been processed, was deleted, or is too large.

GetGlobalSettings

$result = $client->getGlobalSettings([/* ... */]);
$promise = $client->getGlobalSettingsAsync([/* ... */]);

Global settings for all workloads.

Parameter Syntax

$result = $client->getGlobalSettings([
]);

Parameter Details

Members

Result Syntax

[
    'DiscoveryIntegrationStatus' => 'ENABLED|DISABLED',
    'JiraConfiguration' => [
        'IntegrationStatus' => 'CONFIGURED|NOT_CONFIGURED',
        'IssueManagementStatus' => 'ENABLED|DISABLED',
        'IssueManagementType' => 'AUTO|MANUAL',
        'JiraProjectKey' => '<string>',
        'StatusMessage' => '<string>',
        'Subdomain' => '<string>',
    ],
    'OrganizationSharingStatus' => 'ENABLED|DISABLED',
]

Result Details

Members
DiscoveryIntegrationStatus
Type: string

Discovery integration status.

JiraConfiguration

Jira configuration status.

OrganizationSharingStatus
Type: string

Amazon Web Services Organizations sharing status.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetLens

$result = $client->getLens([/* ... */]);
$promise = $client->getLensAsync([/* ... */]);

Get an existing lens.

Parameter Syntax

$result = $client->getLens([
    'LensAlias' => '<string>', // REQUIRED
    'LensVersion' => '<string>',
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

LensVersion
Type: string

The lens version to be retrieved.

Result Syntax

[
    'Lens' => [
        'Description' => '<string>',
        'LensArn' => '<string>',
        'LensVersion' => '<string>',
        'Name' => '<string>',
        'Owner' => '<string>',
        'ShareInvitationId' => '<string>',
        'Tags' => ['<string>', ...],
    ],
]

Result Details

Members
Lens
Type: Lens structure

A lens return object.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetLensReview

$result = $client->getLensReview([/* ... */]);
$promise = $client->getLensReviewAsync([/* ... */]);

Get lens review.

Parameter Syntax

$result = $client->getLensReview([
    'LensAlias' => '<string>', // REQUIRED
    'MilestoneNumber' => <integer>,
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'LensReview' => [
        'JiraConfiguration' => [
            'SelectedPillars' => [
                [
                    'PillarId' => '<string>',
                    'SelectedQuestionIds' => ['<string>', ...],
                ],
                // ...
            ],
        ],
        'LensAlias' => '<string>',
        'LensArn' => '<string>',
        'LensName' => '<string>',
        'LensStatus' => 'CURRENT|NOT_CURRENT|DEPRECATED|DELETED|UNSHARED',
        'LensVersion' => '<string>',
        'NextToken' => '<string>',
        'Notes' => '<string>',
        'PillarReviewSummaries' => [
            [
                'Notes' => '<string>',
                'PillarId' => '<string>',
                'PillarName' => '<string>',
                'PrioritizedRiskCounts' => [<integer>, ...],
                'RiskCounts' => [<integer>, ...],
            ],
            // ...
        ],
        'PrioritizedRiskCounts' => [<integer>, ...],
        'Profiles' => [
            [
                'ProfileArn' => '<string>',
                'ProfileVersion' => '<string>',
            ],
            // ...
        ],
        'RiskCounts' => [<integer>, ...],
        'UpdatedAt' => <DateTime>,
    ],
    'MilestoneNumber' => <integer>,
    'WorkloadId' => '<string>',
]

Result Details

Members
LensReview
Type: LensReview structure

A lens review of a question.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetLensReviewReport

$result = $client->getLensReviewReport([/* ... */]);
$promise = $client->getLensReviewReportAsync([/* ... */]);

Get lens review report.

Parameter Syntax

$result = $client->getLensReviewReport([
    'LensAlias' => '<string>', // REQUIRED
    'MilestoneNumber' => <integer>,
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'LensReviewReport' => [
        'Base64String' => '<string>',
        'LensAlias' => '<string>',
        'LensArn' => '<string>',
    ],
    'MilestoneNumber' => <integer>,
    'WorkloadId' => '<string>',
]

Result Details

Members
LensReviewReport
Type: LensReviewReport structure

A report of a lens review.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetLensVersionDifference

$result = $client->getLensVersionDifference([/* ... */]);
$promise = $client->getLensVersionDifferenceAsync([/* ... */]);

Get lens version differences.

Parameter Syntax

$result = $client->getLensVersionDifference([
    'BaseLensVersion' => '<string>',
    'LensAlias' => '<string>', // REQUIRED
    'TargetLensVersion' => '<string>',
]);

Parameter Details

Members
BaseLensVersion
Type: string

The base version of the lens.

LensAlias
Required: Yes
Type: 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.

TargetLensVersion
Type: string

The lens version to target a difference for.

Result Syntax

[
    'BaseLensVersion' => '<string>',
    'LatestLensVersion' => '<string>',
    'LensAlias' => '<string>',
    'LensArn' => '<string>',
    'TargetLensVersion' => '<string>',
    'VersionDifferences' => [
        'PillarDifferences' => [
            [
                'DifferenceStatus' => 'UPDATED|NEW|DELETED',
                'PillarId' => '<string>',
                'PillarName' => '<string>',
                'QuestionDifferences' => [
                    [
                        'DifferenceStatus' => 'UPDATED|NEW|DELETED',
                        'QuestionId' => '<string>',
                        'QuestionTitle' => '<string>',
                    ],
                    // ...
                ],
            ],
            // ...
        ],
    ],
]

Result Details

Members
BaseLensVersion
Type: string

The base version of the lens.

LatestLensVersion
Type: string

The latest version of the lens.

LensAlias
Type: 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
Type: string

The ARN for the lens.

TargetLensVersion
Type: string

The target lens version for the lens.

VersionDifferences
Type: VersionDifferences structure

The differences between the base and latest versions of the lens.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetMilestone

$result = $client->getMilestone([/* ... */]);
$promise = $client->getMilestoneAsync([/* ... */]);

Get a milestone for an existing workload.

Parameter Syntax

$result = $client->getMilestone([
    'MilestoneNumber' => <integer>, // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
MilestoneNumber
Required: Yes
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'Milestone' => [
        'MilestoneName' => '<string>',
        'MilestoneNumber' => <integer>,
        'RecordedAt' => <DateTime>,
        'Workload' => [
            'AccountIds' => ['<string>', ...],
            'Applications' => ['<string>', ...],
            'ArchitecturalDesign' => '<string>',
            'AwsRegions' => ['<string>', ...],
            'Description' => '<string>',
            'DiscoveryConfig' => [
                'TrustedAdvisorIntegrationStatus' => 'ENABLED|DISABLED',
                'WorkloadResourceDefinition' => ['<string>', ...],
            ],
            'Environment' => 'PRODUCTION|PREPRODUCTION',
            'ImprovementStatus' => 'NOT_APPLICABLE|NOT_STARTED|IN_PROGRESS|COMPLETE|RISK_ACKNOWLEDGED',
            'Industry' => '<string>',
            'IndustryType' => '<string>',
            'IsReviewOwnerUpdateAcknowledged' => true || false,
            'JiraConfiguration' => [
                'IssueManagementStatus' => 'ENABLED|DISABLED|INHERIT',
                'IssueManagementType' => 'AUTO|MANUAL',
                'JiraProjectKey' => '<string>',
                'StatusMessage' => '<string>',
            ],
            'Lenses' => ['<string>', ...],
            'NonAwsRegions' => ['<string>', ...],
            'Notes' => '<string>',
            'Owner' => '<string>',
            'PillarPriorities' => ['<string>', ...],
            'PrioritizedRiskCounts' => [<integer>, ...],
            'Profiles' => [
                [
                    'ProfileArn' => '<string>',
                    'ProfileVersion' => '<string>',
                ],
                // ...
            ],
            'ReviewOwner' => '<string>',
            'ReviewRestrictionDate' => <DateTime>,
            'RiskCounts' => [<integer>, ...],
            'ShareInvitationId' => '<string>',
            'Tags' => ['<string>', ...],
            'UpdatedAt' => <DateTime>,
            'WorkloadArn' => '<string>',
            'WorkloadId' => '<string>',
            'WorkloadName' => '<string>',
        ],
    ],
    'WorkloadId' => '<string>',
]

Result Details

Members
Milestone
Type: Milestone structure

A milestone return object.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetProfile

$result = $client->getProfile([/* ... */]);
$promise = $client->getProfileAsync([/* ... */]);

Get profile information.

Parameter Syntax

$result = $client->getProfile([
    'ProfileArn' => '<string>', // REQUIRED
    'ProfileVersion' => '<string>',
]);

Parameter Details

Members
ProfileArn
Required: Yes
Type: string

The profile ARN.

ProfileVersion
Type: string

The profile version.

Result Syntax

[
    'Profile' => [
        'CreatedAt' => <DateTime>,
        'Owner' => '<string>',
        'ProfileArn' => '<string>',
        'ProfileDescription' => '<string>',
        'ProfileName' => '<string>',
        'ProfileQuestions' => [
            [
                'MaxSelectedChoices' => <integer>,
                'MinSelectedChoices' => <integer>,
                'QuestionChoices' => [
                    [
                        'ChoiceDescription' => '<string>',
                        'ChoiceId' => '<string>',
                        'ChoiceTitle' => '<string>',
                    ],
                    // ...
                ],
                'QuestionDescription' => '<string>',
                'QuestionId' => '<string>',
                'QuestionTitle' => '<string>',
                'SelectedChoiceIds' => ['<string>', ...],
            ],
            // ...
        ],
        'ProfileVersion' => '<string>',
        'ShareInvitationId' => '<string>',
        'Tags' => ['<string>', ...],
        'UpdatedAt' => <DateTime>,
    ],
]

Result Details

Members
Profile
Type: Profile structure

The profile.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetProfileTemplate

$result = $client->getProfileTemplate([/* ... */]);
$promise = $client->getProfileTemplateAsync([/* ... */]);

Get profile template.

Parameter Syntax

$result = $client->getProfileTemplate([
]);

Parameter Details

Members

Result Syntax

[
    'ProfileTemplate' => [
        'CreatedAt' => <DateTime>,
        'TemplateName' => '<string>',
        'TemplateQuestions' => [
            [
                'MaxSelectedChoices' => <integer>,
                'MinSelectedChoices' => <integer>,
                'QuestionChoices' => [
                    [
                        'ChoiceDescription' => '<string>',
                        'ChoiceId' => '<string>',
                        'ChoiceTitle' => '<string>',
                    ],
                    // ...
                ],
                'QuestionDescription' => '<string>',
                'QuestionId' => '<string>',
                'QuestionTitle' => '<string>',
            ],
            // ...
        ],
        'UpdatedAt' => <DateTime>,
    ],
]

Result Details

Members
ProfileTemplate
Type: ProfileTemplate structure

The profile template.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetReviewTemplate

$result = $client->getReviewTemplate([/* ... */]);
$promise = $client->getReviewTemplateAsync([/* ... */]);

Get review template.

Parameter Syntax

$result = $client->getReviewTemplate([
    'TemplateArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
TemplateArn
Required: Yes
Type: string

The review template ARN.

Result Syntax

[
    'ReviewTemplate' => [
        'Description' => '<string>',
        'Lenses' => ['<string>', ...],
        'Notes' => '<string>',
        'Owner' => '<string>',
        'QuestionCounts' => [<integer>, ...],
        'ShareInvitationId' => '<string>',
        'Tags' => ['<string>', ...],
        'TemplateArn' => '<string>',
        'TemplateName' => '<string>',
        'UpdateStatus' => 'CURRENT|LENS_NOT_CURRENT',
        'UpdatedAt' => <DateTime>,
    ],
]

Result Details

Members
ReviewTemplate
Type: ReviewTemplate structure

The review template.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetReviewTemplateAnswer

$result = $client->getReviewTemplateAnswer([/* ... */]);
$promise = $client->getReviewTemplateAnswerAsync([/* ... */]);

Get review template answer.

Parameter Syntax

$result = $client->getReviewTemplateAnswer([
    'LensAlias' => '<string>', // REQUIRED
    'QuestionId' => '<string>', // REQUIRED
    'TemplateArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

QuestionId
Required: Yes
Type: string

The ID of the question.

TemplateArn
Required: Yes
Type: string

The review template ARN.

Result Syntax

[
    'Answer' => [
        'AnswerStatus' => 'UNANSWERED|ANSWERED',
        'ChoiceAnswers' => [
            [
                'ChoiceId' => '<string>',
                'Notes' => '<string>',
                'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
                'Status' => 'SELECTED|NOT_APPLICABLE|UNSELECTED',
            ],
            // ...
        ],
        'Choices' => [
            [
                'AdditionalResources' => [
                    [
                        'Content' => [
                            [
                                'DisplayText' => '<string>',
                                'Url' => '<string>',
                            ],
                            // ...
                        ],
                        'Type' => 'HELPFUL_RESOURCE|IMPROVEMENT_PLAN',
                    ],
                    // ...
                ],
                'ChoiceId' => '<string>',
                'Description' => '<string>',
                'HelpfulResource' => [
                    'DisplayText' => '<string>',
                    'Url' => '<string>',
                ],
                'ImprovementPlan' => [
                    'DisplayText' => '<string>',
                    'Url' => '<string>',
                ],
                'Title' => '<string>',
            ],
            // ...
        ],
        'HelpfulResourceDisplayText' => '<string>',
        'HelpfulResourceUrl' => '<string>',
        'ImprovementPlanUrl' => '<string>',
        'IsApplicable' => true || false,
        'Notes' => '<string>',
        'PillarId' => '<string>',
        'QuestionDescription' => '<string>',
        'QuestionId' => '<string>',
        'QuestionTitle' => '<string>',
        'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
        'SelectedChoices' => ['<string>', ...],
    ],
    'LensAlias' => '<string>',
    'TemplateArn' => '<string>',
]

Result Details

Members
Answer
Type: ReviewTemplateAnswer structure

An answer of the question.

LensAlias
Type: 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.

TemplateArn
Type: string

The review template ARN.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetReviewTemplateLensReview

$result = $client->getReviewTemplateLensReview([/* ... */]);
$promise = $client->getReviewTemplateLensReviewAsync([/* ... */]);

Get a lens review associated with a review template.

Parameter Syntax

$result = $client->getReviewTemplateLensReview([
    'LensAlias' => '<string>', // REQUIRED
    'TemplateArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

TemplateArn
Required: Yes
Type: string

The review template ARN.

Result Syntax

[
    'LensReview' => [
        'LensAlias' => '<string>',
        'LensArn' => '<string>',
        'LensName' => '<string>',
        'LensStatus' => 'CURRENT|NOT_CURRENT|DEPRECATED|DELETED|UNSHARED',
        'LensVersion' => '<string>',
        'NextToken' => '<string>',
        'Notes' => '<string>',
        'PillarReviewSummaries' => [
            [
                'Notes' => '<string>',
                'PillarId' => '<string>',
                'PillarName' => '<string>',
                'QuestionCounts' => [<integer>, ...],
            ],
            // ...
        ],
        'QuestionCounts' => [<integer>, ...],
        'UpdatedAt' => <DateTime>,
    ],
    'TemplateArn' => '<string>',
]

Result Details

Members
LensReview
Type: ReviewTemplateLensReview structure

A lens review of a question.

TemplateArn
Type: string

The review template ARN.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

GetWorkload

$result = $client->getWorkload([/* ... */]);
$promise = $client->getWorkloadAsync([/* ... */]);

Get an existing workload.

Parameter Syntax

$result = $client->getWorkload([
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'Workload' => [
        'AccountIds' => ['<string>', ...],
        'Applications' => ['<string>', ...],
        'ArchitecturalDesign' => '<string>',
        'AwsRegions' => ['<string>', ...],
        'Description' => '<string>',
        'DiscoveryConfig' => [
            'TrustedAdvisorIntegrationStatus' => 'ENABLED|DISABLED',
            'WorkloadResourceDefinition' => ['<string>', ...],
        ],
        'Environment' => 'PRODUCTION|PREPRODUCTION',
        'ImprovementStatus' => 'NOT_APPLICABLE|NOT_STARTED|IN_PROGRESS|COMPLETE|RISK_ACKNOWLEDGED',
        'Industry' => '<string>',
        'IndustryType' => '<string>',
        'IsReviewOwnerUpdateAcknowledged' => true || false,
        'JiraConfiguration' => [
            'IssueManagementStatus' => 'ENABLED|DISABLED|INHERIT',
            'IssueManagementType' => 'AUTO|MANUAL',
            'JiraProjectKey' => '<string>',
            'StatusMessage' => '<string>',
        ],
        'Lenses' => ['<string>', ...],
        'NonAwsRegions' => ['<string>', ...],
        'Notes' => '<string>',
        'Owner' => '<string>',
        'PillarPriorities' => ['<string>', ...],
        'PrioritizedRiskCounts' => [<integer>, ...],
        'Profiles' => [
            [
                'ProfileArn' => '<string>',
                'ProfileVersion' => '<string>',
            ],
            // ...
        ],
        'ReviewOwner' => '<string>',
        'ReviewRestrictionDate' => <DateTime>,
        'RiskCounts' => [<integer>, ...],
        'ShareInvitationId' => '<string>',
        'Tags' => ['<string>', ...],
        'UpdatedAt' => <DateTime>,
        'WorkloadArn' => '<string>',
        'WorkloadId' => '<string>',
        'WorkloadName' => '<string>',
    ],
]

Result Details

Members
Workload
Type: Workload structure

A workload return object.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ImportLens

$result = $client->importLens([/* ... */]);
$promise = $client->importLensAsync([/* ... */]);

Import a new custom lens or update an existing custom lens.

To update an existing custom lens, specify its ARN as the LensAlias. If no ARN is specified, a new custom lens is created.

The new or updated lens will have a status of DRAFT. The lens cannot be applied to workloads or shared with other Amazon Web Services accounts until it's published with CreateLensVersion.

Lenses are defined in JSON. For more information, see JSON format specification in the Well-Architected Tool User Guide.

A custom lens cannot exceed 500 KB in size.

Disclaimer

Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your custom lenses. If your custom lens or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.

Parameter Syntax

$result = $client->importLens([
    'ClientRequestToken' => '<string>', // REQUIRED
    'JSONString' => '<string>', // REQUIRED
    'LensAlias' => '<string>',
    'Tags' => ['<string>', ...],
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

JSONString
Required: Yes
Type: string

The JSON representation of a lens.

LensAlias
Type: 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.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags to associate to a lens.

Result Syntax

[
    'LensArn' => '<string>',
    'Status' => 'IN_PROGRESS|COMPLETE|ERROR',
]

Result Details

Members
LensArn
Type: string

The ARN for the lens that was created or updated.

Status
Type: string

The status of the imported lens.

Errors

ValidationException:

The user input is not valid.

ConflictException:

The resource has already been processed, was deleted, or is too large.

ResourceNotFoundException:

The requested resource was not found.

ServiceQuotaExceededException:

The user has reached their resource quota.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListAnswers

$result = $client->listAnswers([/* ... */]);
$promise = $client->listAnswersAsync([/* ... */]);

List of answers for a particular workload and lens.

Parameter Syntax

$result = $client->listAnswers([
    'LensAlias' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'MilestoneNumber' => <integer>,
    'NextToken' => '<string>',
    'PillarId' => '<string>',
    'QuestionPriority' => 'PRIORITIZED|NONE',
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

MaxResults
Type: int

The maximum number of results to return for this request.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

NextToken
Type: string

The token to use to retrieve the next set of results.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

QuestionPriority
Type: string

The priority of the question.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'AnswerSummaries' => [
        [
            'ChoiceAnswerSummaries' => [
                [
                    'ChoiceId' => '<string>',
                    'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
                    'Status' => 'SELECTED|NOT_APPLICABLE|UNSELECTED',
                ],
                // ...
            ],
            'Choices' => [
                [
                    'AdditionalResources' => [
                        [
                            'Content' => [
                                [
                                    'DisplayText' => '<string>',
                                    'Url' => '<string>',
                                ],
                                // ...
                            ],
                            'Type' => 'HELPFUL_RESOURCE|IMPROVEMENT_PLAN',
                        ],
                        // ...
                    ],
                    'ChoiceId' => '<string>',
                    'Description' => '<string>',
                    'HelpfulResource' => [
                        'DisplayText' => '<string>',
                        'Url' => '<string>',
                    ],
                    'ImprovementPlan' => [
                        'DisplayText' => '<string>',
                        'Url' => '<string>',
                    ],
                    'Title' => '<string>',
                ],
                // ...
            ],
            'IsApplicable' => true || false,
            'JiraConfiguration' => [
                'JiraIssueUrl' => '<string>',
                'LastSyncedTime' => <DateTime>,
            ],
            'PillarId' => '<string>',
            'QuestionId' => '<string>',
            'QuestionTitle' => '<string>',
            'QuestionType' => 'PRIORITIZED|NON_PRIORITIZED',
            'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
            'Risk' => 'UNANSWERED|HIGH|MEDIUM|NONE|NOT_APPLICABLE',
            'SelectedChoices' => ['<string>', ...],
        ],
        // ...
    ],
    'LensAlias' => '<string>',
    'LensArn' => '<string>',
    'MilestoneNumber' => <integer>,
    'NextToken' => '<string>',
    'WorkloadId' => '<string>',
]

Result Details

Members
AnswerSummaries
Type: Array of AnswerSummary structures

List of answer summaries of lens review in a workload.

LensAlias
Type: 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
Type: string

The ARN for the lens.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

NextToken
Type: string

The token to use to retrieve the next set of results.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListCheckDetails

$result = $client->listCheckDetails([/* ... */]);
$promise = $client->listCheckDetailsAsync([/* ... */]);

List of Trusted Advisor check details by account related to the workload.

Parameter Syntax

$result = $client->listCheckDetails([
    'ChoiceId' => '<string>', // REQUIRED
    'LensArn' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'PillarId' => '<string>', // REQUIRED
    'QuestionId' => '<string>', // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChoiceId
Required: Yes
Type: string

The ID of a choice.

LensArn
Required: Yes
Type: string

Well-Architected Lens ARN.

MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

PillarId
Required: Yes
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

QuestionId
Required: Yes
Type: string

The ID of the question.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'CheckDetails' => [
        [
            'AccountId' => '<string>',
            'ChoiceId' => '<string>',
            'Description' => '<string>',
            'FlaggedResources' => <integer>,
            'Id' => '<string>',
            'LensArn' => '<string>',
            'Name' => '<string>',
            'PillarId' => '<string>',
            'Provider' => 'TRUSTED_ADVISOR',
            'QuestionId' => '<string>',
            'Reason' => 'ASSUME_ROLE_ERROR|ACCESS_DENIED|UNKNOWN_ERROR|PREMIUM_SUPPORT_REQUIRED',
            'Status' => 'OKAY|WARNING|ERROR|NOT_AVAILABLE|FETCH_FAILED',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
CheckDetails
Type: Array of CheckDetail structures

The details about the Trusted Advisor checks related to the Well-Architected best practice.

NextToken
Type: string

The token to use to retrieve the next set of results.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListCheckSummaries

$result = $client->listCheckSummaries([/* ... */]);
$promise = $client->listCheckSummariesAsync([/* ... */]);

List of Trusted Advisor checks summarized for all accounts related to the workload.

Parameter Syntax

$result = $client->listCheckSummaries([
    'ChoiceId' => '<string>', // REQUIRED
    'LensArn' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'PillarId' => '<string>', // REQUIRED
    'QuestionId' => '<string>', // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChoiceId
Required: Yes
Type: string

The ID of a choice.

LensArn
Required: Yes
Type: string

Well-Architected Lens ARN.

MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

PillarId
Required: Yes
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

QuestionId
Required: Yes
Type: string

The ID of the question.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'CheckSummaries' => [
        [
            'AccountSummary' => [<integer>, ...],
            'ChoiceId' => '<string>',
            'Description' => '<string>',
            'Id' => '<string>',
            'LensArn' => '<string>',
            'Name' => '<string>',
            'PillarId' => '<string>',
            'Provider' => 'TRUSTED_ADVISOR',
            'QuestionId' => '<string>',
            'Status' => 'OKAY|WARNING|ERROR|NOT_AVAILABLE|FETCH_FAILED',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
CheckSummaries
Type: Array of CheckSummary structures

List of Trusted Advisor summaries related to the Well-Architected best practice.

NextToken
Type: string

The token to use to retrieve the next set of results.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListLensReviewImprovements

$result = $client->listLensReviewImprovements([/* ... */]);
$promise = $client->listLensReviewImprovementsAsync([/* ... */]);

List the improvements of a particular lens review.

Parameter Syntax

$result = $client->listLensReviewImprovements([
    'LensAlias' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'MilestoneNumber' => <integer>,
    'NextToken' => '<string>',
    'PillarId' => '<string>',
    'QuestionPriority' => 'PRIORITIZED|NONE',
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

MaxResults
Type: int

The maximum number of results to return for this request.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

NextToken
Type: string

The token to use to retrieve the next set of results.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

QuestionPriority
Type: string

The priority of the question.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'ImprovementSummaries' => [
        [
            'ImprovementPlanUrl' => '<string>',
            'ImprovementPlans' => [
                [
                    'ChoiceId' => '<string>',
                    'DisplayText' => '<string>',
                    'ImprovementPlanUrl' => '<string>',
                ],
                // ...
            ],
            'JiraConfiguration' => [
                'JiraIssueUrl' => '<string>',
                'LastSyncedTime' => <DateTime>,
            ],
            'PillarId' => '<string>',
            'QuestionId' => '<string>',
            'QuestionTitle' => '<string>',
            'Risk' => 'UNANSWERED|HIGH|MEDIUM|NONE|NOT_APPLICABLE',
        ],
        // ...
    ],
    'LensAlias' => '<string>',
    'LensArn' => '<string>',
    'MilestoneNumber' => <integer>,
    'NextToken' => '<string>',
    'WorkloadId' => '<string>',
]

Result Details

Members
ImprovementSummaries
Type: Array of ImprovementSummary structures

List of improvement summaries of lens review in a workload.

LensAlias
Type: 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
Type: string

The ARN for the lens.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

NextToken
Type: string

The token to use to retrieve the next set of results.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListLensReviews

$result = $client->listLensReviews([/* ... */]);
$promise = $client->listLensReviewsAsync([/* ... */]);

List lens reviews for a particular workload.

Parameter Syntax

$result = $client->listLensReviews([
    'MaxResults' => <integer>,
    'MilestoneNumber' => <integer>,
    'NextToken' => '<string>',
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return for this request.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

NextToken
Type: string

The token to use to retrieve the next set of results.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'LensReviewSummaries' => [
        [
            'LensAlias' => '<string>',
            'LensArn' => '<string>',
            'LensName' => '<string>',
            'LensStatus' => 'CURRENT|NOT_CURRENT|DEPRECATED|DELETED|UNSHARED',
            'LensVersion' => '<string>',
            'PrioritizedRiskCounts' => [<integer>, ...],
            'Profiles' => [
                [
                    'ProfileArn' => '<string>',
                    'ProfileVersion' => '<string>',
                ],
                // ...
            ],
            'RiskCounts' => [<integer>, ...],
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
    'MilestoneNumber' => <integer>,
    'NextToken' => '<string>',
    'WorkloadId' => '<string>',
]

Result Details

Members
LensReviewSummaries
Type: Array of LensReviewSummary structures

List of lens summaries of lens reviews of a workload.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

NextToken
Type: string

The token to use to retrieve the next set of results.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListLensShares

$result = $client->listLensShares([/* ... */]);
$promise = $client->listLensSharesAsync([/* ... */]);

List the lens shares associated with the lens.

Parameter Syntax

$result = $client->listLensShares([
    'LensAlias' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'SharedWithPrefix' => '<string>',
    'Status' => 'ACCEPTED|REJECTED|PENDING|REVOKED|EXPIRED|ASSOCIATING|ASSOCIATED|FAILED',
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

SharedWithPrefix
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the lens is shared.

Status
Type: string

The status of the share request.

Result Syntax

[
    'LensShareSummaries' => [
        [
            'ShareId' => '<string>',
            'SharedWith' => '<string>',
            'Status' => 'ACCEPTED|REJECTED|PENDING|REVOKED|EXPIRED|ASSOCIATING|ASSOCIATED|FAILED',
            'StatusMessage' => '<string>',
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
LensShareSummaries
Type: Array of LensShareSummary structures

A list of lens share summaries.

NextToken
Type: string

The token to use to retrieve the next set of results.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListLenses

$result = $client->listLenses([/* ... */]);
$promise = $client->listLensesAsync([/* ... */]);

List the available lenses.

Parameter Syntax

$result = $client->listLenses([
    'LensName' => '<string>',
    'LensStatus' => 'ALL|DRAFT|PUBLISHED',
    'LensType' => 'AWS_OFFICIAL|CUSTOM_SHARED|CUSTOM_SELF',
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
LensName
Type: string

The full name of the lens.

LensStatus
Type: string

The status of lenses to be returned.

LensType
Type: string

The type of lenses to be returned.

MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

Result Syntax

[
    'LensSummaries' => [
        [
            'CreatedAt' => <DateTime>,
            'Description' => '<string>',
            'LensAlias' => '<string>',
            'LensArn' => '<string>',
            'LensName' => '<string>',
            'LensStatus' => 'CURRENT|NOT_CURRENT|DEPRECATED|DELETED|UNSHARED',
            'LensType' => 'AWS_OFFICIAL|CUSTOM_SHARED|CUSTOM_SELF',
            'LensVersion' => '<string>',
            'Owner' => '<string>',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
    'NextToken' => '<string>',
]

Result Details

Members
LensSummaries
Type: Array of LensSummary structures

List of lens summaries of available lenses.

NextToken
Type: string

The token to use to retrieve the next set of results.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListMilestones

$result = $client->listMilestones([/* ... */]);
$promise = $client->listMilestonesAsync([/* ... */]);

List all milestones for an existing workload.

Parameter Syntax

$result = $client->listMilestones([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'MilestoneSummaries' => [
        [
            'MilestoneName' => '<string>',
            'MilestoneNumber' => <integer>,
            'RecordedAt' => <DateTime>,
            'WorkloadSummary' => [
                'ImprovementStatus' => 'NOT_APPLICABLE|NOT_STARTED|IN_PROGRESS|COMPLETE|RISK_ACKNOWLEDGED',
                'Lenses' => ['<string>', ...],
                'Owner' => '<string>',
                'PrioritizedRiskCounts' => [<integer>, ...],
                'Profiles' => [
                    [
                        'ProfileArn' => '<string>',
                        'ProfileVersion' => '<string>',
                    ],
                    // ...
                ],
                'RiskCounts' => [<integer>, ...],
                'UpdatedAt' => <DateTime>,
                'WorkloadArn' => '<string>',
                'WorkloadId' => '<string>',
                'WorkloadName' => '<string>',
            ],
        ],
        // ...
    ],
    'NextToken' => '<string>',
    'WorkloadId' => '<string>',
]

Result Details

Members
MilestoneSummaries
Type: Array of MilestoneSummary structures

A list of milestone summaries.

NextToken
Type: string

The token to use to retrieve the next set of results.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListNotifications

$result = $client->listNotifications([/* ... */]);
$promise = $client->listNotificationsAsync([/* ... */]);

List lens notifications.

Parameter Syntax

$result = $client->listNotifications([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'ResourceArn' => '<string>',
    'WorkloadId' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

ResourceArn
Type: string

The ARN for the related resource for the notification.

Only one of WorkloadID or ResourceARN should be specified.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'NextToken' => '<string>',
    'NotificationSummaries' => [
        [
            'LensUpgradeSummary' => [
                'CurrentLensVersion' => '<string>',
                'LatestLensVersion' => '<string>',
                'LensAlias' => '<string>',
                'LensArn' => '<string>',
                'ResourceArn' => '<string>',
                'ResourceName' => '<string>',
                'WorkloadId' => '<string>',
                'WorkloadName' => '<string>',
            ],
            'Type' => 'LENS_VERSION_UPGRADED|LENS_VERSION_DEPRECATED',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
Type: string

The token to use to retrieve the next set of results.

NotificationSummaries
Type: Array of NotificationSummary structures

List of lens notification summaries in a workload.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListProfileNotifications

$result = $client->listProfileNotifications([/* ... */]);
$promise = $client->listProfileNotificationsAsync([/* ... */]);

List profile notifications.

Parameter Syntax

$result = $client->listProfileNotifications([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'WorkloadId' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'NextToken' => '<string>',
    'NotificationSummaries' => [
        [
            'CurrentProfileVersion' => '<string>',
            'LatestProfileVersion' => '<string>',
            'ProfileArn' => '<string>',
            'ProfileName' => '<string>',
            'Type' => 'PROFILE_ANSWERS_UPDATED|PROFILE_DELETED',
            'WorkloadId' => '<string>',
            'WorkloadName' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
Type: string

The token to use to retrieve the next set of results.

NotificationSummaries
Type: Array of ProfileNotificationSummary structures

Notification summaries.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListProfileShares

$result = $client->listProfileShares([/* ... */]);
$promise = $client->listProfileSharesAsync([/* ... */]);

List profile shares.

Parameter Syntax

$result = $client->listProfileShares([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'ProfileArn' => '<string>', // REQUIRED
    'SharedWithPrefix' => '<string>',
    'Status' => 'ACCEPTED|REJECTED|PENDING|REVOKED|EXPIRED|ASSOCIATING|ASSOCIATED|FAILED',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

ProfileArn
Required: Yes
Type: string

The profile ARN.

SharedWithPrefix
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the profile is shared.

Status
Type: string

The status of the share request.

Result Syntax

[
    'NextToken' => '<string>',
    'ProfileShareSummaries' => [
        [
            'ShareId' => '<string>',
            'SharedWith' => '<string>',
            'Status' => 'ACCEPTED|REJECTED|PENDING|REVOKED|EXPIRED|ASSOCIATING|ASSOCIATED|FAILED',
            'StatusMessage' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
Type: string

The token to use to retrieve the next set of results.

ProfileShareSummaries
Type: Array of ProfileShareSummary structures

Profile share summaries.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListProfiles

$result = $client->listProfiles([/* ... */]);
$promise = $client->listProfilesAsync([/* ... */]);

List profiles.

Parameter Syntax

$result = $client->listProfiles([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'ProfileNamePrefix' => '<string>',
    'ProfileOwnerType' => 'SELF|SHARED',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

ProfileNamePrefix
Type: string

An optional string added to the beginning of each profile name returned in the results.

ProfileOwnerType
Type: string

Profile owner type.

Result Syntax

[
    'NextToken' => '<string>',
    'ProfileSummaries' => [
        [
            'CreatedAt' => <DateTime>,
            'Owner' => '<string>',
            'ProfileArn' => '<string>',
            'ProfileDescription' => '<string>',
            'ProfileName' => '<string>',
            'ProfileVersion' => '<string>',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
]

Result Details

Members
NextToken
Type: string

The token to use to retrieve the next set of results.

ProfileSummaries
Type: Array of ProfileSummary structures

Profile summaries.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListReviewTemplateAnswers

$result = $client->listReviewTemplateAnswers([/* ... */]);
$promise = $client->listReviewTemplateAnswersAsync([/* ... */]);

List the answers of a review template.

Parameter Syntax

$result = $client->listReviewTemplateAnswers([
    'LensAlias' => '<string>', // REQUIRED
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'PillarId' => '<string>',
    'TemplateArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

TemplateArn
Required: Yes
Type: string

The ARN of the review template.

Result Syntax

[
    'AnswerSummaries' => [
        [
            'AnswerStatus' => 'UNANSWERED|ANSWERED',
            'ChoiceAnswerSummaries' => [
                [
                    'ChoiceId' => '<string>',
                    'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
                    'Status' => 'SELECTED|NOT_APPLICABLE|UNSELECTED',
                ],
                // ...
            ],
            'Choices' => [
                [
                    'AdditionalResources' => [
                        [
                            'Content' => [
                                [
                                    'DisplayText' => '<string>',
                                    'Url' => '<string>',
                                ],
                                // ...
                            ],
                            'Type' => 'HELPFUL_RESOURCE|IMPROVEMENT_PLAN',
                        ],
                        // ...
                    ],
                    'ChoiceId' => '<string>',
                    'Description' => '<string>',
                    'HelpfulResource' => [
                        'DisplayText' => '<string>',
                        'Url' => '<string>',
                    ],
                    'ImprovementPlan' => [
                        'DisplayText' => '<string>',
                        'Url' => '<string>',
                    ],
                    'Title' => '<string>',
                ],
                // ...
            ],
            'IsApplicable' => true || false,
            'PillarId' => '<string>',
            'QuestionId' => '<string>',
            'QuestionTitle' => '<string>',
            'QuestionType' => 'PRIORITIZED|NON_PRIORITIZED',
            'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
            'SelectedChoices' => ['<string>', ...],
        ],
        // ...
    ],
    'LensAlias' => '<string>',
    'NextToken' => '<string>',
    'TemplateArn' => '<string>',
]

Result Details

Members
AnswerSummaries
Type: Array of ReviewTemplateAnswerSummary structures

List of answer summaries of a lens review in a review template.

LensAlias
Type: 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.

NextToken
Type: string

The token to use to retrieve the next set of results.

TemplateArn
Type: string

The ARN of the review template.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListReviewTemplates

$result = $client->listReviewTemplates([/* ... */]);
$promise = $client->listReviewTemplatesAsync([/* ... */]);

List review templates.

Parameter Syntax

$result = $client->listReviewTemplates([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

Result Syntax

[
    'NextToken' => '<string>',
    'ReviewTemplates' => [
        [
            'Description' => '<string>',
            'Lenses' => ['<string>', ...],
            'Owner' => '<string>',
            'TemplateArn' => '<string>',
            'TemplateName' => '<string>',
            'UpdateStatus' => 'CURRENT|LENS_NOT_CURRENT',
            'UpdatedAt' => <DateTime>,
        ],
        // ...
    ],
]

Result Details

Members
NextToken
Type: string

The token to use to retrieve the next set of results.

ReviewTemplates
Type: Array of ReviewTemplateSummary structures

List of review templates.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListShareInvitations

$result = $client->listShareInvitations([/* ... */]);
$promise = $client->listShareInvitationsAsync([/* ... */]);

List the share invitations.

WorkloadNamePrefix, LensNamePrefix, ProfileNamePrefix, and TemplateNamePrefix are mutually exclusive. Use the parameter that matches your ShareResourceType.

Parameter Syntax

$result = $client->listShareInvitations([
    'LensNamePrefix' => '<string>',
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'ProfileNamePrefix' => '<string>',
    'ShareResourceType' => 'WORKLOAD|LENS|PROFILE|TEMPLATE',
    'TemplateNamePrefix' => '<string>',
    'WorkloadNamePrefix' => '<string>',
]);

Parameter Details

Members
LensNamePrefix
Type: string

An optional string added to the beginning of each lens name returned in the results.

MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

ProfileNamePrefix
Type: string

An optional string added to the beginning of each profile name returned in the results.

ShareResourceType
Type: string

The type of share invitations to be returned.

TemplateNamePrefix
Type: string

An optional string added to the beginning of each review template name returned in the results.

WorkloadNamePrefix
Type: string

An optional string added to the beginning of each workload name returned in the results.

Result Syntax

[
    'NextToken' => '<string>',
    'ShareInvitationSummaries' => [
        [
            'LensArn' => '<string>',
            'LensName' => '<string>',
            'PermissionType' => 'READONLY|CONTRIBUTOR',
            'ProfileArn' => '<string>',
            'ProfileName' => '<string>',
            'ShareInvitationId' => '<string>',
            'ShareResourceType' => 'WORKLOAD|LENS|PROFILE|TEMPLATE',
            'SharedBy' => '<string>',
            'SharedWith' => '<string>',
            'TemplateArn' => '<string>',
            'TemplateName' => '<string>',
            'WorkloadId' => '<string>',
            'WorkloadName' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
Type: string

The token to use to retrieve the next set of results.

ShareInvitationSummaries
Type: Array of ShareInvitationSummary structures

List of share invitation summaries in a workload.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

List the tags for a resource.

The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.

Parameter Syntax

$result = $client->listTagsForResource([
    'WorkloadArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
WorkloadArn
Required: Yes
Type: string

The ARN for the workload.

Result Syntax

[
    'Tags' => ['<string>', ...],
]

Result Details

Members
Tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags for the resource.

Errors

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ListTemplateShares

$result = $client->listTemplateShares([/* ... */]);
$promise = $client->listTemplateSharesAsync([/* ... */]);

List review template shares.

Parameter Syntax

$result = $client->listTemplateShares([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'SharedWithPrefix' => '<string>',
    'Status' => 'ACCEPTED|REJECTED|PENDING|REVOKED|EXPIRED|ASSOCIATING|ASSOCIATED|FAILED',
    'TemplateArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

SharedWithPrefix
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the profile is shared.

Status
Type: string

The status of the share request.

TemplateArn
Required: Yes
Type: string

The review template ARN.

Result Syntax

[
    'NextToken' => '<string>',
    'TemplateArn' => '<string>',
    'TemplateShareSummaries' => [
        [
            'ShareId' => '<string>',
            'SharedWith' => '<string>',
            'Status' => 'ACCEPTED|REJECTED|PENDING|REVOKED|EXPIRED|ASSOCIATING|ASSOCIATED|FAILED',
            'StatusMessage' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
Type: string

The token to use to retrieve the next set of results.

TemplateArn
Type: string

The review template ARN.

TemplateShareSummaries
Type: Array of TemplateShareSummary structures

A review template share summary return object.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListWorkloadShares

$result = $client->listWorkloadShares([/* ... */]);
$promise = $client->listWorkloadSharesAsync([/* ... */]);

List the workload shares associated with the workload.

Parameter Syntax

$result = $client->listWorkloadShares([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'SharedWithPrefix' => '<string>',
    'Status' => 'ACCEPTED|REJECTED|PENDING|REVOKED|EXPIRED|ASSOCIATING|ASSOCIATED|FAILED',
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

SharedWithPrefix
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload is shared.

Status
Type: string

The status of the share request.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'NextToken' => '<string>',
    'WorkloadId' => '<string>',
    'WorkloadShareSummaries' => [
        [
            'PermissionType' => 'READONLY|CONTRIBUTOR',
            'ShareId' => '<string>',
            'SharedWith' => '<string>',
            'Status' => 'ACCEPTED|REJECTED|PENDING|REVOKED|EXPIRED|ASSOCIATING|ASSOCIATED|FAILED',
            'StatusMessage' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
Type: string

The token to use to retrieve the next set of results.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

WorkloadShareSummaries
Type: Array of WorkloadShareSummary structures

A list of workload share summaries.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ListWorkloads

$result = $client->listWorkloads([/* ... */]);
$promise = $client->listWorkloadsAsync([/* ... */]);

Paginated list of workloads.

Parameter Syntax

$result = $client->listWorkloads([
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'WorkloadNamePrefix' => '<string>',
]);

Parameter Details

Members
MaxResults
Type: int

The maximum number of results to return for this request.

NextToken
Type: string

The token to use to retrieve the next set of results.

WorkloadNamePrefix
Type: string

An optional string added to the beginning of each workload name returned in the results.

Result Syntax

[
    'NextToken' => '<string>',
    'WorkloadSummaries' => [
        [
            'ImprovementStatus' => 'NOT_APPLICABLE|NOT_STARTED|IN_PROGRESS|COMPLETE|RISK_ACKNOWLEDGED',
            'Lenses' => ['<string>', ...],
            'Owner' => '<string>',
            'PrioritizedRiskCounts' => [<integer>, ...],
            'Profiles' => [
                [
                    'ProfileArn' => '<string>',
                    'ProfileVersion' => '<string>',
                ],
                // ...
            ],
            'RiskCounts' => [<integer>, ...],
            'UpdatedAt' => <DateTime>,
            'WorkloadArn' => '<string>',
            'WorkloadId' => '<string>',
            'WorkloadName' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
NextToken
Type: string

The token to use to retrieve the next set of results.

WorkloadSummaries
Type: Array of WorkloadSummary structures

A list of workload summaries.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Adds one or more tags to the specified resource.

The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.

Parameter Syntax

$result = $client->tagResource([
    'Tags' => ['<string>', ...], // REQUIRED
    'WorkloadArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
Tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

The tags for the resource.

WorkloadArn
Required: Yes
Type: string

The ARN for the workload.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Deletes specified tags from a resource.

The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.

To specify multiple tags, use separate tagKeys parameters, for example:

DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2

Parameter Syntax

$result = $client->untagResource([
    'TagKeys' => ['<string>', ...], // REQUIRED
    'WorkloadArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
TagKeys
Required: Yes
Type: Array of strings

A list of tag keys. Existing tags of the resource whose keys are members of this list are removed from the resource.

WorkloadArn
Required: Yes
Type: string

The ARN for the workload.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

UpdateAnswer

$result = $client->updateAnswer([/* ... */]);
$promise = $client->updateAnswerAsync([/* ... */]);

Update the answer to a specific question in a workload review.

Parameter Syntax

$result = $client->updateAnswer([
    'ChoiceUpdates' => [
        '<ChoiceId>' => [
            'Notes' => '<string>',
            'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
            'Status' => 'SELECTED|NOT_APPLICABLE|UNSELECTED', // REQUIRED
        ],
        // ...
    ],
    'IsApplicable' => true || false,
    'LensAlias' => '<string>', // REQUIRED
    'Notes' => '<string>',
    'QuestionId' => '<string>', // REQUIRED
    'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
    'SelectedChoices' => ['<string>', ...],
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChoiceUpdates
Type: Associative array of custom strings keys (ChoiceId) to ChoiceUpdate structures

A list of choices to update on a question in your workload. The String key corresponds to the choice ID to be updated.

IsApplicable
Type: boolean

Defines whether this question is applicable to a lens review.

LensAlias
Required: Yes
Type: 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.

Notes
Type: 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.

QuestionId
Required: Yes
Type: string

The ID of the question.

Reason
Type: string

The reason why a question is not applicable to your workload.

SelectedChoices
Type: Array of strings

List of selected choice IDs in a question answer.

The values entered replace the previously selected choices.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'Answer' => [
        'ChoiceAnswers' => [
            [
                'ChoiceId' => '<string>',
                'Notes' => '<string>',
                'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
                'Status' => 'SELECTED|NOT_APPLICABLE|UNSELECTED',
            ],
            // ...
        ],
        'Choices' => [
            [
                'AdditionalResources' => [
                    [
                        'Content' => [
                            [
                                'DisplayText' => '<string>',
                                'Url' => '<string>',
                            ],
                            // ...
                        ],
                        'Type' => 'HELPFUL_RESOURCE|IMPROVEMENT_PLAN',
                    ],
                    // ...
                ],
                'ChoiceId' => '<string>',
                'Description' => '<string>',
                'HelpfulResource' => [
                    'DisplayText' => '<string>',
                    'Url' => '<string>',
                ],
                'ImprovementPlan' => [
                    'DisplayText' => '<string>',
                    'Url' => '<string>',
                ],
                'Title' => '<string>',
            ],
            // ...
        ],
        'HelpfulResourceDisplayText' => '<string>',
        'HelpfulResourceUrl' => '<string>',
        'ImprovementPlanUrl' => '<string>',
        'IsApplicable' => true || false,
        'JiraConfiguration' => [
            'JiraIssueUrl' => '<string>',
            'LastSyncedTime' => <DateTime>,
        ],
        'Notes' => '<string>',
        'PillarId' => '<string>',
        'QuestionDescription' => '<string>',
        'QuestionId' => '<string>',
        'QuestionTitle' => '<string>',
        'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
        'Risk' => 'UNANSWERED|HIGH|MEDIUM|NONE|NOT_APPLICABLE',
        'SelectedChoices' => ['<string>', ...],
    ],
    'LensAlias' => '<string>',
    'LensArn' => '<string>',
    'WorkloadId' => '<string>',
]

Result Details

Members
Answer
Type: Answer structure

An answer of the question.

LensAlias
Type: 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
Type: string

The ARN for the lens.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

UpdateGlobalSettings

$result = $client->updateGlobalSettings([/* ... */]);
$promise = $client->updateGlobalSettingsAsync([/* ... */]);

Update whether the Amazon Web Services account is opted into organization sharing and discovery integration features.

Parameter Syntax

$result = $client->updateGlobalSettings([
    'DiscoveryIntegrationStatus' => 'ENABLED|DISABLED',
    'JiraConfiguration' => [
        'IntegrationStatus' => 'NOT_CONFIGURED',
        'IssueManagementStatus' => 'ENABLED|DISABLED',
        'IssueManagementType' => 'AUTO|MANUAL',
        'JiraProjectKey' => '<string>',
    ],
    'OrganizationSharingStatus' => 'ENABLED|DISABLED',
]);

Parameter Details

Members
DiscoveryIntegrationStatus
Type: string

The status of discovery support settings.

JiraConfiguration

The status of Jira integration settings.

OrganizationSharingStatus
Type: string

The status of organization sharing settings.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

UpdateIntegration

$result = $client->updateIntegration([/* ... */]);
$promise = $client->updateIntegrationAsync([/* ... */]);

Update integration features.

Parameter Syntax

$result = $client->updateIntegration([
    'ClientRequestToken' => '<string>', // REQUIRED
    'IntegratingService' => 'JIRA', // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Required: Yes
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

IntegratingService
Required: Yes
Type: string

Which integrated service to update.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ConflictException:

The resource has already been processed, was deleted, or is too large.

ResourceNotFoundException:

The requested resource was not found.

AccessDeniedException:

User does not have sufficient access to perform this action.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ThrottlingException:

Request was denied due to request throttling.

UpdateLensReview

$result = $client->updateLensReview([/* ... */]);
$promise = $client->updateLensReviewAsync([/* ... */]);

Update lens review for a particular workload.

Parameter Syntax

$result = $client->updateLensReview([
    'JiraConfiguration' => [
        'SelectedPillars' => [
            [
                'PillarId' => '<string>',
                'SelectedQuestionIds' => ['<string>', ...],
            ],
            // ...
        ],
    ],
    'LensAlias' => '<string>', // REQUIRED
    'LensNotes' => '<string>',
    'PillarNotes' => ['<string>', ...],
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
JiraConfiguration

Configuration of the Jira integration.

LensAlias
Required: Yes
Type: 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.

LensNotes
Type: 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.

PillarNotes
Type: Associative array of custom strings keys (PillarId) to strings

List of pillar notes of a lens review in a workload.

For a review template, these are the notes that will be associated with the workload when the template is applied.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'LensReview' => [
        'JiraConfiguration' => [
            'SelectedPillars' => [
                [
                    'PillarId' => '<string>',
                    'SelectedQuestionIds' => ['<string>', ...],
                ],
                // ...
            ],
        ],
        'LensAlias' => '<string>',
        'LensArn' => '<string>',
        'LensName' => '<string>',
        'LensStatus' => 'CURRENT|NOT_CURRENT|DEPRECATED|DELETED|UNSHARED',
        'LensVersion' => '<string>',
        'NextToken' => '<string>',
        'Notes' => '<string>',
        'PillarReviewSummaries' => [
            [
                'Notes' => '<string>',
                'PillarId' => '<string>',
                'PillarName' => '<string>',
                'PrioritizedRiskCounts' => [<integer>, ...],
                'RiskCounts' => [<integer>, ...],
            ],
            // ...
        ],
        'PrioritizedRiskCounts' => [<integer>, ...],
        'Profiles' => [
            [
                'ProfileArn' => '<string>',
                'ProfileVersion' => '<string>',
            ],
            // ...
        ],
        'RiskCounts' => [<integer>, ...],
        'UpdatedAt' => <DateTime>,
    ],
    'WorkloadId' => '<string>',
]

Result Details

Members
LensReview
Type: LensReview structure

A lens review of a question.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

UpdateProfile

$result = $client->updateProfile([/* ... */]);
$promise = $client->updateProfileAsync([/* ... */]);

Update a profile.

Parameter Syntax

$result = $client->updateProfile([
    'ProfileArn' => '<string>', // REQUIRED
    'ProfileDescription' => '<string>',
    'ProfileQuestions' => [
        [
            'QuestionId' => '<string>',
            'SelectedChoiceIds' => ['<string>', ...],
        ],
        // ...
    ],
]);

Parameter Details

Members
ProfileArn
Required: Yes
Type: string

The profile ARN.

ProfileDescription
Type: string

The profile description.

ProfileQuestions
Type: Array of ProfileQuestionUpdate structures

Profile questions.

Result Syntax

[
    'Profile' => [
        'CreatedAt' => <DateTime>,
        'Owner' => '<string>',
        'ProfileArn' => '<string>',
        'ProfileDescription' => '<string>',
        'ProfileName' => '<string>',
        'ProfileQuestions' => [
            [
                'MaxSelectedChoices' => <integer>,
                'MinSelectedChoices' => <integer>,
                'QuestionChoices' => [
                    [
                        'ChoiceDescription' => '<string>',
                        'ChoiceId' => '<string>',
                        'ChoiceTitle' => '<string>',
                    ],
                    // ...
                ],
                'QuestionDescription' => '<string>',
                'QuestionId' => '<string>',
                'QuestionTitle' => '<string>',
                'SelectedChoiceIds' => ['<string>', ...],
            ],
            // ...
        ],
        'ProfileVersion' => '<string>',
        'ShareInvitationId' => '<string>',
        'Tags' => ['<string>', ...],
        'UpdatedAt' => <DateTime>,
    ],
]

Result Details

Members
Profile
Type: Profile structure

The profile.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

UpdateReviewTemplate

$result = $client->updateReviewTemplate([/* ... */]);
$promise = $client->updateReviewTemplateAsync([/* ... */]);

Update a review template.

Parameter Syntax

$result = $client->updateReviewTemplate([
    'Description' => '<string>',
    'LensesToAssociate' => ['<string>', ...],
    'LensesToDisassociate' => ['<string>', ...],
    'Notes' => '<string>',
    'TemplateArn' => '<string>', // REQUIRED
    'TemplateName' => '<string>',
]);

Parameter Details

Members
Description
Type: string

The review template description.

LensesToAssociate
Type: Array of strings

A list of lens aliases or ARNs to apply to the review template.

LensesToDisassociate
Type: Array of strings

A list of lens aliases or ARNs to unapply to the review template. The wellarchitected lens cannot be unapplied.

Notes
Type: 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.

TemplateArn
Required: Yes
Type: string

The review template ARN.

TemplateName
Type: string

The review template name.

Result Syntax

[
    'ReviewTemplate' => [
        'Description' => '<string>',
        'Lenses' => ['<string>', ...],
        'Notes' => '<string>',
        'Owner' => '<string>',
        'QuestionCounts' => [<integer>, ...],
        'ShareInvitationId' => '<string>',
        'Tags' => ['<string>', ...],
        'TemplateArn' => '<string>',
        'TemplateName' => '<string>',
        'UpdateStatus' => 'CURRENT|LENS_NOT_CURRENT',
        'UpdatedAt' => <DateTime>,
    ],
]

Result Details

Members
ReviewTemplate
Type: ReviewTemplate structure

A review template.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

UpdateReviewTemplateAnswer

$result = $client->updateReviewTemplateAnswer([/* ... */]);
$promise = $client->updateReviewTemplateAnswerAsync([/* ... */]);

Update a review template answer.

Parameter Syntax

$result = $client->updateReviewTemplateAnswer([
    'ChoiceUpdates' => [
        '<ChoiceId>' => [
            'Notes' => '<string>',
            'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
            'Status' => 'SELECTED|NOT_APPLICABLE|UNSELECTED', // REQUIRED
        ],
        // ...
    ],
    'IsApplicable' => true || false,
    'LensAlias' => '<string>', // REQUIRED
    'Notes' => '<string>',
    'QuestionId' => '<string>', // REQUIRED
    'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
    'SelectedChoices' => ['<string>', ...],
    'TemplateArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
ChoiceUpdates
Type: Associative array of custom strings keys (ChoiceId) to ChoiceUpdate structures

A list of choices to be updated.

IsApplicable
Type: boolean

Defines whether this question is applicable to a lens review.

LensAlias
Required: Yes
Type: 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.

Notes
Type: 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.

QuestionId
Required: Yes
Type: string

The ID of the question.

Reason
Type: string

The update reason.

SelectedChoices
Type: Array of strings

List of selected choice IDs in a question answer.

The values entered replace the previously selected choices.

TemplateArn
Required: Yes
Type: string

The review template ARN.

Result Syntax

[
    'Answer' => [
        'AnswerStatus' => 'UNANSWERED|ANSWERED',
        'ChoiceAnswers' => [
            [
                'ChoiceId' => '<string>',
                'Notes' => '<string>',
                'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
                'Status' => 'SELECTED|NOT_APPLICABLE|UNSELECTED',
            ],
            // ...
        ],
        'Choices' => [
            [
                'AdditionalResources' => [
                    [
                        'Content' => [
                            [
                                'DisplayText' => '<string>',
                                'Url' => '<string>',
                            ],
                            // ...
                        ],
                        'Type' => 'HELPFUL_RESOURCE|IMPROVEMENT_PLAN',
                    ],
                    // ...
                ],
                'ChoiceId' => '<string>',
                'Description' => '<string>',
                'HelpfulResource' => [
                    'DisplayText' => '<string>',
                    'Url' => '<string>',
                ],
                'ImprovementPlan' => [
                    'DisplayText' => '<string>',
                    'Url' => '<string>',
                ],
                'Title' => '<string>',
            ],
            // ...
        ],
        'HelpfulResourceDisplayText' => '<string>',
        'HelpfulResourceUrl' => '<string>',
        'ImprovementPlanUrl' => '<string>',
        'IsApplicable' => true || false,
        'Notes' => '<string>',
        'PillarId' => '<string>',
        'QuestionDescription' => '<string>',
        'QuestionId' => '<string>',
        'QuestionTitle' => '<string>',
        'Reason' => 'OUT_OF_SCOPE|BUSINESS_PRIORITIES|ARCHITECTURE_CONSTRAINTS|OTHER|NONE',
        'SelectedChoices' => ['<string>', ...],
    ],
    'LensAlias' => '<string>',
    'TemplateArn' => '<string>',
]

Result Details

Members
Answer
Type: ReviewTemplateAnswer structure

An answer of the question.

LensAlias
Type: 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.

TemplateArn
Type: string

The review template ARN.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

UpdateReviewTemplateLensReview

$result = $client->updateReviewTemplateLensReview([/* ... */]);
$promise = $client->updateReviewTemplateLensReviewAsync([/* ... */]);

Update a lens review associated with a review template.

Parameter Syntax

$result = $client->updateReviewTemplateLensReview([
    'LensAlias' => '<string>', // REQUIRED
    'LensNotes' => '<string>',
    'PillarNotes' => ['<string>', ...],
    'TemplateArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
LensAlias
Required: Yes
Type: 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.

LensNotes
Type: 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.

PillarNotes
Type: Associative array of custom strings keys (PillarId) to strings

List of pillar notes of a lens review in a workload.

For a review template, these are the notes that will be associated with the workload when the template is applied.

TemplateArn
Required: Yes
Type: string

The review template ARN.

Result Syntax

[
    'LensReview' => [
        'LensAlias' => '<string>',
        'LensArn' => '<string>',
        'LensName' => '<string>',
        'LensStatus' => 'CURRENT|NOT_CURRENT|DEPRECATED|DELETED|UNSHARED',
        'LensVersion' => '<string>',
        'NextToken' => '<string>',
        'Notes' => '<string>',
        'PillarReviewSummaries' => [
            [
                'Notes' => '<string>',
                'PillarId' => '<string>',
                'PillarName' => '<string>',
                'QuestionCounts' => [<integer>, ...],
            ],
            // ...
        ],
        'QuestionCounts' => [<integer>, ...],
        'UpdatedAt' => <DateTime>,
    ],
    'TemplateArn' => '<string>',
]

Result Details

Members
LensReview
Type: ReviewTemplateLensReview structure

A lens review of a question.

TemplateArn
Type: string

The review template ARN.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

UpdateShareInvitation

$result = $client->updateShareInvitation([/* ... */]);
$promise = $client->updateShareInvitationAsync([/* ... */]);

Update a workload or custom lens share invitation.

This API operation can be called independently of any resource. Previous documentation implied that a workload ARN must be specified.

Parameter Syntax

$result = $client->updateShareInvitation([
    'ShareInvitationAction' => 'ACCEPT|REJECT', // REQUIRED
    'ShareInvitationId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ShareInvitationAction
Required: Yes
Type: string

Share invitation action taken by contributor.

ShareInvitationId
Required: Yes
Type: string

The ID assigned to the share invitation.

Result Syntax

[
    'ShareInvitation' => [
        'LensAlias' => '<string>',
        'LensArn' => '<string>',
        'ProfileArn' => '<string>',
        'ShareInvitationId' => '<string>',
        'ShareResourceType' => 'WORKLOAD|LENS|PROFILE|TEMPLATE',
        'TemplateArn' => '<string>',
        'WorkloadId' => '<string>',
    ],
]

Result Details

Members
ShareInvitation
Type: ShareInvitation structure

The updated workload or custom lens share invitation.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

UpdateWorkload

$result = $client->updateWorkload([/* ... */]);
$promise = $client->updateWorkloadAsync([/* ... */]);

Update an existing workload.

Parameter Syntax

$result = $client->updateWorkload([
    'AccountIds' => ['<string>', ...],
    'Applications' => ['<string>', ...],
    'ArchitecturalDesign' => '<string>',
    'AwsRegions' => ['<string>', ...],
    'Description' => '<string>',
    'DiscoveryConfig' => [
        'TrustedAdvisorIntegrationStatus' => 'ENABLED|DISABLED',
        'WorkloadResourceDefinition' => ['<string>', ...],
    ],
    'Environment' => 'PRODUCTION|PREPRODUCTION',
    'ImprovementStatus' => 'NOT_APPLICABLE|NOT_STARTED|IN_PROGRESS|COMPLETE|RISK_ACKNOWLEDGED',
    'Industry' => '<string>',
    'IndustryType' => '<string>',
    'IsReviewOwnerUpdateAcknowledged' => true || false,
    'JiraConfiguration' => [
        'IssueManagementStatus' => 'ENABLED|DISABLED|INHERIT',
        'IssueManagementType' => 'AUTO|MANUAL',
        'JiraProjectKey' => '<string>',
    ],
    'NonAwsRegions' => ['<string>', ...],
    'Notes' => '<string>',
    'PillarPriorities' => ['<string>', ...],
    'ReviewOwner' => '<string>',
    'WorkloadId' => '<string>', // REQUIRED
    'WorkloadName' => '<string>',
]);

Parameter Details

Members
AccountIds
Type: Array of strings

The list of Amazon Web Services account IDs associated with the workload.

Applications
Type: Array of strings

List of AppRegistry application ARNs to associate to the workload.

ArchitecturalDesign
Type: string

The URL of the architectural design for the workload.

AwsRegions
Type: Array of strings

The list of Amazon Web Services Regions associated with the workload, for example, us-east-2, or ca-central-1.

Description
Type: string

The description for the workload.

DiscoveryConfig
Type: WorkloadDiscoveryConfig structure

Well-Architected discovery configuration settings to associate to the workload.

Environment
Type: string

The environment for the workload.

ImprovementStatus
Type: string

The improvement status for a workload.

Industry
Type: string

The industry for the workload.

IndustryType
Type: 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

IsReviewOwnerUpdateAcknowledged
Type: 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.

JiraConfiguration

Configuration of the Jira integration.

NonAwsRegions
Type: Array of strings

The list of non-Amazon Web Services Regions associated with the workload.

Notes
Type: 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.

PillarPriorities
Type: Array of strings

The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its PillarReviewSummary$PillarId.

ReviewOwner
Type: 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.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

WorkloadName
Type: 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.

Result Syntax

[
    'Workload' => [
        'AccountIds' => ['<string>', ...],
        'Applications' => ['<string>', ...],
        'ArchitecturalDesign' => '<string>',
        'AwsRegions' => ['<string>', ...],
        'Description' => '<string>',
        'DiscoveryConfig' => [
            'TrustedAdvisorIntegrationStatus' => 'ENABLED|DISABLED',
            'WorkloadResourceDefinition' => ['<string>', ...],
        ],
        'Environment' => 'PRODUCTION|PREPRODUCTION',
        'ImprovementStatus' => 'NOT_APPLICABLE|NOT_STARTED|IN_PROGRESS|COMPLETE|RISK_ACKNOWLEDGED',
        'Industry' => '<string>',
        'IndustryType' => '<string>',
        'IsReviewOwnerUpdateAcknowledged' => true || false,
        'JiraConfiguration' => [
            'IssueManagementStatus' => 'ENABLED|DISABLED|INHERIT',
            'IssueManagementType' => 'AUTO|MANUAL',
            'JiraProjectKey' => '<string>',
            'StatusMessage' => '<string>',
        ],
        'Lenses' => ['<string>', ...],
        'NonAwsRegions' => ['<string>', ...],
        'Notes' => '<string>',
        'Owner' => '<string>',
        'PillarPriorities' => ['<string>', ...],
        'PrioritizedRiskCounts' => [<integer>, ...],
        'Profiles' => [
            [
                'ProfileArn' => '<string>',
                'ProfileVersion' => '<string>',
            ],
            // ...
        ],
        'ReviewOwner' => '<string>',
        'ReviewRestrictionDate' => <DateTime>,
        'RiskCounts' => [<integer>, ...],
        'ShareInvitationId' => '<string>',
        'Tags' => ['<string>', ...],
        'UpdatedAt' => <DateTime>,
        'WorkloadArn' => '<string>',
        'WorkloadId' => '<string>',
        'WorkloadName' => '<string>',
    ],
]

Result Details

Members
Workload
Type: Workload structure

A workload return object.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

UpdateWorkloadShare

$result = $client->updateWorkloadShare([/* ... */]);
$promise = $client->updateWorkloadShareAsync([/* ... */]);

Update a workload share.

Parameter Syntax

$result = $client->updateWorkloadShare([
    'PermissionType' => 'READONLY|CONTRIBUTOR', // REQUIRED
    'ShareId' => '<string>', // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
PermissionType
Required: Yes
Type: string

Permission granted on a share request.

ShareId
Required: Yes
Type: string

The ID associated with the share.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[
    'WorkloadId' => '<string>',
    'WorkloadShare' => [
        'PermissionType' => 'READONLY|CONTRIBUTOR',
        'ShareId' => '<string>',
        'SharedBy' => '<string>',
        'SharedWith' => '<string>',
        'Status' => 'ACCEPTED|REJECTED|PENDING|REVOKED|EXPIRED|ASSOCIATING|ASSOCIATED|FAILED',
        'WorkloadId' => '<string>',
        'WorkloadName' => '<string>',
    ],
]

Result Details

Members
WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

WorkloadShare
Type: WorkloadShare structure

A workload share return object.

Errors

ValidationException:

The user input is not valid.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

UpgradeLensReview

$result = $client->upgradeLensReview([/* ... */]);
$promise = $client->upgradeLensReviewAsync([/* ... */]);

Upgrade lens review for a particular workload.

Parameter Syntax

$result = $client->upgradeLensReview([
    'ClientRequestToken' => '<string>',
    'LensAlias' => '<string>', // REQUIRED
    'MilestoneName' => '<string>', // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

LensAlias
Required: Yes
Type: 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.

MilestoneName
Required: Yes
Type: string

The name of the milestone in a workload.

Milestone names must be unique within a workload.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ServiceQuotaExceededException:

The user has reached their resource quota.

UpgradeProfileVersion

$result = $client->upgradeProfileVersion([/* ... */]);
$promise = $client->upgradeProfileVersionAsync([/* ... */]);

Upgrade a profile.

Parameter Syntax

$result = $client->upgradeProfileVersion([
    'ClientRequestToken' => '<string>',
    'MilestoneName' => '<string>',
    'ProfileArn' => '<string>', // REQUIRED
    'WorkloadId' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

MilestoneName
Type: string

The name of the milestone in a workload.

Milestone names must be unique within a workload.

ProfileArn
Required: Yes
Type: string

The profile ARN.

WorkloadId
Required: Yes
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ServiceQuotaExceededException:

The user has reached their resource quota.

UpgradeReviewTemplateLensReview

$result = $client->upgradeReviewTemplateLensReview([/* ... */]);
$promise = $client->upgradeReviewTemplateLensReviewAsync([/* ... */]);

Upgrade the lens review of a review template.

Parameter Syntax

$result = $client->upgradeReviewTemplateLensReview([
    'ClientRequestToken' => '<string>',
    'LensAlias' => '<string>', // REQUIRED
    'TemplateArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientRequestToken
Type: 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 token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

LensAlias
Required: Yes
Type: 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.

TemplateArn
Required: Yes
Type: string

The ARN of the review template.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ValidationException:

The user input is not valid.

ResourceNotFoundException:

The requested resource was not found.

ConflictException:

The resource has already been processed, was deleted, or is too large.

InternalServerException:

There is a problem with the Well-Architected Tool API service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

Shapes

AccessDeniedException

Description

User does not have sufficient access to perform this action.

Members
Message
Required: Yes
Type: string

Description of the error.

AccountJiraConfigurationInput

Description

Account-level: Input for the Jira configuration.

Members
IntegrationStatus
Type: string

Account-level: Configuration status of the Jira integration.

IssueManagementStatus
Type: string

Account-level: Jira issue management status.

IssueManagementType
Type: string

Account-level: Jira issue management type.

JiraProjectKey
Type: string

Account-level: Jira project key to sync workloads to.

AccountJiraConfigurationOutput

Description

Account-level: Output configuration of the Jira integration.

Members
IntegrationStatus
Type: string

Account-level: Configuration status of the Jira integration.

IssueManagementStatus
Type: string

Account-level: Jira issue management status.

IssueManagementType
Type: string

Account-level: Jira issue management type.

JiraProjectKey
Type: string

Account-level: Jira project key to sync workloads to.

StatusMessage
Type: string

Account-level: Status message on configuration of the Jira integration.

Subdomain
Type: string

Account-level: Jira subdomain URL.

AdditionalResources

Description

The choice level additional resources for a custom lens.

This field does not apply to Amazon Web Services official lenses.

Members
Content
Type: Array of ChoiceContent structures

The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.

Type
Type: string

Type of additional resource for a custom lens.

Answer

Description

An answer of the question.

Members
ChoiceAnswers
Type: Array of ChoiceAnswer structures

A list of selected choices to a question in your workload.

Choices
Type: Array of Choice structures

List of choices available for a question.

HelpfulResourceDisplayText
Type: string

The helpful resource text to be displayed for a custom lens.

This field does not apply to Amazon Web Services official lenses.

HelpfulResourceUrl
Type: string

The helpful resource URL.

For Amazon Web Services official lenses, this is the helpful resource URL for a question or choice.

For custom lenses, this is the helpful resource URL for a question and is only provided if HelpfulResourceDisplayText was specified for the question.

ImprovementPlanUrl
Type: 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.

IsApplicable
Type: boolean

Defines whether this question is applicable to a lens review.

JiraConfiguration
Type: JiraConfiguration structure

Configuration of the Jira integration.

Notes
Type: 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.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

QuestionDescription
Type: string

The description of the question.

QuestionId
Type: string

The ID of the question.

QuestionTitle
Type: string

The title of the question.

Reason
Type: string

The reason why the question is not applicable to your workload.

Risk
Type: string

The risk for a given workload, lens review, pillar, or question.

SelectedChoices
Type: Array of strings

List of selected choice IDs in a question answer.

The values entered replace the previously selected choices.

AnswerSummary

Description

An answer summary of a lens review in a workload.

Members
ChoiceAnswerSummaries
Type: Array of ChoiceAnswerSummary structures

A list of selected choices to a question in your workload.

Choices
Type: Array of Choice structures

List of choices available for a question.

IsApplicable
Type: boolean

Defines whether this question is applicable to a lens review.

JiraConfiguration
Type: JiraConfiguration structure

Configuration of the Jira integration.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

QuestionId
Type: string

The ID of the question.

QuestionTitle
Type: string

The title of the question.

QuestionType
Type: string

The type of the question.

Reason
Type: string

The reason why a choice is non-applicable to a question in your workload.

Risk
Type: string

The risk for a given workload, lens review, pillar, or question.

SelectedChoices
Type: Array of strings

List of selected choice IDs in a question answer.

The values entered replace the previously selected choices.

BestPractice

Description

A best practice, or question choice, that has been identified as a risk in this question.

Members
ChoiceId
Type: string

The ID of a choice.

ChoiceTitle
Type: string

The title of a choice.

CheckDetail

Description

Account details for a Well-Architected best practice in relation to Trusted Advisor checks.

Members
AccountId
Type: string

An Amazon Web Services account ID.

ChoiceId
Type: string

The ID of a choice.

Description
Type: string

Trusted Advisor check description.

FlaggedResources
Type: int

Count of flagged resources associated to the check.

Id
Type: string

Trusted Advisor check ID.

LensArn
Type: string

Well-Architected Lens ARN associated to the check.

Name
Type: string

Trusted Advisor check name.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

Provider
Type: string

Provider of the check related to the best practice.

QuestionId
Type: string

The ID of the question.

Reason
Type: string

Reason associated to the check.

Status
Type: string

Status associated to the check.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

CheckSummary

Description

Trusted Advisor check summary.

Members
AccountSummary
Type: Associative array of custom strings keys (CheckStatus) to ints

Account summary associated to the check.

ChoiceId
Type: string

The ID of a choice.

Description
Type: string

Trusted Advisor check description.

Id
Type: string

Trusted Advisor check ID.

LensArn
Type: string

Well-Architected Lens ARN associated to the check.

Name
Type: string

Trusted Advisor check name.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

Provider
Type: string

Provider of the check related to the best practice.

QuestionId
Type: string

The ID of the question.

Status
Type: string

Status associated to the check.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

Choice

Description

A choice available to answer question.

Members
AdditionalResources
Type: Array of AdditionalResources structures

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.

ChoiceId
Type: string

The ID of a choice.

Description
Type: string

The description of a choice.

HelpfulResource
Type: ChoiceContent structure

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.

ImprovementPlan
Type: ChoiceContent structure

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.

Title
Type: string

The title of a choice.

ChoiceAnswer

Description

A choice that has been answered on a question in your workload.

Members
ChoiceId
Type: string

The ID of a choice.

Notes
Type: string

The notes associated with a choice.

Reason
Type: string

The reason why a choice is non-applicable to a question in your workload.

Status
Type: string

The status of a choice.

ChoiceAnswerSummary

Description

A choice summary that has been answered on a question in your workload.

Members
ChoiceId
Type: string

The ID of a choice.

Reason
Type: string

The reason why a choice is non-applicable to a question in your workload.

Status
Type: string

The status of a choice.

ChoiceContent

Description

The choice content.

Members
DisplayText
Type: string

The display text for the choice content.

Url
Type: string

The URL for the choice content.

ChoiceImprovementPlan

Description

The choice level improvement plan.

Members
ChoiceId
Type: string

The ID of a choice.

DisplayText
Type: string

The display text for the improvement plan.

ImprovementPlanUrl
Type: 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.

ChoiceUpdate

Description

A list of choices to be updated.

Members
Notes
Type: string

The notes associated with a choice.

Reason
Type: string

The reason why a choice is non-applicable to a question in your workload.

Status
Required: Yes
Type: string

The status of a choice.

ConflictException

Description

The resource has already been processed, was deleted, or is too large.

Members
Message
Required: Yes
Type: string

Description of the error.

ResourceId
Required: Yes
Type: string

Identifier of the resource affected.

ResourceType
Required: Yes
Type: string

Type of the resource affected.

ConsolidatedReportMetric

Description

A metric that contributes to the consolidated report.

Members
Lenses
Type: Array of LensMetric structures

The metrics for the lenses in the workload.

LensesAppliedCount
Type: int

The total number of lenses applied to the workload.

MetricType
Type: string

The metric type of a metric in the consolidated report. Currently only WORKLOAD metric types are supported.

RiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

WorkloadArn
Type: string

The ARN for the workload.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

WorkloadName
Type: 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.

ImprovementSummary

Description

An improvement summary of a lens review in a workload.

Members
ImprovementPlanUrl
Type: 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
Type: Array of ChoiceImprovementPlan structures

The improvement plan details.

JiraConfiguration
Type: JiraConfiguration structure

Configuration of the Jira integration.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

QuestionId
Type: string

The ID of the question.

QuestionTitle
Type: string

The title of the question.

Risk
Type: string

The risk for a given workload, lens review, pillar, or question.

InternalServerException

Description

There is a problem with the Well-Architected Tool API service.

Members
Message
Required: Yes
Type: string

Description of the error.

JiraConfiguration

Description

Configuration of the Jira integration.

Members
JiraIssueUrl
Type: string

The URL of the associated Jira issue.

LastSyncedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

JiraSelectedQuestionConfiguration

Description

Selected questions in the workload.

Members
SelectedPillars
Type: Array of SelectedPillar structures

Selected pillars in the workload.

Lens

Description

A lens return object.

Members
Description
Type: string

The description of the lens.

LensArn
Type: string

The ARN of a lens.

LensVersion
Type: string

The version of a lens.

Name
Type: string

The full name of the lens.

Owner
Type: string

The Amazon Web Services account ID that owns the lens.

ShareInvitationId
Type: string

The ID assigned to the share invitation.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags assigned to the lens.

LensMetric

Description

A metric for a particular lens in a workload.

Members
LensArn
Type: string

The lens ARN.

Pillars
Type: Array of PillarMetric structures

The metrics for the pillars in a lens.

RiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

LensReview

Description

A lens review of a question.

Members
JiraConfiguration

Jira configuration status of the Lens review.

LensAlias
Type: 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
Type: string

The ARN for the lens.

LensName
Type: string

The full name of the lens.

LensStatus
Type: string

The status of the lens.

LensVersion
Type: string

The version of the lens.

NextToken
Type: string

The token to use to retrieve the next set of results.

Notes
Type: 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.

PillarReviewSummaries
Type: Array of PillarReviewSummary structures

List of pillar review summaries of lens review in a workload.

PrioritizedRiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

Profiles
Type: Array of WorkloadProfile structures

The profiles associated with the workload.

RiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

LensReviewReport

Description

A report of a lens review.

Members
Base64String
Type: string

The Base64-encoded string representation of a lens review report.

This data can be used to create a PDF file.

Only returned by GetConsolidatedReport when PDF format is requested.

LensAlias
Type: 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
Type: string

The ARN for the lens.

LensReviewSummary

Description

A lens review summary of a workload.

Members
LensAlias
Type: 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
Type: string

The ARN for the lens.

LensName
Type: string

The full name of the lens.

LensStatus
Type: string

The status of the lens.

LensVersion
Type: string

The version of the lens.

PrioritizedRiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

Profiles
Type: Array of WorkloadProfile structures

The profiles associated with the workload.

RiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

LensShareSummary

Description

A lens share summary return object.

Members
ShareId
Type: string

The ID associated with the share.

SharedWith
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

Status
Type: string

The status of the share request.

StatusMessage
Type: string

Optional message to compliment the Status field.

LensSummary

Description

A lens summary of a lens.

Members
CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

Description
Type: string

The description of the lens.

LensAlias
Type: 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
Type: string

The ARN of the lens.

LensName
Type: string

The full name of the lens.

LensStatus
Type: string

The status of the lens.

LensType
Type: string

The type of the lens.

LensVersion
Type: string

The version of the lens.

Owner
Type: string

An Amazon Web Services account ID.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

LensUpgradeSummary

Description

Lens upgrade summary return object.

Members
CurrentLensVersion
Type: string

The current version of the lens.

LatestLensVersion
Type: string

The latest version of the lens.

LensAlias
Type: 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
Type: string

The ARN for the lens.

ResourceArn
Type: string

ResourceArn of the lens being upgraded

ResourceName
Type: 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.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

WorkloadName
Type: 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.

Milestone

Description

A milestone return object.

Members
MilestoneName
Type: string

The name of the milestone in a workload.

Milestone names must be unique within a workload.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

RecordedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

Workload
Type: Workload structure

A workload return object.

MilestoneSummary

Description

A milestone summary return object.

Members
MilestoneName
Type: string

The name of the milestone in a workload.

Milestone names must be unique within a workload.

MilestoneNumber
Type: int

The milestone number.

A workload can have a maximum of 100 milestones.

RecordedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

WorkloadSummary
Type: WorkloadSummary structure

A workload summary return object.

NotificationSummary

Description

A notification summary return object.

Members
LensUpgradeSummary
Type: LensUpgradeSummary structure

Summary of lens upgrade.

Type
Type: string

The type of notification.

PillarDifference

Description

A pillar difference return object.

Members
DifferenceStatus
Type: string

Indicates the type of change to the pillar.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

PillarName
Type: string

The name of the pillar.

QuestionDifferences
Type: Array of QuestionDifference structures

List of question differences.

PillarMetric

Description

A metric for a particular pillar in a lens.

Members
PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

Questions
Type: Array of QuestionMetric structures

The questions that have been identified as risks in the pillar.

RiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

PillarReviewSummary

Description

A pillar review summary of a lens review.

Members
Notes
Type: 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.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

PillarName
Type: string

The name of the pillar.

PrioritizedRiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

RiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

Profile

Description

A profile.

Members
CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

Owner
Type: string

An Amazon Web Services account ID.

ProfileArn
Type: string

The profile ARN.

ProfileDescription
Type: string

The profile description.

ProfileName
Type: string

The profile name.

ProfileQuestions
Type: Array of ProfileQuestion structures

Profile questions.

ProfileVersion
Type: string

The profile version.

ShareInvitationId
Type: string

The ID assigned to the share invitation.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags assigned to the profile.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

ProfileChoice

Description

The profile choice.

Members
ChoiceDescription
Type: string

The description of a choice.

ChoiceId
Type: string

The ID of a choice.

ChoiceTitle
Type: string

The title of a choice.

ProfileNotificationSummary

Description

The profile notification summary.

Members
CurrentProfileVersion
Type: string

The current profile version.

LatestProfileVersion
Type: string

The latest profile version.

ProfileArn
Type: string

The profile ARN.

ProfileName
Type: string

The profile name.

Type
Type: string

Type of notification.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

WorkloadName
Type: 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.

ProfileQuestion

Description

A profile question.

Members
MaxSelectedChoices
Type: int

The maximum number of selected choices.

MinSelectedChoices
Type: int

The minimum number of selected choices.

QuestionChoices
Type: Array of ProfileChoice structures

The question choices.

QuestionDescription
Type: string

The description of the question.

QuestionId
Type: string

The ID of the question.

QuestionTitle
Type: string

The title of the question.

SelectedChoiceIds
Type: Array of strings

The selected choices.

ProfileQuestionUpdate

Description

An update to a profile question.

Members
QuestionId
Type: string

The ID of the question.

SelectedChoiceIds
Type: Array of strings

The selected choices.

ProfileShareSummary

Description

Summary of a profile share.

Members
ShareId
Type: string

The ID associated with the share.

SharedWith
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

Status
Type: string

The status of the share request.

StatusMessage
Type: string

Profile share invitation status message.

ProfileSummary

Description

Summary of a profile.

Members
CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

Owner
Type: string

An Amazon Web Services account ID.

ProfileArn
Type: string

The profile ARN.

ProfileDescription
Type: string

The profile description.

ProfileName
Type: string

The profile name.

ProfileVersion
Type: string

The profile version.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

ProfileTemplate

Description

The profile template.

Members
CreatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

TemplateName
Type: string

The name of the profile template.

TemplateQuestions
Type: Array of ProfileTemplateQuestion structures

Profile template questions.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

ProfileTemplateChoice

Description

A profile template choice.

Members
ChoiceDescription
Type: string

The description of a choice.

ChoiceId
Type: string

The ID of a choice.

ChoiceTitle
Type: string

The title of a choice.

ProfileTemplateQuestion

Description

A profile template question.

Members
MaxSelectedChoices
Type: int

The maximum number of choices selected.

MinSelectedChoices
Type: int

The minimum number of choices selected.

QuestionChoices
Type: Array of ProfileTemplateChoice structures

The question choices.

QuestionDescription
Type: string

The description of the question.

QuestionId
Type: string

The ID of the question.

QuestionTitle
Type: string

The title of the question.

QuestionDifference

Description

A question difference return object.

Members
DifferenceStatus
Type: string

Indicates the type of change to the question.

QuestionId
Type: string

The ID of the question.

QuestionTitle
Type: string

The title of the question.

QuestionMetric

Description

A metric for a particular question in the pillar.

Members
BestPractices
Type: Array of BestPractice structures

The best practices, or choices, that have been identified as contributing to risk in a question.

QuestionId
Type: string

The ID of the question.

Risk
Type: string

The risk for a given workload, lens review, pillar, or question.

ResourceNotFoundException

Description

The requested resource was not found.

Members
Message
Required: Yes
Type: string

Description of the error.

ResourceId
Required: Yes
Type: string

Identifier of the resource affected.

ResourceType
Required: Yes
Type: string

Type of the resource affected.

ReviewTemplate

Description

A review template.

Members
Description
Type: string

The review template description.

Lenses
Type: Array of strings

The lenses applied to the review template.

Notes
Type: 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.

Owner
Type: string

An Amazon Web Services account ID.

QuestionCounts
Type: Associative array of custom strings keys (Question) to ints

A count of how many total questions are answered and unanswered in the review template.

ShareInvitationId
Type: string

The ID assigned to the template share invitation.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags assigned to the review template.

TemplateArn
Type: string

The review template ARN.

TemplateName
Type: string

The name of the review template.

UpdateStatus
Type: string

The latest status of a review template.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

ReviewTemplateAnswer

Description

An answer of the question.

Members
AnswerStatus
Type: string

The status of whether or not this question has been answered.

ChoiceAnswers
Type: Array of ChoiceAnswer structures

A list of selected choices to a question in your review template.

Choices
Type: Array of Choice structures

List of choices available for a question.

HelpfulResourceDisplayText
Type: string

The helpful resource text to be displayed for a custom lens.

This field does not apply to Amazon Web Services official lenses.

HelpfulResourceUrl
Type: string

The helpful resource URL.

For Amazon Web Services official lenses, this is the helpful resource URL for a question or choice.

For custom lenses, this is the helpful resource URL for a question and is only provided if HelpfulResourceDisplayText was specified for the question.

ImprovementPlanUrl
Type: 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.

IsApplicable
Type: boolean

Defines whether this question is applicable to a lens review.

Notes
Type: 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.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

QuestionDescription
Type: string

The description of the question.

QuestionId
Type: string

The ID of the question.

QuestionTitle
Type: string

The title of the question.

Reason
Type: string

The reason why the question is not applicable to your review template.

SelectedChoices
Type: Array of strings

List of selected choice IDs in a question answer.

The values entered replace the previously selected choices.

ReviewTemplateAnswerSummary

Description

The summary of review template answers.

Members
AnswerStatus
Type: string

The status of whether or not this question has been answered.

ChoiceAnswerSummaries
Type: Array of ChoiceAnswerSummary structures

A list of selected choices to a question in the review template.

Choices
Type: Array of Choice structures

List of choices available for a question.

IsApplicable
Type: boolean

Defines whether this question is applicable to a lens review.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

QuestionId
Type: string

The ID of the question.

QuestionTitle
Type: string

The title of the question.

QuestionType
Type: string

The type of question.

Reason
Type: string

The reason why a choice is not-applicable to a question in the review template.

SelectedChoices
Type: Array of strings

List of selected choice IDs in a question answer.

The values entered replace the previously selected choices.

ReviewTemplateLensReview

Description

The lens review of a review template.

Members
LensAlias
Type: 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
Type: string

The lens ARN.

LensName
Type: string

The full name of the lens.

LensStatus
Type: string

The status of the lens.

LensVersion
Type: string

The version of the lens.

NextToken
Type: string

The token to use to retrieve the next set of results.

Notes
Type: 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.

PillarReviewSummaries
Type: Array of ReviewTemplatePillarReviewSummary structures

Pillar review summaries of a lens review.

QuestionCounts
Type: Associative array of custom strings keys (Question) to ints

A count of how many questions are answered and unanswered in the lens review.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

ReviewTemplatePillarReviewSummary

Description

Summary of a review template.

Members
Notes
Type: 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.

PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

PillarName
Type: string

The name of the pillar.

QuestionCounts
Type: Associative array of custom strings keys (Question) to ints

A count of how many questions are answered and unanswered in the requested pillar of the lens review.

ReviewTemplateSummary

Description

Summary of a review template.

Members
Description
Type: string

Description of the review template.

Lenses
Type: Array of strings

Lenses associated with the review template.

Owner
Type: string

An Amazon Web Services account ID.

TemplateArn
Type: string

The review template ARN.

TemplateName
Type: string

The name of the review template.

UpdateStatus
Type: string

The latest status of a review template.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

SelectedPillar

Description

The selected pillar.

Members
PillarId
Type: string

The ID used to identify a pillar, for example, security.

A pillar is identified by its PillarReviewSummary$PillarId.

SelectedQuestionIds
Type: Array of strings

Selected question IDs in the selected pillar.

ServiceQuotaExceededException

Description

The user has reached their resource quota.

Members
Message
Required: Yes
Type: string

Description of the error.

QuotaCode
Required: Yes
Type: string

Service Quotas requirement to identify originating quota.

ResourceId
Type: string

Identifier of the resource affected.

ResourceType
Type: string

Type of the resource affected.

ServiceCode
Required: Yes
Type: string

Service Quotas requirement to identify originating service.

ShareInvitation

Description

The share invitation.

Members
LensAlias
Type: 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
Type: string

The ARN for the lens.

ProfileArn
Type: string

The profile ARN.

ShareInvitationId
Type: string

The ID assigned to the share invitation.

ShareResourceType
Type: string

The resource type of the share invitation.

TemplateArn
Type: string

The review template ARN.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

ShareInvitationSummary

Description

A share invitation summary return object.

Members
LensArn
Type: string

The ARN for the lens.

LensName
Type: string

The full name of the lens.

PermissionType
Type: string

Permission granted on a share request.

ProfileArn
Type: string

The profile ARN.

ProfileName
Type: string

The profile name.

ShareInvitationId
Type: string

The ID assigned to the share invitation.

ShareResourceType
Type: string

The resource type of the share invitation.

SharedBy
Type: string

An Amazon Web Services account ID.

SharedWith
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

TemplateArn
Type: string

The review template ARN.

TemplateName
Type: string

The name of the review template.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

WorkloadName
Type: 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.

TemplateShareSummary

Description

Summary of a review template share.

Members
ShareId
Type: string

The ID associated with the share.

SharedWith
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

Status
Type: string

The status of the share request.

StatusMessage
Type: string

Review template share invitation status message.

ThrottlingException

Description

Request was denied due to request throttling.

Members
Message
Required: Yes
Type: string

Description of the error.

QuotaCode
Type: string

Service Quotas requirement to identify originating quota.

ServiceCode
Type: string

Service Quotas requirement to identify originating service.

ValidationException

Description

The user input is not valid.

Members
Fields
Type: Array of ValidationExceptionField structures

The fields that caused the error, if applicable.

Message
Required: Yes
Type: string

Description of the error.

Reason
Type: string

The reason why the request failed validation.

ValidationExceptionField

Description

Stores information about a field passed inside a request that resulted in an exception.

Members
Message
Required: Yes
Type: string

Description of the error.

Name
Required: Yes
Type: string

The field name for which validation failed.

VersionDifferences

Description

The differences between the base and latest versions of the lens.

Members
PillarDifferences
Type: Array of PillarDifference structures

The differences between the base and latest versions of the lens.

Workload

Description

A workload return object.

Members
AccountIds
Type: Array of strings

The list of Amazon Web Services account IDs associated with the workload.

Applications
Type: Array of strings

List of AppRegistry application ARNs associated to the workload.

ArchitecturalDesign
Type: string

The URL of the architectural design for the workload.

AwsRegions
Type: Array of strings

The list of Amazon Web Services Regions associated with the workload, for example, us-east-2, or ca-central-1.

Description
Type: string

The description for the workload.

DiscoveryConfig
Type: WorkloadDiscoveryConfig structure

Discovery configuration associated to the workload.

Environment
Type: string

The environment for the workload.

ImprovementStatus
Type: string

The improvement status for a workload.

Industry
Type: string

The industry for the workload.

IndustryType
Type: 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

IsReviewOwnerUpdateAcknowledged
Type: 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.

JiraConfiguration

Jira configuration for a specific workload.

Lenses
Type: Array of strings

The list of lenses associated with the workload. Each lens is identified by its LensSummary$LensAlias.

If a review template that specifies lenses is applied to the workload, those lenses are applied to the workload in addition to these lenses.

NonAwsRegions
Type: Array of strings

The list of non-Amazon Web Services Regions associated with the workload.

Notes
Type: 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.

Owner
Type: string

An Amazon Web Services account ID.

PillarPriorities
Type: Array of strings

The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its PillarReviewSummary$PillarId.

PrioritizedRiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

Profiles
Type: Array of WorkloadProfile structures

Profile associated with a workload.

ReviewOwner
Type: 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
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

RiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

ShareInvitationId
Type: string

The ID assigned to the share invitation.

Tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags associated with the workload.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

WorkloadArn
Type: string

The ARN for the workload.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

WorkloadName
Type: 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.

WorkloadDiscoveryConfig

Description

Discovery configuration associated to the workload.

Members
TrustedAdvisorIntegrationStatus
Type: string

Discovery integration status in respect to Trusted Advisor for the workload.

WorkloadResourceDefinition
Type: Array of strings

The mode to use for identifying resources associated with the workload.

You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.

WorkloadJiraConfigurationInput

Description

Workload-level: Input for the Jira configuration.

Members
IssueManagementStatus
Type: string

Workload-level: Jira issue management status.

IssueManagementType
Type: string

Workload-level: Jira issue management type.

JiraProjectKey
Type: string

Workload-level: Jira project key to sync workloads to.

WorkloadJiraConfigurationOutput

Description

Workload-level: Output configuration of the Jira integration.

Members
IssueManagementStatus
Type: string

Workload-level: Jira issue management status.

IssueManagementType
Type: string

Workload-level: Jira issue management type.

JiraProjectKey
Type: string

Workload-level: Jira project key to sync workloads to.

StatusMessage
Type: string

Workload-level: Status message on configuration of the Jira integration.

WorkloadProfile

Description

The profile associated with a workload.

Members
ProfileArn
Type: string

The profile ARN.

ProfileVersion
Type: string

The profile version.

WorkloadShare

Description

A workload share return object.

Members
PermissionType
Type: string

Permission granted on a share request.

ShareId
Type: string

The ID associated with the share.

SharedBy
Type: string

An Amazon Web Services account ID.

SharedWith
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

Status
Type: string

The status of the share request.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

WorkloadName
Type: 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.

WorkloadShareSummary

Description

A workload share summary return object.

Members
PermissionType
Type: string

Permission granted on a share request.

ShareId
Type: string

The ID associated with the share.

SharedWith
Type: string

The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

Status
Type: string

The status of the share request.

StatusMessage
Type: string

Optional message to compliment the Status field.

WorkloadSummary

Description

A workload summary return object.

Members
ImprovementStatus
Type: string

The improvement status for a workload.

Lenses
Type: Array of strings

The list of lenses associated with the workload. Each lens is identified by its LensSummary$LensAlias.

If a review template that specifies lenses is applied to the workload, those lenses are applied to the workload in addition to these lenses.

Owner
Type: string

An Amazon Web Services account ID.

PrioritizedRiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

Profiles
Type: Array of WorkloadProfile structures

Profile associated with a workload.

RiskCounts
Type: Associative array of custom strings keys (Risk) to ints

A map from risk names to the count of how many questions have that rating.

UpdatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time recorded.

WorkloadArn
Type: string

The ARN for the workload.

WorkloadId
Type: string

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

WorkloadName
Type: 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.