Interface ResiliencehubAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ResiliencehubAsyncClient extends AwsClient
Service client for accessing AWS Resilience Hub asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
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.

Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. It offers continual resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.

  • Field Details

  • Method Details

    • addDraftAppVersionResourceMappings

      default CompletableFuture<AddDraftAppVersionResourceMappingsResponse> addDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest)

      Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources suported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.

      Parameters:
      addDraftAppVersionResourceMappingsRequest -
      Returns:
      A Java Future containing the result of the AddDraftAppVersionResourceMappings 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • addDraftAppVersionResourceMappings

      default CompletableFuture<AddDraftAppVersionResourceMappingsResponse> addDraftAppVersionResourceMappings(Consumer<AddDraftAppVersionResourceMappingsRequest.Builder> addDraftAppVersionResourceMappingsRequest)

      Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources suported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.


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

      Parameters:
      addDraftAppVersionResourceMappingsRequest - A Consumer that will call methods on AddDraftAppVersionResourceMappingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AddDraftAppVersionResourceMappings 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateRecommendationStatus

      default CompletableFuture<BatchUpdateRecommendationStatusResponse> batchUpdateRecommendationStatus(BatchUpdateRecommendationStatusRequest batchUpdateRecommendationStatusRequest)

      Enables you to include or exclude one or more operational recommendations.

      Parameters:
      batchUpdateRecommendationStatusRequest -
      Returns:
      A Java Future containing the result of the BatchUpdateRecommendationStatus 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateRecommendationStatus

      default CompletableFuture<BatchUpdateRecommendationStatusResponse> batchUpdateRecommendationStatus(Consumer<BatchUpdateRecommendationStatusRequest.Builder> batchUpdateRecommendationStatusRequest)

      Enables you to include or exclude one or more operational recommendations.


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

      Parameters:
      batchUpdateRecommendationStatusRequest - A Consumer that will call methods on BatchUpdateRecommendationStatusRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchUpdateRecommendationStatus 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createApp

      default CompletableFuture<CreateAppResponse> createApp(CreateAppRequest createAppRequest)

      Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information about the number of resources supported per application, see Service quotas.

      After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).

      Parameters:
      createAppRequest -
      Returns:
      A Java Future containing the result of the CreateApp 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createApp

      default CompletableFuture<CreateAppResponse> createApp(Consumer<CreateAppRequest.Builder> createAppRequest)

      Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information about the number of resources supported per application, see Service quotas.

      After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).


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

      Parameters:
      createAppRequest - A Consumer that will call methods on CreateAppRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateApp 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAppVersionAppComponent

      default CompletableFuture<CreateAppVersionAppComponentResponse> createAppVersionAppComponent(CreateAppVersionAppComponentRequest createAppVersionAppComponentRequest)

      Creates a new Application Component in the Resilience Hub application.

      This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

      Parameters:
      createAppVersionAppComponentRequest -
      Returns:
      A Java Future containing the result of the CreateAppVersionAppComponent 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAppVersionAppComponent

      default CompletableFuture<CreateAppVersionAppComponentResponse> createAppVersionAppComponent(Consumer<CreateAppVersionAppComponentRequest.Builder> createAppVersionAppComponentRequest)

      Creates a new Application Component in the Resilience Hub application.

      This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API.


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

      Parameters:
      createAppVersionAppComponentRequest - A Consumer that will call methods on CreateAppVersionAppComponentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAppVersionAppComponent 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAppVersionResource

      default CompletableFuture<CreateAppVersionResourceResponse> createAppVersionResource(CreateAppVersionResourceRequest createAppVersionResourceRequest)

      Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component.

      • This action has no effect outside Resilience Hub.

      • This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

      • To update application version with new physicalResourceID, you must call ResolveAppVersionResources API.

      Parameters:
      createAppVersionResourceRequest -
      Returns:
      A Java Future containing the result of the CreateAppVersionResource 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAppVersionResource

      default CompletableFuture<CreateAppVersionResourceResponse> createAppVersionResource(Consumer<CreateAppVersionResourceRequest.Builder> createAppVersionResourceRequest)

      Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component.

      • This action has no effect outside Resilience Hub.

      • This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

      • To update application version with new physicalResourceID, you must call ResolveAppVersionResources API.


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

      Parameters:
      createAppVersionResourceRequest - A Consumer that will call methods on CreateAppVersionResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAppVersionResource 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRecommendationTemplate

      default CompletableFuture<CreateRecommendationTemplateResponse> createRecommendationTemplate(CreateRecommendationTemplateRequest createRecommendationTemplateRequest)

      Creates a new recommendation template for the Resilience Hub application.

      Parameters:
      createRecommendationTemplateRequest -
      Returns:
      A Java Future containing the result of the CreateRecommendationTemplate 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRecommendationTemplate

      default CompletableFuture<CreateRecommendationTemplateResponse> createRecommendationTemplate(Consumer<CreateRecommendationTemplateRequest.Builder> createRecommendationTemplateRequest)

      Creates a new recommendation template for the Resilience Hub application.


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

      Parameters:
      createRecommendationTemplateRequest - A Consumer that will call methods on CreateRecommendationTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateRecommendationTemplate 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResiliencyPolicy

      default CompletableFuture<CreateResiliencyPolicyResponse> createResiliencyPolicy(CreateResiliencyPolicyRequest createResiliencyPolicyRequest)

      Creates a resiliency policy for an application.

      Resilience Hub allows you to provide a value of zero for rtoInSecs and rpoInSecs of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero for rtoInSecs and rpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.

      Parameters:
      createResiliencyPolicyRequest -
      Returns:
      A Java Future containing the result of the CreateResiliencyPolicy 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResiliencyPolicy

      default CompletableFuture<CreateResiliencyPolicyResponse> createResiliencyPolicy(Consumer<CreateResiliencyPolicyRequest.Builder> createResiliencyPolicyRequest)

      Creates a resiliency policy for an application.

      Resilience Hub allows you to provide a value of zero for rtoInSecs and rpoInSecs of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero for rtoInSecs and rpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.


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

      Parameters:
      createResiliencyPolicyRequest - A Consumer that will call methods on CreateResiliencyPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateResiliencyPolicy 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteApp

      default CompletableFuture<DeleteAppResponse> deleteApp(DeleteAppRequest deleteAppRequest)

      Deletes an Resilience Hub application. This is a destructive action that can't be undone.

      Parameters:
      deleteAppRequest -
      Returns:
      A Java Future containing the result of the DeleteApp 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteApp

      default CompletableFuture<DeleteAppResponse> deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest)

      Deletes an Resilience Hub application. This is a destructive action that can't be undone.


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

      Parameters:
      deleteAppRequest - A Consumer that will call methods on DeleteAppRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteApp 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAppAssessment

      default CompletableFuture<DeleteAppAssessmentResponse> deleteAppAssessment(DeleteAppAssessmentRequest deleteAppAssessmentRequest)

      Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone.

      Parameters:
      deleteAppAssessmentRequest -
      Returns:
      A Java Future containing the result of the DeleteAppAssessment 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAppAssessment

      default CompletableFuture<DeleteAppAssessmentResponse> deleteAppAssessment(Consumer<DeleteAppAssessmentRequest.Builder> deleteAppAssessmentRequest)

      Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone.


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

      Parameters:
      deleteAppAssessmentRequest - A Consumer that will call methods on DeleteAppAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAppAssessment 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAppInputSource

      default CompletableFuture<DeleteAppInputSourceResponse> deleteAppInputSource(DeleteAppInputSourceRequest deleteAppInputSourceRequest)

      Deletes the input source and all of its imported resources from the Resilience Hub application.

      Parameters:
      deleteAppInputSourceRequest -
      Returns:
      A Java Future containing the result of the DeleteAppInputSource 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAppInputSource

      default CompletableFuture<DeleteAppInputSourceResponse> deleteAppInputSource(Consumer<DeleteAppInputSourceRequest.Builder> deleteAppInputSourceRequest)

      Deletes the input source and all of its imported resources from the Resilience Hub application.


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

      Parameters:
      deleteAppInputSourceRequest - A Consumer that will call methods on DeleteAppInputSourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAppInputSource 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAppVersionAppComponent

      default CompletableFuture<DeleteAppVersionAppComponentResponse> deleteAppVersionAppComponent(DeleteAppVersionAppComponentRequest deleteAppVersionAppComponentRequest)

      Deletes an Application Component from the Resilience Hub application.

      • This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

      • You will not be able to delete an Application Component if it has resources associated with it.

      Parameters:
      deleteAppVersionAppComponentRequest -
      Returns:
      A Java Future containing the result of the DeleteAppVersionAppComponent 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAppVersionAppComponent

      default CompletableFuture<DeleteAppVersionAppComponentResponse> deleteAppVersionAppComponent(Consumer<DeleteAppVersionAppComponentRequest.Builder> deleteAppVersionAppComponentRequest)

      Deletes an Application Component from the Resilience Hub application.

      • This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

      • You will not be able to delete an Application Component if it has resources associated with it.


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

      Parameters:
      deleteAppVersionAppComponentRequest - A Consumer that will call methods on DeleteAppVersionAppComponentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAppVersionAppComponent 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAppVersionResource

      default CompletableFuture<DeleteAppVersionResourceResponse> deleteAppVersionResource(DeleteAppVersionResourceRequest deleteAppVersionResourceRequest)

      Deletes a resource from the Resilience Hub application.

      • You can only delete a manually added resource. To exclude non-manually added resources, use the UpdateAppVersionResource API.

      • This action has no effect outside Resilience Hub.

      • This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

      Parameters:
      deleteAppVersionResourceRequest -
      Returns:
      A Java Future containing the result of the DeleteAppVersionResource 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAppVersionResource

      default CompletableFuture<DeleteAppVersionResourceResponse> deleteAppVersionResource(Consumer<DeleteAppVersionResourceRequest.Builder> deleteAppVersionResourceRequest)

      Deletes a resource from the Resilience Hub application.

      • You can only delete a manually added resource. To exclude non-manually added resources, use the UpdateAppVersionResource API.

      • This action has no effect outside Resilience Hub.

      • This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.


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

      Parameters:
      deleteAppVersionResourceRequest - A Consumer that will call methods on DeleteAppVersionResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAppVersionResource 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRecommendationTemplate

      default CompletableFuture<DeleteRecommendationTemplateResponse> deleteRecommendationTemplate(DeleteRecommendationTemplateRequest deleteRecommendationTemplateRequest)

      Deletes a recommendation template. This is a destructive action that can't be undone.

      Parameters:
      deleteRecommendationTemplateRequest -
      Returns:
      A Java Future containing the result of the DeleteRecommendationTemplate 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRecommendationTemplate

      default CompletableFuture<DeleteRecommendationTemplateResponse> deleteRecommendationTemplate(Consumer<DeleteRecommendationTemplateRequest.Builder> deleteRecommendationTemplateRequest)

      Deletes a recommendation template. This is a destructive action that can't be undone.


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

      Parameters:
      deleteRecommendationTemplateRequest - A Consumer that will call methods on DeleteRecommendationTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteRecommendationTemplate 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResiliencyPolicy

      default CompletableFuture<DeleteResiliencyPolicyResponse> deleteResiliencyPolicy(DeleteResiliencyPolicyRequest deleteResiliencyPolicyRequest)

      Deletes a resiliency policy. This is a destructive action that can't be undone.

      Parameters:
      deleteResiliencyPolicyRequest -
      Returns:
      A Java Future containing the result of the DeleteResiliencyPolicy 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResiliencyPolicy

      default CompletableFuture<DeleteResiliencyPolicyResponse> deleteResiliencyPolicy(Consumer<DeleteResiliencyPolicyRequest.Builder> deleteResiliencyPolicyRequest)

      Deletes a resiliency policy. This is a destructive action that can't be undone.


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

      Parameters:
      deleteResiliencyPolicyRequest - A Consumer that will call methods on DeleteResiliencyPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteResiliencyPolicy 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeApp

      default CompletableFuture<DescribeAppResponse> describeApp(DescribeAppRequest describeAppRequest)

      Describes an Resilience Hub application.

      Parameters:
      describeAppRequest -
      Returns:
      A Java Future containing the result of the DescribeApp 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeApp

      default CompletableFuture<DescribeAppResponse> describeApp(Consumer<DescribeAppRequest.Builder> describeAppRequest)

      Describes an Resilience Hub application.


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

      Parameters:
      describeAppRequest - A Consumer that will call methods on DescribeAppRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeApp 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppAssessment

      default CompletableFuture<DescribeAppAssessmentResponse> describeAppAssessment(DescribeAppAssessmentRequest describeAppAssessmentRequest)

      Describes an assessment for an Resilience Hub application.

      Parameters:
      describeAppAssessmentRequest -
      Returns:
      A Java Future containing the result of the DescribeAppAssessment 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppAssessment

      default CompletableFuture<DescribeAppAssessmentResponse> describeAppAssessment(Consumer<DescribeAppAssessmentRequest.Builder> describeAppAssessmentRequest)

      Describes an assessment for an Resilience Hub application.


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

      Parameters:
      describeAppAssessmentRequest - A Consumer that will call methods on DescribeAppAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeAppAssessment 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppVersion

      default CompletableFuture<DescribeAppVersionResponse> describeAppVersion(DescribeAppVersionRequest describeAppVersionRequest)

      Describes the Resilience Hub application version.

      Parameters:
      describeAppVersionRequest -
      Returns:
      A Java Future containing the result of the DescribeAppVersion 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppVersion

      default CompletableFuture<DescribeAppVersionResponse> describeAppVersion(Consumer<DescribeAppVersionRequest.Builder> describeAppVersionRequest)

      Describes the Resilience Hub application version.


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

      Parameters:
      describeAppVersionRequest - A Consumer that will call methods on DescribeAppVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeAppVersion 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppVersionAppComponent

      default CompletableFuture<DescribeAppVersionAppComponentResponse> describeAppVersionAppComponent(DescribeAppVersionAppComponentRequest describeAppVersionAppComponentRequest)

      Describes an Application Component in the Resilience Hub application.

      Parameters:
      describeAppVersionAppComponentRequest -
      Returns:
      A Java Future containing the result of the DescribeAppVersionAppComponent 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppVersionAppComponent

      default CompletableFuture<DescribeAppVersionAppComponentResponse> describeAppVersionAppComponent(Consumer<DescribeAppVersionAppComponentRequest.Builder> describeAppVersionAppComponentRequest)

      Describes an Application Component in the Resilience Hub application.


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

      Parameters:
      describeAppVersionAppComponentRequest - A Consumer that will call methods on DescribeAppVersionAppComponentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeAppVersionAppComponent 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppVersionResource

      default CompletableFuture<DescribeAppVersionResourceResponse> describeAppVersionResource(DescribeAppVersionResourceRequest describeAppVersionResourceRequest)

      Describes a resource of the Resilience Hub application.

      This API accepts only one of the following parameters to descibe the resource:

      • resourceName

      • logicalResourceId

      • physicalResourceId (Along with physicalResourceId, you can also provide awsAccountId, and awsRegion)

      Parameters:
      describeAppVersionResourceRequest -
      Returns:
      A Java Future containing the result of the DescribeAppVersionResource 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppVersionResource

      default CompletableFuture<DescribeAppVersionResourceResponse> describeAppVersionResource(Consumer<DescribeAppVersionResourceRequest.Builder> describeAppVersionResourceRequest)

      Describes a resource of the Resilience Hub application.

      This API accepts only one of the following parameters to descibe the resource:

      • resourceName

      • logicalResourceId

      • physicalResourceId (Along with physicalResourceId, you can also provide awsAccountId, and awsRegion)


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

      Parameters:
      describeAppVersionResourceRequest - A Consumer that will call methods on DescribeAppVersionResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeAppVersionResource 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppVersionResourcesResolutionStatus

      default CompletableFuture<DescribeAppVersionResourcesResolutionStatusResponse> describeAppVersionResourcesResolutionStatus(DescribeAppVersionResourcesResolutionStatusRequest describeAppVersionResourcesResolutionStatusRequest)

      Returns the resolution status for the specified resolution identifier for an application version. If resolutionId is not specified, the current resolution status is returned.

      Parameters:
      describeAppVersionResourcesResolutionStatusRequest -
      Returns:
      A Java Future containing the result of the DescribeAppVersionResourcesResolutionStatus 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppVersionResourcesResolutionStatus

      default CompletableFuture<DescribeAppVersionResourcesResolutionStatusResponse> describeAppVersionResourcesResolutionStatus(Consumer<DescribeAppVersionResourcesResolutionStatusRequest.Builder> describeAppVersionResourcesResolutionStatusRequest)

      Returns the resolution status for the specified resolution identifier for an application version. If resolutionId is not specified, the current resolution status is returned.


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

      Parameters:
      describeAppVersionResourcesResolutionStatusRequest - A Consumer that will call methods on DescribeAppVersionResourcesResolutionStatusRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeAppVersionResourcesResolutionStatus 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppVersionTemplate

      default CompletableFuture<DescribeAppVersionTemplateResponse> describeAppVersionTemplate(DescribeAppVersionTemplateRequest describeAppVersionTemplateRequest)

      Describes details about an Resilience Hub application.

      Parameters:
      describeAppVersionTemplateRequest -
      Returns:
      A Java Future containing the result of the DescribeAppVersionTemplate 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeAppVersionTemplate

      default CompletableFuture<DescribeAppVersionTemplateResponse> describeAppVersionTemplate(Consumer<DescribeAppVersionTemplateRequest.Builder> describeAppVersionTemplateRequest)

      Describes details about an Resilience Hub application.


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

      Parameters:
      describeAppVersionTemplateRequest - A Consumer that will call methods on DescribeAppVersionTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeAppVersionTemplate 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeDraftAppVersionResourcesImportStatus

      default CompletableFuture<DescribeDraftAppVersionResourcesImportStatusResponse> describeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest describeDraftAppVersionResourcesImportStatusRequest)

      Describes the status of importing resources to an application version.

      If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException, you must call importResourcesToDraftAppVersion after creating the application and before calling describeDraftAppVersionResourcesImportStatus to obtain the status.

      Parameters:
      describeDraftAppVersionResourcesImportStatusRequest -
      Returns:
      A Java Future containing the result of the DescribeDraftAppVersionResourcesImportStatus 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeDraftAppVersionResourcesImportStatus

      default CompletableFuture<DescribeDraftAppVersionResourcesImportStatusResponse> describeDraftAppVersionResourcesImportStatus(Consumer<DescribeDraftAppVersionResourcesImportStatusRequest.Builder> describeDraftAppVersionResourcesImportStatusRequest)

      Describes the status of importing resources to an application version.

      If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException, you must call importResourcesToDraftAppVersion after creating the application and before calling describeDraftAppVersionResourcesImportStatus to obtain the status.


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

      Parameters:
      describeDraftAppVersionResourcesImportStatusRequest - A Consumer that will call methods on DescribeDraftAppVersionResourcesImportStatusRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeDraftAppVersionResourcesImportStatus 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeResiliencyPolicy

      default CompletableFuture<DescribeResiliencyPolicyResponse> describeResiliencyPolicy(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest)

      Describes a specified resiliency policy for an Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.

      Parameters:
      describeResiliencyPolicyRequest -
      Returns:
      A Java Future containing the result of the DescribeResiliencyPolicy 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeResiliencyPolicy

      default CompletableFuture<DescribeResiliencyPolicyResponse> describeResiliencyPolicy(Consumer<DescribeResiliencyPolicyRequest.Builder> describeResiliencyPolicyRequest)

      Describes a specified resiliency policy for an Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.


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

      Parameters:
      describeResiliencyPolicyRequest - A Consumer that will call methods on DescribeResiliencyPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeResiliencyPolicy 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • importResourcesToDraftAppVersion

      default CompletableFuture<ImportResourcesToDraftAppVersionResponse> importResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest importResourcesToDraftAppVersionRequest)

      Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.

      Parameters:
      importResourcesToDraftAppVersionRequest -
      Returns:
      A Java Future containing the result of the ImportResourcesToDraftAppVersion 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • importResourcesToDraftAppVersion

      default CompletableFuture<ImportResourcesToDraftAppVersionResponse> importResourcesToDraftAppVersion(Consumer<ImportResourcesToDraftAppVersionRequest.Builder> importResourcesToDraftAppVersionRequest)

      Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.


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

      Parameters:
      importResourcesToDraftAppVersionRequest - A Consumer that will call methods on ImportResourcesToDraftAppVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ImportResourcesToDraftAppVersion 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAlarmRecommendations

      default CompletableFuture<ListAlarmRecommendationsResponse> listAlarmRecommendations(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest)

      Lists the alarm recommendations for an Resilience Hub application.

      Parameters:
      listAlarmRecommendationsRequest -
      Returns:
      A Java Future containing the result of the ListAlarmRecommendations 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAlarmRecommendations

      default CompletableFuture<ListAlarmRecommendationsResponse> listAlarmRecommendations(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest)

      Lists the alarm recommendations for an Resilience Hub application.


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

      Parameters:
      listAlarmRecommendationsRequest - A Consumer that will call methods on ListAlarmRecommendationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAlarmRecommendations 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAlarmRecommendationsPaginator

      default ListAlarmRecommendationsPublisher listAlarmRecommendationsPaginator(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest)

      This is a variant of listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest) 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.resiliencehub.paginators.ListAlarmRecommendationsPublisher publisher = client.listAlarmRecommendationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsPublisher publisher = client.listAlarmRecommendationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse 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 listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest) operation.

      Parameters:
      listAlarmRecommendationsRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAlarmRecommendationsPaginator

      default ListAlarmRecommendationsPublisher listAlarmRecommendationsPaginator(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest)

      This is a variant of listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest) 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.resiliencehub.paginators.ListAlarmRecommendationsPublisher publisher = client.listAlarmRecommendationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsPublisher publisher = client.listAlarmRecommendationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse 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 listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest) operation.


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

      Parameters:
      listAlarmRecommendationsRequest - A Consumer that will call methods on ListAlarmRecommendationsRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppAssessmentComplianceDrifts

      default CompletableFuture<ListAppAssessmentComplianceDriftsResponse> listAppAssessmentComplianceDrifts(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest)

      List of compliance drifts that were detected while running an assessment.

      Parameters:
      listAppAssessmentComplianceDriftsRequest -
      Returns:
      A Java Future containing the result of the ListAppAssessmentComplianceDrifts 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppAssessmentComplianceDrifts

      default CompletableFuture<ListAppAssessmentComplianceDriftsResponse> listAppAssessmentComplianceDrifts(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest)

      List of compliance drifts that were detected while running an assessment.


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

      Parameters:
      listAppAssessmentComplianceDriftsRequest - A Consumer that will call methods on ListAppAssessmentComplianceDriftsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAppAssessmentComplianceDrifts 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppAssessmentComplianceDriftsPaginator

      default ListAppAssessmentComplianceDriftsPublisher listAppAssessmentComplianceDriftsPaginator(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest)

      This is a variant of listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest) 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.resiliencehub.paginators.ListAppAssessmentComplianceDriftsPublisher publisher = client.listAppAssessmentComplianceDriftsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsPublisher publisher = client.listAppAssessmentComplianceDriftsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse 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 listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest) operation.

      Parameters:
      listAppAssessmentComplianceDriftsRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppAssessmentComplianceDriftsPaginator

      default ListAppAssessmentComplianceDriftsPublisher listAppAssessmentComplianceDriftsPaginator(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest)

      This is a variant of listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest) 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.resiliencehub.paginators.ListAppAssessmentComplianceDriftsPublisher publisher = client.listAppAssessmentComplianceDriftsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsPublisher publisher = client.listAppAssessmentComplianceDriftsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse 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 listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest) operation.


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

      Parameters:
      listAppAssessmentComplianceDriftsRequest - A Consumer that will call methods on ListAppAssessmentComplianceDriftsRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppAssessments

      default CompletableFuture<ListAppAssessmentsResponse> listAppAssessments(ListAppAssessmentsRequest listAppAssessmentsRequest)

      Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.

      Parameters:
      listAppAssessmentsRequest -
      Returns:
      A Java Future containing the result of the ListAppAssessments 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppAssessments

      default CompletableFuture<ListAppAssessmentsResponse> listAppAssessments(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest)

      Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.


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

      Parameters:
      listAppAssessmentsRequest - A Consumer that will call methods on ListAppAssessmentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAppAssessments 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppAssessmentsPaginator

      default ListAppAssessmentsPublisher listAppAssessmentsPaginator(ListAppAssessmentsRequest listAppAssessmentsRequest)

      This is a variant of listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest) 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.resiliencehub.paginators.ListAppAssessmentsPublisher publisher = client.listAppAssessmentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsPublisher publisher = client.listAppAssessmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse 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 listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest) operation.

      Parameters:
      listAppAssessmentsRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppAssessmentsPaginator

      default ListAppAssessmentsPublisher listAppAssessmentsPaginator(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest)

      This is a variant of listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest) 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.resiliencehub.paginators.ListAppAssessmentsPublisher publisher = client.listAppAssessmentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsPublisher publisher = client.listAppAssessmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse 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 listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest) operation.


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

      Parameters:
      listAppAssessmentsRequest - A Consumer that will call methods on ListAppAssessmentsRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppComponentCompliances

      default CompletableFuture<ListAppComponentCompliancesResponse> listAppComponentCompliances(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest)

      Lists the compliances for an Resilience Hub Application Component.

      Parameters:
      listAppComponentCompliancesRequest -
      Returns:
      A Java Future containing the result of the ListAppComponentCompliances 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppComponentCompliances

      default CompletableFuture<ListAppComponentCompliancesResponse> listAppComponentCompliances(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest)

      Lists the compliances for an Resilience Hub Application Component.


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

      Parameters:
      listAppComponentCompliancesRequest - A Consumer that will call methods on ListAppComponentCompliancesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAppComponentCompliances 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppComponentCompliancesPaginator

      default ListAppComponentCompliancesPublisher listAppComponentCompliancesPaginator(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest)

      This is a variant of listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest) 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.resiliencehub.paginators.ListAppComponentCompliancesPublisher publisher = client.listAppComponentCompliancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesPublisher publisher = client.listAppComponentCompliancesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse 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 listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest) operation.

      Parameters:
      listAppComponentCompliancesRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppComponentCompliancesPaginator

      default ListAppComponentCompliancesPublisher listAppComponentCompliancesPaginator(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest)

      This is a variant of listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest) 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.resiliencehub.paginators.ListAppComponentCompliancesPublisher publisher = client.listAppComponentCompliancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesPublisher publisher = client.listAppComponentCompliancesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse 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 listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest) operation.


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

      Parameters:
      listAppComponentCompliancesRequest - A Consumer that will call methods on ListAppComponentCompliancesRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppComponentRecommendations

      default CompletableFuture<ListAppComponentRecommendationsResponse> listAppComponentRecommendations(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest)

      Lists the recommendations for an Resilience Hub Application Component.

      Parameters:
      listAppComponentRecommendationsRequest -
      Returns:
      A Java Future containing the result of the ListAppComponentRecommendations 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppComponentRecommendations

      default CompletableFuture<ListAppComponentRecommendationsResponse> listAppComponentRecommendations(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest)

      Lists the recommendations for an Resilience Hub Application Component.


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

      Parameters:
      listAppComponentRecommendationsRequest - A Consumer that will call methods on ListAppComponentRecommendationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAppComponentRecommendations 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppComponentRecommendationsPaginator

      default ListAppComponentRecommendationsPublisher listAppComponentRecommendationsPaginator(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest)

      This is a variant of listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest) 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.resiliencehub.paginators.ListAppComponentRecommendationsPublisher publisher = client.listAppComponentRecommendationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsPublisher publisher = client.listAppComponentRecommendationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse 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 listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest) operation.

      Parameters:
      listAppComponentRecommendationsRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppComponentRecommendationsPaginator

      default ListAppComponentRecommendationsPublisher listAppComponentRecommendationsPaginator(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest)

      This is a variant of listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest) 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.resiliencehub.paginators.ListAppComponentRecommendationsPublisher publisher = client.listAppComponentRecommendationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsPublisher publisher = client.listAppComponentRecommendationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse 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 listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest) operation.


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

      Parameters:
      listAppComponentRecommendationsRequest - A Consumer that will call methods on ListAppComponentRecommendationsRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppInputSources

      default CompletableFuture<ListAppInputSourcesResponse> listAppInputSources(ListAppInputSourcesRequest listAppInputSourcesRequest)

      Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.

      Parameters:
      listAppInputSourcesRequest -
      Returns:
      A Java Future containing the result of the ListAppInputSources 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppInputSources

      default CompletableFuture<ListAppInputSourcesResponse> listAppInputSources(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest)

      Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.


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

      Parameters:
      listAppInputSourcesRequest - A Consumer that will call methods on ListAppInputSourcesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAppInputSources 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppInputSourcesPaginator

      default ListAppInputSourcesPublisher listAppInputSourcesPaginator(ListAppInputSourcesRequest listAppInputSourcesRequest)

      This is a variant of listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest) 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.resiliencehub.paginators.ListAppInputSourcesPublisher publisher = client.listAppInputSourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesPublisher publisher = client.listAppInputSourcesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse 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 listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest) operation.

      Parameters:
      listAppInputSourcesRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppInputSourcesPaginator

      default ListAppInputSourcesPublisher listAppInputSourcesPaginator(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest)

      This is a variant of listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest) 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.resiliencehub.paginators.ListAppInputSourcesPublisher publisher = client.listAppInputSourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesPublisher publisher = client.listAppInputSourcesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse 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 listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest) operation.


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

      Parameters:
      listAppInputSourcesRequest - A Consumer that will call methods on ListAppInputSourcesRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionAppComponents

      default CompletableFuture<ListAppVersionAppComponentsResponse> listAppVersionAppComponents(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest)

      Lists all the Application Components in the Resilience Hub application.

      Parameters:
      listAppVersionAppComponentsRequest -
      Returns:
      A Java Future containing the result of the ListAppVersionAppComponents 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionAppComponents

      default CompletableFuture<ListAppVersionAppComponentsResponse> listAppVersionAppComponents(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest)

      Lists all the Application Components in the Resilience Hub application.


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

      Parameters:
      listAppVersionAppComponentsRequest - A Consumer that will call methods on ListAppVersionAppComponentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAppVersionAppComponents 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionAppComponentsPaginator

      default ListAppVersionAppComponentsPublisher listAppVersionAppComponentsPaginator(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest)

      This is a variant of listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest) 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.resiliencehub.paginators.ListAppVersionAppComponentsPublisher publisher = client.listAppVersionAppComponentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsPublisher publisher = client.listAppVersionAppComponentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse 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 listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest) operation.

      Parameters:
      listAppVersionAppComponentsRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionAppComponentsPaginator

      default ListAppVersionAppComponentsPublisher listAppVersionAppComponentsPaginator(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest)

      This is a variant of listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest) 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.resiliencehub.paginators.ListAppVersionAppComponentsPublisher publisher = client.listAppVersionAppComponentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsPublisher publisher = client.listAppVersionAppComponentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse 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 listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest) operation.


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

      Parameters:
      listAppVersionAppComponentsRequest - A Consumer that will call methods on ListAppVersionAppComponentsRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionResourceMappings

      default CompletableFuture<ListAppVersionResourceMappingsResponse> listAppVersionResourceMappings(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest)

      Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.

      Parameters:
      listAppVersionResourceMappingsRequest -
      Returns:
      A Java Future containing the result of the ListAppVersionResourceMappings 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionResourceMappings

      default CompletableFuture<ListAppVersionResourceMappingsResponse> listAppVersionResourceMappings(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest)

      Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.


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

      Parameters:
      listAppVersionResourceMappingsRequest - A Consumer that will call methods on ListAppVersionResourceMappingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAppVersionResourceMappings 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionResourceMappingsPaginator

      default ListAppVersionResourceMappingsPublisher listAppVersionResourceMappingsPaginator(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest)

      This is a variant of listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest) 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.resiliencehub.paginators.ListAppVersionResourceMappingsPublisher publisher = client.listAppVersionResourceMappingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsPublisher publisher = client.listAppVersionResourceMappingsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse 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 listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest) operation.

      Parameters:
      listAppVersionResourceMappingsRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionResourceMappingsPaginator

      default ListAppVersionResourceMappingsPublisher listAppVersionResourceMappingsPaginator(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest)

      This is a variant of listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest) 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.resiliencehub.paginators.ListAppVersionResourceMappingsPublisher publisher = client.listAppVersionResourceMappingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsPublisher publisher = client.listAppVersionResourceMappingsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse 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 listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest) operation.


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

      Parameters:
      listAppVersionResourceMappingsRequest - A Consumer that will call methods on ListAppVersionResourceMappingsRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionResources

      default CompletableFuture<ListAppVersionResourcesResponse> listAppVersionResources(ListAppVersionResourcesRequest listAppVersionResourcesRequest)

      Lists all the resources in an Resilience Hub application.

      Parameters:
      listAppVersionResourcesRequest -
      Returns:
      A Java Future containing the result of the ListAppVersionResources 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionResources

      default CompletableFuture<ListAppVersionResourcesResponse> listAppVersionResources(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest)

      Lists all the resources in an Resilience Hub application.


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

      Parameters:
      listAppVersionResourcesRequest - A Consumer that will call methods on ListAppVersionResourcesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAppVersionResources 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionResourcesPaginator

      default ListAppVersionResourcesPublisher listAppVersionResourcesPaginator(ListAppVersionResourcesRequest listAppVersionResourcesRequest)

      This is a variant of listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest) 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.resiliencehub.paginators.ListAppVersionResourcesPublisher publisher = client.listAppVersionResourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesPublisher publisher = client.listAppVersionResourcesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse 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 listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest) operation.

      Parameters:
      listAppVersionResourcesRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionResourcesPaginator

      default ListAppVersionResourcesPublisher listAppVersionResourcesPaginator(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest)

      This is a variant of listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest) 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.resiliencehub.paginators.ListAppVersionResourcesPublisher publisher = client.listAppVersionResourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesPublisher publisher = client.listAppVersionResourcesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse 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 listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest) operation.


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

      Parameters:
      listAppVersionResourcesRequest - A Consumer that will call methods on ListAppVersionResourcesRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersions

      default CompletableFuture<ListAppVersionsResponse> listAppVersions(ListAppVersionsRequest listAppVersionsRequest)

      Lists the different versions for the Resilience Hub applications.

      Parameters:
      listAppVersionsRequest -
      Returns:
      A Java Future containing the result of the ListAppVersions 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersions

      default CompletableFuture<ListAppVersionsResponse> listAppVersions(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest)

      Lists the different versions for the Resilience Hub applications.


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

      Parameters:
      listAppVersionsRequest - A Consumer that will call methods on ListAppVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAppVersions 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionsPaginator

      default ListAppVersionsPublisher listAppVersionsPaginator(ListAppVersionsRequest listAppVersionsRequest)

      This is a variant of listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest) 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.resiliencehub.paginators.ListAppVersionsPublisher publisher = client.listAppVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsPublisher publisher = client.listAppVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse 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 listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest) operation.

      Parameters:
      listAppVersionsRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppVersionsPaginator

      default ListAppVersionsPublisher listAppVersionsPaginator(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest)

      This is a variant of listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest) 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.resiliencehub.paginators.ListAppVersionsPublisher publisher = client.listAppVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsPublisher publisher = client.listAppVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse 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 listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest) operation.


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

      Parameters:
      listAppVersionsRequest - A Consumer that will call methods on ListAppVersionsRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApps

      default CompletableFuture<ListAppsResponse> listApps(ListAppsRequest listAppsRequest)

      Lists your Resilience Hub applications.

      You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:

      An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.

      Parameters:
      listAppsRequest -
      Returns:
      A Java Future containing the result of the ListApps 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApps

      Lists your Resilience Hub applications.

      You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:

      An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.


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

      Parameters:
      listAppsRequest - A Consumer that will call methods on ListAppsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListApps 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppsPaginator

      default ListAppsPublisher listAppsPaginator(ListAppsRequest listAppsRequest)

      This is a variant of listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest) 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.resiliencehub.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse 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 listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest) operation.

      Parameters:
      listAppsRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAppsPaginator

      default ListAppsPublisher listAppsPaginator(Consumer<ListAppsRequest.Builder> listAppsRequest)

      This is a variant of listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest) 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.resiliencehub.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse 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 listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest) operation.


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

      Parameters:
      listAppsRequest - A Consumer that will call methods on ListAppsRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRecommendationTemplates

      default CompletableFuture<ListRecommendationTemplatesResponse> listRecommendationTemplates(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest)

      Lists the recommendation templates for the Resilience Hub applications.

      Parameters:
      listRecommendationTemplatesRequest -
      Returns:
      A Java Future containing the result of the ListRecommendationTemplates 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRecommendationTemplates

      default CompletableFuture<ListRecommendationTemplatesResponse> listRecommendationTemplates(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest)

      Lists the recommendation templates for the Resilience Hub applications.


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

      Parameters:
      listRecommendationTemplatesRequest - A Consumer that will call methods on ListRecommendationTemplatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRecommendationTemplates 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRecommendationTemplatesPaginator

      default ListRecommendationTemplatesPublisher listRecommendationTemplatesPaginator(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest)

      This is a variant of listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest) 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.resiliencehub.paginators.ListRecommendationTemplatesPublisher publisher = client.listRecommendationTemplatesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesPublisher publisher = client.listRecommendationTemplatesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse 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 listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest) operation.

      Parameters:
      listRecommendationTemplatesRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRecommendationTemplatesPaginator

      default ListRecommendationTemplatesPublisher listRecommendationTemplatesPaginator(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest)

      This is a variant of listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest) 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.resiliencehub.paginators.ListRecommendationTemplatesPublisher publisher = client.listRecommendationTemplatesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesPublisher publisher = client.listRecommendationTemplatesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse 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 listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest) operation.


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

      Parameters:
      listRecommendationTemplatesRequest - A Consumer that will call methods on ListRecommendationTemplatesRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResiliencyPolicies

      default CompletableFuture<ListResiliencyPoliciesResponse> listResiliencyPolicies(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest)

      Lists the resiliency policies for the Resilience Hub applications.

      Parameters:
      listResiliencyPoliciesRequest -
      Returns:
      A Java Future containing the result of the ListResiliencyPolicies 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResiliencyPolicies

      default CompletableFuture<ListResiliencyPoliciesResponse> listResiliencyPolicies(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest)

      Lists the resiliency policies for the Resilience Hub applications.


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

      Parameters:
      listResiliencyPoliciesRequest - A Consumer that will call methods on ListResiliencyPoliciesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListResiliencyPolicies 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResiliencyPoliciesPaginator

      default ListResiliencyPoliciesPublisher listResiliencyPoliciesPaginator(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest)

      This is a variant of listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest) 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.resiliencehub.paginators.ListResiliencyPoliciesPublisher publisher = client.listResiliencyPoliciesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesPublisher publisher = client.listResiliencyPoliciesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse 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 listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest) operation.

      Parameters:
      listResiliencyPoliciesRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResiliencyPoliciesPaginator

      default ListResiliencyPoliciesPublisher listResiliencyPoliciesPaginator(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest)

      This is a variant of listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest) 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.resiliencehub.paginators.ListResiliencyPoliciesPublisher publisher = client.listResiliencyPoliciesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesPublisher publisher = client.listResiliencyPoliciesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse 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 listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest) operation.


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

      Parameters:
      listResiliencyPoliciesRequest - A Consumer that will call methods on ListResiliencyPoliciesRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSopRecommendations

      default CompletableFuture<ListSopRecommendationsResponse> listSopRecommendations(ListSopRecommendationsRequest listSopRecommendationsRequest)

      Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.

      Parameters:
      listSopRecommendationsRequest -
      Returns:
      A Java Future containing the result of the ListSopRecommendations 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSopRecommendations

      default CompletableFuture<ListSopRecommendationsResponse> listSopRecommendations(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest)

      Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.


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

      Parameters:
      listSopRecommendationsRequest - A Consumer that will call methods on ListSopRecommendationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSopRecommendations 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSopRecommendationsPaginator

      default ListSopRecommendationsPublisher listSopRecommendationsPaginator(ListSopRecommendationsRequest listSopRecommendationsRequest)

      This is a variant of listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest) 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.resiliencehub.paginators.ListSopRecommendationsPublisher publisher = client.listSopRecommendationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsPublisher publisher = client.listSopRecommendationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse 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 listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest) operation.

      Parameters:
      listSopRecommendationsRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSopRecommendationsPaginator

      default ListSopRecommendationsPublisher listSopRecommendationsPaginator(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest)

      This is a variant of listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest) 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.resiliencehub.paginators.ListSopRecommendationsPublisher publisher = client.listSopRecommendationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsPublisher publisher = client.listSopRecommendationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse 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 listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest) operation.


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

      Parameters:
      listSopRecommendationsRequest - A Consumer that will call methods on ListSopRecommendationsRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSuggestedResiliencyPolicies

      default CompletableFuture<ListSuggestedResiliencyPoliciesResponse> listSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest)

      Lists the suggested resiliency policies for the Resilience Hub applications.

      Parameters:
      listSuggestedResiliencyPoliciesRequest -
      Returns:
      A Java Future containing the result of the ListSuggestedResiliencyPolicies 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSuggestedResiliencyPolicies

      default CompletableFuture<ListSuggestedResiliencyPoliciesResponse> listSuggestedResiliencyPolicies(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest)

      Lists the suggested resiliency policies for the Resilience Hub applications.


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

      Parameters:
      listSuggestedResiliencyPoliciesRequest - A Consumer that will call methods on ListSuggestedResiliencyPoliciesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSuggestedResiliencyPolicies 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSuggestedResiliencyPoliciesPaginator

      default ListSuggestedResiliencyPoliciesPublisher listSuggestedResiliencyPoliciesPaginator(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest)

      This is a variant of listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest) 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.resiliencehub.paginators.ListSuggestedResiliencyPoliciesPublisher publisher = client.listSuggestedResiliencyPoliciesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesPublisher publisher = client.listSuggestedResiliencyPoliciesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse 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 listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest) operation.

      Parameters:
      listSuggestedResiliencyPoliciesRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSuggestedResiliencyPoliciesPaginator

      default ListSuggestedResiliencyPoliciesPublisher listSuggestedResiliencyPoliciesPaginator(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest)

      This is a variant of listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest) 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.resiliencehub.paginators.ListSuggestedResiliencyPoliciesPublisher publisher = client.listSuggestedResiliencyPoliciesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesPublisher publisher = client.listSuggestedResiliencyPoliciesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse 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 listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest) operation.


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

      Parameters:
      listSuggestedResiliencyPoliciesRequest - A Consumer that will call methods on ListSuggestedResiliencyPoliciesRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException 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)

      Lists the tags for your resources in your Resilience Hub applications.

      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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException 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)

      Lists the tags for your resources in your Resilience Hub applications.


      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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestRecommendations

      default CompletableFuture<ListTestRecommendationsResponse> listTestRecommendations(ListTestRecommendationsRequest listTestRecommendationsRequest)

      Lists the test recommendations for the Resilience Hub application.

      Parameters:
      listTestRecommendationsRequest -
      Returns:
      A Java Future containing the result of the ListTestRecommendations 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestRecommendations

      default CompletableFuture<ListTestRecommendationsResponse> listTestRecommendations(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest)

      Lists the test recommendations for the Resilience Hub application.


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

      Parameters:
      listTestRecommendationsRequest - A Consumer that will call methods on ListTestRecommendationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTestRecommendations 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestRecommendationsPaginator

      default ListTestRecommendationsPublisher listTestRecommendationsPaginator(ListTestRecommendationsRequest listTestRecommendationsRequest)

      This is a variant of listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest) 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.resiliencehub.paginators.ListTestRecommendationsPublisher publisher = client.listTestRecommendationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsPublisher publisher = client.listTestRecommendationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse 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 listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest) operation.

      Parameters:
      listTestRecommendationsRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestRecommendationsPaginator

      default ListTestRecommendationsPublisher listTestRecommendationsPaginator(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest)

      This is a variant of listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest) 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.resiliencehub.paginators.ListTestRecommendationsPublisher publisher = client.listTestRecommendationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsPublisher publisher = client.listTestRecommendationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse 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 listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest) operation.


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

      Parameters:
      listTestRecommendationsRequest - A Consumer that will call methods on ListTestRecommendationsRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUnsupportedAppVersionResources

      default CompletableFuture<ListUnsupportedAppVersionResourcesResponse> listUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest)

      Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.

      Parameters:
      listUnsupportedAppVersionResourcesRequest -
      Returns:
      A Java Future containing the result of the ListUnsupportedAppVersionResources 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUnsupportedAppVersionResources

      default CompletableFuture<ListUnsupportedAppVersionResourcesResponse> listUnsupportedAppVersionResources(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest)

      Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.


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

      Parameters:
      listUnsupportedAppVersionResourcesRequest - A Consumer that will call methods on ListUnsupportedAppVersionResourcesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListUnsupportedAppVersionResources 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUnsupportedAppVersionResourcesPaginator

      default ListUnsupportedAppVersionResourcesPublisher listUnsupportedAppVersionResourcesPaginator(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest)

      This is a variant of listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest) 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.resiliencehub.paginators.ListUnsupportedAppVersionResourcesPublisher publisher = client.listUnsupportedAppVersionResourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesPublisher publisher = client.listUnsupportedAppVersionResourcesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse 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 listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest) operation.

      Parameters:
      listUnsupportedAppVersionResourcesRequest -
      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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUnsupportedAppVersionResourcesPaginator

      default ListUnsupportedAppVersionResourcesPublisher listUnsupportedAppVersionResourcesPaginator(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest)

      This is a variant of listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest) 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.resiliencehub.paginators.ListUnsupportedAppVersionResourcesPublisher publisher = client.listUnsupportedAppVersionResourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesPublisher publisher = client.listUnsupportedAppVersionResourcesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse 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 listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest) operation.


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

      Parameters:
      listUnsupportedAppVersionResourcesRequest - A Consumer that will call methods on ListUnsupportedAppVersionResourcesRequest.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.
      • InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • publishAppVersion

      default CompletableFuture<PublishAppVersionResponse> publishAppVersion(PublishAppVersionRequest publishAppVersionRequest)

      Publishes a new version of a specific Resilience Hub application.

      Parameters:
      publishAppVersionRequest -
      Returns:
      A Java Future containing the result of the PublishAppVersion 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • publishAppVersion

      default CompletableFuture<PublishAppVersionResponse> publishAppVersion(Consumer<PublishAppVersionRequest.Builder> publishAppVersionRequest)

      Publishes a new version of a specific Resilience Hub application.


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

      Parameters:
      publishAppVersionRequest - A Consumer that will call methods on PublishAppVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PublishAppVersion 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putDraftAppVersionTemplate

      default CompletableFuture<PutDraftAppVersionTemplateResponse> putDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest putDraftAppVersionTemplateRequest)

      Adds or updates the app template for an Resilience Hub application draft version.

      Parameters:
      putDraftAppVersionTemplateRequest -
      Returns:
      A Java Future containing the result of the PutDraftAppVersionTemplate 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putDraftAppVersionTemplate

      default CompletableFuture<PutDraftAppVersionTemplateResponse> putDraftAppVersionTemplate(Consumer<PutDraftAppVersionTemplateRequest.Builder> putDraftAppVersionTemplateRequest)

      Adds or updates the app template for an Resilience Hub application draft version.


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

      Parameters:
      putDraftAppVersionTemplateRequest - A Consumer that will call methods on PutDraftAppVersionTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutDraftAppVersionTemplate 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeDraftAppVersionResourceMappings

      default CompletableFuture<RemoveDraftAppVersionResourceMappingsResponse> removeDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest removeDraftAppVersionResourceMappingsRequest)

      Removes resource mappings from a draft application version.

      Parameters:
      removeDraftAppVersionResourceMappingsRequest -
      Returns:
      A Java Future containing the result of the RemoveDraftAppVersionResourceMappings 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeDraftAppVersionResourceMappings

      default CompletableFuture<RemoveDraftAppVersionResourceMappingsResponse> removeDraftAppVersionResourceMappings(Consumer<RemoveDraftAppVersionResourceMappingsRequest.Builder> removeDraftAppVersionResourceMappingsRequest)

      Removes resource mappings from a draft application version.


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

      Parameters:
      removeDraftAppVersionResourceMappingsRequest - A Consumer that will call methods on RemoveDraftAppVersionResourceMappingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RemoveDraftAppVersionResourceMappings 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • resolveAppVersionResources

      default CompletableFuture<ResolveAppVersionResourcesResponse> resolveAppVersionResources(ResolveAppVersionResourcesRequest resolveAppVersionResourcesRequest)

      Resolves the resources for an application version.

      Parameters:
      resolveAppVersionResourcesRequest -
      Returns:
      A Java Future containing the result of the ResolveAppVersionResources 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • resolveAppVersionResources

      default CompletableFuture<ResolveAppVersionResourcesResponse> resolveAppVersionResources(Consumer<ResolveAppVersionResourcesRequest.Builder> resolveAppVersionResourcesRequest)

      Resolves the resources for an application version.


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

      Parameters:
      resolveAppVersionResourcesRequest - A Consumer that will call methods on ResolveAppVersionResourcesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ResolveAppVersionResources 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startAppAssessment

      default CompletableFuture<StartAppAssessmentResponse> startAppAssessment(StartAppAssessmentRequest startAppAssessmentRequest)

      Creates a new application assessment for an application.

      Parameters:
      startAppAssessmentRequest -
      Returns:
      A Java Future containing the result of the StartAppAssessment 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startAppAssessment

      default CompletableFuture<StartAppAssessmentResponse> startAppAssessment(Consumer<StartAppAssessmentRequest.Builder> startAppAssessmentRequest)

      Creates a new application assessment for an application.


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

      Parameters:
      startAppAssessmentRequest - A Consumer that will call methods on StartAppAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartAppAssessment 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException 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)

      Applies one or more tags to a resource.

      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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException 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)

      Applies one or more tags to a resource.


      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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException 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)

      Removes one or more tags from a resource.

      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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException 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)

      Removes one or more tags from a resource.


      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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateApp

      default CompletableFuture<UpdateAppResponse> updateApp(UpdateAppRequest updateAppRequest)

      Updates an application.

      Parameters:
      updateAppRequest -
      Returns:
      A Java Future containing the result of the UpdateApp 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateApp

      default CompletableFuture<UpdateAppResponse> updateApp(Consumer<UpdateAppRequest.Builder> updateAppRequest)

      Updates an application.


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

      Parameters:
      updateAppRequest - A Consumer that will call methods on UpdateAppRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateApp 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAppVersion

      default CompletableFuture<UpdateAppVersionResponse> updateAppVersion(UpdateAppVersionRequest updateAppVersionRequest)

      Updates the Resilience Hub application version.

      This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

      Parameters:
      updateAppVersionRequest -
      Returns:
      A Java Future containing the result of the UpdateAppVersion 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAppVersion

      default CompletableFuture<UpdateAppVersionResponse> updateAppVersion(Consumer<UpdateAppVersionRequest.Builder> updateAppVersionRequest)

      Updates the Resilience Hub application version.

      This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.


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

      Parameters:
      updateAppVersionRequest - A Consumer that will call methods on UpdateAppVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAppVersion 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAppVersionAppComponent

      default CompletableFuture<UpdateAppVersionAppComponentResponse> updateAppVersionAppComponent(UpdateAppVersionAppComponentRequest updateAppVersionAppComponentRequest)

      Updates an existing Application Component in the Resilience Hub application.

      This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

      Parameters:
      updateAppVersionAppComponentRequest -
      Returns:
      A Java Future containing the result of the UpdateAppVersionAppComponent 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAppVersionAppComponent

      default CompletableFuture<UpdateAppVersionAppComponentResponse> updateAppVersionAppComponent(Consumer<UpdateAppVersionAppComponentRequest.Builder> updateAppVersionAppComponentRequest)

      Updates an existing Application Component in the Resilience Hub application.

      This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API.


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

      Parameters:
      updateAppVersionAppComponentRequest - A Consumer that will call methods on UpdateAppVersionAppComponentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAppVersionAppComponent 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAppVersionResource

      default CompletableFuture<UpdateAppVersionResourceResponse> updateAppVersionResource(UpdateAppVersionResourceRequest updateAppVersionResourceRequest)

      Updates the resource details in the Resilience Hub application.

      • This action has no effect outside Resilience Hub.

      • This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

      • To update application version with new physicalResourceID, you must call ResolveAppVersionResources API.

      Parameters:
      updateAppVersionResourceRequest -
      Returns:
      A Java Future containing the result of the UpdateAppVersionResource 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAppVersionResource

      default CompletableFuture<UpdateAppVersionResourceResponse> updateAppVersionResource(Consumer<UpdateAppVersionResourceRequest.Builder> updateAppVersionResourceRequest)

      Updates the resource details in the Resilience Hub application.

      • This action has no effect outside Resilience Hub.

      • This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

      • To update application version with new physicalResourceID, you must call ResolveAppVersionResources API.


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

      Parameters:
      updateAppVersionResourceRequest - A Consumer that will call methods on UpdateAppVersionResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAppVersionResource 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResiliencyPolicy

      default CompletableFuture<UpdateResiliencyPolicyResponse> updateResiliencyPolicy(UpdateResiliencyPolicyRequest updateResiliencyPolicyRequest)

      Updates a resiliency policy.

      Resilience Hub allows you to provide a value of zero for rtoInSecs and rpoInSecs of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero for rtoInSecs and rpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.

      Parameters:
      updateResiliencyPolicyRequest -
      Returns:
      A Java Future containing the result of the UpdateResiliencyPolicy 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResiliencyPolicy

      default CompletableFuture<UpdateResiliencyPolicyResponse> updateResiliencyPolicy(Consumer<UpdateResiliencyPolicyRequest.Builder> updateResiliencyPolicyRequest)

      Updates a resiliency policy.

      Resilience Hub allows you to provide a value of zero for rtoInSecs and rpoInSecs of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero for rtoInSecs and rpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.


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

      Parameters:
      updateResiliencyPolicyRequest - A Consumer that will call methods on UpdateResiliencyPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateResiliencyPolicy 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 This exception occurs when there is an internal failure in the Resilience Hub service.
      • ResourceNotFoundException This exception occurs when the specified resource could not be found.
      • ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
      • ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
      • ValidationException This exception occurs when a request is not valid.
      • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
      • 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.
      • ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default ResiliencehubServiceClientConfiguration 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 ResiliencehubAsyncClient create()
      Create a ResiliencehubAsyncClient 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 ResiliencehubAsyncClient.