@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSWellArchitected
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSWellArchitected
instead.
This is the AWS Well-Architected Tool API Reference.
The AWS Well-Architected Tool API provides programmatic access to the AWS Well-Architected Tool in the AWS Management Console.
Managing workloads:
CreateWorkload: Define a new workload.
ListWorkloads: List workloads.
GetWorkload: Get the properties of a workload.
UpdateWorkload: Update the properties of a workload.
DeleteWorkload: Delete a workload.
Managing milestones:
CreateMilestone: Create a milestone.
ListMilestones: List milestones.
GetMilestone: Get the properties of a milestone.
Managing lenses:
ListLenses: List the available lenses.
AssociateLenses: Add one or more lenses to a workload.
DisassociateLenses: Remove one or more lenses from a workload.
ListNotifications: List lens notifications for a workload.
GetLensVersionDifference: Get the differences between the version of a lens used in a workload and the latest version.
UpgradeLensReview: Upgrade a workload to use the latest version of a lens.
Managing reviews:
ListLensReviews: List reviews associated with a workload.
GetLensReview: Get pillar and risk data associated with a workload review.
GetLensReviewReport: Get the report associated with a workload review.
UpdateLensReview: Update the notes associated with a workload review.
ListAnswers: List the questions and answers in a workload review.
UpdateAnswer: Update the answer to a specific question in a workload review.
ListLensReviewImprovements: List the improvement plan associated with a workload review.
Managing workload shares:
ListWorkloadShares: List the workload shares associated with a workload.
CreateWorkloadShare: Create a workload share.
UpdateWorkloadShare: Update a workload share.
DeleteWorkloadShare: Delete a workload share.
Managing workload share invitations:
ListShareInvitations: List workload share invitations.
UpdateShareInvitation: Update a workload share invitation.
For information about the AWS Well-Architected Tool, see the AWS Well-Architected Tool User Guide.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
AssociateLensesResult |
associateLenses(AssociateLensesRequest associateLensesRequest)
Associate a lens to a workload.
|
CreateMilestoneResult |
createMilestone(CreateMilestoneRequest createMilestoneRequest)
Create a milestone for an existing workload.
|
CreateWorkloadResult |
createWorkload(CreateWorkloadRequest createWorkloadRequest)
Create a new workload.
|
CreateWorkloadShareResult |
createWorkloadShare(CreateWorkloadShareRequest createWorkloadShareRequest)
Create a workload share.
|
DeleteWorkloadResult |
deleteWorkload(DeleteWorkloadRequest deleteWorkloadRequest)
Delete an existing workload.
|
DeleteWorkloadShareResult |
deleteWorkloadShare(DeleteWorkloadShareRequest deleteWorkloadShareRequest)
Delete a workload share.
|
DisassociateLensesResult |
disassociateLenses(DisassociateLensesRequest disassociateLensesRequest)
Disassociate a lens from a workload.
|
GetAnswerResult |
getAnswer(GetAnswerRequest getAnswerRequest)
Get lens review.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetLensReviewResult |
getLensReview(GetLensReviewRequest getLensReviewRequest)
Get lens review.
|
GetLensReviewReportResult |
getLensReviewReport(GetLensReviewReportRequest getLensReviewReportRequest)
Get lens review report.
|
GetLensVersionDifferenceResult |
getLensVersionDifference(GetLensVersionDifferenceRequest getLensVersionDifferenceRequest)
Get lens version differences.
|
GetMilestoneResult |
getMilestone(GetMilestoneRequest getMilestoneRequest)
Get a milestone for an existing workload.
|
GetWorkloadResult |
getWorkload(GetWorkloadRequest getWorkloadRequest)
Get an existing workload.
|
ListAnswersResult |
listAnswers(ListAnswersRequest listAnswersRequest)
List of answers.
|
ListLensesResult |
listLenses(ListLensesRequest listLensesRequest)
List the available lenses.
|
ListLensReviewImprovementsResult |
listLensReviewImprovements(ListLensReviewImprovementsRequest listLensReviewImprovementsRequest)
List lens review improvements.
|
ListLensReviewsResult |
listLensReviews(ListLensReviewsRequest listLensReviewsRequest)
List lens reviews.
|
ListMilestonesResult |
listMilestones(ListMilestonesRequest listMilestonesRequest)
List all milestones for an existing workload.
|
ListNotificationsResult |
listNotifications(ListNotificationsRequest listNotificationsRequest)
List lens notifications.
|
ListShareInvitationsResult |
listShareInvitations(ListShareInvitationsRequest listShareInvitationsRequest)
List the workload invitations.
|
ListWorkloadsResult |
listWorkloads(ListWorkloadsRequest listWorkloadsRequest)
List workloads.
|
ListWorkloadSharesResult |
listWorkloadShares(ListWorkloadSharesRequest listWorkloadSharesRequest)
List the workload shares associated with the workload.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateAnswerResult |
updateAnswer(UpdateAnswerRequest updateAnswerRequest)
Update the answer.
|
UpdateLensReviewResult |
updateLensReview(UpdateLensReviewRequest updateLensReviewRequest)
Update lens review.
|
UpdateShareInvitationResult |
updateShareInvitation(UpdateShareInvitationRequest updateShareInvitationRequest)
Update a workload invitation.
|
UpdateWorkloadResult |
updateWorkload(UpdateWorkloadRequest updateWorkloadRequest)
Update an existing workload.
|
UpdateWorkloadShareResult |
updateWorkloadShare(UpdateWorkloadShareRequest updateWorkloadShareRequest)
Update a workload share.
|
UpgradeLensReviewResult |
upgradeLensReview(UpgradeLensReviewRequest upgradeLensReviewRequest)
Upgrade lens review.
|
static final String ENDPOINT_PREFIX
AssociateLensesResult associateLenses(AssociateLensesRequest associateLensesRequest)
Associate a lens to a workload.
associateLensesRequest
- Input to associate lens reviews.ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.ConflictException
- The resource already exists.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.CreateMilestoneResult createMilestone(CreateMilestoneRequest createMilestoneRequest)
Create a milestone for an existing workload.
createMilestoneRequest
- Input for milestone creation.ValidationException
- The user input is not valid.ConflictException
- The resource already exists.InternalServerException
- There is a problem with the AWS 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.CreateWorkloadResult createWorkload(CreateWorkloadRequest createWorkloadRequest)
Create a new workload.
The owner of a workload can share the workload with other AWS accounts and IAM users in the same AWS Region. Only the owner of a workload can delete it.
For more information, see Defining a Workload in the AWS Well-Architected Tool User Guide.
createWorkloadRequest
- Input for workload creation.ValidationException
- The user input is not valid.ConflictException
- The resource already exists.ServiceQuotaExceededException
- The user has reached their resource quota.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.CreateWorkloadShareResult createWorkloadShare(CreateWorkloadShareRequest createWorkloadShareRequest)
Create a workload share.
The owner of a workload can share it with other AWS accounts and IAM users in the same AWS Region. Shared access to a workload is not removed until the workload invitation is deleted.
For more information, see Sharing a Workload in the AWS Well-Architected Tool User Guide.
createWorkloadShareRequest
- Input for Create Workload ShareValidationException
- The user input is not valid.ConflictException
- The resource already exists.InternalServerException
- There is a problem with the AWS 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.DeleteWorkloadResult deleteWorkload(DeleteWorkloadRequest deleteWorkloadRequest)
Delete an existing workload.
deleteWorkloadRequest
- Input for workload deletion.ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.ConflictException
- The resource already exists.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.DeleteWorkloadShareResult deleteWorkloadShare(DeleteWorkloadShareRequest deleteWorkloadShareRequest)
Delete a workload share.
deleteWorkloadShareRequest
- Input for Delete Workload ShareValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.ResourceNotFoundException
- The requested resource was not found.ConflictException
- The resource already exists.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.DisassociateLensesResult disassociateLenses(DisassociateLensesRequest disassociateLensesRequest)
Disassociate a lens from a workload.
The AWS Well-Architected Framework lens (wellarchitected
) cannot be removed from a workload.
disassociateLensesRequest
- Input to disassociate lens reviews.ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.ConflictException
- The resource already exists.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.GetAnswerResult getAnswer(GetAnswerRequest getAnswerRequest)
Get lens review.
getAnswerRequest
- Input to get answer.ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.GetLensReviewResult getLensReview(GetLensReviewRequest getLensReviewRequest)
Get lens review.
getLensReviewRequest
- Input to get lens review.ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.GetLensReviewReportResult getLensReviewReport(GetLensReviewReportRequest getLensReviewReportRequest)
Get lens review report.
getLensReviewReportRequest
- Input to get lens review report.ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.GetLensVersionDifferenceResult getLensVersionDifference(GetLensVersionDifferenceRequest getLensVersionDifferenceRequest)
Get lens version differences.
getLensVersionDifferenceRequest
- ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.GetMilestoneResult getMilestone(GetMilestoneRequest getMilestoneRequest)
Get a milestone for an existing workload.
getMilestoneRequest
- Input to get a milestone.ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.GetWorkloadResult getWorkload(GetWorkloadRequest getWorkloadRequest)
Get an existing workload.
getWorkloadRequest
- Input to get a workload.ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.ListAnswersResult listAnswers(ListAnswersRequest listAnswersRequest)
List of answers.
listAnswersRequest
- Input to list answers.ValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS 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.ListLensReviewImprovementsResult listLensReviewImprovements(ListLensReviewImprovementsRequest listLensReviewImprovementsRequest)
List lens review improvements.
listLensReviewImprovementsRequest
- Input to list lens review improvements.ValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS 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.ListLensReviewsResult listLensReviews(ListLensReviewsRequest listLensReviewsRequest)
List lens reviews.
listLensReviewsRequest
- Input to list lens reviews.ValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS 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.ListLensesResult listLenses(ListLensesRequest listLensesRequest)
List the available lenses.
listLensesRequest
- Input to list lenses.ValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.ListMilestonesResult listMilestones(ListMilestonesRequest listMilestonesRequest)
List all milestones for an existing workload.
listMilestonesRequest
- Input to list all milestones for a workload.ValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS 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.ListNotificationsResult listNotifications(ListNotificationsRequest listNotificationsRequest)
List lens notifications.
listNotificationsRequest
- ValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.ListShareInvitationsResult listShareInvitations(ListShareInvitationsRequest listShareInvitationsRequest)
List the workload invitations.
listShareInvitationsRequest
- Input for List Share InvitationsValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.ListWorkloadSharesResult listWorkloadShares(ListWorkloadSharesRequest listWorkloadSharesRequest)
List the workload shares associated with the workload.
listWorkloadSharesRequest
- Input for List Workload ShareValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS 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.ListWorkloadsResult listWorkloads(ListWorkloadsRequest listWorkloadsRequest)
List workloads. Paginated.
listWorkloadsRequest
- Input to list all workloads.ValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.UpdateAnswerResult updateAnswer(UpdateAnswerRequest updateAnswerRequest)
Update the answer.
updateAnswerRequest
- Input to update answer.ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.ConflictException
- The resource already exists.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.UpdateLensReviewResult updateLensReview(UpdateLensReviewRequest updateLensReviewRequest)
Update lens review.
updateLensReviewRequest
- Input for update lens review.ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.ConflictException
- The resource already exists.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.UpdateShareInvitationResult updateShareInvitation(UpdateShareInvitationRequest updateShareInvitationRequest)
Update a workload invitation.
updateShareInvitationRequest
- Input for Update Share InvitationValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.ResourceNotFoundException
- The requested resource was not found.ConflictException
- The resource already exists.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.UpdateWorkloadResult updateWorkload(UpdateWorkloadRequest updateWorkloadRequest)
Update an existing workload.
updateWorkloadRequest
- Input to update a workload.ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.ConflictException
- The resource already exists.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.UpdateWorkloadShareResult updateWorkloadShare(UpdateWorkloadShareRequest updateWorkloadShareRequest)
Update a workload share.
updateWorkloadShareRequest
- Input for Update Workload ShareValidationException
- The user input is not valid.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.ResourceNotFoundException
- The requested resource was not found.ConflictException
- The resource already exists.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.UpgradeLensReviewResult upgradeLensReview(UpgradeLensReviewRequest upgradeLensReviewRequest)
Upgrade lens review.
upgradeLensReviewRequest
- ValidationException
- The user input is not valid.ResourceNotFoundException
- The requested resource was not found.ConflictException
- The resource already exists.InternalServerException
- There is a problem with the AWS Well-Architected Tool API service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.