Interface ApplicationInsightsAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface ApplicationInsightsAsyncClient
    extends AwsClient
    Service client for accessing Application Insights asynchronously. This can be created using the static builder() method. Amazon CloudWatch Application Insights

    Amazon CloudWatch Application Insights is a service that helps you detect common problems with your applications. It enables you to pinpoint the source of issues in your applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into detected problems.

    After you onboard your application, CloudWatch Application Insights identifies, recommends, and sets up metrics and logs. It continuously analyzes and correlates your metrics and logs for unusual behavior to surface actionable problems with your application. For example, if your application is slow and unresponsive and leading to HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you that a memory pressure problem with your SQL Server database is occurring. It bases this analysis on impactful metrics and log errors.

    • Method Detail

      • addWorkload

        default CompletableFuture<AddWorkloadResponse> addWorkload​(AddWorkloadRequest addWorkloadRequest)

        Adds a workload to a component. Each component can have at most five workloads.

        Parameters:
        addWorkloadRequest -
        Returns:
        A Java Future containing the result of the AddWorkload operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • addWorkload

        default CompletableFuture<AddWorkloadResponse> addWorkload​(Consumer<AddWorkloadRequest.Builder> addWorkloadRequest)

        Adds a workload to a component. Each component can have at most five workloads.


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

        Parameters:
        addWorkloadRequest - A Consumer that will call methods on AddWorkloadRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the AddWorkload operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createApplication

        default CompletableFuture<CreateApplicationResponse> createApplication​(CreateApplicationRequest createApplicationRequest)

        Adds an application that is created from a resource group.

        Parameters:
        createApplicationRequest -
        Returns:
        A Java Future containing the result of the CreateApplication operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • TagsAlreadyExistException Tags are already registered for the specified application ARN.
        • AccessDeniedException User does not have permissions to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createApplication

        default CompletableFuture<CreateApplicationResponse> createApplication​(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)

        Adds an application that is created from a resource group.


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

        Parameters:
        createApplicationRequest - A Consumer that will call methods on CreateApplicationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateApplication operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • TagsAlreadyExistException Tags are already registered for the specified application ARN.
        • AccessDeniedException User does not have permissions to perform this action.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createComponent

        default CompletableFuture<CreateComponentResponse> createComponent​(CreateComponentRequest createComponentRequest)

        Creates a custom component by grouping similar standalone instances to monitor.

        Parameters:
        createComponentRequest -
        Returns:
        A Java Future containing the result of the CreateComponent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createComponent

        default CompletableFuture<CreateComponentResponse> createComponent​(Consumer<CreateComponentRequest.Builder> createComponentRequest)

        Creates a custom component by grouping similar standalone instances to monitor.


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

        Parameters:
        createComponentRequest - A Consumer that will call methods on CreateComponentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateComponent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createLogPattern

        default CompletableFuture<CreateLogPatternResponse> createLogPattern​(CreateLogPatternRequest createLogPatternRequest)

        Adds an log pattern to a LogPatternSet.

        Parameters:
        createLogPatternRequest -
        Returns:
        A Java Future containing the result of the CreateLogPattern operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createLogPattern

        default CompletableFuture<CreateLogPatternResponse> createLogPattern​(Consumer<CreateLogPatternRequest.Builder> createLogPatternRequest)

        Adds an log pattern to a LogPatternSet.


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

        Parameters:
        createLogPatternRequest - A Consumer that will call methods on CreateLogPatternRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateLogPattern operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteApplication

        default CompletableFuture<DeleteApplicationResponse> deleteApplication​(DeleteApplicationRequest deleteApplicationRequest)

        Removes the specified application from monitoring. Does not delete the application.

        Parameters:
        deleteApplicationRequest -
        Returns:
        A Java Future containing the result of the DeleteApplication operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • BadRequestException The request is not understood by the server.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteApplication

        default CompletableFuture<DeleteApplicationResponse> deleteApplication​(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)

        Removes the specified application from monitoring. Does not delete the application.


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

        Parameters:
        deleteApplicationRequest - A Consumer that will call methods on DeleteApplicationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteApplication operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • BadRequestException The request is not understood by the server.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteComponent

        default CompletableFuture<DeleteComponentResponse> deleteComponent​(DeleteComponentRequest deleteComponentRequest)

        Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.

        Parameters:
        deleteComponentRequest -
        Returns:
        A Java Future containing the result of the DeleteComponent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteComponent

        default CompletableFuture<DeleteComponentResponse> deleteComponent​(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest)

        Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.


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

        Parameters:
        deleteComponentRequest - A Consumer that will call methods on DeleteComponentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteComponent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteLogPattern

        default CompletableFuture<DeleteLogPatternResponse> deleteLogPattern​(DeleteLogPatternRequest deleteLogPatternRequest)

        Removes the specified log pattern from a LogPatternSet.

        Parameters:
        deleteLogPatternRequest -
        Returns:
        A Java Future containing the result of the DeleteLogPattern operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • BadRequestException The request is not understood by the server.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteLogPattern

        default CompletableFuture<DeleteLogPatternResponse> deleteLogPattern​(Consumer<DeleteLogPatternRequest.Builder> deleteLogPatternRequest)

        Removes the specified log pattern from a LogPatternSet.


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

        Parameters:
        deleteLogPatternRequest - A Consumer that will call methods on DeleteLogPatternRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteLogPattern operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • BadRequestException The request is not understood by the server.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeApplication

        default CompletableFuture<DescribeApplicationResponse> describeApplication​(DescribeApplicationRequest describeApplicationRequest)

        Describes the application.

        Parameters:
        describeApplicationRequest -
        Returns:
        A Java Future containing the result of the DescribeApplication operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeApplication

        default CompletableFuture<DescribeApplicationResponse> describeApplication​(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest)

        Describes the application.


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

        Parameters:
        describeApplicationRequest - A Consumer that will call methods on DescribeApplicationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeApplication operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeComponent

        default CompletableFuture<DescribeComponentResponse> describeComponent​(DescribeComponentRequest describeComponentRequest)

        Describes a component and lists the resources that are grouped together in a component.

        Parameters:
        describeComponentRequest -
        Returns:
        A Java Future containing the result of the DescribeComponent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeComponent

        default CompletableFuture<DescribeComponentResponse> describeComponent​(Consumer<DescribeComponentRequest.Builder> describeComponentRequest)

        Describes a component and lists the resources that are grouped together in a component.


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

        Parameters:
        describeComponentRequest - A Consumer that will call methods on DescribeComponentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeComponent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeComponentConfiguration

        default CompletableFuture<DescribeComponentConfigurationResponse> describeComponentConfiguration​(DescribeComponentConfigurationRequest describeComponentConfigurationRequest)

        Describes the monitoring configuration of the component.

        Parameters:
        describeComponentConfigurationRequest -
        Returns:
        A Java Future containing the result of the DescribeComponentConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeComponentConfiguration

        default CompletableFuture<DescribeComponentConfigurationResponse> describeComponentConfiguration​(Consumer<DescribeComponentConfigurationRequest.Builder> describeComponentConfigurationRequest)

        Describes the monitoring configuration of the component.


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

        Parameters:
        describeComponentConfigurationRequest - A Consumer that will call methods on DescribeComponentConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeComponentConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeComponentConfigurationRecommendation

        default CompletableFuture<DescribeComponentConfigurationRecommendationResponse> describeComponentConfigurationRecommendation​(DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest)

        Describes the recommended monitoring configuration of the component.

        Parameters:
        describeComponentConfigurationRecommendationRequest -
        Returns:
        A Java Future containing the result of the DescribeComponentConfigurationRecommendation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeLogPattern

        default CompletableFuture<DescribeLogPatternResponse> describeLogPattern​(DescribeLogPatternRequest describeLogPatternRequest)

        Describe a specific log pattern from a LogPatternSet.

        Parameters:
        describeLogPatternRequest -
        Returns:
        A Java Future containing the result of the DescribeLogPattern operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeLogPattern

        default CompletableFuture<DescribeLogPatternResponse> describeLogPattern​(Consumer<DescribeLogPatternRequest.Builder> describeLogPatternRequest)

        Describe a specific log pattern from a LogPatternSet.


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

        Parameters:
        describeLogPatternRequest - A Consumer that will call methods on DescribeLogPatternRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeLogPattern operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeObservation

        default CompletableFuture<DescribeObservationResponse> describeObservation​(DescribeObservationRequest describeObservationRequest)

        Describes an anomaly or error with the application.

        Parameters:
        describeObservationRequest -
        Returns:
        A Java Future containing the result of the DescribeObservation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeObservation

        default CompletableFuture<DescribeObservationResponse> describeObservation​(Consumer<DescribeObservationRequest.Builder> describeObservationRequest)

        Describes an anomaly or error with the application.


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

        Parameters:
        describeObservationRequest - A Consumer that will call methods on DescribeObservationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeObservation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeProblem

        default CompletableFuture<DescribeProblemResponse> describeProblem​(DescribeProblemRequest describeProblemRequest)

        Describes an application problem.

        Parameters:
        describeProblemRequest -
        Returns:
        A Java Future containing the result of the DescribeProblem operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeProblem

        default CompletableFuture<DescribeProblemResponse> describeProblem​(Consumer<DescribeProblemRequest.Builder> describeProblemRequest)

        Describes an application problem.


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

        Parameters:
        describeProblemRequest - A Consumer that will call methods on DescribeProblemRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeProblem operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeProblemObservations

        default CompletableFuture<DescribeProblemObservationsResponse> describeProblemObservations​(DescribeProblemObservationsRequest describeProblemObservationsRequest)

        Describes the anomalies or errors associated with the problem.

        Parameters:
        describeProblemObservationsRequest -
        Returns:
        A Java Future containing the result of the DescribeProblemObservations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeProblemObservations

        default CompletableFuture<DescribeProblemObservationsResponse> describeProblemObservations​(Consumer<DescribeProblemObservationsRequest.Builder> describeProblemObservationsRequest)

        Describes the anomalies or errors associated with the problem.


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

        Parameters:
        describeProblemObservationsRequest - A Consumer that will call methods on DescribeProblemObservationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeProblemObservations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeWorkload

        default CompletableFuture<DescribeWorkloadResponse> describeWorkload​(DescribeWorkloadRequest describeWorkloadRequest)

        Describes a workload and its configuration.

        Parameters:
        describeWorkloadRequest -
        Returns:
        A Java Future containing the result of the DescribeWorkload operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeWorkload

        default CompletableFuture<DescribeWorkloadResponse> describeWorkload​(Consumer<DescribeWorkloadRequest.Builder> describeWorkloadRequest)

        Describes a workload and its configuration.


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

        Parameters:
        describeWorkloadRequest - A Consumer that will call methods on DescribeWorkloadRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeWorkload operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listApplications

        default CompletableFuture<ListApplicationsResponse> listApplications​(ListApplicationsRequest listApplicationsRequest)

        Lists the IDs of the applications that you are monitoring.

        Parameters:
        listApplicationsRequest -
        Returns:
        A Java Future containing the result of the ListApplications operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listApplications

        default CompletableFuture<ListApplicationsResponse> listApplications​(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)

        Lists the IDs of the applications that you are monitoring.


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

        Parameters:
        listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListApplications operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listApplicationsPaginator

        default ListApplicationsPublisher listApplicationsPaginator​(ListApplicationsRequest listApplicationsRequest)

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

        Parameters:
        listApplicationsRequest -
        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.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listApplicationsPaginator

        default ListApplicationsPublisher listApplicationsPaginator​(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)

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


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

        Parameters:
        listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.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.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listComponents

        default CompletableFuture<ListComponentsResponse> listComponents​(ListComponentsRequest listComponentsRequest)

        Lists the auto-grouped, standalone, and custom components of the application.

        Parameters:
        listComponentsRequest -
        Returns:
        A Java Future containing the result of the ListComponents operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listComponents

        default CompletableFuture<ListComponentsResponse> listComponents​(Consumer<ListComponentsRequest.Builder> listComponentsRequest)

        Lists the auto-grouped, standalone, and custom components of the application.


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

        Parameters:
        listComponentsRequest - A Consumer that will call methods on ListComponentsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListComponents operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listComponentsPaginator

        default ListComponentsPublisher listComponentsPaginator​(ListComponentsRequest listComponentsRequest)

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

        Parameters:
        listComponentsRequest -
        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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listComponentsPaginator

        default ListComponentsPublisher listComponentsPaginator​(Consumer<ListComponentsRequest.Builder> listComponentsRequest)

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


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

        Parameters:
        listComponentsRequest - A Consumer that will call methods on ListComponentsRequest.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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listConfigurationHistory

        default CompletableFuture<ListConfigurationHistoryResponse> listConfigurationHistory​(ListConfigurationHistoryRequest listConfigurationHistoryRequest)

        Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:

        • INFO: creating a new alarm or updating an alarm threshold.

        • WARN: alarm not created due to insufficient data points used to predict thresholds.

        • ERROR: alarm not created due to permission errors or exceeding quotas.

        Parameters:
        listConfigurationHistoryRequest -
        Returns:
        A Java Future containing the result of the ListConfigurationHistory operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listConfigurationHistory

        default CompletableFuture<ListConfigurationHistoryResponse> listConfigurationHistory​(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest)

        Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:

        • INFO: creating a new alarm or updating an alarm threshold.

        • WARN: alarm not created due to insufficient data points used to predict thresholds.

        • ERROR: alarm not created due to permission errors or exceeding quotas.


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

        Parameters:
        listConfigurationHistoryRequest - A Consumer that will call methods on ListConfigurationHistoryRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListConfigurationHistory operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listConfigurationHistoryPaginator

        default ListConfigurationHistoryPublisher listConfigurationHistoryPaginator​(ListConfigurationHistoryRequest listConfigurationHistoryRequest)

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

        Parameters:
        listConfigurationHistoryRequest -
        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.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listConfigurationHistoryPaginator

        default ListConfigurationHistoryPublisher listConfigurationHistoryPaginator​(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest)

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


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

        Parameters:
        listConfigurationHistoryRequest - A Consumer that will call methods on ListConfigurationHistoryRequest.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.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLogPatternSets

        default CompletableFuture<ListLogPatternSetsResponse> listLogPatternSets​(ListLogPatternSetsRequest listLogPatternSetsRequest)

        Lists the log pattern sets in the specific application.

        Parameters:
        listLogPatternSetsRequest -
        Returns:
        A Java Future containing the result of the ListLogPatternSets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLogPatternSets

        default CompletableFuture<ListLogPatternSetsResponse> listLogPatternSets​(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest)

        Lists the log pattern sets in the specific application.


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

        Parameters:
        listLogPatternSetsRequest - A Consumer that will call methods on ListLogPatternSetsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListLogPatternSets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLogPatternSetsPaginator

        default ListLogPatternSetsPublisher listLogPatternSetsPaginator​(ListLogPatternSetsRequest listLogPatternSetsRequest)

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

        Parameters:
        listLogPatternSetsRequest -
        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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLogPatternSetsPaginator

        default ListLogPatternSetsPublisher listLogPatternSetsPaginator​(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest)

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


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

        Parameters:
        listLogPatternSetsRequest - A Consumer that will call methods on ListLogPatternSetsRequest.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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLogPatterns

        default CompletableFuture<ListLogPatternsResponse> listLogPatterns​(ListLogPatternsRequest listLogPatternsRequest)

        Lists the log patterns in the specific log LogPatternSet.

        Parameters:
        listLogPatternsRequest -
        Returns:
        A Java Future containing the result of the ListLogPatterns operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLogPatterns

        default CompletableFuture<ListLogPatternsResponse> listLogPatterns​(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest)

        Lists the log patterns in the specific log LogPatternSet.


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

        Parameters:
        listLogPatternsRequest - A Consumer that will call methods on ListLogPatternsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListLogPatterns operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLogPatternsPaginator

        default ListLogPatternsPublisher listLogPatternsPaginator​(ListLogPatternsRequest listLogPatternsRequest)

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

        Parameters:
        listLogPatternsRequest -
        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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLogPatternsPaginator

        default ListLogPatternsPublisher listLogPatternsPaginator​(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest)

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


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

        Parameters:
        listLogPatternsRequest - A Consumer that will call methods on ListLogPatternsRequest.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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listProblems

        default CompletableFuture<ListProblemsResponse> listProblems​(ListProblemsRequest listProblemsRequest)

        Lists the problems with your application.

        Parameters:
        listProblemsRequest -
        Returns:
        A Java Future containing the result of the ListProblems operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listProblems

        default CompletableFuture<ListProblemsResponse> listProblems​(Consumer<ListProblemsRequest.Builder> listProblemsRequest)

        Lists the problems with your application.


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

        Parameters:
        listProblemsRequest - A Consumer that will call methods on ListProblemsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListProblems operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listProblemsPaginator

        default ListProblemsPublisher listProblemsPaginator​(ListProblemsRequest listProblemsRequest)

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

        Parameters:
        listProblemsRequest -
        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.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listProblemsPaginator

        default ListProblemsPublisher listProblemsPaginator​(Consumer<ListProblemsRequest.Builder> listProblemsRequest)

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


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

        Parameters:
        listProblemsRequest - A Consumer that will call methods on ListProblemsRequest.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.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException 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)

        Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.

        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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException 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)

        Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.


        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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkloads

        default CompletableFuture<ListWorkloadsResponse> listWorkloads​(ListWorkloadsRequest listWorkloadsRequest)

        Lists the workloads that are configured on a given component.

        Parameters:
        listWorkloadsRequest -
        Returns:
        A Java Future containing the result of the ListWorkloads operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkloads

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

        Lists the workloads that are configured on a given component.


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

        Parameters:
        listWorkloadsRequest - A Consumer that will call methods on ListWorkloadsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListWorkloads operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkloadsPaginator

        default ListWorkloadsPublisher listWorkloadsPaginator​(ListWorkloadsRequest listWorkloadsRequest)

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

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

        The following are few ways to use the response class:

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

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

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

        Parameters:
        listWorkloadsRequest -
        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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkloadsPaginator

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

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

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

        The following are few ways to use the response class:

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

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

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


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

        Parameters:
        listWorkloadsRequest - A Consumer that will call methods on ListWorkloadsRequest.Builder to create a request.
        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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • removeWorkload

        default CompletableFuture<RemoveWorkloadResponse> removeWorkload​(RemoveWorkloadRequest removeWorkloadRequest)

        Remove workload from a component.

        Parameters:
        removeWorkloadRequest -
        Returns:
        A Java Future containing the result of the RemoveWorkload operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • removeWorkload

        default CompletableFuture<RemoveWorkloadResponse> removeWorkload​(Consumer<RemoveWorkloadRequest.Builder> removeWorkloadRequest)

        Remove workload from a component.


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

        Parameters:
        removeWorkloadRequest - A Consumer that will call methods on RemoveWorkloadRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the RemoveWorkload operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException 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)

        Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.

        Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.

        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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • TooManyTagsException The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit.
        • ValidationException The parameter is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException 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)

        Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.

        Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.


        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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • TooManyTagsException The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit.
        • ValidationException The parameter is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException 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)

        Remove one or more tags (keys and values) from a specified application.

        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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException 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)

        Remove one or more tags (keys and values) from a specified application.


        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.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateApplication

        default CompletableFuture<UpdateApplicationResponse> updateApplication​(UpdateApplicationRequest updateApplicationRequest)

        Updates the application.

        Parameters:
        updateApplicationRequest -
        Returns:
        A Java Future containing the result of the UpdateApplication operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateApplication

        default CompletableFuture<UpdateApplicationResponse> updateApplication​(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)

        Updates the application.


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

        Parameters:
        updateApplicationRequest - A Consumer that will call methods on UpdateApplicationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateApplication operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateComponent

        default CompletableFuture<UpdateComponentResponse> updateComponent​(UpdateComponentRequest updateComponentRequest)

        Updates the custom component name and/or the list of resources that make up the component.

        Parameters:
        updateComponentRequest -
        Returns:
        A Java Future containing the result of the UpdateComponent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateComponent

        default CompletableFuture<UpdateComponentResponse> updateComponent​(Consumer<UpdateComponentRequest.Builder> updateComponentRequest)

        Updates the custom component name and/or the list of resources that make up the component.


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

        Parameters:
        updateComponentRequest - A Consumer that will call methods on UpdateComponentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateComponent operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateComponentConfiguration

        default CompletableFuture<UpdateComponentConfigurationResponse> updateComponentConfiguration​(UpdateComponentConfigurationRequest updateComponentConfigurationRequest)

        Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation.

        Parameters:
        updateComponentConfigurationRequest -
        Returns:
        A Java Future containing the result of the UpdateComponentConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ResourceInUseException The resource is already created or in use.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateComponentConfiguration

        default CompletableFuture<UpdateComponentConfigurationResponse> updateComponentConfiguration​(Consumer<UpdateComponentConfigurationRequest.Builder> updateComponentConfigurationRequest)

        Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation.


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

        Parameters:
        updateComponentConfigurationRequest - A Consumer that will call methods on UpdateComponentConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateComponentConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ResourceInUseException The resource is already created or in use.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateLogPattern

        default CompletableFuture<UpdateLogPatternResponse> updateLogPattern​(UpdateLogPatternRequest updateLogPatternRequest)

        Adds a log pattern to a LogPatternSet.

        Parameters:
        updateLogPatternRequest -
        Returns:
        A Java Future containing the result of the UpdateLogPattern operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateLogPattern

        default CompletableFuture<UpdateLogPatternResponse> updateLogPattern​(Consumer<UpdateLogPatternRequest.Builder> updateLogPatternRequest)

        Adds a log pattern to a LogPatternSet.


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

        Parameters:
        updateLogPatternRequest - A Consumer that will call methods on UpdateLogPatternRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateLogPattern operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceInUseException The resource is already created or in use.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateProblem

        default CompletableFuture<UpdateProblemResponse> updateProblem​(UpdateProblemRequest updateProblemRequest)

        Updates the visibility of the problem or specifies the problem as RESOLVED.

        Parameters:
        updateProblemRequest -
        Returns:
        A Java Future containing the result of the UpdateProblem operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateProblem

        default CompletableFuture<UpdateProblemResponse> updateProblem​(Consumer<UpdateProblemRequest.Builder> updateProblemRequest)

        Updates the visibility of the problem or specifies the problem as RESOLVED.


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

        Parameters:
        updateProblemRequest - A Consumer that will call methods on UpdateProblemRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateProblem operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException The server encountered an internal error and is unable to complete the request.
        • ValidationException The parameter is not valid.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateWorkload

        default CompletableFuture<UpdateWorkloadResponse> updateWorkload​(UpdateWorkloadRequest updateWorkloadRequest)

        Adds a workload to a component. Each component can have at most five workloads.

        Parameters:
        updateWorkloadRequest -
        Returns:
        A Java Future containing the result of the UpdateWorkload operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateWorkload

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

        Adds a workload to a component. Each component can have at most five workloads.


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

        Parameters:
        updateWorkloadRequest - A Consumer that will call methods on UpdateWorkloadRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateWorkload operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The resource does not exist in the customer account.
        • ValidationException The parameter is not valid.
        • InternalServerException The server encountered an internal error and is unable to complete 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.
        • ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation