Interface WellArchitectedAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface WellArchitectedAsyncClient extends AwsClient
Service client for accessing Well-Architected asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call. Well-Architected Tool

This is the Well-Architected Tool API Reference. The WA Tool API provides programmatic access to the Well-Architected Tool in the Amazon Web Services Management Console. For information about the Well-Architected Tool, see the Well-Architected Tool User Guide.

  • Field Details

  • Method Details

    • associateLenses

      default CompletableFuture<AssociateLensesResponse> associateLenses(AssociateLensesRequest associateLensesRequest)

      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.

      Parameters:
      associateLensesRequest - Input to associate lens reviews.
      Returns:
      A Java Future containing the result of the AssociateLenses operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateLenses

      default CompletableFuture<AssociateLensesResponse> associateLenses(Consumer<AssociateLensesRequest.Builder> associateLensesRequest)

      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.


      This is a convenience which creates an instance of the AssociateLensesRequest.Builder avoiding the need to create one manually via AssociateLensesRequest.builder()

      Parameters:
      associateLensesRequest - A Consumer that will call methods on AssociateLensesRequest.Builder to create a request. Input to associate lens reviews.
      Returns:
      A Java Future containing the result of the AssociateLenses operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateProfiles

      default CompletableFuture<AssociateProfilesResponse> associateProfiles(AssociateProfilesRequest associateProfilesRequest)

      Associate a profile with a workload.

      Parameters:
      associateProfilesRequest -
      Returns:
      A Java Future containing the result of the AssociateProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateProfiles

      default CompletableFuture<AssociateProfilesResponse> associateProfiles(Consumer<AssociateProfilesRequest.Builder> associateProfilesRequest)

      Associate a profile with a workload.


      This is a convenience which creates an instance of the AssociateProfilesRequest.Builder avoiding the need to create one manually via AssociateProfilesRequest.builder()

      Parameters:
      associateProfilesRequest - A Consumer that will call methods on AssociateProfilesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLensShare

      default CompletableFuture<CreateLensShareResponse> createLensShare(CreateLensShareRequest createLensShareRequest)

      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.

      Parameters:
      createLensShareRequest -
      Returns:
      A Java Future containing the result of the CreateLensShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLensShare

      default CompletableFuture<CreateLensShareResponse> createLensShare(Consumer<CreateLensShareRequest.Builder> createLensShareRequest)

      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.


      This is a convenience which creates an instance of the CreateLensShareRequest.Builder avoiding the need to create one manually via CreateLensShareRequest.builder()

      Parameters:
      createLensShareRequest - A Consumer that will call methods on CreateLensShareRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateLensShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLensVersion

      default CompletableFuture<CreateLensVersionResponse> createLensVersion(CreateLensVersionRequest createLensVersionRequest)

      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.

      Parameters:
      createLensVersionRequest -
      Returns:
      A Java Future containing the result of the CreateLensVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLensVersion

      default CompletableFuture<CreateLensVersionResponse> createLensVersion(Consumer<CreateLensVersionRequest.Builder> createLensVersionRequest)

      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.


      This is a convenience which creates an instance of the CreateLensVersionRequest.Builder avoiding the need to create one manually via CreateLensVersionRequest.builder()

      Parameters:
      createLensVersionRequest - A Consumer that will call methods on CreateLensVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateLensVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createMilestone

      default CompletableFuture<CreateMilestoneResponse> createMilestone(CreateMilestoneRequest createMilestoneRequest)

      Create a milestone for an existing workload.

      Parameters:
      createMilestoneRequest - Input for milestone creation.
      Returns:
      A Java Future containing the result of the CreateMilestone operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createMilestone

      default CompletableFuture<CreateMilestoneResponse> createMilestone(Consumer<CreateMilestoneRequest.Builder> createMilestoneRequest)

      Create a milestone for an existing workload.


      This is a convenience which creates an instance of the CreateMilestoneRequest.Builder avoiding the need to create one manually via CreateMilestoneRequest.builder()

      Parameters:
      createMilestoneRequest - A Consumer that will call methods on CreateMilestoneRequest.Builder to create a request. Input for milestone creation.
      Returns:
      A Java Future containing the result of the CreateMilestone operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProfile

      default CompletableFuture<CreateProfileResponse> createProfile(CreateProfileRequest createProfileRequest)

      Create a profile.

      Parameters:
      createProfileRequest -
      Returns:
      A Java Future containing the result of the CreateProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProfile

      default CompletableFuture<CreateProfileResponse> createProfile(Consumer<CreateProfileRequest.Builder> createProfileRequest)

      Create a profile.


      This is a convenience which creates an instance of the CreateProfileRequest.Builder avoiding the need to create one manually via CreateProfileRequest.builder()

      Parameters:
      createProfileRequest - A Consumer that will call methods on CreateProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProfileShare

      default CompletableFuture<CreateProfileShareResponse> createProfileShare(CreateProfileShareRequest createProfileShareRequest)

      Create a profile share.

      Parameters:
      createProfileShareRequest -
      Returns:
      A Java Future containing the result of the CreateProfileShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProfileShare

      default CompletableFuture<CreateProfileShareResponse> createProfileShare(Consumer<CreateProfileShareRequest.Builder> createProfileShareRequest)

      Create a profile share.


      This is a convenience which creates an instance of the CreateProfileShareRequest.Builder avoiding the need to create one manually via CreateProfileShareRequest.builder()

      Parameters:
      createProfileShareRequest - A Consumer that will call methods on CreateProfileShareRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateProfileShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createReviewTemplate

      default CompletableFuture<CreateReviewTemplateResponse> createReviewTemplate(CreateReviewTemplateRequest createReviewTemplateRequest)

      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.

      Parameters:
      createReviewTemplateRequest -
      Returns:
      A Java Future containing the result of the CreateReviewTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createReviewTemplate

      default CompletableFuture<CreateReviewTemplateResponse> createReviewTemplate(Consumer<CreateReviewTemplateRequest.Builder> createReviewTemplateRequest)

      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.


      This is a convenience which creates an instance of the CreateReviewTemplateRequest.Builder avoiding the need to create one manually via CreateReviewTemplateRequest.builder()

      Parameters:
      createReviewTemplateRequest - A Consumer that will call methods on CreateReviewTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateReviewTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTemplateShare

      default CompletableFuture<CreateTemplateShareResponse> createTemplateShare(CreateTemplateShareRequest createTemplateShareRequest)

      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.

      Parameters:
      createTemplateShareRequest -
      Returns:
      A Java Future containing the result of the CreateTemplateShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTemplateShare

      default CompletableFuture<CreateTemplateShareResponse> createTemplateShare(Consumer<CreateTemplateShareRequest.Builder> createTemplateShareRequest)

      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.


      This is a convenience which creates an instance of the CreateTemplateShareRequest.Builder avoiding the need to create one manually via CreateTemplateShareRequest.builder()

      Parameters:
      createTemplateShareRequest - A Consumer that will call methods on CreateTemplateShareRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateTemplateShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkload

      default CompletableFuture<CreateWorkloadResponse> createWorkload(CreateWorkloadRequest createWorkloadRequest)

      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

      Parameters:
      createWorkloadRequest - Input for workload creation.
      Returns:
      A Java Future containing the result of the CreateWorkload operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkload

      default CompletableFuture<CreateWorkloadResponse> createWorkload(Consumer<CreateWorkloadRequest.Builder> createWorkloadRequest)

      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


      This is a convenience which creates an instance of the CreateWorkloadRequest.Builder avoiding the need to create one manually via CreateWorkloadRequest.builder()

      Parameters:
      createWorkloadRequest - A Consumer that will call methods on CreateWorkloadRequest.Builder to create a request. Input for workload creation.
      Returns:
      A Java Future containing the result of the CreateWorkload operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkloadShare

      default CompletableFuture<CreateWorkloadShareResponse> createWorkloadShare(CreateWorkloadShareRequest createWorkloadShareRequest)

      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.

      Parameters:
      createWorkloadShareRequest - Input for Create Workload Share
      Returns:
      A Java Future containing the result of the CreateWorkloadShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkloadShare

      default CompletableFuture<CreateWorkloadShareResponse> createWorkloadShare(Consumer<CreateWorkloadShareRequest.Builder> createWorkloadShareRequest)

      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.


      This is a convenience which creates an instance of the CreateWorkloadShareRequest.Builder avoiding the need to create one manually via CreateWorkloadShareRequest.builder()

      Parameters:
      createWorkloadShareRequest - A Consumer that will call methods on CreateWorkloadShareRequest.Builder to create a request. Input for Create Workload Share
      Returns:
      A Java Future containing the result of the CreateWorkloadShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLens

      default CompletableFuture<DeleteLensResponse> deleteLens(DeleteLensRequest deleteLensRequest)

      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.

      Parameters:
      deleteLensRequest -
      Returns:
      A Java Future containing the result of the DeleteLens operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLens

      default CompletableFuture<DeleteLensResponse> deleteLens(Consumer<DeleteLensRequest.Builder> deleteLensRequest)

      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.


      This is a convenience which creates an instance of the DeleteLensRequest.Builder avoiding the need to create one manually via DeleteLensRequest.builder()

      Parameters:
      deleteLensRequest - A Consumer that will call methods on DeleteLensRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteLens operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLensShare

      default CompletableFuture<DeleteLensShareResponse> deleteLensShare(DeleteLensShareRequest deleteLensShareRequest)

      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.

      Parameters:
      deleteLensShareRequest -
      Returns:
      A Java Future containing the result of the DeleteLensShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLensShare

      default CompletableFuture<DeleteLensShareResponse> deleteLensShare(Consumer<DeleteLensShareRequest.Builder> deleteLensShareRequest)

      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.


      This is a convenience which creates an instance of the DeleteLensShareRequest.Builder avoiding the need to create one manually via DeleteLensShareRequest.builder()

      Parameters:
      deleteLensShareRequest - A Consumer that will call methods on DeleteLensShareRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteLensShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProfile

      default CompletableFuture<DeleteProfileResponse> deleteProfile(DeleteProfileRequest deleteProfileRequest)

      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.

      Parameters:
      deleteProfileRequest -
      Returns:
      A Java Future containing the result of the DeleteProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProfile

      default CompletableFuture<DeleteProfileResponse> deleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest)

      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.


      This is a convenience which creates an instance of the DeleteProfileRequest.Builder avoiding the need to create one manually via DeleteProfileRequest.builder()

      Parameters:
      deleteProfileRequest - A Consumer that will call methods on DeleteProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProfileShare

      default CompletableFuture<DeleteProfileShareResponse> deleteProfileShare(DeleteProfileShareRequest deleteProfileShareRequest)

      Delete a profile share.

      Parameters:
      deleteProfileShareRequest -
      Returns:
      A Java Future containing the result of the DeleteProfileShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProfileShare

      default CompletableFuture<DeleteProfileShareResponse> deleteProfileShare(Consumer<DeleteProfileShareRequest.Builder> deleteProfileShareRequest)

      Delete a profile share.


      This is a convenience which creates an instance of the DeleteProfileShareRequest.Builder avoiding the need to create one manually via DeleteProfileShareRequest.builder()

      Parameters:
      deleteProfileShareRequest - A Consumer that will call methods on DeleteProfileShareRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteProfileShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteReviewTemplate

      default CompletableFuture<DeleteReviewTemplateResponse> deleteReviewTemplate(DeleteReviewTemplateRequest deleteReviewTemplateRequest)

      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.

      Parameters:
      deleteReviewTemplateRequest -
      Returns:
      A Java Future containing the result of the DeleteReviewTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteReviewTemplate

      default CompletableFuture<DeleteReviewTemplateResponse> deleteReviewTemplate(Consumer<DeleteReviewTemplateRequest.Builder> deleteReviewTemplateRequest)

      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.


      This is a convenience which creates an instance of the DeleteReviewTemplateRequest.Builder avoiding the need to create one manually via DeleteReviewTemplateRequest.builder()

      Parameters:
      deleteReviewTemplateRequest - A Consumer that will call methods on DeleteReviewTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteReviewTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteTemplateShare

      default CompletableFuture<DeleteTemplateShareResponse> deleteTemplateShare(DeleteTemplateShareRequest deleteTemplateShareRequest)

      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.

      Parameters:
      deleteTemplateShareRequest -
      Returns:
      A Java Future containing the result of the DeleteTemplateShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteTemplateShare

      default CompletableFuture<DeleteTemplateShareResponse> deleteTemplateShare(Consumer<DeleteTemplateShareRequest.Builder> deleteTemplateShareRequest)

      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.


      This is a convenience which creates an instance of the DeleteTemplateShareRequest.Builder avoiding the need to create one manually via DeleteTemplateShareRequest.builder()

      Parameters:
      deleteTemplateShareRequest - A Consumer that will call methods on DeleteTemplateShareRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteTemplateShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkload

      default CompletableFuture<DeleteWorkloadResponse> deleteWorkload(DeleteWorkloadRequest deleteWorkloadRequest)

      Delete an existing workload.

      Parameters:
      deleteWorkloadRequest - Input for workload deletion.
      Returns:
      A Java Future containing the result of the DeleteWorkload operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkload

      default CompletableFuture<DeleteWorkloadResponse> deleteWorkload(Consumer<DeleteWorkloadRequest.Builder> deleteWorkloadRequest)

      Delete an existing workload.


      This is a convenience which creates an instance of the DeleteWorkloadRequest.Builder avoiding the need to create one manually via DeleteWorkloadRequest.builder()

      Parameters:
      deleteWorkloadRequest - A Consumer that will call methods on DeleteWorkloadRequest.Builder to create a request. Input for workload deletion.
      Returns:
      A Java Future containing the result of the DeleteWorkload operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkloadShare

      default CompletableFuture<DeleteWorkloadShareResponse> deleteWorkloadShare(DeleteWorkloadShareRequest deleteWorkloadShareRequest)

      Delete a workload share.

      Parameters:
      deleteWorkloadShareRequest - Input for Delete Workload Share
      Returns:
      A Java Future containing the result of the DeleteWorkloadShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkloadShare

      default CompletableFuture<DeleteWorkloadShareResponse> deleteWorkloadShare(Consumer<DeleteWorkloadShareRequest.Builder> deleteWorkloadShareRequest)

      Delete a workload share.


      This is a convenience which creates an instance of the DeleteWorkloadShareRequest.Builder avoiding the need to create one manually via DeleteWorkloadShareRequest.builder()

      Parameters:
      deleteWorkloadShareRequest - A Consumer that will call methods on DeleteWorkloadShareRequest.Builder to create a request. Input for Delete Workload Share
      Returns:
      A Java Future containing the result of the DeleteWorkloadShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateLenses

      default CompletableFuture<DisassociateLensesResponse> disassociateLenses(DisassociateLensesRequest disassociateLensesRequest)

      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.

      Parameters:
      disassociateLensesRequest - Input to disassociate lens reviews.
      Returns:
      A Java Future containing the result of the DisassociateLenses operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateLenses

      default CompletableFuture<DisassociateLensesResponse> disassociateLenses(Consumer<DisassociateLensesRequest.Builder> disassociateLensesRequest)

      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.


      This is a convenience which creates an instance of the DisassociateLensesRequest.Builder avoiding the need to create one manually via DisassociateLensesRequest.builder()

      Parameters:
      disassociateLensesRequest - A Consumer that will call methods on DisassociateLensesRequest.Builder to create a request. Input to disassociate lens reviews.
      Returns:
      A Java Future containing the result of the DisassociateLenses operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateProfiles

      default CompletableFuture<DisassociateProfilesResponse> disassociateProfiles(DisassociateProfilesRequest disassociateProfilesRequest)

      Disassociate a profile from a workload.

      Parameters:
      disassociateProfilesRequest -
      Returns:
      A Java Future containing the result of the DisassociateProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateProfiles

      default CompletableFuture<DisassociateProfilesResponse> disassociateProfiles(Consumer<DisassociateProfilesRequest.Builder> disassociateProfilesRequest)

      Disassociate a profile from a workload.


      This is a convenience which creates an instance of the DisassociateProfilesRequest.Builder avoiding the need to create one manually via DisassociateProfilesRequest.builder()

      Parameters:
      disassociateProfilesRequest - A Consumer that will call methods on DisassociateProfilesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • exportLens

      default CompletableFuture<ExportLensResponse> exportLens(ExportLensRequest exportLensRequest)

      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.

      Parameters:
      exportLensRequest -
      Returns:
      A Java Future containing the result of the ExportLens operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • exportLens

      default CompletableFuture<ExportLensResponse> exportLens(Consumer<ExportLensRequest.Builder> exportLensRequest)

      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.


      This is a convenience which creates an instance of the ExportLensRequest.Builder avoiding the need to create one manually via ExportLensRequest.builder()

      Parameters:
      exportLensRequest - A Consumer that will call methods on ExportLensRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ExportLens operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAnswer

      default CompletableFuture<GetAnswerResponse> getAnswer(GetAnswerRequest getAnswerRequest)

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

      Parameters:
      getAnswerRequest - Input to get answer.
      Returns:
      A Java Future containing the result of the GetAnswer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAnswer

      default CompletableFuture<GetAnswerResponse> getAnswer(Consumer<GetAnswerRequest.Builder> getAnswerRequest)

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


      This is a convenience which creates an instance of the GetAnswerRequest.Builder avoiding the need to create one manually via GetAnswerRequest.builder()

      Parameters:
      getAnswerRequest - A Consumer that will call methods on GetAnswerRequest.Builder to create a request. Input to get answer.
      Returns:
      A Java Future containing the result of the GetAnswer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConsolidatedReport

      default CompletableFuture<GetConsolidatedReportResponse> getConsolidatedReport(GetConsolidatedReportRequest getConsolidatedReportRequest)

      Get a consolidated report of your workloads.

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

      Parameters:
      getConsolidatedReportRequest -
      Returns:
      A Java Future containing the result of the GetConsolidatedReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConsolidatedReport

      default CompletableFuture<GetConsolidatedReportResponse> getConsolidatedReport(Consumer<GetConsolidatedReportRequest.Builder> getConsolidatedReportRequest)

      Get a consolidated report of your workloads.

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


      This is a convenience which creates an instance of the GetConsolidatedReportRequest.Builder avoiding the need to create one manually via GetConsolidatedReportRequest.builder()

      Parameters:
      getConsolidatedReportRequest - A Consumer that will call methods on GetConsolidatedReportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetConsolidatedReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConsolidatedReportPaginator

      default GetConsolidatedReportPublisher getConsolidatedReportPaginator(GetConsolidatedReportRequest getConsolidatedReportRequest)

      This is a variant of getConsolidatedReport(software.amazon.awssdk.services.wellarchitected.model.GetConsolidatedReportRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.GetConsolidatedReportPublisher publisher = client.getConsolidatedReportPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.GetConsolidatedReportPublisher publisher = client.getConsolidatedReportPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.GetConsolidatedReportResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.GetConsolidatedReportResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getConsolidatedReport(software.amazon.awssdk.services.wellarchitected.model.GetConsolidatedReportRequest) operation.

      Parameters:
      getConsolidatedReportRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConsolidatedReportPaginator

      default GetConsolidatedReportPublisher getConsolidatedReportPaginator(Consumer<GetConsolidatedReportRequest.Builder> getConsolidatedReportRequest)

      This is a variant of getConsolidatedReport(software.amazon.awssdk.services.wellarchitected.model.GetConsolidatedReportRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.GetConsolidatedReportPublisher publisher = client.getConsolidatedReportPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.GetConsolidatedReportPublisher publisher = client.getConsolidatedReportPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.GetConsolidatedReportResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.GetConsolidatedReportResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getConsolidatedReport(software.amazon.awssdk.services.wellarchitected.model.GetConsolidatedReportRequest) operation.


      This is a convenience which creates an instance of the GetConsolidatedReportRequest.Builder avoiding the need to create one manually via GetConsolidatedReportRequest.builder()

      Parameters:
      getConsolidatedReportRequest - A Consumer that will call methods on GetConsolidatedReportRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getGlobalSettings

      default CompletableFuture<GetGlobalSettingsResponse> getGlobalSettings(GetGlobalSettingsRequest getGlobalSettingsRequest)

      Global settings for all workloads.

      Parameters:
      getGlobalSettingsRequest -
      Returns:
      A Java Future containing the result of the GetGlobalSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getGlobalSettings

      default CompletableFuture<GetGlobalSettingsResponse> getGlobalSettings(Consumer<GetGlobalSettingsRequest.Builder> getGlobalSettingsRequest)

      Global settings for all workloads.


      This is a convenience which creates an instance of the GetGlobalSettingsRequest.Builder avoiding the need to create one manually via GetGlobalSettingsRequest.builder()

      Parameters:
      getGlobalSettingsRequest - A Consumer that will call methods on GetGlobalSettingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetGlobalSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLens

      default CompletableFuture<GetLensResponse> getLens(GetLensRequest getLensRequest)

      Get an existing lens.

      Parameters:
      getLensRequest -
      Returns:
      A Java Future containing the result of the GetLens operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLens

      Get an existing lens.


      This is a convenience which creates an instance of the GetLensRequest.Builder avoiding the need to create one manually via GetLensRequest.builder()

      Parameters:
      getLensRequest - A Consumer that will call methods on GetLensRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetLens operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLensReview

      default CompletableFuture<GetLensReviewResponse> getLensReview(GetLensReviewRequest getLensReviewRequest)

      Get lens review.

      Parameters:
      getLensReviewRequest - Input to get lens review.
      Returns:
      A Java Future containing the result of the GetLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLensReview

      default CompletableFuture<GetLensReviewResponse> getLensReview(Consumer<GetLensReviewRequest.Builder> getLensReviewRequest)

      Get lens review.


      This is a convenience which creates an instance of the GetLensReviewRequest.Builder avoiding the need to create one manually via GetLensReviewRequest.builder()

      Parameters:
      getLensReviewRequest - A Consumer that will call methods on GetLensReviewRequest.Builder to create a request. Input to get lens review.
      Returns:
      A Java Future containing the result of the GetLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLensReviewReport

      default CompletableFuture<GetLensReviewReportResponse> getLensReviewReport(GetLensReviewReportRequest getLensReviewReportRequest)

      Get lens review report.

      Parameters:
      getLensReviewReportRequest - Input to get lens review report.
      Returns:
      A Java Future containing the result of the GetLensReviewReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLensReviewReport

      default CompletableFuture<GetLensReviewReportResponse> getLensReviewReport(Consumer<GetLensReviewReportRequest.Builder> getLensReviewReportRequest)

      Get lens review report.


      This is a convenience which creates an instance of the GetLensReviewReportRequest.Builder avoiding the need to create one manually via GetLensReviewReportRequest.builder()

      Parameters:
      getLensReviewReportRequest - A Consumer that will call methods on GetLensReviewReportRequest.Builder to create a request. Input to get lens review report.
      Returns:
      A Java Future containing the result of the GetLensReviewReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLensVersionDifference

      default CompletableFuture<GetLensVersionDifferenceResponse> getLensVersionDifference(GetLensVersionDifferenceRequest getLensVersionDifferenceRequest)

      Get lens version differences.

      Parameters:
      getLensVersionDifferenceRequest -
      Returns:
      A Java Future containing the result of the GetLensVersionDifference operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLensVersionDifference

      default CompletableFuture<GetLensVersionDifferenceResponse> getLensVersionDifference(Consumer<GetLensVersionDifferenceRequest.Builder> getLensVersionDifferenceRequest)

      Get lens version differences.


      This is a convenience which creates an instance of the GetLensVersionDifferenceRequest.Builder avoiding the need to create one manually via GetLensVersionDifferenceRequest.builder()

      Parameters:
      getLensVersionDifferenceRequest - A Consumer that will call methods on GetLensVersionDifferenceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetLensVersionDifference operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getMilestone

      default CompletableFuture<GetMilestoneResponse> getMilestone(GetMilestoneRequest getMilestoneRequest)

      Get a milestone for an existing workload.

      Parameters:
      getMilestoneRequest - Input to get a milestone.
      Returns:
      A Java Future containing the result of the GetMilestone operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getMilestone

      default CompletableFuture<GetMilestoneResponse> getMilestone(Consumer<GetMilestoneRequest.Builder> getMilestoneRequest)

      Get a milestone for an existing workload.


      This is a convenience which creates an instance of the GetMilestoneRequest.Builder avoiding the need to create one manually via GetMilestoneRequest.builder()

      Parameters:
      getMilestoneRequest - A Consumer that will call methods on GetMilestoneRequest.Builder to create a request. Input to get a milestone.
      Returns:
      A Java Future containing the result of the GetMilestone operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProfile

      default CompletableFuture<GetProfileResponse> getProfile(GetProfileRequest getProfileRequest)

      Get profile information.

      Parameters:
      getProfileRequest -
      Returns:
      A Java Future containing the result of the GetProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProfile

      default CompletableFuture<GetProfileResponse> getProfile(Consumer<GetProfileRequest.Builder> getProfileRequest)

      Get profile information.


      This is a convenience which creates an instance of the GetProfileRequest.Builder avoiding the need to create one manually via GetProfileRequest.builder()

      Parameters:
      getProfileRequest - A Consumer that will call methods on GetProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProfileTemplate

      default CompletableFuture<GetProfileTemplateResponse> getProfileTemplate(GetProfileTemplateRequest getProfileTemplateRequest)

      Get profile template.

      Parameters:
      getProfileTemplateRequest -
      Returns:
      A Java Future containing the result of the GetProfileTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProfileTemplate

      default CompletableFuture<GetProfileTemplateResponse> getProfileTemplate(Consumer<GetProfileTemplateRequest.Builder> getProfileTemplateRequest)

      Get profile template.


      This is a convenience which creates an instance of the GetProfileTemplateRequest.Builder avoiding the need to create one manually via GetProfileTemplateRequest.builder()

      Parameters:
      getProfileTemplateRequest - A Consumer that will call methods on GetProfileTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetProfileTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getReviewTemplate

      default CompletableFuture<GetReviewTemplateResponse> getReviewTemplate(GetReviewTemplateRequest getReviewTemplateRequest)

      Get review template.

      Parameters:
      getReviewTemplateRequest -
      Returns:
      A Java Future containing the result of the GetReviewTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getReviewTemplate

      default CompletableFuture<GetReviewTemplateResponse> getReviewTemplate(Consumer<GetReviewTemplateRequest.Builder> getReviewTemplateRequest)

      Get review template.


      This is a convenience which creates an instance of the GetReviewTemplateRequest.Builder avoiding the need to create one manually via GetReviewTemplateRequest.builder()

      Parameters:
      getReviewTemplateRequest - A Consumer that will call methods on GetReviewTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetReviewTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getReviewTemplateAnswer

      default CompletableFuture<GetReviewTemplateAnswerResponse> getReviewTemplateAnswer(GetReviewTemplateAnswerRequest getReviewTemplateAnswerRequest)

      Get review template answer.

      Parameters:
      getReviewTemplateAnswerRequest -
      Returns:
      A Java Future containing the result of the GetReviewTemplateAnswer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getReviewTemplateAnswer

      default CompletableFuture<GetReviewTemplateAnswerResponse> getReviewTemplateAnswer(Consumer<GetReviewTemplateAnswerRequest.Builder> getReviewTemplateAnswerRequest)

      Get review template answer.


      This is a convenience which creates an instance of the GetReviewTemplateAnswerRequest.Builder avoiding the need to create one manually via GetReviewTemplateAnswerRequest.builder()

      Parameters:
      getReviewTemplateAnswerRequest - A Consumer that will call methods on GetReviewTemplateAnswerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetReviewTemplateAnswer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getReviewTemplateLensReview

      default CompletableFuture<GetReviewTemplateLensReviewResponse> getReviewTemplateLensReview(GetReviewTemplateLensReviewRequest getReviewTemplateLensReviewRequest)

      Get a lens review associated with a review template.

      Parameters:
      getReviewTemplateLensReviewRequest -
      Returns:
      A Java Future containing the result of the GetReviewTemplateLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getReviewTemplateLensReview

      default CompletableFuture<GetReviewTemplateLensReviewResponse> getReviewTemplateLensReview(Consumer<GetReviewTemplateLensReviewRequest.Builder> getReviewTemplateLensReviewRequest)

      Get a lens review associated with a review template.


      This is a convenience which creates an instance of the GetReviewTemplateLensReviewRequest.Builder avoiding the need to create one manually via GetReviewTemplateLensReviewRequest.builder()

      Parameters:
      getReviewTemplateLensReviewRequest - A Consumer that will call methods on GetReviewTemplateLensReviewRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetReviewTemplateLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getWorkload

      default CompletableFuture<GetWorkloadResponse> getWorkload(GetWorkloadRequest getWorkloadRequest)

      Get an existing workload.

      Parameters:
      getWorkloadRequest - Input to get a workload.
      Returns:
      A Java Future containing the result of the GetWorkload operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getWorkload

      default CompletableFuture<GetWorkloadResponse> getWorkload(Consumer<GetWorkloadRequest.Builder> getWorkloadRequest)

      Get an existing workload.


      This is a convenience which creates an instance of the GetWorkloadRequest.Builder avoiding the need to create one manually via GetWorkloadRequest.builder()

      Parameters:
      getWorkloadRequest - A Consumer that will call methods on GetWorkloadRequest.Builder to create a request. Input to get a workload.
      Returns:
      A Java Future containing the result of the GetWorkload operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • importLens

      default CompletableFuture<ImportLensResponse> importLens(ImportLensRequest importLensRequest)

      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.

      Parameters:
      importLensRequest -
      Returns:
      A Java Future containing the result of the ImportLens operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • importLens

      default CompletableFuture<ImportLensResponse> importLens(Consumer<ImportLensRequest.Builder> importLensRequest)

      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.


      This is a convenience which creates an instance of the ImportLensRequest.Builder avoiding the need to create one manually via ImportLensRequest.builder()

      Parameters:
      importLensRequest - A Consumer that will call methods on ImportLensRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ImportLens operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAnswers

      default CompletableFuture<ListAnswersResponse> listAnswers(ListAnswersRequest listAnswersRequest)

      List of answers for a particular workload and lens.

      Parameters:
      listAnswersRequest - Input to list answers.
      Returns:
      A Java Future containing the result of the ListAnswers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAnswers

      default CompletableFuture<ListAnswersResponse> listAnswers(Consumer<ListAnswersRequest.Builder> listAnswersRequest)

      List of answers for a particular workload and lens.


      This is a convenience which creates an instance of the ListAnswersRequest.Builder avoiding the need to create one manually via ListAnswersRequest.builder()

      Parameters:
      listAnswersRequest - A Consumer that will call methods on ListAnswersRequest.Builder to create a request. Input to list answers.
      Returns:
      A Java Future containing the result of the ListAnswers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAnswersPaginator

      default ListAnswersPublisher listAnswersPaginator(ListAnswersRequest listAnswersRequest)

      This is a variant of listAnswers(software.amazon.awssdk.services.wellarchitected.model.ListAnswersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListAnswersPublisher publisher = client.listAnswersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListAnswersPublisher publisher = client.listAnswersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListAnswersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListAnswersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listAnswers(software.amazon.awssdk.services.wellarchitected.model.ListAnswersRequest) operation.

      Parameters:
      listAnswersRequest - Input to list answers.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAnswersPaginator

      default ListAnswersPublisher listAnswersPaginator(Consumer<ListAnswersRequest.Builder> listAnswersRequest)

      This is a variant of listAnswers(software.amazon.awssdk.services.wellarchitected.model.ListAnswersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListAnswersPublisher publisher = client.listAnswersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListAnswersPublisher publisher = client.listAnswersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListAnswersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListAnswersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listAnswers(software.amazon.awssdk.services.wellarchitected.model.ListAnswersRequest) operation.


      This is a convenience which creates an instance of the ListAnswersRequest.Builder avoiding the need to create one manually via ListAnswersRequest.builder()

      Parameters:
      listAnswersRequest - A Consumer that will call methods on ListAnswersRequest.Builder to create a request. Input to list answers.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCheckDetails

      default CompletableFuture<ListCheckDetailsResponse> listCheckDetails(ListCheckDetailsRequest listCheckDetailsRequest)

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

      Parameters:
      listCheckDetailsRequest -
      Returns:
      A Java Future containing the result of the ListCheckDetails operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCheckDetails

      default CompletableFuture<ListCheckDetailsResponse> listCheckDetails(Consumer<ListCheckDetailsRequest.Builder> listCheckDetailsRequest)

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


      This is a convenience which creates an instance of the ListCheckDetailsRequest.Builder avoiding the need to create one manually via ListCheckDetailsRequest.builder()

      Parameters:
      listCheckDetailsRequest - A Consumer that will call methods on ListCheckDetailsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListCheckDetails operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCheckDetailsPaginator

      default ListCheckDetailsPublisher listCheckDetailsPaginator(ListCheckDetailsRequest listCheckDetailsRequest)

      This is a variant of listCheckDetails(software.amazon.awssdk.services.wellarchitected.model.ListCheckDetailsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListCheckDetailsPublisher publisher = client.listCheckDetailsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListCheckDetailsPublisher publisher = client.listCheckDetailsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListCheckDetailsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListCheckDetailsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listCheckDetails(software.amazon.awssdk.services.wellarchitected.model.ListCheckDetailsRequest) operation.

      Parameters:
      listCheckDetailsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCheckDetailsPaginator

      default ListCheckDetailsPublisher listCheckDetailsPaginator(Consumer<ListCheckDetailsRequest.Builder> listCheckDetailsRequest)

      This is a variant of listCheckDetails(software.amazon.awssdk.services.wellarchitected.model.ListCheckDetailsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListCheckDetailsPublisher publisher = client.listCheckDetailsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListCheckDetailsPublisher publisher = client.listCheckDetailsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListCheckDetailsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListCheckDetailsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listCheckDetails(software.amazon.awssdk.services.wellarchitected.model.ListCheckDetailsRequest) operation.


      This is a convenience which creates an instance of the ListCheckDetailsRequest.Builder avoiding the need to create one manually via ListCheckDetailsRequest.builder()

      Parameters:
      listCheckDetailsRequest - A Consumer that will call methods on ListCheckDetailsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCheckSummaries

      default CompletableFuture<ListCheckSummariesResponse> listCheckSummaries(ListCheckSummariesRequest listCheckSummariesRequest)

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

      Parameters:
      listCheckSummariesRequest -
      Returns:
      A Java Future containing the result of the ListCheckSummaries operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCheckSummaries

      default CompletableFuture<ListCheckSummariesResponse> listCheckSummaries(Consumer<ListCheckSummariesRequest.Builder> listCheckSummariesRequest)

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


      This is a convenience which creates an instance of the ListCheckSummariesRequest.Builder avoiding the need to create one manually via ListCheckSummariesRequest.builder()

      Parameters:
      listCheckSummariesRequest - A Consumer that will call methods on ListCheckSummariesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListCheckSummaries operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCheckSummariesPaginator

      default ListCheckSummariesPublisher listCheckSummariesPaginator(ListCheckSummariesRequest listCheckSummariesRequest)

      This is a variant of listCheckSummaries(software.amazon.awssdk.services.wellarchitected.model.ListCheckSummariesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListCheckSummariesPublisher publisher = client.listCheckSummariesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListCheckSummariesPublisher publisher = client.listCheckSummariesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListCheckSummariesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListCheckSummariesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listCheckSummaries(software.amazon.awssdk.services.wellarchitected.model.ListCheckSummariesRequest) operation.

      Parameters:
      listCheckSummariesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCheckSummariesPaginator

      default ListCheckSummariesPublisher listCheckSummariesPaginator(Consumer<ListCheckSummariesRequest.Builder> listCheckSummariesRequest)

      This is a variant of listCheckSummaries(software.amazon.awssdk.services.wellarchitected.model.ListCheckSummariesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListCheckSummariesPublisher publisher = client.listCheckSummariesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListCheckSummariesPublisher publisher = client.listCheckSummariesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListCheckSummariesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListCheckSummariesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listCheckSummaries(software.amazon.awssdk.services.wellarchitected.model.ListCheckSummariesRequest) operation.


      This is a convenience which creates an instance of the ListCheckSummariesRequest.Builder avoiding the need to create one manually via ListCheckSummariesRequest.builder()

      Parameters:
      listCheckSummariesRequest - A Consumer that will call methods on ListCheckSummariesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensReviewImprovements

      default CompletableFuture<ListLensReviewImprovementsResponse> listLensReviewImprovements(ListLensReviewImprovementsRequest listLensReviewImprovementsRequest)

      List the improvements of a particular lens review.

      Parameters:
      listLensReviewImprovementsRequest - Input to list lens review improvements.
      Returns:
      A Java Future containing the result of the ListLensReviewImprovements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensReviewImprovements

      default CompletableFuture<ListLensReviewImprovementsResponse> listLensReviewImprovements(Consumer<ListLensReviewImprovementsRequest.Builder> listLensReviewImprovementsRequest)

      List the improvements of a particular lens review.


      This is a convenience which creates an instance of the ListLensReviewImprovementsRequest.Builder avoiding the need to create one manually via ListLensReviewImprovementsRequest.builder()

      Parameters:
      listLensReviewImprovementsRequest - A Consumer that will call methods on ListLensReviewImprovementsRequest.Builder to create a request. Input to list lens review improvements.
      Returns:
      A Java Future containing the result of the ListLensReviewImprovements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensReviewImprovementsPaginator

      default ListLensReviewImprovementsPublisher listLensReviewImprovementsPaginator(ListLensReviewImprovementsRequest listLensReviewImprovementsRequest)

      This is a variant of listLensReviewImprovements(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewImprovementsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensReviewImprovementsPublisher publisher = client.listLensReviewImprovementsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensReviewImprovementsPublisher publisher = client.listLensReviewImprovementsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListLensReviewImprovementsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewImprovementsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listLensReviewImprovements(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewImprovementsRequest) operation.

      Parameters:
      listLensReviewImprovementsRequest - Input to list lens review improvements.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensReviewImprovementsPaginator

      default ListLensReviewImprovementsPublisher listLensReviewImprovementsPaginator(Consumer<ListLensReviewImprovementsRequest.Builder> listLensReviewImprovementsRequest)

      This is a variant of listLensReviewImprovements(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewImprovementsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensReviewImprovementsPublisher publisher = client.listLensReviewImprovementsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensReviewImprovementsPublisher publisher = client.listLensReviewImprovementsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListLensReviewImprovementsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewImprovementsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listLensReviewImprovements(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewImprovementsRequest) operation.


      This is a convenience which creates an instance of the ListLensReviewImprovementsRequest.Builder avoiding the need to create one manually via ListLensReviewImprovementsRequest.builder()

      Parameters:
      listLensReviewImprovementsRequest - A Consumer that will call methods on ListLensReviewImprovementsRequest.Builder to create a request. Input to list lens review improvements.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensReviews

      default CompletableFuture<ListLensReviewsResponse> listLensReviews(ListLensReviewsRequest listLensReviewsRequest)

      List lens reviews for a particular workload.

      Parameters:
      listLensReviewsRequest - Input to list lens reviews.
      Returns:
      A Java Future containing the result of the ListLensReviews operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensReviews

      default CompletableFuture<ListLensReviewsResponse> listLensReviews(Consumer<ListLensReviewsRequest.Builder> listLensReviewsRequest)

      List lens reviews for a particular workload.


      This is a convenience which creates an instance of the ListLensReviewsRequest.Builder avoiding the need to create one manually via ListLensReviewsRequest.builder()

      Parameters:
      listLensReviewsRequest - A Consumer that will call methods on ListLensReviewsRequest.Builder to create a request. Input to list lens reviews.
      Returns:
      A Java Future containing the result of the ListLensReviews operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensReviewsPaginator

      default ListLensReviewsPublisher listLensReviewsPaginator(ListLensReviewsRequest listLensReviewsRequest)

      This is a variant of listLensReviews(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensReviewsPublisher publisher = client.listLensReviewsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensReviewsPublisher publisher = client.listLensReviewsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListLensReviewsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listLensReviews(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewsRequest) operation.

      Parameters:
      listLensReviewsRequest - Input to list lens reviews.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensReviewsPaginator

      default ListLensReviewsPublisher listLensReviewsPaginator(Consumer<ListLensReviewsRequest.Builder> listLensReviewsRequest)

      This is a variant of listLensReviews(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensReviewsPublisher publisher = client.listLensReviewsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensReviewsPublisher publisher = client.listLensReviewsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListLensReviewsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listLensReviews(software.amazon.awssdk.services.wellarchitected.model.ListLensReviewsRequest) operation.


      This is a convenience which creates an instance of the ListLensReviewsRequest.Builder avoiding the need to create one manually via ListLensReviewsRequest.builder()

      Parameters:
      listLensReviewsRequest - A Consumer that will call methods on ListLensReviewsRequest.Builder to create a request. Input to list lens reviews.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensShares

      default CompletableFuture<ListLensSharesResponse> listLensShares(ListLensSharesRequest listLensSharesRequest)

      List the lens shares associated with the lens.

      Parameters:
      listLensSharesRequest -
      Returns:
      A Java Future containing the result of the ListLensShares operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensShares

      default CompletableFuture<ListLensSharesResponse> listLensShares(Consumer<ListLensSharesRequest.Builder> listLensSharesRequest)

      List the lens shares associated with the lens.


      This is a convenience which creates an instance of the ListLensSharesRequest.Builder avoiding the need to create one manually via ListLensSharesRequest.builder()

      Parameters:
      listLensSharesRequest - A Consumer that will call methods on ListLensSharesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListLensShares operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensSharesPaginator

      default ListLensSharesPublisher listLensSharesPaginator(ListLensSharesRequest listLensSharesRequest)

      This is a variant of listLensShares(software.amazon.awssdk.services.wellarchitected.model.ListLensSharesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensSharesPublisher publisher = client.listLensSharesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensSharesPublisher publisher = client.listLensSharesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListLensSharesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListLensSharesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listLensShares(software.amazon.awssdk.services.wellarchitected.model.ListLensSharesRequest) operation.

      Parameters:
      listLensSharesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensSharesPaginator

      default ListLensSharesPublisher listLensSharesPaginator(Consumer<ListLensSharesRequest.Builder> listLensSharesRequest)

      This is a variant of listLensShares(software.amazon.awssdk.services.wellarchitected.model.ListLensSharesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensSharesPublisher publisher = client.listLensSharesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensSharesPublisher publisher = client.listLensSharesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListLensSharesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListLensSharesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listLensShares(software.amazon.awssdk.services.wellarchitected.model.ListLensSharesRequest) operation.


      This is a convenience which creates an instance of the ListLensSharesRequest.Builder avoiding the need to create one manually via ListLensSharesRequest.builder()

      Parameters:
      listLensSharesRequest - A Consumer that will call methods on ListLensSharesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLenses

      default CompletableFuture<ListLensesResponse> listLenses(ListLensesRequest listLensesRequest)

      List the available lenses.

      Parameters:
      listLensesRequest - Input to list lenses.
      Returns:
      A Java Future containing the result of the ListLenses operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLenses

      default CompletableFuture<ListLensesResponse> listLenses(Consumer<ListLensesRequest.Builder> listLensesRequest)

      List the available lenses.


      This is a convenience which creates an instance of the ListLensesRequest.Builder avoiding the need to create one manually via ListLensesRequest.builder()

      Parameters:
      listLensesRequest - A Consumer that will call methods on ListLensesRequest.Builder to create a request. Input to list lenses.
      Returns:
      A Java Future containing the result of the ListLenses operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensesPaginator

      default ListLensesPublisher listLensesPaginator(ListLensesRequest listLensesRequest)

      This is a variant of listLenses(software.amazon.awssdk.services.wellarchitected.model.ListLensesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensesPublisher publisher = client.listLensesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensesPublisher publisher = client.listLensesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListLensesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListLensesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listLenses(software.amazon.awssdk.services.wellarchitected.model.ListLensesRequest) operation.

      Parameters:
      listLensesRequest - Input to list lenses.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLensesPaginator

      default ListLensesPublisher listLensesPaginator(Consumer<ListLensesRequest.Builder> listLensesRequest)

      This is a variant of listLenses(software.amazon.awssdk.services.wellarchitected.model.ListLensesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensesPublisher publisher = client.listLensesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListLensesPublisher publisher = client.listLensesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListLensesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListLensesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listLenses(software.amazon.awssdk.services.wellarchitected.model.ListLensesRequest) operation.


      This is a convenience which creates an instance of the ListLensesRequest.Builder avoiding the need to create one manually via ListLensesRequest.builder()

      Parameters:
      listLensesRequest - A Consumer that will call methods on ListLensesRequest.Builder to create a request. Input to list lenses.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMilestones

      default CompletableFuture<ListMilestonesResponse> listMilestones(ListMilestonesRequest listMilestonesRequest)

      List all milestones for an existing workload.

      Parameters:
      listMilestonesRequest - Input to list all milestones for a workload.
      Returns:
      A Java Future containing the result of the ListMilestones operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMilestones

      default CompletableFuture<ListMilestonesResponse> listMilestones(Consumer<ListMilestonesRequest.Builder> listMilestonesRequest)

      List all milestones for an existing workload.


      This is a convenience which creates an instance of the ListMilestonesRequest.Builder avoiding the need to create one manually via ListMilestonesRequest.builder()

      Parameters:
      listMilestonesRequest - A Consumer that will call methods on ListMilestonesRequest.Builder to create a request. Input to list all milestones for a workload.
      Returns:
      A Java Future containing the result of the ListMilestones operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMilestonesPaginator

      default ListMilestonesPublisher listMilestonesPaginator(ListMilestonesRequest listMilestonesRequest)

      This is a variant of listMilestones(software.amazon.awssdk.services.wellarchitected.model.ListMilestonesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListMilestonesPublisher publisher = client.listMilestonesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListMilestonesPublisher publisher = client.listMilestonesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListMilestonesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListMilestonesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listMilestones(software.amazon.awssdk.services.wellarchitected.model.ListMilestonesRequest) operation.

      Parameters:
      listMilestonesRequest - Input to list all milestones for a workload.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMilestonesPaginator

      default ListMilestonesPublisher listMilestonesPaginator(Consumer<ListMilestonesRequest.Builder> listMilestonesRequest)

      This is a variant of listMilestones(software.amazon.awssdk.services.wellarchitected.model.ListMilestonesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListMilestonesPublisher publisher = client.listMilestonesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListMilestonesPublisher publisher = client.listMilestonesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListMilestonesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListMilestonesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listMilestones(software.amazon.awssdk.services.wellarchitected.model.ListMilestonesRequest) operation.


      This is a convenience which creates an instance of the ListMilestonesRequest.Builder avoiding the need to create one manually via ListMilestonesRequest.builder()

      Parameters:
      listMilestonesRequest - A Consumer that will call methods on ListMilestonesRequest.Builder to create a request. Input to list all milestones for a workload.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNotifications

      default CompletableFuture<ListNotificationsResponse> listNotifications(ListNotificationsRequest listNotificationsRequest)

      List lens notifications.

      Parameters:
      listNotificationsRequest -
      Returns:
      A Java Future containing the result of the ListNotifications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNotifications

      default CompletableFuture<ListNotificationsResponse> listNotifications(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest)

      List lens notifications.


      This is a convenience which creates an instance of the ListNotificationsRequest.Builder avoiding the need to create one manually via ListNotificationsRequest.builder()

      Parameters:
      listNotificationsRequest - A Consumer that will call methods on ListNotificationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListNotifications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNotificationsPaginator

      default ListNotificationsPublisher listNotificationsPaginator(ListNotificationsRequest listNotificationsRequest)

      This is a variant of listNotifications(software.amazon.awssdk.services.wellarchitected.model.ListNotificationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListNotificationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListNotificationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listNotifications(software.amazon.awssdk.services.wellarchitected.model.ListNotificationsRequest) operation.

      Parameters:
      listNotificationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNotificationsPaginator

      default ListNotificationsPublisher listNotificationsPaginator(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest)

      This is a variant of listNotifications(software.amazon.awssdk.services.wellarchitected.model.ListNotificationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListNotificationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListNotificationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listNotifications(software.amazon.awssdk.services.wellarchitected.model.ListNotificationsRequest) operation.


      This is a convenience which creates an instance of the ListNotificationsRequest.Builder avoiding the need to create one manually via ListNotificationsRequest.builder()

      Parameters:
      listNotificationsRequest - A Consumer that will call methods on ListNotificationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileNotifications

      default CompletableFuture<ListProfileNotificationsResponse> listProfileNotifications(ListProfileNotificationsRequest listProfileNotificationsRequest)

      List profile notifications.

      Parameters:
      listProfileNotificationsRequest -
      Returns:
      A Java Future containing the result of the ListProfileNotifications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileNotifications

      default CompletableFuture<ListProfileNotificationsResponse> listProfileNotifications(Consumer<ListProfileNotificationsRequest.Builder> listProfileNotificationsRequest)

      List profile notifications.


      This is a convenience which creates an instance of the ListProfileNotificationsRequest.Builder avoiding the need to create one manually via ListProfileNotificationsRequest.builder()

      Parameters:
      listProfileNotificationsRequest - A Consumer that will call methods on ListProfileNotificationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProfileNotifications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileNotificationsPaginator

      default ListProfileNotificationsPublisher listProfileNotificationsPaginator(ListProfileNotificationsRequest listProfileNotificationsRequest)

      This is a variant of listProfileNotifications(software.amazon.awssdk.services.wellarchitected.model.ListProfileNotificationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfileNotificationsPublisher publisher = client.listProfileNotificationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfileNotificationsPublisher publisher = client.listProfileNotificationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListProfileNotificationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListProfileNotificationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listProfileNotifications(software.amazon.awssdk.services.wellarchitected.model.ListProfileNotificationsRequest) operation.

      Parameters:
      listProfileNotificationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileNotificationsPaginator

      default ListProfileNotificationsPublisher listProfileNotificationsPaginator(Consumer<ListProfileNotificationsRequest.Builder> listProfileNotificationsRequest)

      This is a variant of listProfileNotifications(software.amazon.awssdk.services.wellarchitected.model.ListProfileNotificationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfileNotificationsPublisher publisher = client.listProfileNotificationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfileNotificationsPublisher publisher = client.listProfileNotificationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListProfileNotificationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListProfileNotificationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listProfileNotifications(software.amazon.awssdk.services.wellarchitected.model.ListProfileNotificationsRequest) operation.


      This is a convenience which creates an instance of the ListProfileNotificationsRequest.Builder avoiding the need to create one manually via ListProfileNotificationsRequest.builder()

      Parameters:
      listProfileNotificationsRequest - A Consumer that will call methods on ListProfileNotificationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileShares

      default CompletableFuture<ListProfileSharesResponse> listProfileShares(ListProfileSharesRequest listProfileSharesRequest)

      List profile shares.

      Parameters:
      listProfileSharesRequest -
      Returns:
      A Java Future containing the result of the ListProfileShares operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileShares

      default CompletableFuture<ListProfileSharesResponse> listProfileShares(Consumer<ListProfileSharesRequest.Builder> listProfileSharesRequest)

      List profile shares.


      This is a convenience which creates an instance of the ListProfileSharesRequest.Builder avoiding the need to create one manually via ListProfileSharesRequest.builder()

      Parameters:
      listProfileSharesRequest - A Consumer that will call methods on ListProfileSharesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProfileShares operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileSharesPaginator

      default ListProfileSharesPublisher listProfileSharesPaginator(ListProfileSharesRequest listProfileSharesRequest)

      This is a variant of listProfileShares(software.amazon.awssdk.services.wellarchitected.model.ListProfileSharesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfileSharesPublisher publisher = client.listProfileSharesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfileSharesPublisher publisher = client.listProfileSharesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListProfileSharesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListProfileSharesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listProfileShares(software.amazon.awssdk.services.wellarchitected.model.ListProfileSharesRequest) operation.

      Parameters:
      listProfileSharesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileSharesPaginator

      default ListProfileSharesPublisher listProfileSharesPaginator(Consumer<ListProfileSharesRequest.Builder> listProfileSharesRequest)

      This is a variant of listProfileShares(software.amazon.awssdk.services.wellarchitected.model.ListProfileSharesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfileSharesPublisher publisher = client.listProfileSharesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfileSharesPublisher publisher = client.listProfileSharesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListProfileSharesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListProfileSharesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listProfileShares(software.amazon.awssdk.services.wellarchitected.model.ListProfileSharesRequest) operation.


      This is a convenience which creates an instance of the ListProfileSharesRequest.Builder avoiding the need to create one manually via ListProfileSharesRequest.builder()

      Parameters:
      listProfileSharesRequest - A Consumer that will call methods on ListProfileSharesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfiles

      default CompletableFuture<ListProfilesResponse> listProfiles(ListProfilesRequest listProfilesRequest)

      List profiles.

      Parameters:
      listProfilesRequest -
      Returns:
      A Java Future containing the result of the ListProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfiles

      default CompletableFuture<ListProfilesResponse> listProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest)

      List profiles.


      This is a convenience which creates an instance of the ListProfilesRequest.Builder avoiding the need to create one manually via ListProfilesRequest.builder()

      Parameters:
      listProfilesRequest - A Consumer that will call methods on ListProfilesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfilesPaginator

      default ListProfilesPublisher listProfilesPaginator(ListProfilesRequest listProfilesRequest)

      This is a variant of listProfiles(software.amazon.awssdk.services.wellarchitected.model.ListProfilesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListProfilesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListProfilesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listProfiles(software.amazon.awssdk.services.wellarchitected.model.ListProfilesRequest) operation.

      Parameters:
      listProfilesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfilesPaginator

      default ListProfilesPublisher listProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest)

      This is a variant of listProfiles(software.amazon.awssdk.services.wellarchitected.model.ListProfilesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListProfilesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListProfilesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listProfiles(software.amazon.awssdk.services.wellarchitected.model.ListProfilesRequest) operation.


      This is a convenience which creates an instance of the ListProfilesRequest.Builder avoiding the need to create one manually via ListProfilesRequest.builder()

      Parameters:
      listProfilesRequest - A Consumer that will call methods on ListProfilesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReviewTemplateAnswers

      default CompletableFuture<ListReviewTemplateAnswersResponse> listReviewTemplateAnswers(ListReviewTemplateAnswersRequest listReviewTemplateAnswersRequest)

      List the answers of a review template.

      Parameters:
      listReviewTemplateAnswersRequest -
      Returns:
      A Java Future containing the result of the ListReviewTemplateAnswers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReviewTemplateAnswers

      default CompletableFuture<ListReviewTemplateAnswersResponse> listReviewTemplateAnswers(Consumer<ListReviewTemplateAnswersRequest.Builder> listReviewTemplateAnswersRequest)

      List the answers of a review template.


      This is a convenience which creates an instance of the ListReviewTemplateAnswersRequest.Builder avoiding the need to create one manually via ListReviewTemplateAnswersRequest.builder()

      Parameters:
      listReviewTemplateAnswersRequest - A Consumer that will call methods on ListReviewTemplateAnswersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListReviewTemplateAnswers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReviewTemplateAnswersPaginator

      default ListReviewTemplateAnswersPublisher listReviewTemplateAnswersPaginator(ListReviewTemplateAnswersRequest listReviewTemplateAnswersRequest)

      This is a variant of listReviewTemplateAnswers(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplateAnswersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListReviewTemplateAnswersPublisher publisher = client.listReviewTemplateAnswersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListReviewTemplateAnswersPublisher publisher = client.listReviewTemplateAnswersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplateAnswersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplateAnswersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listReviewTemplateAnswers(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplateAnswersRequest) operation.

      Parameters:
      listReviewTemplateAnswersRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReviewTemplateAnswersPaginator

      default ListReviewTemplateAnswersPublisher listReviewTemplateAnswersPaginator(Consumer<ListReviewTemplateAnswersRequest.Builder> listReviewTemplateAnswersRequest)

      This is a variant of listReviewTemplateAnswers(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplateAnswersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListReviewTemplateAnswersPublisher publisher = client.listReviewTemplateAnswersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListReviewTemplateAnswersPublisher publisher = client.listReviewTemplateAnswersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplateAnswersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplateAnswersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listReviewTemplateAnswers(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplateAnswersRequest) operation.


      This is a convenience which creates an instance of the ListReviewTemplateAnswersRequest.Builder avoiding the need to create one manually via ListReviewTemplateAnswersRequest.builder()

      Parameters:
      listReviewTemplateAnswersRequest - A Consumer that will call methods on ListReviewTemplateAnswersRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReviewTemplates

      default CompletableFuture<ListReviewTemplatesResponse> listReviewTemplates(ListReviewTemplatesRequest listReviewTemplatesRequest)

      List review templates.

      Parameters:
      listReviewTemplatesRequest -
      Returns:
      A Java Future containing the result of the ListReviewTemplates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReviewTemplates

      default CompletableFuture<ListReviewTemplatesResponse> listReviewTemplates(Consumer<ListReviewTemplatesRequest.Builder> listReviewTemplatesRequest)

      List review templates.


      This is a convenience which creates an instance of the ListReviewTemplatesRequest.Builder avoiding the need to create one manually via ListReviewTemplatesRequest.builder()

      Parameters:
      listReviewTemplatesRequest - A Consumer that will call methods on ListReviewTemplatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListReviewTemplates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReviewTemplatesPaginator

      default ListReviewTemplatesPublisher listReviewTemplatesPaginator(ListReviewTemplatesRequest listReviewTemplatesRequest)

      This is a variant of listReviewTemplates(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplatesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListReviewTemplatesPublisher publisher = client.listReviewTemplatesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListReviewTemplatesPublisher publisher = client.listReviewTemplatesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplatesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplatesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listReviewTemplates(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplatesRequest) operation.

      Parameters:
      listReviewTemplatesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReviewTemplatesPaginator

      default ListReviewTemplatesPublisher listReviewTemplatesPaginator(Consumer<ListReviewTemplatesRequest.Builder> listReviewTemplatesRequest)

      This is a variant of listReviewTemplates(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplatesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListReviewTemplatesPublisher publisher = client.listReviewTemplatesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListReviewTemplatesPublisher publisher = client.listReviewTemplatesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplatesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplatesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listReviewTemplates(software.amazon.awssdk.services.wellarchitected.model.ListReviewTemplatesRequest) operation.


      This is a convenience which creates an instance of the ListReviewTemplatesRequest.Builder avoiding the need to create one manually via ListReviewTemplatesRequest.builder()

      Parameters:
      listReviewTemplatesRequest - A Consumer that will call methods on ListReviewTemplatesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listShareInvitations

      default CompletableFuture<ListShareInvitationsResponse> listShareInvitations(ListShareInvitationsRequest listShareInvitationsRequest)

      List the share invitations.

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

      Parameters:
      listShareInvitationsRequest - Input for List Share Invitations
      Returns:
      A Java Future containing the result of the ListShareInvitations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listShareInvitations

      default CompletableFuture<ListShareInvitationsResponse> listShareInvitations(Consumer<ListShareInvitationsRequest.Builder> listShareInvitationsRequest)

      List the share invitations.

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


      This is a convenience which creates an instance of the ListShareInvitationsRequest.Builder avoiding the need to create one manually via ListShareInvitationsRequest.builder()

      Parameters:
      listShareInvitationsRequest - A Consumer that will call methods on ListShareInvitationsRequest.Builder to create a request. Input for List Share Invitations
      Returns:
      A Java Future containing the result of the ListShareInvitations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listShareInvitationsPaginator

      default ListShareInvitationsPublisher listShareInvitationsPaginator(ListShareInvitationsRequest listShareInvitationsRequest)

      This is a variant of listShareInvitations(software.amazon.awssdk.services.wellarchitected.model.ListShareInvitationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListShareInvitationsPublisher publisher = client.listShareInvitationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListShareInvitationsPublisher publisher = client.listShareInvitationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListShareInvitationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListShareInvitationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listShareInvitations(software.amazon.awssdk.services.wellarchitected.model.ListShareInvitationsRequest) operation.

      Parameters:
      listShareInvitationsRequest - Input for List Share Invitations
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listShareInvitationsPaginator

      default ListShareInvitationsPublisher listShareInvitationsPaginator(Consumer<ListShareInvitationsRequest.Builder> listShareInvitationsRequest)

      This is a variant of listShareInvitations(software.amazon.awssdk.services.wellarchitected.model.ListShareInvitationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListShareInvitationsPublisher publisher = client.listShareInvitationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListShareInvitationsPublisher publisher = client.listShareInvitationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListShareInvitationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListShareInvitationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listShareInvitations(software.amazon.awssdk.services.wellarchitected.model.ListShareInvitationsRequest) operation.


      This is a convenience which creates an instance of the ListShareInvitationsRequest.Builder avoiding the need to create one manually via ListShareInvitationsRequest.builder()

      Parameters:
      listShareInvitationsRequest - A Consumer that will call methods on ListShareInvitationsRequest.Builder to create a request. Input for List Share Invitations
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      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.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There is a problem with the Well-Architected Tool API service.
      • ResourceNotFoundException The requested resource was not found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      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.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There is a problem with the Well-Architected Tool API service.
      • ResourceNotFoundException The requested resource was not found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTemplateShares

      default CompletableFuture<ListTemplateSharesResponse> listTemplateShares(ListTemplateSharesRequest listTemplateSharesRequest)

      List review template shares.

      Parameters:
      listTemplateSharesRequest -
      Returns:
      A Java Future containing the result of the ListTemplateShares operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTemplateShares

      default CompletableFuture<ListTemplateSharesResponse> listTemplateShares(Consumer<ListTemplateSharesRequest.Builder> listTemplateSharesRequest)

      List review template shares.


      This is a convenience which creates an instance of the ListTemplateSharesRequest.Builder avoiding the need to create one manually via ListTemplateSharesRequest.builder()

      Parameters:
      listTemplateSharesRequest - A Consumer that will call methods on ListTemplateSharesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTemplateShares operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTemplateSharesPaginator

      default ListTemplateSharesPublisher listTemplateSharesPaginator(ListTemplateSharesRequest listTemplateSharesRequest)

      This is a variant of listTemplateShares(software.amazon.awssdk.services.wellarchitected.model.ListTemplateSharesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListTemplateSharesPublisher publisher = client.listTemplateSharesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListTemplateSharesPublisher publisher = client.listTemplateSharesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListTemplateSharesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListTemplateSharesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listTemplateShares(software.amazon.awssdk.services.wellarchitected.model.ListTemplateSharesRequest) operation.

      Parameters:
      listTemplateSharesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTemplateSharesPaginator

      default ListTemplateSharesPublisher listTemplateSharesPaginator(Consumer<ListTemplateSharesRequest.Builder> listTemplateSharesRequest)

      This is a variant of listTemplateShares(software.amazon.awssdk.services.wellarchitected.model.ListTemplateSharesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListTemplateSharesPublisher publisher = client.listTemplateSharesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListTemplateSharesPublisher publisher = client.listTemplateSharesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListTemplateSharesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListTemplateSharesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listTemplateShares(software.amazon.awssdk.services.wellarchitected.model.ListTemplateSharesRequest) operation.


      This is a convenience which creates an instance of the ListTemplateSharesRequest.Builder avoiding the need to create one manually via ListTemplateSharesRequest.builder()

      Parameters:
      listTemplateSharesRequest - A Consumer that will call methods on ListTemplateSharesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadShares

      default CompletableFuture<ListWorkloadSharesResponse> listWorkloadShares(ListWorkloadSharesRequest listWorkloadSharesRequest)

      List the workload shares associated with the workload.

      Parameters:
      listWorkloadSharesRequest - Input for List Workload Share
      Returns:
      A Java Future containing the result of the ListWorkloadShares operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadShares

      default CompletableFuture<ListWorkloadSharesResponse> listWorkloadShares(Consumer<ListWorkloadSharesRequest.Builder> listWorkloadSharesRequest)

      List the workload shares associated with the workload.


      This is a convenience which creates an instance of the ListWorkloadSharesRequest.Builder avoiding the need to create one manually via ListWorkloadSharesRequest.builder()

      Parameters:
      listWorkloadSharesRequest - A Consumer that will call methods on ListWorkloadSharesRequest.Builder to create a request. Input for List Workload Share
      Returns:
      A Java Future containing the result of the ListWorkloadShares operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadSharesPaginator

      default ListWorkloadSharesPublisher listWorkloadSharesPaginator(ListWorkloadSharesRequest listWorkloadSharesRequest)

      This is a variant of listWorkloadShares(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadSharesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListWorkloadSharesPublisher publisher = client.listWorkloadSharesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListWorkloadSharesPublisher publisher = client.listWorkloadSharesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListWorkloadSharesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadSharesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listWorkloadShares(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadSharesRequest) operation.

      Parameters:
      listWorkloadSharesRequest - Input for List Workload Share
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadSharesPaginator

      default ListWorkloadSharesPublisher listWorkloadSharesPaginator(Consumer<ListWorkloadSharesRequest.Builder> listWorkloadSharesRequest)

      This is a variant of listWorkloadShares(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadSharesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListWorkloadSharesPublisher publisher = client.listWorkloadSharesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListWorkloadSharesPublisher publisher = client.listWorkloadSharesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListWorkloadSharesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadSharesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listWorkloadShares(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadSharesRequest) operation.


      This is a convenience which creates an instance of the ListWorkloadSharesRequest.Builder avoiding the need to create one manually via ListWorkloadSharesRequest.builder()

      Parameters:
      listWorkloadSharesRequest - A Consumer that will call methods on ListWorkloadSharesRequest.Builder to create a request. Input for List Workload Share
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloads

      default CompletableFuture<ListWorkloadsResponse> listWorkloads(ListWorkloadsRequest listWorkloadsRequest)

      Paginated list of workloads.

      Parameters:
      listWorkloadsRequest - Input to list all workloads.
      Returns:
      A Java Future containing the result of the ListWorkloads operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloads

      default CompletableFuture<ListWorkloadsResponse> listWorkloads(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest)

      Paginated list of workloads.


      This is a convenience which creates an instance of the ListWorkloadsRequest.Builder avoiding the need to create one manually via ListWorkloadsRequest.builder()

      Parameters:
      listWorkloadsRequest - A Consumer that will call methods on ListWorkloadsRequest.Builder to create a request. Input to list all workloads.
      Returns:
      A Java Future containing the result of the ListWorkloads operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadsPaginator

      default ListWorkloadsPublisher listWorkloadsPaginator(ListWorkloadsRequest listWorkloadsRequest)

      This is a variant of listWorkloads(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListWorkloadsPublisher publisher = client.listWorkloadsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListWorkloadsPublisher publisher = client.listWorkloadsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListWorkloadsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listWorkloads(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadsRequest) operation.

      Parameters:
      listWorkloadsRequest - Input to list all workloads.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadsPaginator

      default ListWorkloadsPublisher listWorkloadsPaginator(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest)

      This is a variant of listWorkloads(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListWorkloadsPublisher publisher = client.listWorkloadsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.wellarchitected.paginators.ListWorkloadsPublisher publisher = client.listWorkloadsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wellarchitected.model.ListWorkloadsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listWorkloads(software.amazon.awssdk.services.wellarchitected.model.ListWorkloadsRequest) operation.


      This is a convenience which creates an instance of the ListWorkloadsRequest.Builder avoiding the need to create one manually via ListWorkloadsRequest.builder()

      Parameters:
      listWorkloadsRequest - A Consumer that will call methods on ListWorkloadsRequest.Builder to create a request. Input to list all workloads.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      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.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There is a problem with the Well-Architected Tool API service.
      • ResourceNotFoundException The requested resource was not found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      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.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There is a problem with the Well-Architected Tool API service.
      • ResourceNotFoundException The requested resource was not found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      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

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There is a problem with the Well-Architected Tool API service.
      • ResourceNotFoundException The requested resource was not found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      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


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There is a problem with the Well-Architected Tool API service.
      • ResourceNotFoundException The requested resource was not found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAnswer

      default CompletableFuture<UpdateAnswerResponse> updateAnswer(UpdateAnswerRequest updateAnswerRequest)

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

      Parameters:
      updateAnswerRequest - Input to update answer.
      Returns:
      A Java Future containing the result of the UpdateAnswer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAnswer

      default CompletableFuture<UpdateAnswerResponse> updateAnswer(Consumer<UpdateAnswerRequest.Builder> updateAnswerRequest)

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


      This is a convenience which creates an instance of the UpdateAnswerRequest.Builder avoiding the need to create one manually via UpdateAnswerRequest.builder()

      Parameters:
      updateAnswerRequest - A Consumer that will call methods on UpdateAnswerRequest.Builder to create a request. Input to update answer.
      Returns:
      A Java Future containing the result of the UpdateAnswer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateGlobalSettings

      default CompletableFuture<UpdateGlobalSettingsResponse> updateGlobalSettings(UpdateGlobalSettingsRequest updateGlobalSettingsRequest)

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

      Parameters:
      updateGlobalSettingsRequest -
      Returns:
      A Java Future containing the result of the UpdateGlobalSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateGlobalSettings

      default CompletableFuture<UpdateGlobalSettingsResponse> updateGlobalSettings(Consumer<UpdateGlobalSettingsRequest.Builder> updateGlobalSettingsRequest)

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


      This is a convenience which creates an instance of the UpdateGlobalSettingsRequest.Builder avoiding the need to create one manually via UpdateGlobalSettingsRequest.builder()

      Parameters:
      updateGlobalSettingsRequest - A Consumer that will call methods on UpdateGlobalSettingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateGlobalSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateIntegration

      default CompletableFuture<UpdateIntegrationResponse> updateIntegration(UpdateIntegrationRequest updateIntegrationRequest)

      Update integration features.

      Parameters:
      updateIntegrationRequest -
      Returns:
      A Java Future containing the result of the UpdateIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateIntegration

      default CompletableFuture<UpdateIntegrationResponse> updateIntegration(Consumer<UpdateIntegrationRequest.Builder> updateIntegrationRequest)

      Update integration features.


      This is a convenience which creates an instance of the UpdateIntegrationRequest.Builder avoiding the need to create one manually via UpdateIntegrationRequest.builder()

      Parameters:
      updateIntegrationRequest - A Consumer that will call methods on UpdateIntegrationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLensReview

      default CompletableFuture<UpdateLensReviewResponse> updateLensReview(UpdateLensReviewRequest updateLensReviewRequest)

      Update lens review for a particular workload.

      Parameters:
      updateLensReviewRequest - Input for update lens review.
      Returns:
      A Java Future containing the result of the UpdateLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLensReview

      default CompletableFuture<UpdateLensReviewResponse> updateLensReview(Consumer<UpdateLensReviewRequest.Builder> updateLensReviewRequest)

      Update lens review for a particular workload.


      This is a convenience which creates an instance of the UpdateLensReviewRequest.Builder avoiding the need to create one manually via UpdateLensReviewRequest.builder()

      Parameters:
      updateLensReviewRequest - A Consumer that will call methods on UpdateLensReviewRequest.Builder to create a request. Input for update lens review.
      Returns:
      A Java Future containing the result of the UpdateLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProfile

      default CompletableFuture<UpdateProfileResponse> updateProfile(UpdateProfileRequest updateProfileRequest)

      Update a profile.

      Parameters:
      updateProfileRequest -
      Returns:
      A Java Future containing the result of the UpdateProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProfile

      default CompletableFuture<UpdateProfileResponse> updateProfile(Consumer<UpdateProfileRequest.Builder> updateProfileRequest)

      Update a profile.


      This is a convenience which creates an instance of the UpdateProfileRequest.Builder avoiding the need to create one manually via UpdateProfileRequest.builder()

      Parameters:
      updateProfileRequest - A Consumer that will call methods on UpdateProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateReviewTemplate

      default CompletableFuture<UpdateReviewTemplateResponse> updateReviewTemplate(UpdateReviewTemplateRequest updateReviewTemplateRequest)

      Update a review template.

      Parameters:
      updateReviewTemplateRequest -
      Returns:
      A Java Future containing the result of the UpdateReviewTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateReviewTemplate

      default CompletableFuture<UpdateReviewTemplateResponse> updateReviewTemplate(Consumer<UpdateReviewTemplateRequest.Builder> updateReviewTemplateRequest)

      Update a review template.


      This is a convenience which creates an instance of the UpdateReviewTemplateRequest.Builder avoiding the need to create one manually via UpdateReviewTemplateRequest.builder()

      Parameters:
      updateReviewTemplateRequest - A Consumer that will call methods on UpdateReviewTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateReviewTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateReviewTemplateAnswer

      default CompletableFuture<UpdateReviewTemplateAnswerResponse> updateReviewTemplateAnswer(UpdateReviewTemplateAnswerRequest updateReviewTemplateAnswerRequest)

      Update a review template answer.

      Parameters:
      updateReviewTemplateAnswerRequest -
      Returns:
      A Java Future containing the result of the UpdateReviewTemplateAnswer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateReviewTemplateAnswer

      default CompletableFuture<UpdateReviewTemplateAnswerResponse> updateReviewTemplateAnswer(Consumer<UpdateReviewTemplateAnswerRequest.Builder> updateReviewTemplateAnswerRequest)

      Update a review template answer.


      This is a convenience which creates an instance of the UpdateReviewTemplateAnswerRequest.Builder avoiding the need to create one manually via UpdateReviewTemplateAnswerRequest.builder()

      Parameters:
      updateReviewTemplateAnswerRequest - A Consumer that will call methods on UpdateReviewTemplateAnswerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateReviewTemplateAnswer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateReviewTemplateLensReview

      default CompletableFuture<UpdateReviewTemplateLensReviewResponse> updateReviewTemplateLensReview(UpdateReviewTemplateLensReviewRequest updateReviewTemplateLensReviewRequest)

      Update a lens review associated with a review template.

      Parameters:
      updateReviewTemplateLensReviewRequest -
      Returns:
      A Java Future containing the result of the UpdateReviewTemplateLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateReviewTemplateLensReview

      default CompletableFuture<UpdateReviewTemplateLensReviewResponse> updateReviewTemplateLensReview(Consumer<UpdateReviewTemplateLensReviewRequest.Builder> updateReviewTemplateLensReviewRequest)

      Update a lens review associated with a review template.


      This is a convenience which creates an instance of the UpdateReviewTemplateLensReviewRequest.Builder avoiding the need to create one manually via UpdateReviewTemplateLensReviewRequest.builder()

      Parameters:
      updateReviewTemplateLensReviewRequest - A Consumer that will call methods on UpdateReviewTemplateLensReviewRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateReviewTemplateLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateShareInvitation

      default CompletableFuture<UpdateShareInvitationResponse> updateShareInvitation(UpdateShareInvitationRequest updateShareInvitationRequest)

      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.

      Parameters:
      updateShareInvitationRequest - Input for Update Share Invitation
      Returns:
      A Java Future containing the result of the UpdateShareInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateShareInvitation

      default CompletableFuture<UpdateShareInvitationResponse> updateShareInvitation(Consumer<UpdateShareInvitationRequest.Builder> updateShareInvitationRequest)

      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.


      This is a convenience which creates an instance of the UpdateShareInvitationRequest.Builder avoiding the need to create one manually via UpdateShareInvitationRequest.builder()

      Parameters:
      updateShareInvitationRequest - A Consumer that will call methods on UpdateShareInvitationRequest.Builder to create a request. Input for Update Share Invitation
      Returns:
      A Java Future containing the result of the UpdateShareInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWorkload

      default CompletableFuture<UpdateWorkloadResponse> updateWorkload(UpdateWorkloadRequest updateWorkloadRequest)

      Update an existing workload.

      Parameters:
      updateWorkloadRequest - Input to update a workload.
      Returns:
      A Java Future containing the result of the UpdateWorkload operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWorkload

      default CompletableFuture<UpdateWorkloadResponse> updateWorkload(Consumer<UpdateWorkloadRequest.Builder> updateWorkloadRequest)

      Update an existing workload.


      This is a convenience which creates an instance of the UpdateWorkloadRequest.Builder avoiding the need to create one manually via UpdateWorkloadRequest.builder()

      Parameters:
      updateWorkloadRequest - A Consumer that will call methods on UpdateWorkloadRequest.Builder to create a request. Input to update a workload.
      Returns:
      A Java Future containing the result of the UpdateWorkload operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWorkloadShare

      default CompletableFuture<UpdateWorkloadShareResponse> updateWorkloadShare(UpdateWorkloadShareRequest updateWorkloadShareRequest)

      Update a workload share.

      Parameters:
      updateWorkloadShareRequest - Input for Update Workload Share
      Returns:
      A Java Future containing the result of the UpdateWorkloadShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWorkloadShare

      default CompletableFuture<UpdateWorkloadShareResponse> updateWorkloadShare(Consumer<UpdateWorkloadShareRequest.Builder> updateWorkloadShareRequest)

      Update a workload share.


      This is a convenience which creates an instance of the UpdateWorkloadShareRequest.Builder avoiding the need to create one manually via UpdateWorkloadShareRequest.builder()

      Parameters:
      updateWorkloadShareRequest - A Consumer that will call methods on UpdateWorkloadShareRequest.Builder to create a request. Input for Update Workload Share
      Returns:
      A Java Future containing the result of the UpdateWorkloadShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • upgradeLensReview

      default CompletableFuture<UpgradeLensReviewResponse> upgradeLensReview(UpgradeLensReviewRequest upgradeLensReviewRequest)

      Upgrade lens review for a particular workload.

      Parameters:
      upgradeLensReviewRequest -
      Returns:
      A Java Future containing the result of the UpgradeLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • upgradeLensReview

      default CompletableFuture<UpgradeLensReviewResponse> upgradeLensReview(Consumer<UpgradeLensReviewRequest.Builder> upgradeLensReviewRequest)

      Upgrade lens review for a particular workload.


      This is a convenience which creates an instance of the UpgradeLensReviewRequest.Builder avoiding the need to create one manually via UpgradeLensReviewRequest.builder()

      Parameters:
      upgradeLensReviewRequest - A Consumer that will call methods on UpgradeLensReviewRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpgradeLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • upgradeProfileVersion

      default CompletableFuture<UpgradeProfileVersionResponse> upgradeProfileVersion(UpgradeProfileVersionRequest upgradeProfileVersionRequest)

      Upgrade a profile.

      Parameters:
      upgradeProfileVersionRequest -
      Returns:
      A Java Future containing the result of the UpgradeProfileVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • upgradeProfileVersion

      default CompletableFuture<UpgradeProfileVersionResponse> upgradeProfileVersion(Consumer<UpgradeProfileVersionRequest.Builder> upgradeProfileVersionRequest)

      Upgrade a profile.


      This is a convenience which creates an instance of the UpgradeProfileVersionRequest.Builder avoiding the need to create one manually via UpgradeProfileVersionRequest.builder()

      Parameters:
      upgradeProfileVersionRequest - A Consumer that will call methods on UpgradeProfileVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpgradeProfileVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • upgradeReviewTemplateLensReview

      default CompletableFuture<UpgradeReviewTemplateLensReviewResponse> upgradeReviewTemplateLensReview(UpgradeReviewTemplateLensReviewRequest upgradeReviewTemplateLensReviewRequest)

      Upgrade the lens review of a review template.

      Parameters:
      upgradeReviewTemplateLensReviewRequest -
      Returns:
      A Java Future containing the result of the UpgradeReviewTemplateLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • upgradeReviewTemplateLensReview

      default CompletableFuture<UpgradeReviewTemplateLensReviewResponse> upgradeReviewTemplateLensReview(Consumer<UpgradeReviewTemplateLensReviewRequest.Builder> upgradeReviewTemplateLensReviewRequest)

      Upgrade the lens review of a review template.


      This is a convenience which creates an instance of the UpgradeReviewTemplateLensReviewRequest.Builder avoiding the need to create one manually via UpgradeReviewTemplateLensReviewRequest.builder()

      Parameters:
      upgradeReviewTemplateLensReviewRequest - A Consumer that will call methods on UpgradeReviewTemplateLensReviewRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpgradeReviewTemplateLensReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • WellArchitectedException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default WellArchitectedServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static WellArchitectedAsyncClient create()
      Create a WellArchitectedAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a WellArchitectedAsyncClient.