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

software.amazon.awssdk.services.applicationinsights.ApplicationInsightsClient 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.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.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.applicationinsights.model.AccessDeniedException;
import software.amazon.awssdk.services.applicationinsights.model.AddWorkloadRequest;
import software.amazon.awssdk.services.applicationinsights.model.AddWorkloadResponse;
import software.amazon.awssdk.services.applicationinsights.model.ApplicationInsightsException;
import software.amazon.awssdk.services.applicationinsights.model.BadRequestException;
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.DescribeWorkloadRequest;
import software.amazon.awssdk.services.applicationinsights.model.DescribeWorkloadResponse;
import software.amazon.awssdk.services.applicationinsights.model.InternalServerException;
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.ListWorkloadsRequest;
import software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsResponse;
import software.amazon.awssdk.services.applicationinsights.model.RemoveWorkloadRequest;
import software.amazon.awssdk.services.applicationinsights.model.RemoveWorkloadResponse;
import software.amazon.awssdk.services.applicationinsights.model.ResourceInUseException;
import software.amazon.awssdk.services.applicationinsights.model.ResourceNotFoundException;
import software.amazon.awssdk.services.applicationinsights.model.TagResourceRequest;
import software.amazon.awssdk.services.applicationinsights.model.TagResourceResponse;
import software.amazon.awssdk.services.applicationinsights.model.TagsAlreadyExistException;
import software.amazon.awssdk.services.applicationinsights.model.TooManyTagsException;
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.model.UpdateProblemRequest;
import software.amazon.awssdk.services.applicationinsights.model.UpdateProblemResponse;
import software.amazon.awssdk.services.applicationinsights.model.UpdateWorkloadRequest;
import software.amazon.awssdk.services.applicationinsights.model.UpdateWorkloadResponse;
import software.amazon.awssdk.services.applicationinsights.model.ValidationException;
import software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable;
import software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable;
import software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable;
import software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable;
import software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable;
import software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable;
import software.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable;

/**
 * Service client for accessing Application Insights. 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 ApplicationInsightsClient 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 a workload to a component. Each component can have at most five workloads. *

* * @param addWorkloadRequest * @return Result of the AddWorkload operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.AddWorkload * @see AWS API Documentation */ default AddWorkloadResponse addWorkload(AddWorkloadRequest addWorkloadRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param addWorkloadRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.applicationinsights.model.AddWorkloadRequest.Builder} to create a * request. * @return Result of the AddWorkload operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.AddWorkload * @see AWS API Documentation */ default AddWorkloadResponse addWorkload(Consumer addWorkloadRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return addWorkload(AddWorkloadRequest.builder().applyMutation(addWorkloadRequest).build()); } /** *

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

* * @param createApplicationRequest * @return Result of the CreateApplication operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws TagsAlreadyExistException * Tags are already registered for the specified application ARN. * @throws AccessDeniedException * User does not have permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.CreateApplication * @see AWS API Documentation */ default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, TagsAlreadyExistException, AccessDeniedException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.CreateApplicationRequest.Builder} to * create a request. * @return Result of the CreateApplication operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws TagsAlreadyExistException * Tags are already registered for the specified application ARN. * @throws AccessDeniedException * User does not have permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.CreateApplication * @see AWS API Documentation */ default CreateApplicationResponse createApplication(Consumer createApplicationRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, TagsAlreadyExistException, AccessDeniedException, AwsServiceException, SdkClientException, ApplicationInsightsException { return createApplication(CreateApplicationRequest.builder().applyMutation(createApplicationRequest).build()); } /** *

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

* * @param createComponentRequest * @return Result of the CreateComponent operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.CreateComponent * @see AWS API Documentation */ default CreateComponentResponse createComponent(CreateComponentRequest createComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.CreateComponentRequest.Builder} to create * a request. * @return Result of the CreateComponent operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.CreateComponent * @see AWS API Documentation */ default CreateComponentResponse createComponent(Consumer createComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return createComponent(CreateComponentRequest.builder().applyMutation(createComponentRequest).build()); } /** *

* Adds an log pattern to a LogPatternSet. *

* * @param createLogPatternRequest * @return Result of the CreateLogPattern operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.CreateLogPattern * @see AWS API Documentation */ default CreateLogPatternResponse createLogPattern(CreateLogPatternRequest createLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.CreateLogPatternRequest.Builder} to * create a request. * @return Result of the CreateLogPattern operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.CreateLogPattern * @see AWS API Documentation */ default CreateLogPatternResponse createLogPattern(Consumer createLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return createLogPattern(CreateLogPatternRequest.builder().applyMutation(createLogPatternRequest).build()); } /** *

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

* * @param deleteApplicationRequest * @return Result of the DeleteApplication operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws BadRequestException * The request is not understood by the server. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DeleteApplication * @see AWS API Documentation */ default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.DeleteApplicationRequest.Builder} to * create a request. * @return Result of the DeleteApplication operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws BadRequestException * The request is not understood by the server. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DeleteApplication * @see AWS API Documentation */ default DeleteApplicationResponse deleteApplication(Consumer deleteApplicationRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 Result of the DeleteComponent operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DeleteComponent * @see AWS API Documentation */ default DeleteComponentResponse deleteComponent(DeleteComponentRequest deleteComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.DeleteComponentRequest.Builder} to create * a request. * @return Result of the DeleteComponent operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DeleteComponent * @see AWS API Documentation */ default DeleteComponentResponse deleteComponent(Consumer deleteComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return deleteComponent(DeleteComponentRequest.builder().applyMutation(deleteComponentRequest).build()); } /** *

* Removes the specified log pattern from a LogPatternSet. *

* * @param deleteLogPatternRequest * @return Result of the DeleteLogPattern operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws BadRequestException * The request is not understood by the server. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DeleteLogPattern * @see AWS API Documentation */ default DeleteLogPatternResponse deleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.DeleteLogPatternRequest.Builder} to * create a request. * @return Result of the DeleteLogPattern operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws BadRequestException * The request is not understood by the server. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DeleteLogPattern * @see AWS API Documentation */ default DeleteLogPatternResponse deleteLogPattern(Consumer deleteLogPatternRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return deleteLogPattern(DeleteLogPatternRequest.builder().applyMutation(deleteLogPatternRequest).build()); } /** *

* Describes the application. *

* * @param describeApplicationRequest * @return Result of the DescribeApplication operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeApplication * @see AWS API Documentation */ default DescribeApplicationResponse describeApplication(DescribeApplicationRequest describeApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.DescribeApplicationRequest.Builder} to * create a request. * @return Result of the DescribeApplication operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeApplication * @see AWS API Documentation */ default DescribeApplicationResponse describeApplication( Consumer describeApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return describeApplication(DescribeApplicationRequest.builder().applyMutation(describeApplicationRequest).build()); } /** *

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

* * @param describeComponentRequest * @return Result of the DescribeComponent operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeComponent * @see AWS API Documentation */ default DescribeComponentResponse describeComponent(DescribeComponentRequest describeComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.DescribeComponentRequest.Builder} to * create a request. * @return Result of the DescribeComponent operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeComponent * @see AWS API Documentation */ default DescribeComponentResponse describeComponent(Consumer describeComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return describeComponent(DescribeComponentRequest.builder().applyMutation(describeComponentRequest).build()); } /** *

* Describes the monitoring configuration of the component. *

* * @param describeComponentConfigurationRequest * @return Result of the DescribeComponentConfiguration operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeComponentConfiguration * @see AWS API Documentation */ default DescribeComponentConfigurationResponse describeComponentConfiguration( DescribeComponentConfigurationRequest describeComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.DescribeComponentConfigurationRequest.Builder} * to create a request. * @return Result of the DescribeComponentConfiguration operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeComponentConfiguration * @see AWS API Documentation */ default DescribeComponentConfigurationResponse describeComponentConfiguration( Consumer describeComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return describeComponentConfiguration(DescribeComponentConfigurationRequest.builder() .applyMutation(describeComponentConfigurationRequest).build()); } /** *

* Describes the recommended monitoring configuration of the component. *

* * @param describeComponentConfigurationRecommendationRequest * @return Result of the DescribeComponentConfigurationRecommendation operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeComponentConfigurationRecommendation * @see AWS API Documentation */ default DescribeComponentConfigurationRecommendationResponse describeComponentConfigurationRecommendation( DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.DescribeComponentConfigurationRecommendationRequest.Builder} * to create a request. * @return Result of the DescribeComponentConfigurationRecommendation operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeComponentConfigurationRecommendation * @see AWS API Documentation */ default DescribeComponentConfigurationRecommendationResponse describeComponentConfigurationRecommendation( Consumer describeComponentConfigurationRecommendationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest.builder() .applyMutation(describeComponentConfigurationRecommendationRequest).build()); } /** *

* Describe a specific log pattern from a LogPatternSet. *

* * @param describeLogPatternRequest * @return Result of the DescribeLogPattern operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeLogPattern * @see AWS API Documentation */ default DescribeLogPatternResponse describeLogPattern(DescribeLogPatternRequest describeLogPatternRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.DescribeLogPatternRequest.Builder} to * create a request. * @return Result of the DescribeLogPattern operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeLogPattern * @see AWS API Documentation */ default DescribeLogPatternResponse describeLogPattern(Consumer describeLogPatternRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return describeLogPattern(DescribeLogPatternRequest.builder().applyMutation(describeLogPatternRequest).build()); } /** *

* Describes an anomaly or error with the application. *

* * @param describeObservationRequest * @return Result of the DescribeObservation operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeObservation * @see AWS API Documentation */ default DescribeObservationResponse describeObservation(DescribeObservationRequest describeObservationRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.DescribeObservationRequest.Builder} to * create a request. * @return Result of the DescribeObservation operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeObservation * @see AWS API Documentation */ default DescribeObservationResponse describeObservation( Consumer describeObservationRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException { return describeObservation(DescribeObservationRequest.builder().applyMutation(describeObservationRequest).build()); } /** *

* Describes an application problem. *

* * @param describeProblemRequest * @return Result of the DescribeProblem operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeProblem * @see AWS API Documentation */ default DescribeProblemResponse describeProblem(DescribeProblemRequest describeProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.DescribeProblemRequest.Builder} to create * a request. * @return Result of the DescribeProblem operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeProblem * @see AWS API Documentation */ default DescribeProblemResponse describeProblem(Consumer describeProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException { return describeProblem(DescribeProblemRequest.builder().applyMutation(describeProblemRequest).build()); } /** *

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

* * @param describeProblemObservationsRequest * @return Result of the DescribeProblemObservations operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeProblemObservations * @see AWS API Documentation */ default DescribeProblemObservationsResponse describeProblemObservations( DescribeProblemObservationsRequest describeProblemObservationsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.DescribeProblemObservationsRequest.Builder} * to create a request. * @return Result of the DescribeProblemObservations operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeProblemObservations * @see AWS API Documentation */ default DescribeProblemObservationsResponse describeProblemObservations( Consumer describeProblemObservationsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException { return describeProblemObservations(DescribeProblemObservationsRequest.builder() .applyMutation(describeProblemObservationsRequest).build()); } /** *

* Describes a workload and its configuration. *

* * @param describeWorkloadRequest * @return Result of the DescribeWorkload operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeWorkload * @see AWS API Documentation */ default DescribeWorkloadResponse describeWorkload(DescribeWorkloadRequest describeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { throw new UnsupportedOperationException(); } /** *

* Describes a workload and its configuration. *

*
*

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

* * @param describeWorkloadRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.applicationinsights.model.DescribeWorkloadRequest.Builder} to * create a request. * @return Result of the DescribeWorkload operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.DescribeWorkload * @see AWS API Documentation */ default DescribeWorkloadResponse describeWorkload(Consumer describeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return describeWorkload(DescribeWorkloadRequest.builder().applyMutation(describeWorkloadRequest).build()); } /** *

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

* * @param listApplicationsRequest * @return Result of the ListApplications operation returned by the service. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListApplications * @see AWS API Documentation */ default ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest.Builder} to * create a request. * @return Result of the ListApplications operation returned by the service. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListApplications * @see AWS API Documentation */ default ListApplicationsResponse listApplications(Consumer listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listApplications(ListApplicationsRequest.builder().applyMutation(listApplicationsRequest).build()); } /** *

* This is a variant of * {@link #listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client
     *             .listApplicationsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListApplications * @see AWS API Documentation */ default ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return new ListApplicationsIterable(this, listApplicationsRequest); } /** *

* This is a variant of * {@link #listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client
     *             .listApplicationsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest.Builder} to * create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListApplications * @see AWS API Documentation */ default ListApplicationsIterable listApplicationsPaginator(Consumer listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listApplicationsPaginator(ListApplicationsRequest.builder().applyMutation(listApplicationsRequest).build()); } /** *

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

* * @param listComponentsRequest * @return Result of the ListComponents operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListComponents * @see AWS API Documentation */ default ListComponentsResponse listComponents(ListComponentsRequest listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest.Builder} to create * a request. * @return Result of the ListComponents operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListComponents * @see AWS API Documentation */ default ListComponentsResponse listComponents(Consumer listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listComponents(ListComponentsRequest.builder().applyMutation(listComponentsRequest).build()); } /** *

* This is a variant of * {@link #listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client
     *             .listComponentsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListComponents * @see AWS API Documentation */ default ListComponentsIterable listComponentsPaginator(ListComponentsRequest listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return new ListComponentsIterable(this, listComponentsRequest); } /** *

* This is a variant of * {@link #listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client
     *             .listComponentsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest.Builder} to create * a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListComponents * @see AWS API Documentation */ default ListComponentsIterable listComponentsPaginator(Consumer listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 Result of the ListConfigurationHistory operation returned by the service. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListConfigurationHistory * @see AWS API Documentation */ default ListConfigurationHistoryResponse listConfigurationHistory( ListConfigurationHistoryRequest listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest.Builder} * to create a request. * @return Result of the ListConfigurationHistory operation returned by the service. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListConfigurationHistory * @see AWS API Documentation */ default ListConfigurationHistoryResponse listConfigurationHistory( Consumer listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listConfigurationHistory(ListConfigurationHistoryRequest.builder().applyMutation(listConfigurationHistoryRequest) .build()); } /** *

* This is a variant of * {@link #listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client
     *             .listConfigurationHistoryPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListConfigurationHistory * @see AWS API Documentation */ default ListConfigurationHistoryIterable listConfigurationHistoryPaginator( ListConfigurationHistoryRequest listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return new ListConfigurationHistoryIterable(this, listConfigurationHistoryRequest); } /** *

* This is a variant of * {@link #listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client
     *             .listConfigurationHistoryPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest.Builder} * to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListConfigurationHistory * @see AWS API Documentation */ default ListConfigurationHistoryIterable listConfigurationHistoryPaginator( Consumer listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listConfigurationHistoryPaginator(ListConfigurationHistoryRequest.builder() .applyMutation(listConfigurationHistoryRequest).build()); } /** *

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

* * @param listLogPatternSetsRequest * @return Result of the ListLogPatternSets operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListLogPatternSets * @see AWS API Documentation */ default ListLogPatternSetsResponse listLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest.Builder} to * create a request. * @return Result of the ListLogPatternSets operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListLogPatternSets * @see AWS API Documentation */ default ListLogPatternSetsResponse listLogPatternSets(Consumer listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listLogPatternSets(ListLogPatternSetsRequest.builder().applyMutation(listLogPatternSetsRequest).build()); } /** *

* This is a variant of * {@link #listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client
     *             .listLogPatternSetsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListLogPatternSets * @see AWS API Documentation */ default ListLogPatternSetsIterable listLogPatternSetsPaginator(ListLogPatternSetsRequest listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return new ListLogPatternSetsIterable(this, listLogPatternSetsRequest); } /** *

* This is a variant of * {@link #listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client
     *             .listLogPatternSetsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest.Builder} to * create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListLogPatternSets * @see AWS API Documentation */ default ListLogPatternSetsIterable listLogPatternSetsPaginator( Consumer listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listLogPatternSetsPaginator(ListLogPatternSetsRequest.builder().applyMutation(listLogPatternSetsRequest).build()); } /** *

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

* * @param listLogPatternsRequest * @return Result of the ListLogPatterns operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListLogPatterns * @see AWS API Documentation */ default ListLogPatternsResponse listLogPatterns(ListLogPatternsRequest listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest.Builder} to create * a request. * @return Result of the ListLogPatterns operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListLogPatterns * @see AWS API Documentation */ default ListLogPatternsResponse listLogPatterns(Consumer listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listLogPatterns(ListLogPatternsRequest.builder().applyMutation(listLogPatternsRequest).build()); } /** *

* This is a variant of * {@link #listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client
     *             .listLogPatternsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListLogPatterns * @see AWS API Documentation */ default ListLogPatternsIterable listLogPatternsPaginator(ListLogPatternsRequest listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return new ListLogPatternsIterable(this, listLogPatternsRequest); } /** *

* This is a variant of * {@link #listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client
     *             .listLogPatternsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest.Builder} to create * a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListLogPatterns * @see AWS API Documentation */ default ListLogPatternsIterable listLogPatternsPaginator(Consumer listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listLogPatternsPaginator(ListLogPatternsRequest.builder().applyMutation(listLogPatternsRequest).build()); } /** *

* Lists the problems with your application. *

* * @param listProblemsRequest * @return Result of the ListProblems operation returned by the service. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListProblems * @see AWS API Documentation */ default ListProblemsResponse listProblems(ListProblemsRequest listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest.Builder} to create a * request. * @return Result of the ListProblems operation returned by the service. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListProblems * @see AWS API Documentation */ default ListProblemsResponse listProblems(Consumer listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listProblems(ListProblemsRequest.builder().applyMutation(listProblemsRequest).build()); } /** *

* This is a variant of * {@link #listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client
     *             .listProblemsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListProblems * @see AWS API Documentation */ default ListProblemsIterable listProblemsPaginator(ListProblemsRequest listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return new ListProblemsIterable(this, listProblemsRequest); } /** *

* This is a variant of * {@link #listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client
     *             .listProblemsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListProblems * @see AWS API Documentation */ default ListProblemsIterable listProblemsPaginator(Consumer listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 Result of the ListTagsForResource operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.ListTagsForResourceRequest.Builder} to * create a request. * @return Result of the ListTagsForResource operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourceResponse listTagsForResource( Consumer listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Lists the workloads that are configured on a given component. *

* * @param listWorkloadsRequest * @return Result of the ListWorkloads operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListWorkloads * @see AWS API Documentation */ default ListWorkloadsResponse listWorkloads(ListWorkloadsRequest listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { throw new UnsupportedOperationException(); } /** *

* Lists the workloads that are configured on a given component. *

*
*

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

* * @param listWorkloadsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest.Builder} to create a * request. * @return Result of the ListWorkloads operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListWorkloads * @see AWS API Documentation */ default ListWorkloadsResponse listWorkloads(Consumer listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listWorkloads(ListWorkloadsRequest.builder().applyMutation(listWorkloadsRequest).build()); } /** *

* This is a variant of * {@link #listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client
     *             .listWorkloadsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 #listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)} * operation. *

* * @param listWorkloadsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListWorkloads * @see AWS API Documentation */ default ListWorkloadsIterable listWorkloadsPaginator(ListWorkloadsRequest listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return new ListWorkloadsIterable(this, listWorkloadsRequest); } /** *

* This is a variant of * {@link #listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client
     *             .listWorkloadsPaginator(request);
     *     for (software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 #listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)} * operation. *

*
*

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

* * @param listWorkloadsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.ListWorkloads * @see AWS API Documentation */ default ListWorkloadsIterable listWorkloadsPaginator(Consumer listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return listWorkloadsPaginator(ListWorkloadsRequest.builder().applyMutation(listWorkloadsRequest).build()); } /** *

* Remove workload from a component. *

* * @param removeWorkloadRequest * @return Result of the RemoveWorkload operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.RemoveWorkload * @see AWS API Documentation */ default RemoveWorkloadResponse removeWorkload(RemoveWorkloadRequest removeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { throw new UnsupportedOperationException(); } /** *

* Remove workload from a component. *

*
*

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

* * @param removeWorkloadRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.applicationinsights.model.RemoveWorkloadRequest.Builder} to create * a request. * @return Result of the RemoveWorkload operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.RemoveWorkload * @see AWS API Documentation */ default RemoveWorkloadResponse removeWorkload(Consumer removeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return removeWorkload(RemoveWorkloadRequest.builder().applyMutation(removeWorkloadRequest).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 Result of the TagResource operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws 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. * @throws ValidationException * The parameter is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.TagResource * @see AWS API Documentation */ default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, TooManyTagsException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.TagResourceRequest.Builder} to create a * request. * @return Result of the TagResource operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws 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. * @throws ValidationException * The parameter is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.TagResource * @see AWS API Documentation */ default TagResourceResponse tagResource(Consumer tagResourceRequest) throws ResourceNotFoundException, TooManyTagsException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

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

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UntagResource * @see AWS API Documentation */ default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.UntagResourceRequest.Builder} to create a * request. * @return Result of the UntagResource operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UntagResource * @see AWS API Documentation */ default UntagResourceResponse untagResource(Consumer untagResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Updates the application. *

* * @param updateApplicationRequest * @return Result of the UpdateApplication operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateApplication * @see AWS API Documentation */ default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.UpdateApplicationRequest.Builder} to * create a request. * @return Result of the UpdateApplication operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateApplication * @see AWS API Documentation */ default UpdateApplicationResponse updateApplication(Consumer updateApplicationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 Result of the UpdateComponent operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateComponent * @see AWS API Documentation */ default UpdateComponentResponse updateComponent(UpdateComponentRequest updateComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.UpdateComponentRequest.Builder} to create * a request. * @return Result of the UpdateComponent operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateComponent * @see AWS API Documentation */ default UpdateComponentResponse updateComponent(Consumer updateComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 Result of the UpdateComponentConfiguration operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ResourceInUseException * The resource is already created or in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateComponentConfiguration * @see AWS API Documentation */ default UpdateComponentConfigurationResponse updateComponentConfiguration( UpdateComponentConfigurationRequest updateComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ResourceInUseException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.UpdateComponentConfigurationRequest.Builder} * to create a request. * @return Result of the UpdateComponentConfiguration operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ResourceInUseException * The resource is already created or in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateComponentConfiguration * @see AWS API Documentation */ default UpdateComponentConfigurationResponse updateComponentConfiguration( Consumer updateComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ResourceInUseException, AwsServiceException, SdkClientException, ApplicationInsightsException { return updateComponentConfiguration(UpdateComponentConfigurationRequest.builder() .applyMutation(updateComponentConfigurationRequest).build()); } /** *

* Adds a log pattern to a LogPatternSet. *

* * @param updateLogPatternRequest * @return Result of the UpdateLogPattern operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateLogPattern * @see AWS API Documentation */ default UpdateLogPatternResponse updateLogPattern(UpdateLogPatternRequest updateLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { 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 software.amazon.awssdk.services.applicationinsights.model.UpdateLogPatternRequest.Builder} to * create a request. * @return Result of the UpdateLogPattern operation returned by the service. * @throws ResourceInUseException * The resource is already created or in use. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateLogPattern * @see AWS API Documentation */ default UpdateLogPatternResponse updateLogPattern(Consumer updateLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return updateLogPattern(UpdateLogPatternRequest.builder().applyMutation(updateLogPatternRequest).build()); } /** *

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

* * @param updateProblemRequest * @return Result of the UpdateProblem operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateProblem * @see AWS API Documentation */ default UpdateProblemResponse updateProblem(UpdateProblemRequest updateProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param updateProblemRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.applicationinsights.model.UpdateProblemRequest.Builder} to create a * request. * @return Result of the UpdateProblem operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The parameter is not valid. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateProblem * @see AWS API Documentation */ default UpdateProblemResponse updateProblem(Consumer updateProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException { return updateProblem(UpdateProblemRequest.builder().applyMutation(updateProblemRequest).build()); } /** *

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

* * @param updateWorkloadRequest * @return Result of the UpdateWorkload operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateWorkload * @see AWS API Documentation */ default UpdateWorkloadResponse updateWorkload(UpdateWorkloadRequest updateWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param updateWorkloadRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.applicationinsights.model.UpdateWorkloadRequest.Builder} to create * a request. * @return Result of the UpdateWorkload operation returned by the service. * @throws ResourceNotFoundException * The resource does not exist in the customer account. * @throws ValidationException * The parameter is not valid. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApplicationInsightsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApplicationInsightsClient.UpdateWorkload * @see AWS API Documentation */ default UpdateWorkloadResponse updateWorkload(Consumer updateWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException { return updateWorkload(UpdateWorkloadRequest.builder().applyMutation(updateWorkloadRequest).build()); } /** * Create a {@link ApplicationInsightsClient} 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 ApplicationInsightsClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link ApplicationInsightsClient}. */ static ApplicationInsightsClientBuilder builder() { return new DefaultApplicationInsightsClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default ApplicationInsightsServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy