All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.applicationinsights.ApplicationInsightsAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Application Insights module holds the client classes that are used for communicating with Application Insights.

There is a newer version: 2.28.4
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.applicationinsights;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.applicationinsights.model.CreateApplicationRequest;
import software.amazon.awssdk.services.applicationinsights.model.CreateApplicationResponse;
import software.amazon.awssdk.services.applicationinsights.model.CreateComponentRequest;
import software.amazon.awssdk.services.applicationinsights.model.CreateComponentResponse;
import software.amazon.awssdk.services.applicationinsights.model.CreateLogPatternRequest;
import software.amazon.awssdk.services.applicationinsights.model.CreateLogPatternResponse;
import software.amazon.awssdk.services.applicationinsights.model.DeleteApplicationRequest;
import software.amazon.awssdk.services.applicationinsights.model.DeleteApplicationResponse;
import software.amazon.awssdk.services.applicationinsights.model.DeleteComponentRequest;
import software.amazon.awssdk.services.applicationinsights.model.DeleteComponentResponse;
import software.amazon.awssdk.services.applicationinsights.model.DeleteLogPatternRequest;
import software.amazon.awssdk.services.applicationinsights.model.DeleteLogPatternResponse;
import software.amazon.awssdk.services.applicationinsights.model.DescribeApplicationRequest;
import software.amazon.awssdk.services.applicationinsights.model.DescribeApplicationResponse;
import software.amazon.awssdk.services.applicationinsights.model.DescribeComponentConfigurationRecommendationRequest;
import software.amazon.awssdk.services.applicationinsights.model.DescribeComponentConfigurationRecommendationResponse;
import software.amazon.awssdk.services.applicationinsights.model.DescribeComponentConfigurationRequest;
import software.amazon.awssdk.services.applicationinsights.model.DescribeComponentConfigurationResponse;
import software.amazon.awssdk.services.applicationinsights.model.DescribeComponentRequest;
import software.amazon.awssdk.services.applicationinsights.model.DescribeComponentResponse;
import software.amazon.awssdk.services.applicationinsights.model.DescribeLogPatternRequest;
import software.amazon.awssdk.services.applicationinsights.model.DescribeLogPatternResponse;
import software.amazon.awssdk.services.applicationinsights.model.DescribeObservationRequest;
import software.amazon.awssdk.services.applicationinsights.model.DescribeObservationResponse;
import software.amazon.awssdk.services.applicationinsights.model.DescribeProblemObservationsRequest;
import software.amazon.awssdk.services.applicationinsights.model.DescribeProblemObservationsResponse;
import software.amazon.awssdk.services.applicationinsights.model.DescribeProblemRequest;
import software.amazon.awssdk.services.applicationinsights.model.DescribeProblemResponse;
import software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest;
import software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse;
import software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest;
import software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse;
import software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest;
import software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse;
import software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest;
import software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse;
import software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest;
import software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse;
import software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest;
import software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse;
import software.amazon.awssdk.services.applicationinsights.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.applicationinsights.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.applicationinsights.model.TagResourceRequest;
import software.amazon.awssdk.services.applicationinsights.model.TagResourceResponse;
import software.amazon.awssdk.services.applicationinsights.model.UntagResourceRequest;
import software.amazon.awssdk.services.applicationinsights.model.UntagResourceResponse;
import software.amazon.awssdk.services.applicationinsights.model.UpdateApplicationRequest;
import software.amazon.awssdk.services.applicationinsights.model.UpdateApplicationResponse;
import software.amazon.awssdk.services.applicationinsights.model.UpdateComponentConfigurationRequest;
import software.amazon.awssdk.services.applicationinsights.model.UpdateComponentConfigurationResponse;
import software.amazon.awssdk.services.applicationinsights.model.UpdateComponentRequest;
import software.amazon.awssdk.services.applicationinsights.model.UpdateComponentResponse;
import software.amazon.awssdk.services.applicationinsights.model.UpdateLogPatternRequest;
import software.amazon.awssdk.services.applicationinsights.model.UpdateLogPatternResponse;
import software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher;
import software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher;
import software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher;
import software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher;
import software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher;
import software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher;

/**
 * Service client for accessing Application Insights asynchronously. This can be created using the static
 * {@link #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. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface ApplicationInsightsAsyncClient extends AwsClient { String SERVICE_NAME = "applicationinsights"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "applicationinsights"; /** *

* Adds an application that is created from a resource group. *

* * @param createApplicationRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.CreateApplication * @see AWS API Documentation */ default CompletableFuture createApplication(CreateApplicationRequest createApplicationRequest) { throw new UnsupportedOperationException(); } /** *

* Adds an application that is created from a resource group. *

*
*

* This is a convenience which creates an instance of the {@link CreateApplicationRequest.Builder} avoiding the need * to create one manually via {@link CreateApplicationRequest#builder()} *

* * @param createApplicationRequest * A {@link Consumer} that will call methods on {@link CreateApplicationRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.CreateApplication * @see AWS API Documentation */ default CompletableFuture createApplication( Consumer createApplicationRequest) { return createApplication(CreateApplicationRequest.builder().applyMutation(createApplicationRequest).build()); } /** *

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

* * @param createComponentRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.CreateComponent * @see AWS API Documentation */ default CompletableFuture createComponent(CreateComponentRequest createComponentRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link CreateComponentRequest.Builder} avoiding the need * to create one manually via {@link CreateComponentRequest#builder()} *

* * @param createComponentRequest * A {@link Consumer} that will call methods on {@link CreateComponentRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.CreateComponent * @see AWS API Documentation */ default CompletableFuture createComponent( Consumer createComponentRequest) { return createComponent(CreateComponentRequest.builder().applyMutation(createComponentRequest).build()); } /** *

* Adds an log pattern to a LogPatternSet. *

* * @param createLogPatternRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.CreateLogPattern * @see AWS API Documentation */ default CompletableFuture createLogPattern(CreateLogPatternRequest createLogPatternRequest) { throw new UnsupportedOperationException(); } /** *

* Adds an log pattern to a LogPatternSet. *

*
*

* This is a convenience which creates an instance of the {@link CreateLogPatternRequest.Builder} avoiding the need * to create one manually via {@link CreateLogPatternRequest#builder()} *

* * @param createLogPatternRequest * A {@link Consumer} that will call methods on {@link CreateLogPatternRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.CreateLogPattern * @see AWS API Documentation */ default CompletableFuture createLogPattern( Consumer createLogPatternRequest) { return createLogPattern(CreateLogPatternRequest.builder().applyMutation(createLogPatternRequest).build()); } /** *

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

* * @param deleteApplicationRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DeleteApplication * @see AWS API Documentation */ default CompletableFuture deleteApplication(DeleteApplicationRequest deleteApplicationRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link DeleteApplicationRequest.Builder} avoiding the need * to create one manually via {@link DeleteApplicationRequest#builder()} *

* * @param deleteApplicationRequest * A {@link Consumer} that will call methods on {@link DeleteApplicationRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DeleteApplication * @see AWS API Documentation */ default CompletableFuture deleteApplication( Consumer deleteApplicationRequest) { return deleteApplication(DeleteApplicationRequest.builder().applyMutation(deleteApplicationRequest).build()); } /** *

* 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. *

* * @param deleteComponentRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DeleteComponent * @see AWS API Documentation */ default CompletableFuture deleteComponent(DeleteComponentRequest deleteComponentRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteComponentRequest.Builder} avoiding the need * to create one manually via {@link DeleteComponentRequest#builder()} *

* * @param deleteComponentRequest * A {@link Consumer} that will call methods on {@link DeleteComponentRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DeleteComponent * @see AWS API Documentation */ default CompletableFuture deleteComponent( Consumer deleteComponentRequest) { return deleteComponent(DeleteComponentRequest.builder().applyMutation(deleteComponentRequest).build()); } /** *

* Removes the specified log pattern from a LogPatternSet. *

* * @param deleteLogPatternRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DeleteLogPattern * @see AWS API Documentation */ default CompletableFuture deleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest) { throw new UnsupportedOperationException(); } /** *

* Removes the specified log pattern from a LogPatternSet. *

*
*

* This is a convenience which creates an instance of the {@link DeleteLogPatternRequest.Builder} avoiding the need * to create one manually via {@link DeleteLogPatternRequest#builder()} *

* * @param deleteLogPatternRequest * A {@link Consumer} that will call methods on {@link DeleteLogPatternRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DeleteLogPattern * @see AWS API Documentation */ default CompletableFuture deleteLogPattern( Consumer deleteLogPatternRequest) { return deleteLogPattern(DeleteLogPatternRequest.builder().applyMutation(deleteLogPatternRequest).build()); } /** *

* Describes the application. *

* * @param describeApplicationRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeApplication * @see AWS API Documentation */ default CompletableFuture describeApplication( DescribeApplicationRequest describeApplicationRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the application. *

*
*

* This is a convenience which creates an instance of the {@link DescribeApplicationRequest.Builder} avoiding the * need to create one manually via {@link DescribeApplicationRequest#builder()} *

* * @param describeApplicationRequest * A {@link Consumer} that will call methods on {@link DescribeApplicationRequest.Builder} to create a * request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeApplication * @see AWS API Documentation */ default CompletableFuture describeApplication( Consumer describeApplicationRequest) { return describeApplication(DescribeApplicationRequest.builder().applyMutation(describeApplicationRequest).build()); } /** *

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

* * @param describeComponentRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeComponent * @see AWS API Documentation */ default CompletableFuture describeComponent(DescribeComponentRequest describeComponentRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link DescribeComponentRequest.Builder} avoiding the need * to create one manually via {@link DescribeComponentRequest#builder()} *

* * @param describeComponentRequest * A {@link Consumer} that will call methods on {@link DescribeComponentRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeComponent * @see AWS API Documentation */ default CompletableFuture describeComponent( Consumer describeComponentRequest) { return describeComponent(DescribeComponentRequest.builder().applyMutation(describeComponentRequest).build()); } /** *

* Describes the monitoring configuration of the component. *

* * @param describeComponentConfigurationRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeComponentConfiguration * @see AWS API Documentation */ default CompletableFuture describeComponentConfiguration( DescribeComponentConfigurationRequest describeComponentConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the monitoring configuration of the component. *

*
*

* This is a convenience which creates an instance of the {@link DescribeComponentConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeComponentConfigurationRequest#builder()} *

* * @param describeComponentConfigurationRequest * A {@link Consumer} that will call methods on {@link DescribeComponentConfigurationRequest.Builder} to * create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeComponentConfiguration * @see AWS API Documentation */ default CompletableFuture describeComponentConfiguration( Consumer describeComponentConfigurationRequest) { return describeComponentConfiguration(DescribeComponentConfigurationRequest.builder() .applyMutation(describeComponentConfigurationRequest).build()); } /** *

* Describes the recommended monitoring configuration of the component. *

* * @param describeComponentConfigurationRecommendationRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeComponentConfigurationRecommendation * @see AWS API Documentation */ default CompletableFuture describeComponentConfigurationRecommendation( DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the recommended monitoring configuration of the component. *

*
*

* This is a convenience which creates an instance of the * {@link DescribeComponentConfigurationRecommendationRequest.Builder} avoiding the need to create one manually via * {@link DescribeComponentConfigurationRecommendationRequest#builder()} *

* * @param describeComponentConfigurationRecommendationRequest * A {@link Consumer} that will call methods on * {@link DescribeComponentConfigurationRecommendationRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeComponentConfigurationRecommendation * @see AWS API Documentation */ default CompletableFuture describeComponentConfigurationRecommendation( Consumer describeComponentConfigurationRecommendationRequest) { return describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest.builder() .applyMutation(describeComponentConfigurationRecommendationRequest).build()); } /** *

* Describe a specific log pattern from a LogPatternSet. *

* * @param describeLogPatternRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeLogPattern * @see AWS API Documentation */ default CompletableFuture describeLogPattern(DescribeLogPatternRequest describeLogPatternRequest) { throw new UnsupportedOperationException(); } /** *

* Describe a specific log pattern from a LogPatternSet. *

*
*

* This is a convenience which creates an instance of the {@link DescribeLogPatternRequest.Builder} avoiding the * need to create one manually via {@link DescribeLogPatternRequest#builder()} *

* * @param describeLogPatternRequest * A {@link Consumer} that will call methods on {@link DescribeLogPatternRequest.Builder} to create a * request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeLogPattern * @see AWS API Documentation */ default CompletableFuture describeLogPattern( Consumer describeLogPatternRequest) { return describeLogPattern(DescribeLogPatternRequest.builder().applyMutation(describeLogPatternRequest).build()); } /** *

* Describes an anomaly or error with the application. *

* * @param describeObservationRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeObservation * @see AWS API Documentation */ default CompletableFuture describeObservation( DescribeObservationRequest describeObservationRequest) { throw new UnsupportedOperationException(); } /** *

* Describes an anomaly or error with the application. *

*
*

* This is a convenience which creates an instance of the {@link DescribeObservationRequest.Builder} avoiding the * need to create one manually via {@link DescribeObservationRequest#builder()} *

* * @param describeObservationRequest * A {@link Consumer} that will call methods on {@link DescribeObservationRequest.Builder} to create a * request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeObservation * @see AWS API Documentation */ default CompletableFuture describeObservation( Consumer describeObservationRequest) { return describeObservation(DescribeObservationRequest.builder().applyMutation(describeObservationRequest).build()); } /** *

* Describes an application problem. *

* * @param describeProblemRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeProblem * @see AWS API Documentation */ default CompletableFuture describeProblem(DescribeProblemRequest describeProblemRequest) { throw new UnsupportedOperationException(); } /** *

* Describes an application problem. *

*
*

* This is a convenience which creates an instance of the {@link DescribeProblemRequest.Builder} avoiding the need * to create one manually via {@link DescribeProblemRequest#builder()} *

* * @param describeProblemRequest * A {@link Consumer} that will call methods on {@link DescribeProblemRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeProblem * @see AWS API Documentation */ default CompletableFuture describeProblem( Consumer describeProblemRequest) { return describeProblem(DescribeProblemRequest.builder().applyMutation(describeProblemRequest).build()); } /** *

* Describes the anomalies or errors associated with the problem. *

* * @param describeProblemObservationsRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeProblemObservations * @see AWS API Documentation */ default CompletableFuture describeProblemObservations( DescribeProblemObservationsRequest describeProblemObservationsRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the anomalies or errors associated with the problem. *

*
*

* This is a convenience which creates an instance of the {@link DescribeProblemObservationsRequest.Builder} * avoiding the need to create one manually via {@link DescribeProblemObservationsRequest#builder()} *

* * @param describeProblemObservationsRequest * A {@link Consumer} that will call methods on {@link DescribeProblemObservationsRequest.Builder} to create * a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.DescribeProblemObservations * @see AWS API Documentation */ default CompletableFuture describeProblemObservations( Consumer describeProblemObservationsRequest) { return describeProblemObservations(DescribeProblemObservationsRequest.builder() .applyMutation(describeProblemObservationsRequest).build()); } /** *

* Lists the IDs of the applications that you are monitoring. *

* * @param listApplicationsRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListApplications * @see AWS API Documentation */ default CompletableFuture listApplications(ListApplicationsRequest listApplicationsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the IDs of the applications that you are monitoring. *

*
*

* This is a convenience which creates an instance of the {@link ListApplicationsRequest.Builder} avoiding the need * to create one manually via {@link ListApplicationsRequest#builder()} *

* * @param listApplicationsRequest * A {@link Consumer} that will call methods on {@link ListApplicationsRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListApplications * @see AWS API Documentation */ default CompletableFuture listApplications( Consumer listApplicationsRequest) { return listApplications(ListApplicationsRequest.builder().applyMutation(listApplicationsRequest).build()); } /** *

* Lists the IDs of the applications that you are monitoring. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)} * operation. *

* * @param listApplicationsRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListApplications * @see AWS API Documentation */ default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) { return new ListApplicationsPublisher(this, listApplicationsRequest); } /** *

* Lists the IDs of the applications that you are monitoring. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListApplicationsRequest.Builder} avoiding the need * to create one manually via {@link ListApplicationsRequest#builder()} *

* * @param listApplicationsRequest * A {@link Consumer} that will call methods on {@link ListApplicationsRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListApplications * @see AWS API Documentation */ default ListApplicationsPublisher listApplicationsPaginator(Consumer listApplicationsRequest) { return listApplicationsPaginator(ListApplicationsRequest.builder().applyMutation(listApplicationsRequest).build()); } /** *

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

* * @param listComponentsRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListComponents * @see AWS API Documentation */ default CompletableFuture listComponents(ListComponentsRequest listComponentsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link ListComponentsRequest.Builder} avoiding the need to * create one manually via {@link ListComponentsRequest#builder()} *

* * @param listComponentsRequest * A {@link Consumer} that will call methods on {@link ListComponentsRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListComponents * @see AWS API Documentation */ default CompletableFuture listComponents(Consumer listComponentsRequest) { return listComponents(ListComponentsRequest.builder().applyMutation(listComponentsRequest).build()); } /** *

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

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)} * operation. *

* * @param listComponentsRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListComponents * @see AWS API Documentation */ default ListComponentsPublisher listComponentsPaginator(ListComponentsRequest listComponentsRequest) { return new ListComponentsPublisher(this, listComponentsRequest); } /** *

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

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListComponentsRequest.Builder} avoiding the need to * create one manually via {@link ListComponentsRequest#builder()} *

* * @param listComponentsRequest * A {@link Consumer} that will call methods on {@link ListComponentsRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListComponents * @see AWS API Documentation */ default ListComponentsPublisher listComponentsPaginator(Consumer listComponentsRequest) { return listComponentsPaginator(ListComponentsRequest.builder().applyMutation(listComponentsRequest).build()); } /** *

* 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. *

    *
  • *
* * @param listConfigurationHistoryRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListConfigurationHistory * @see AWS API Documentation */ default CompletableFuture listConfigurationHistory( ListConfigurationHistoryRequest listConfigurationHistoryRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListConfigurationHistoryRequest.Builder} avoiding * the need to create one manually via {@link ListConfigurationHistoryRequest#builder()} *

* * @param listConfigurationHistoryRequest * A {@link Consumer} that will call methods on {@link ListConfigurationHistoryRequest.Builder} to create a * request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListConfigurationHistory * @see AWS API Documentation */ default CompletableFuture listConfigurationHistory( Consumer listConfigurationHistoryRequest) { return listConfigurationHistory(ListConfigurationHistoryRequest.builder().applyMutation(listConfigurationHistoryRequest) .build()); } /** *

* 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 variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)} * operation. *

* * @param listConfigurationHistoryRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListConfigurationHistory * @see AWS API Documentation */ default ListConfigurationHistoryPublisher listConfigurationHistoryPaginator( ListConfigurationHistoryRequest listConfigurationHistoryRequest) { return new ListConfigurationHistoryPublisher(this, 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 variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListConfigurationHistoryRequest.Builder} avoiding * the need to create one manually via {@link ListConfigurationHistoryRequest#builder()} *

* * @param listConfigurationHistoryRequest * A {@link Consumer} that will call methods on {@link ListConfigurationHistoryRequest.Builder} to create a * request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListConfigurationHistory * @see AWS API Documentation */ default ListConfigurationHistoryPublisher listConfigurationHistoryPaginator( Consumer listConfigurationHistoryRequest) { return listConfigurationHistoryPaginator(ListConfigurationHistoryRequest.builder() .applyMutation(listConfigurationHistoryRequest).build()); } /** *

* Lists the log pattern sets in the specific application. *

* * @param listLogPatternSetsRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListLogPatternSets * @see AWS API Documentation */ default CompletableFuture listLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the log pattern sets in the specific application. *

*
*

* This is a convenience which creates an instance of the {@link ListLogPatternSetsRequest.Builder} avoiding the * need to create one manually via {@link ListLogPatternSetsRequest#builder()} *

* * @param listLogPatternSetsRequest * A {@link Consumer} that will call methods on {@link ListLogPatternSetsRequest.Builder} to create a * request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListLogPatternSets * @see AWS API Documentation */ default CompletableFuture listLogPatternSets( Consumer listLogPatternSetsRequest) { return listLogPatternSets(ListLogPatternSetsRequest.builder().applyMutation(listLogPatternSetsRequest).build()); } /** *

* Lists the log pattern sets in the specific application. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)} * operation. *

* * @param listLogPatternSetsRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListLogPatternSets * @see AWS API Documentation */ default ListLogPatternSetsPublisher listLogPatternSetsPaginator(ListLogPatternSetsRequest listLogPatternSetsRequest) { return new ListLogPatternSetsPublisher(this, listLogPatternSetsRequest); } /** *

* Lists the log pattern sets in the specific application. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListLogPatternSetsRequest.Builder} avoiding the * need to create one manually via {@link ListLogPatternSetsRequest#builder()} *

* * @param listLogPatternSetsRequest * A {@link Consumer} that will call methods on {@link ListLogPatternSetsRequest.Builder} to create a * request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListLogPatternSets * @see AWS API Documentation */ default ListLogPatternSetsPublisher listLogPatternSetsPaginator( Consumer listLogPatternSetsRequest) { return listLogPatternSetsPaginator(ListLogPatternSetsRequest.builder().applyMutation(listLogPatternSetsRequest).build()); } /** *

* Lists the log patterns in the specific log LogPatternSet. *

* * @param listLogPatternsRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListLogPatterns * @see AWS API Documentation */ default CompletableFuture listLogPatterns(ListLogPatternsRequest listLogPatternsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the log patterns in the specific log LogPatternSet. *

*
*

* This is a convenience which creates an instance of the {@link ListLogPatternsRequest.Builder} avoiding the need * to create one manually via {@link ListLogPatternsRequest#builder()} *

* * @param listLogPatternsRequest * A {@link Consumer} that will call methods on {@link ListLogPatternsRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListLogPatterns * @see AWS API Documentation */ default CompletableFuture listLogPatterns( Consumer listLogPatternsRequest) { return listLogPatterns(ListLogPatternsRequest.builder().applyMutation(listLogPatternsRequest).build()); } /** *

* Lists the log patterns in the specific log LogPatternSet. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)} * operation. *

* * @param listLogPatternsRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListLogPatterns * @see AWS API Documentation */ default ListLogPatternsPublisher listLogPatternsPaginator(ListLogPatternsRequest listLogPatternsRequest) { return new ListLogPatternsPublisher(this, listLogPatternsRequest); } /** *

* Lists the log patterns in the specific log LogPatternSet. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListLogPatternsRequest.Builder} avoiding the need * to create one manually via {@link ListLogPatternsRequest#builder()} *

* * @param listLogPatternsRequest * A {@link Consumer} that will call methods on {@link ListLogPatternsRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListLogPatterns * @see AWS API Documentation */ default ListLogPatternsPublisher listLogPatternsPaginator(Consumer listLogPatternsRequest) { return listLogPatternsPaginator(ListLogPatternsRequest.builder().applyMutation(listLogPatternsRequest).build()); } /** *

* Lists the problems with your application. *

* * @param listProblemsRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListProblems * @see AWS API Documentation */ default CompletableFuture listProblems(ListProblemsRequest listProblemsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the problems with your application. *

*
*

* This is a convenience which creates an instance of the {@link ListProblemsRequest.Builder} avoiding the need to * create one manually via {@link ListProblemsRequest#builder()} *

* * @param listProblemsRequest * A {@link Consumer} that will call methods on {@link ListProblemsRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListProblems * @see AWS API Documentation */ default CompletableFuture listProblems(Consumer listProblemsRequest) { return listProblems(ListProblemsRequest.builder().applyMutation(listProblemsRequest).build()); } /** *

* Lists the problems with your application. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)} * operation. *

* * @param listProblemsRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListProblems * @see AWS API Documentation */ default ListProblemsPublisher listProblemsPaginator(ListProblemsRequest listProblemsRequest) { return new ListProblemsPublisher(this, listProblemsRequest); } /** *

* Lists the problems with your application. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListProblemsRequest.Builder} avoiding the need to * create one manually via {@link ListProblemsRequest#builder()} *

* * @param listProblemsRequest * A {@link Consumer} that will call methods on {@link ListProblemsRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListProblems * @see AWS API Documentation */ default ListProblemsPublisher listProblemsPaginator(Consumer listProblemsRequest) { return listProblemsPaginator(ListProblemsRequest.builder().applyMutation(listProblemsRequest).build()); } /** *

* 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. *

* * @param listTagsForResourceRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on {@link ListTagsForResourceRequest.Builder} to create a * request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* 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. *

* * @param tagResourceRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.TagResource * @see AWS API Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.TagResource * @see AWS API Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

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

* * @param untagResourceRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.UntagResource * @see AWS API Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.UntagResource * @see AWS API Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Updates the application. *

* * @param updateApplicationRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.UpdateApplication * @see AWS API Documentation */ default CompletableFuture updateApplication(UpdateApplicationRequest updateApplicationRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the application. *

*
*

* This is a convenience which creates an instance of the {@link UpdateApplicationRequest.Builder} avoiding the need * to create one manually via {@link UpdateApplicationRequest#builder()} *

* * @param updateApplicationRequest * A {@link Consumer} that will call methods on {@link UpdateApplicationRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.UpdateApplication * @see AWS API Documentation */ default CompletableFuture updateApplication( Consumer updateApplicationRequest) { return updateApplication(UpdateApplicationRequest.builder().applyMutation(updateApplicationRequest).build()); } /** *

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

* * @param updateComponentRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.UpdateComponent * @see AWS API Documentation */ default CompletableFuture updateComponent(UpdateComponentRequest updateComponentRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link UpdateComponentRequest.Builder} avoiding the need * to create one manually via {@link UpdateComponentRequest#builder()} *

* * @param updateComponentRequest * A {@link Consumer} that will call methods on {@link UpdateComponentRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.UpdateComponent * @see AWS API Documentation */ default CompletableFuture updateComponent( Consumer updateComponentRequest) { return updateComponent(UpdateComponentRequest.builder().applyMutation(updateComponentRequest).build()); } /** *

* 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. *

* * @param updateComponentConfigurationRequest * @return 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can 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.
  • *
* @sample ApplicationInsightsAsyncClient.UpdateComponentConfiguration * @see AWS API Documentation */ default CompletableFuture updateComponentConfiguration( UpdateComponentConfigurationRequest updateComponentConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link UpdateComponentConfigurationRequest.Builder} * avoiding the need to create one manually via {@link UpdateComponentConfigurationRequest#builder()} *

* * @param updateComponentConfigurationRequest * A {@link Consumer} that will call methods on {@link UpdateComponentConfigurationRequest.Builder} to create * a request. * @return 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can 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.
  • *
* @sample ApplicationInsightsAsyncClient.UpdateComponentConfiguration * @see AWS API Documentation */ default CompletableFuture updateComponentConfiguration( Consumer updateComponentConfigurationRequest) { return updateComponentConfiguration(UpdateComponentConfigurationRequest.builder() .applyMutation(updateComponentConfigurationRequest).build()); } /** *

* Adds a log pattern to a LogPatternSet. *

* * @param updateLogPatternRequest * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.UpdateLogPattern * @see AWS API Documentation */ default CompletableFuture updateLogPattern(UpdateLogPatternRequest updateLogPatternRequest) { throw new UnsupportedOperationException(); } /** *

* Adds a log pattern to a LogPatternSet. *

*
*

* This is a convenience which creates an instance of the {@link UpdateLogPatternRequest.Builder} avoiding the need * to create one manually via {@link UpdateLogPatternRequest#builder()} *

* * @param updateLogPatternRequest * A {@link Consumer} that will call methods on {@link UpdateLogPatternRequest.Builder} to create a request. * @return 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.
  • *
* @sample ApplicationInsightsAsyncClient.UpdateLogPattern * @see AWS API Documentation */ default CompletableFuture updateLogPattern( Consumer updateLogPatternRequest) { return updateLogPattern(UpdateLogPatternRequest.builder().applyMutation(updateLogPatternRequest).build()); } @Override default ApplicationInsightsServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * Create a {@link ApplicationInsightsAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static ApplicationInsightsAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link ApplicationInsightsAsyncClient}. */ static ApplicationInsightsAsyncClientBuilder builder() { return new DefaultApplicationInsightsAsyncClientBuilder(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy