Interface FisAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

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

    Amazon Web Services Fault Injection Service is a managed service that enables you to perform fault injection experiments on your Amazon Web Services workloads. For more information, see the Fault Injection Service User Guide.

    • Method Detail

      • createExperimentTemplate

        default CompletableFuture<CreateExperimentTemplateResponse> createExperimentTemplate​(CreateExperimentTemplateRequest createExperimentTemplateRequest)

        Creates an experiment template.

        An experiment template includes the following components:

        • Targets: A target can be a specific resource in your Amazon Web Services environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags.

        • Actions: The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment.

        • Stop conditions: If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm.

        For more information, see experiment templates in the Fault Injection Service User Guide.

        Parameters:
        createExperimentTemplateRequest -
        Returns:
        A Java Future containing the result of the CreateExperimentTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ConflictException The request could not be processed because of a conflict.
        • ResourceNotFoundException The specified resource cannot be found.
        • ServiceQuotaExceededException You have exceeded your service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createExperimentTemplate

        default CompletableFuture<CreateExperimentTemplateResponse> createExperimentTemplate​(Consumer<CreateExperimentTemplateRequest.Builder> createExperimentTemplateRequest)

        Creates an experiment template.

        An experiment template includes the following components:

        • Targets: A target can be a specific resource in your Amazon Web Services environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags.

        • Actions: The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment.

        • Stop conditions: If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm.

        For more information, see experiment templates in the Fault Injection Service User Guide.


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

        Parameters:
        createExperimentTemplateRequest - A Consumer that will call methods on CreateExperimentTemplateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateExperimentTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ConflictException The request could not be processed because of a conflict.
        • ResourceNotFoundException The specified resource cannot be found.
        • ServiceQuotaExceededException You have exceeded your service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createTargetAccountConfiguration

        default CompletableFuture<CreateTargetAccountConfigurationResponse> createTargetAccountConfiguration​(CreateTargetAccountConfigurationRequest createTargetAccountConfigurationRequest)

        Creates a target account configuration for the experiment template. A target account configuration is required when accountTargeting of experimentOptions is set to multi-account. For more information, see experiment options in the Fault Injection Service User Guide.

        Parameters:
        createTargetAccountConfigurationRequest -
        Returns:
        A Java Future containing the result of the CreateTargetAccountConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ConflictException The request could not be processed because of a conflict.
        • ResourceNotFoundException The specified resource cannot be found.
        • ServiceQuotaExceededException You have exceeded your service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createTargetAccountConfiguration

        default CompletableFuture<CreateTargetAccountConfigurationResponse> createTargetAccountConfiguration​(Consumer<CreateTargetAccountConfigurationRequest.Builder> createTargetAccountConfigurationRequest)

        Creates a target account configuration for the experiment template. A target account configuration is required when accountTargeting of experimentOptions is set to multi-account. For more information, see experiment options in the Fault Injection Service User Guide.


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

        Parameters:
        createTargetAccountConfigurationRequest - A Consumer that will call methods on CreateTargetAccountConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateTargetAccountConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ConflictException The request could not be processed because of a conflict.
        • ResourceNotFoundException The specified resource cannot be found.
        • ServiceQuotaExceededException You have exceeded your service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteExperimentTemplate

        default CompletableFuture<DeleteExperimentTemplateResponse> deleteExperimentTemplate​(DeleteExperimentTemplateRequest deleteExperimentTemplateRequest)

        Deletes the specified experiment template.

        Parameters:
        deleteExperimentTemplateRequest -
        Returns:
        A Java Future containing the result of the DeleteExperimentTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteExperimentTemplate

        default CompletableFuture<DeleteExperimentTemplateResponse> deleteExperimentTemplate​(Consumer<DeleteExperimentTemplateRequest.Builder> deleteExperimentTemplateRequest)

        Deletes the specified experiment template.


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

        Parameters:
        deleteExperimentTemplateRequest - A Consumer that will call methods on DeleteExperimentTemplateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteExperimentTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteTargetAccountConfiguration

        default CompletableFuture<DeleteTargetAccountConfigurationResponse> deleteTargetAccountConfiguration​(DeleteTargetAccountConfigurationRequest deleteTargetAccountConfigurationRequest)

        Deletes the specified target account configuration of the experiment template.

        Parameters:
        deleteTargetAccountConfigurationRequest -
        Returns:
        A Java Future containing the result of the DeleteTargetAccountConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteTargetAccountConfiguration

        default CompletableFuture<DeleteTargetAccountConfigurationResponse> deleteTargetAccountConfiguration​(Consumer<DeleteTargetAccountConfigurationRequest.Builder> deleteTargetAccountConfigurationRequest)

        Deletes the specified target account configuration of the experiment template.


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

        Parameters:
        deleteTargetAccountConfigurationRequest - A Consumer that will call methods on DeleteTargetAccountConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteTargetAccountConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAction

        default CompletableFuture<GetActionResponse> getAction​(GetActionRequest getActionRequest)

        Gets information about the specified FIS action.

        Parameters:
        getActionRequest -
        Returns:
        A Java Future containing the result of the GetAction operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAction

        default CompletableFuture<GetActionResponse> getAction​(Consumer<GetActionRequest.Builder> getActionRequest)

        Gets information about the specified FIS action.


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

        Parameters:
        getActionRequest - A Consumer that will call methods on GetActionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetAction operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getExperiment

        default CompletableFuture<GetExperimentResponse> getExperiment​(GetExperimentRequest getExperimentRequest)

        Gets information about the specified experiment.

        Parameters:
        getExperimentRequest -
        Returns:
        A Java Future containing the result of the GetExperiment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getExperiment

        default CompletableFuture<GetExperimentResponse> getExperiment​(Consumer<GetExperimentRequest.Builder> getExperimentRequest)

        Gets information about the specified experiment.


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

        Parameters:
        getExperimentRequest - A Consumer that will call methods on GetExperimentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetExperiment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getExperimentTargetAccountConfiguration

        default CompletableFuture<GetExperimentTargetAccountConfigurationResponse> getExperimentTargetAccountConfiguration​(GetExperimentTargetAccountConfigurationRequest getExperimentTargetAccountConfigurationRequest)

        Gets information about the specified target account configuration of the experiment.

        Parameters:
        getExperimentTargetAccountConfigurationRequest -
        Returns:
        A Java Future containing the result of the GetExperimentTargetAccountConfiguration 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.
        • ResourceNotFoundException The specified resource cannot be found.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getExperimentTemplate

        default CompletableFuture<GetExperimentTemplateResponse> getExperimentTemplate​(GetExperimentTemplateRequest getExperimentTemplateRequest)

        Gets information about the specified experiment template.

        Parameters:
        getExperimentTemplateRequest -
        Returns:
        A Java Future containing the result of the GetExperimentTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getExperimentTemplate

        default CompletableFuture<GetExperimentTemplateResponse> getExperimentTemplate​(Consumer<GetExperimentTemplateRequest.Builder> getExperimentTemplateRequest)

        Gets information about the specified experiment template.


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

        Parameters:
        getExperimentTemplateRequest - A Consumer that will call methods on GetExperimentTemplateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetExperimentTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSafetyLever

        default CompletableFuture<GetSafetyLeverResponse> getSafetyLever​(GetSafetyLeverRequest getSafetyLeverRequest)

        Gets information about the specified safety lever.

        Parameters:
        getSafetyLeverRequest -
        Returns:
        A Java Future containing the result of the GetSafetyLever 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.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSafetyLever

        default CompletableFuture<GetSafetyLeverResponse> getSafetyLever​(Consumer<GetSafetyLeverRequest.Builder> getSafetyLeverRequest)

        Gets information about the specified safety lever.


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

        Parameters:
        getSafetyLeverRequest - A Consumer that will call methods on GetSafetyLeverRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetSafetyLever 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.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getTargetAccountConfiguration

        default CompletableFuture<GetTargetAccountConfigurationResponse> getTargetAccountConfiguration​(GetTargetAccountConfigurationRequest getTargetAccountConfigurationRequest)

        Gets information about the specified target account configuration of the experiment template.

        Parameters:
        getTargetAccountConfigurationRequest -
        Returns:
        A Java Future containing the result of the GetTargetAccountConfiguration 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.
        • ResourceNotFoundException The specified resource cannot be found.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getTargetAccountConfiguration

        default CompletableFuture<GetTargetAccountConfigurationResponse> getTargetAccountConfiguration​(Consumer<GetTargetAccountConfigurationRequest.Builder> getTargetAccountConfigurationRequest)

        Gets information about the specified target account configuration of the experiment template.


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

        Parameters:
        getTargetAccountConfigurationRequest - A Consumer that will call methods on GetTargetAccountConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetTargetAccountConfiguration 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.
        • ResourceNotFoundException The specified resource cannot be found.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getTargetResourceType

        default CompletableFuture<GetTargetResourceTypeResponse> getTargetResourceType​(GetTargetResourceTypeRequest getTargetResourceTypeRequest)

        Gets information about the specified resource type.

        Parameters:
        getTargetResourceTypeRequest -
        Returns:
        A Java Future containing the result of the GetTargetResourceType operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getTargetResourceType

        default CompletableFuture<GetTargetResourceTypeResponse> getTargetResourceType​(Consumer<GetTargetResourceTypeRequest.Builder> getTargetResourceTypeRequest)

        Gets information about the specified resource type.


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

        Parameters:
        getTargetResourceTypeRequest - A Consumer that will call methods on GetTargetResourceTypeRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetTargetResourceType operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listActions

        default CompletableFuture<ListActionsResponse> listActions​(ListActionsRequest listActionsRequest)

        Lists the available FIS actions.

        Parameters:
        listActionsRequest -
        Returns:
        A Java Future containing the result of the ListActions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listActions

        default CompletableFuture<ListActionsResponse> listActions​(Consumer<ListActionsRequest.Builder> listActionsRequest)

        Lists the available FIS actions.


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

        Parameters:
        listActionsRequest - A Consumer that will call methods on ListActionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListActions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listActionsPaginator

        default ListActionsPublisher listActionsPaginator​(ListActionsRequest listActionsRequest)

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

        Parameters:
        listActionsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listActionsPaginator

        default ListActionsPublisher listActionsPaginator​(Consumer<ListActionsRequest.Builder> listActionsRequest)

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


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

        Parameters:
        listActionsRequest - A Consumer that will call methods on ListActionsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperimentResolvedTargets

        default CompletableFuture<ListExperimentResolvedTargetsResponse> listExperimentResolvedTargets​(ListExperimentResolvedTargetsRequest listExperimentResolvedTargetsRequest)

        Lists the resolved targets information of the specified experiment.

        Parameters:
        listExperimentResolvedTargetsRequest -
        Returns:
        A Java Future containing the result of the ListExperimentResolvedTargets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperimentResolvedTargets

        default CompletableFuture<ListExperimentResolvedTargetsResponse> listExperimentResolvedTargets​(Consumer<ListExperimentResolvedTargetsRequest.Builder> listExperimentResolvedTargetsRequest)

        Lists the resolved targets information of the specified experiment.


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

        Parameters:
        listExperimentResolvedTargetsRequest - A Consumer that will call methods on ListExperimentResolvedTargetsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListExperimentResolvedTargets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperimentResolvedTargetsPaginator

        default ListExperimentResolvedTargetsPublisher listExperimentResolvedTargetsPaginator​(ListExperimentResolvedTargetsRequest listExperimentResolvedTargetsRequest)

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

        Parameters:
        listExperimentResolvedTargetsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperimentResolvedTargetsPaginator

        default ListExperimentResolvedTargetsPublisher listExperimentResolvedTargetsPaginator​(Consumer<ListExperimentResolvedTargetsRequest.Builder> listExperimentResolvedTargetsRequest)

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


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

        Parameters:
        listExperimentResolvedTargetsRequest - A Consumer that will call methods on ListExperimentResolvedTargetsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperimentTargetAccountConfigurations

        default CompletableFuture<ListExperimentTargetAccountConfigurationsResponse> listExperimentTargetAccountConfigurations​(ListExperimentTargetAccountConfigurationsRequest listExperimentTargetAccountConfigurationsRequest)

        Lists the target account configurations of the specified experiment.

        Parameters:
        listExperimentTargetAccountConfigurationsRequest -
        Returns:
        A Java Future containing the result of the ListExperimentTargetAccountConfigurations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperimentTemplates

        default CompletableFuture<ListExperimentTemplatesResponse> listExperimentTemplates​(ListExperimentTemplatesRequest listExperimentTemplatesRequest)

        Lists your experiment templates.

        Parameters:
        listExperimentTemplatesRequest -
        Returns:
        A Java Future containing the result of the ListExperimentTemplates operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperimentTemplates

        default CompletableFuture<ListExperimentTemplatesResponse> listExperimentTemplates​(Consumer<ListExperimentTemplatesRequest.Builder> listExperimentTemplatesRequest)

        Lists your experiment templates.


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

        Parameters:
        listExperimentTemplatesRequest - A Consumer that will call methods on ListExperimentTemplatesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListExperimentTemplates operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperimentTemplatesPaginator

        default ListExperimentTemplatesPublisher listExperimentTemplatesPaginator​(ListExperimentTemplatesRequest listExperimentTemplatesRequest)

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

        Parameters:
        listExperimentTemplatesRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperimentTemplatesPaginator

        default ListExperimentTemplatesPublisher listExperimentTemplatesPaginator​(Consumer<ListExperimentTemplatesRequest.Builder> listExperimentTemplatesRequest)

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


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

        Parameters:
        listExperimentTemplatesRequest - A Consumer that will call methods on ListExperimentTemplatesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperiments

        default CompletableFuture<ListExperimentsResponse> listExperiments​(ListExperimentsRequest listExperimentsRequest)

        Lists your experiments.

        Parameters:
        listExperimentsRequest -
        Returns:
        A Java Future containing the result of the ListExperiments operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperiments

        default CompletableFuture<ListExperimentsResponse> listExperiments​(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest)

        Lists your experiments.


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

        Parameters:
        listExperimentsRequest - A Consumer that will call methods on ListExperimentsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListExperiments operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperimentsPaginator

        default ListExperimentsPublisher listExperimentsPaginator​(ListExperimentsRequest listExperimentsRequest)

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

        Parameters:
        listExperimentsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listExperimentsPaginator

        default ListExperimentsPublisher listExperimentsPaginator​(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest)

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


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

        Parameters:
        listExperimentsRequest - A Consumer that will call methods on ListExperimentsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)

        Lists the tags for the specified resource.

        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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

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

        Lists the tags for the specified resource.


        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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTargetAccountConfigurations

        default CompletableFuture<ListTargetAccountConfigurationsResponse> listTargetAccountConfigurations​(ListTargetAccountConfigurationsRequest listTargetAccountConfigurationsRequest)

        Lists the target account configurations of the specified experiment template.

        Parameters:
        listTargetAccountConfigurationsRequest -
        Returns:
        A Java Future containing the result of the ListTargetAccountConfigurations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTargetAccountConfigurations

        default CompletableFuture<ListTargetAccountConfigurationsResponse> listTargetAccountConfigurations​(Consumer<ListTargetAccountConfigurationsRequest.Builder> listTargetAccountConfigurationsRequest)

        Lists the target account configurations of the specified experiment template.


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

        Parameters:
        listTargetAccountConfigurationsRequest - A Consumer that will call methods on ListTargetAccountConfigurationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListTargetAccountConfigurations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTargetAccountConfigurationsPaginator

        default ListTargetAccountConfigurationsPublisher listTargetAccountConfigurationsPaginator​(ListTargetAccountConfigurationsRequest listTargetAccountConfigurationsRequest)

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

        Parameters:
        listTargetAccountConfigurationsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTargetAccountConfigurationsPaginator

        default ListTargetAccountConfigurationsPublisher listTargetAccountConfigurationsPaginator​(Consumer<ListTargetAccountConfigurationsRequest.Builder> listTargetAccountConfigurationsRequest)

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


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

        Parameters:
        listTargetAccountConfigurationsRequest - A Consumer that will call methods on ListTargetAccountConfigurationsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTargetResourceTypes

        default CompletableFuture<ListTargetResourceTypesResponse> listTargetResourceTypes​(ListTargetResourceTypesRequest listTargetResourceTypesRequest)

        Lists the target resource types.

        Parameters:
        listTargetResourceTypesRequest -
        Returns:
        A Java Future containing the result of the ListTargetResourceTypes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTargetResourceTypes

        default CompletableFuture<ListTargetResourceTypesResponse> listTargetResourceTypes​(Consumer<ListTargetResourceTypesRequest.Builder> listTargetResourceTypesRequest)

        Lists the target resource types.


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

        Parameters:
        listTargetResourceTypesRequest - A Consumer that will call methods on ListTargetResourceTypesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListTargetResourceTypes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTargetResourceTypesPaginator

        default ListTargetResourceTypesPublisher listTargetResourceTypesPaginator​(ListTargetResourceTypesRequest listTargetResourceTypesRequest)

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

        Parameters:
        listTargetResourceTypesRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTargetResourceTypesPaginator

        default ListTargetResourceTypesPublisher listTargetResourceTypesPaginator​(Consumer<ListTargetResourceTypesRequest.Builder> listTargetResourceTypesRequest)

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


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

        Parameters:
        listTargetResourceTypesRequest - A Consumer that will call methods on ListTargetResourceTypesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startExperiment

        default CompletableFuture<StartExperimentResponse> startExperiment​(StartExperimentRequest startExperimentRequest)

        Starts running an experiment from the specified experiment template.

        Parameters:
        startExperimentRequest -
        Returns:
        A Java Future containing the result of the StartExperiment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ConflictException The request could not be processed because of a conflict.
        • ResourceNotFoundException The specified resource cannot be found.
        • ServiceQuotaExceededException You have exceeded your service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startExperiment

        default CompletableFuture<StartExperimentResponse> startExperiment​(Consumer<StartExperimentRequest.Builder> startExperimentRequest)

        Starts running an experiment from the specified experiment template.


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

        Parameters:
        startExperimentRequest - A Consumer that will call methods on StartExperimentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartExperiment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ConflictException The request could not be processed because of a conflict.
        • ResourceNotFoundException The specified resource cannot be found.
        • ServiceQuotaExceededException You have exceeded your service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopExperiment

        default CompletableFuture<StopExperimentResponse> stopExperiment​(StopExperimentRequest stopExperimentRequest)

        Stops the specified experiment.

        Parameters:
        stopExperimentRequest -
        Returns:
        A Java Future containing the result of the StopExperiment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopExperiment

        default CompletableFuture<StopExperimentResponse> stopExperiment​(Consumer<StopExperimentRequest.Builder> stopExperimentRequest)

        Stops the specified experiment.


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

        Parameters:
        stopExperimentRequest - A Consumer that will call methods on StopExperimentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StopExperiment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(TagResourceRequest tagResourceRequest)

        Applies the specified tags to the specified 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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

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

        Applies the specified tags to the specified 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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(UntagResourceRequest untagResourceRequest)

        Removes the specified tags from the specified 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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

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

        Removes the specified tags from the specified 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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateExperimentTemplate

        default CompletableFuture<UpdateExperimentTemplateResponse> updateExperimentTemplate​(UpdateExperimentTemplateRequest updateExperimentTemplateRequest)

        Updates the specified experiment template.

        Parameters:
        updateExperimentTemplateRequest -
        Returns:
        A Java Future containing the result of the UpdateExperimentTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • ServiceQuotaExceededException You have exceeded your service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateExperimentTemplate

        default CompletableFuture<UpdateExperimentTemplateResponse> updateExperimentTemplate​(Consumer<UpdateExperimentTemplateRequest.Builder> updateExperimentTemplateRequest)

        Updates the specified experiment template.


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

        Parameters:
        updateExperimentTemplateRequest - A Consumer that will call methods on UpdateExperimentTemplateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateExperimentTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • ServiceQuotaExceededException You have exceeded your service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSafetyLeverState

        default CompletableFuture<UpdateSafetyLeverStateResponse> updateSafetyLeverState​(UpdateSafetyLeverStateRequest updateSafetyLeverStateRequest)

        Updates the specified safety lever state.

        Parameters:
        updateSafetyLeverStateRequest -
        Returns:
        A Java Future containing the result of the UpdateSafetyLeverState operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ConflictException The request could not be processed because of a conflict.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSafetyLeverState

        default CompletableFuture<UpdateSafetyLeverStateResponse> updateSafetyLeverState​(Consumer<UpdateSafetyLeverStateRequest.Builder> updateSafetyLeverStateRequest)

        Updates the specified safety lever state.


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

        Parameters:
        updateSafetyLeverStateRequest - A Consumer that will call methods on UpdateSafetyLeverStateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateSafetyLeverState operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ConflictException The request could not be processed because of a conflict.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateTargetAccountConfiguration

        default CompletableFuture<UpdateTargetAccountConfigurationResponse> updateTargetAccountConfiguration​(UpdateTargetAccountConfigurationRequest updateTargetAccountConfigurationRequest)

        Updates the target account configuration for the specified experiment template.

        Parameters:
        updateTargetAccountConfigurationRequest -
        Returns:
        A Java Future containing the result of the UpdateTargetAccountConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateTargetAccountConfiguration

        default CompletableFuture<UpdateTargetAccountConfigurationResponse> updateTargetAccountConfiguration​(Consumer<UpdateTargetAccountConfigurationRequest.Builder> updateTargetAccountConfigurationRequest)

        Updates the target account configuration for the specified experiment template.


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

        Parameters:
        updateTargetAccountConfigurationRequest - A Consumer that will call methods on UpdateTargetAccountConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateTargetAccountConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.
        • ResourceNotFoundException The specified resource cannot be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • FisException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation