Interface ApplicationInsightsClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ApplicationInsightsClient extends AwsClient
Service client for accessing Application Insights. This can be created using the staticbuilder()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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
addWorkload
default AddWorkloadResponse addWorkload(AddWorkloadRequest addWorkloadRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds a workload to a component. Each component can have at most five workloads.
- Parameters:
addWorkloadRequest-- Returns:
- Result of the AddWorkload operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
addWorkload
default AddWorkloadResponse addWorkload(Consumer<AddWorkloadRequest.Builder> addWorkloadRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds a workload to a component. Each component can have at most five workloads.
This is a convenience which creates an instance of the
AddWorkloadRequest.Builderavoiding the need to create one manually viaAddWorkloadRequest.builder()- Parameters:
addWorkloadRequest- AConsumerthat will call methods onAddWorkloadRequest.Builderto create a request.- Returns:
- Result of the AddWorkload operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createApplication
default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, TagsAlreadyExistException, AccessDeniedException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds an application that is created from a resource group.
- Parameters:
createApplicationRequest-- Returns:
- Result of the CreateApplication operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.TagsAlreadyExistException- Tags are already registered for the specified application ARN.AccessDeniedException- User does not have permissions to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createApplication
default CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, TagsAlreadyExistException, AccessDeniedException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds an application that is created from a resource group.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builderavoiding the need to create one manually viaCreateApplicationRequest.builder()- Parameters:
createApplicationRequest- AConsumerthat will call methods onCreateApplicationRequest.Builderto create a request.- Returns:
- Result of the CreateApplication operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.TagsAlreadyExistException- Tags are already registered for the specified application ARN.AccessDeniedException- User does not have permissions to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createComponent
default CreateComponentResponse createComponent(CreateComponentRequest createComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Creates a custom component by grouping similar standalone instances to monitor.
- Parameters:
createComponentRequest-- Returns:
- Result of the CreateComponent operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createComponent
default CreateComponentResponse createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Creates a custom component by grouping similar standalone instances to monitor.
This is a convenience which creates an instance of the
CreateComponentRequest.Builderavoiding the need to create one manually viaCreateComponentRequest.builder()- Parameters:
createComponentRequest- AConsumerthat will call methods onCreateComponentRequest.Builderto create a request.- Returns:
- Result of the CreateComponent operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLogPattern
default CreateLogPatternResponse createLogPattern(CreateLogPatternRequest createLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds an log pattern to a
LogPatternSet.- Parameters:
createLogPatternRequest-- Returns:
- Result of the CreateLogPattern operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLogPattern
default CreateLogPatternResponse createLogPattern(Consumer<CreateLogPatternRequest.Builder> createLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds an log pattern to a
LogPatternSet.
This is a convenience which creates an instance of the
CreateLogPatternRequest.Builderavoiding the need to create one manually viaCreateLogPatternRequest.builder()- Parameters:
createLogPatternRequest- AConsumerthat will call methods onCreateLogPatternRequest.Builderto create a request.- Returns:
- Result of the CreateLogPattern operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplication
default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Removes the specified application from monitoring. Does not delete the application.
- Parameters:
deleteApplicationRequest-- Returns:
- Result of the DeleteApplication operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.BadRequestException- The request is not understood by the server.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplication
default DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Removes the specified application from monitoring. Does not delete the application.
This is a convenience which creates an instance of the
DeleteApplicationRequest.Builderavoiding the need to create one manually viaDeleteApplicationRequest.builder()- Parameters:
deleteApplicationRequest- AConsumerthat will call methods onDeleteApplicationRequest.Builderto create a request.- Returns:
- Result of the DeleteApplication operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.BadRequestException- The request is not understood by the server.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteComponent
default DeleteComponentResponse deleteComponent(DeleteComponentRequest deleteComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
- Parameters:
deleteComponentRequest-- Returns:
- Result of the DeleteComponent operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteComponent
default DeleteComponentResponse deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
This is a convenience which creates an instance of the
DeleteComponentRequest.Builderavoiding the need to create one manually viaDeleteComponentRequest.builder()- Parameters:
deleteComponentRequest- AConsumerthat will call methods onDeleteComponentRequest.Builderto create a request.- Returns:
- Result of the DeleteComponent operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLogPattern
default DeleteLogPatternResponse deleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Removes the specified log pattern from a
LogPatternSet.- Parameters:
deleteLogPatternRequest-- Returns:
- Result of the DeleteLogPattern operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.BadRequestException- The request is not understood by the server.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLogPattern
default DeleteLogPatternResponse deleteLogPattern(Consumer<DeleteLogPatternRequest.Builder> deleteLogPatternRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Removes the specified log pattern from a
LogPatternSet.
This is a convenience which creates an instance of the
DeleteLogPatternRequest.Builderavoiding the need to create one manually viaDeleteLogPatternRequest.builder()- Parameters:
deleteLogPatternRequest- AConsumerthat will call methods onDeleteLogPatternRequest.Builderto create a request.- Returns:
- Result of the DeleteLogPattern operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.BadRequestException- The request is not understood by the server.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeApplication
default DescribeApplicationResponse describeApplication(DescribeApplicationRequest describeApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the application.
- Parameters:
describeApplicationRequest-- Returns:
- Result of the DescribeApplication operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeApplication
default DescribeApplicationResponse describeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the application.
This is a convenience which creates an instance of the
DescribeApplicationRequest.Builderavoiding the need to create one manually viaDescribeApplicationRequest.builder()- Parameters:
describeApplicationRequest- AConsumerthat will call methods onDescribeApplicationRequest.Builderto create a request.- Returns:
- Result of the DescribeApplication operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeComponent
default DescribeComponentResponse describeComponent(DescribeComponentRequest describeComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes a component and lists the resources that are grouped together in a component.
- Parameters:
describeComponentRequest-- Returns:
- Result of the DescribeComponent operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeComponent
default DescribeComponentResponse describeComponent(Consumer<DescribeComponentRequest.Builder> describeComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes a component and lists the resources that are grouped together in a component.
This is a convenience which creates an instance of the
DescribeComponentRequest.Builderavoiding the need to create one manually viaDescribeComponentRequest.builder()- Parameters:
describeComponentRequest- AConsumerthat will call methods onDescribeComponentRequest.Builderto create a request.- Returns:
- Result of the DescribeComponent operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeComponentConfiguration
default DescribeComponentConfigurationResponse describeComponentConfiguration(DescribeComponentConfigurationRequest describeComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the monitoring configuration of the component.
- Parameters:
describeComponentConfigurationRequest-- Returns:
- Result of the DescribeComponentConfiguration operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeComponentConfiguration
default DescribeComponentConfigurationResponse describeComponentConfiguration(Consumer<DescribeComponentConfigurationRequest.Builder> describeComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the monitoring configuration of the component.
This is a convenience which creates an instance of the
DescribeComponentConfigurationRequest.Builderavoiding the need to create one manually viaDescribeComponentConfigurationRequest.builder()- Parameters:
describeComponentConfigurationRequest- AConsumerthat will call methods onDescribeComponentConfigurationRequest.Builderto create a request.- Returns:
- Result of the DescribeComponentConfiguration operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeComponentConfigurationRecommendation
default DescribeComponentConfigurationRecommendationResponse describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the recommended monitoring configuration of the component.
- Parameters:
describeComponentConfigurationRecommendationRequest-- Returns:
- Result of the DescribeComponentConfigurationRecommendation operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeComponentConfigurationRecommendation
default DescribeComponentConfigurationRecommendationResponse describeComponentConfigurationRecommendation(Consumer<DescribeComponentConfigurationRecommendationRequest.Builder> describeComponentConfigurationRecommendationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the recommended monitoring configuration of the component.
This is a convenience which creates an instance of the
DescribeComponentConfigurationRecommendationRequest.Builderavoiding the need to create one manually viaDescribeComponentConfigurationRecommendationRequest.builder()- Parameters:
describeComponentConfigurationRecommendationRequest- AConsumerthat will call methods onDescribeComponentConfigurationRecommendationRequest.Builderto create a request.- Returns:
- Result of the DescribeComponentConfigurationRecommendation operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeLogPattern
default DescribeLogPatternResponse describeLogPattern(DescribeLogPatternRequest describeLogPatternRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describe a specific log pattern from a
LogPatternSet.- Parameters:
describeLogPatternRequest-- Returns:
- Result of the DescribeLogPattern operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeLogPattern
default DescribeLogPatternResponse describeLogPattern(Consumer<DescribeLogPatternRequest.Builder> describeLogPatternRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describe a specific log pattern from a
LogPatternSet.
This is a convenience which creates an instance of the
DescribeLogPatternRequest.Builderavoiding the need to create one manually viaDescribeLogPatternRequest.builder()- Parameters:
describeLogPatternRequest- AConsumerthat will call methods onDescribeLogPatternRequest.Builderto create a request.- Returns:
- Result of the DescribeLogPattern operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeObservation
default DescribeObservationResponse describeObservation(DescribeObservationRequest describeObservationRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes an anomaly or error with the application.
- Parameters:
describeObservationRequest-- Returns:
- Result of the DescribeObservation operation returned by the service.
- Throws:
InternalServerException- The server encountered an internal error and is unable to complete the request.ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeObservation
default DescribeObservationResponse describeObservation(Consumer<DescribeObservationRequest.Builder> describeObservationRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes an anomaly or error with the application.
This is a convenience which creates an instance of the
DescribeObservationRequest.Builderavoiding the need to create one manually viaDescribeObservationRequest.builder()- Parameters:
describeObservationRequest- AConsumerthat will call methods onDescribeObservationRequest.Builderto create a request.- Returns:
- Result of the DescribeObservation operation returned by the service.
- Throws:
InternalServerException- The server encountered an internal error and is unable to complete the request.ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeProblem
default DescribeProblemResponse describeProblem(DescribeProblemRequest describeProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes an application problem.
- Parameters:
describeProblemRequest-- Returns:
- Result of the DescribeProblem operation returned by the service.
- Throws:
InternalServerException- The server encountered an internal error and is unable to complete the request.ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeProblem
default DescribeProblemResponse describeProblem(Consumer<DescribeProblemRequest.Builder> describeProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes an application problem.
This is a convenience which creates an instance of the
DescribeProblemRequest.Builderavoiding the need to create one manually viaDescribeProblemRequest.builder()- Parameters:
describeProblemRequest- AConsumerthat will call methods onDescribeProblemRequest.Builderto create a request.- Returns:
- Result of the DescribeProblem operation returned by the service.
- Throws:
InternalServerException- The server encountered an internal error and is unable to complete the request.ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeProblemObservations
default DescribeProblemObservationsResponse describeProblemObservations(DescribeProblemObservationsRequest describeProblemObservationsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the anomalies or errors associated with the problem.
- Parameters:
describeProblemObservationsRequest-- Returns:
- Result of the DescribeProblemObservations operation returned by the service.
- Throws:
InternalServerException- The server encountered an internal error and is unable to complete the request.ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeProblemObservations
default DescribeProblemObservationsResponse describeProblemObservations(Consumer<DescribeProblemObservationsRequest.Builder> describeProblemObservationsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the anomalies or errors associated with the problem.
This is a convenience which creates an instance of the
DescribeProblemObservationsRequest.Builderavoiding the need to create one manually viaDescribeProblemObservationsRequest.builder()- Parameters:
describeProblemObservationsRequest- AConsumerthat will call methods onDescribeProblemObservationsRequest.Builderto create a request.- Returns:
- Result of the DescribeProblemObservations operation returned by the service.
- Throws:
InternalServerException- The server encountered an internal error and is unable to complete the request.ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeWorkload
default DescribeWorkloadResponse describeWorkload(DescribeWorkloadRequest describeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes a workload and its configuration.
- Parameters:
describeWorkloadRequest-- Returns:
- Result of the DescribeWorkload operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeWorkload
default DescribeWorkloadResponse describeWorkload(Consumer<DescribeWorkloadRequest.Builder> describeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes a workload and its configuration.
This is a convenience which creates an instance of the
DescribeWorkloadRequest.Builderavoiding the need to create one manually viaDescribeWorkloadRequest.builder()- Parameters:
describeWorkloadRequest- AConsumerthat will call methods onDescribeWorkloadRequest.Builderto create a request.- Returns:
- Result of the DescribeWorkload operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listApplications
default ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the IDs of the applications that you are monitoring.
- Parameters:
listApplicationsRequest-- Returns:
- Result of the ListApplications operation returned by the service.
- Throws:
ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listApplications
default ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the IDs of the applications that you are monitoring.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- Result of the ListApplications operation returned by the service.
- Throws:
ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listApplicationsPaginator
default ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)operation.- Parameters:
listApplicationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listApplicationsPaginator
default ListApplicationsIterable listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)operation.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listComponents
default ListComponentsResponse listComponents(ListComponentsRequest listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the auto-grouped, standalone, and custom components of the application.
- Parameters:
listComponentsRequest-- Returns:
- Result of the ListComponents operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listComponents
default ListComponentsResponse listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the auto-grouped, standalone, and custom components of the application.
This is a convenience which creates an instance of the
ListComponentsRequest.Builderavoiding the need to create one manually viaListComponentsRequest.builder()- Parameters:
listComponentsRequest- AConsumerthat will call methods onListComponentsRequest.Builderto create a request.- Returns:
- Result of the ListComponents operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listComponentsPaginator
default ListComponentsIterable listComponentsPaginator(ListComponentsRequest listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)operation.- Parameters:
listComponentsRequest-- Returns:
- 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.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listComponentsPaginator
default ListComponentsIterable listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)operation.
This is a convenience which creates an instance of the
ListComponentsRequest.Builderavoiding the need to create one manually viaListComponentsRequest.builder()- Parameters:
listComponentsRequest- AConsumerthat will call methods onListComponentsRequest.Builderto create a request.- Returns:
- 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.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationHistory
default ListConfigurationHistoryResponse listConfigurationHistory(ListConfigurationHistoryRequest listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
-
INFO: creating a new alarm or updating an alarm threshold.
-
WARN: alarm not created due to insufficient data points used to predict thresholds.
-
ERROR: alarm not created due to permission errors or exceeding quotas.
- Parameters:
listConfigurationHistoryRequest-- Returns:
- Result of the ListConfigurationHistory operation returned by the service.
- Throws:
ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
listConfigurationHistory
default ListConfigurationHistoryResponse listConfigurationHistory(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
-
INFO: creating a new alarm or updating an alarm threshold.
-
WARN: alarm not created due to insufficient data points used to predict thresholds.
-
ERROR: alarm not created due to permission errors or exceeding quotas.
This is a convenience which creates an instance of the
ListConfigurationHistoryRequest.Builderavoiding the need to create one manually viaListConfigurationHistoryRequest.builder()- Parameters:
listConfigurationHistoryRequest- AConsumerthat will call methods onListConfigurationHistoryRequest.Builderto create a request.- Returns:
- Result of the ListConfigurationHistory operation returned by the service.
- Throws:
ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
listConfigurationHistoryPaginator
default ListConfigurationHistoryIterable listConfigurationHistoryPaginator(ListConfigurationHistoryRequest listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)operation.- Parameters:
listConfigurationHistoryRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationHistoryPaginator
default ListConfigurationHistoryIterable listConfigurationHistoryPaginator(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)operation.
This is a convenience which creates an instance of the
ListConfigurationHistoryRequest.Builderavoiding the need to create one manually viaListConfigurationHistoryRequest.builder()- Parameters:
listConfigurationHistoryRequest- AConsumerthat will call methods onListConfigurationHistoryRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLogPatternSets
default ListLogPatternSetsResponse listLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log pattern sets in the specific application.
- Parameters:
listLogPatternSetsRequest-- Returns:
- Result of the ListLogPatternSets operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLogPatternSets
default ListLogPatternSetsResponse listLogPatternSets(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log pattern sets in the specific application.
This is a convenience which creates an instance of the
ListLogPatternSetsRequest.Builderavoiding the need to create one manually viaListLogPatternSetsRequest.builder()- Parameters:
listLogPatternSetsRequest- AConsumerthat will call methods onListLogPatternSetsRequest.Builderto create a request.- Returns:
- Result of the ListLogPatternSets operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLogPatternSetsPaginator
default ListLogPatternSetsIterable listLogPatternSetsPaginator(ListLogPatternSetsRequest listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)operation.- Parameters:
listLogPatternSetsRequest-- Returns:
- 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.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLogPatternSetsPaginator
default ListLogPatternSetsIterable listLogPatternSetsPaginator(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)operation.
This is a convenience which creates an instance of the
ListLogPatternSetsRequest.Builderavoiding the need to create one manually viaListLogPatternSetsRequest.builder()- Parameters:
listLogPatternSetsRequest- AConsumerthat will call methods onListLogPatternSetsRequest.Builderto create a request.- Returns:
- 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.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLogPatterns
default ListLogPatternsResponse listLogPatterns(ListLogPatternsRequest listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log patterns in the specific log
LogPatternSet.- Parameters:
listLogPatternsRequest-- Returns:
- Result of the ListLogPatterns operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLogPatterns
default ListLogPatternsResponse listLogPatterns(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log patterns in the specific log
LogPatternSet.
This is a convenience which creates an instance of the
ListLogPatternsRequest.Builderavoiding the need to create one manually viaListLogPatternsRequest.builder()- Parameters:
listLogPatternsRequest- AConsumerthat will call methods onListLogPatternsRequest.Builderto create a request.- Returns:
- Result of the ListLogPatterns operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLogPatternsPaginator
default ListLogPatternsIterable listLogPatternsPaginator(ListLogPatternsRequest listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)operation.- Parameters:
listLogPatternsRequest-- Returns:
- 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.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLogPatternsPaginator
default ListLogPatternsIterable listLogPatternsPaginator(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)operation.
This is a convenience which creates an instance of the
ListLogPatternsRequest.Builderavoiding the need to create one manually viaListLogPatternsRequest.builder()- Parameters:
listLogPatternsRequest- AConsumerthat will call methods onListLogPatternsRequest.Builderto create a request.- Returns:
- 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.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProblems
default ListProblemsResponse listProblems(ListProblemsRequest listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the problems with your application.
- Parameters:
listProblemsRequest-- Returns:
- Result of the ListProblems operation returned by the service.
- Throws:
ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProblems
default ListProblemsResponse listProblems(Consumer<ListProblemsRequest.Builder> listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the problems with your application.
This is a convenience which creates an instance of the
ListProblemsRequest.Builderavoiding the need to create one manually viaListProblemsRequest.builder()- Parameters:
listProblemsRequest- AConsumerthat will call methods onListProblemsRequest.Builderto create a request.- Returns:
- Result of the ListProblems operation returned by the service.
- Throws:
ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProblemsPaginator
default ListProblemsIterable listProblemsPaginator(ListProblemsRequest listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)operation.- Parameters:
listProblemsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProblemsPaginator
default ListProblemsIterable listProblemsPaginator(Consumer<ListProblemsRequest.Builder> listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)operation.
This is a convenience which creates an instance of the
ListProblemsRequest.Builderavoiding the need to create one manually viaListProblemsRequest.builder()- Parameters:
listProblemsRequest- AConsumerthat will call methods onListProblemsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloads
default ListWorkloadsResponse listWorkloads(ListWorkloadsRequest listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the workloads that are configured on a given component.
- Parameters:
listWorkloadsRequest-- Returns:
- Result of the ListWorkloads operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloads
default ListWorkloadsResponse listWorkloads(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the workloads that are configured on a given component.
This is a convenience which creates an instance of the
ListWorkloadsRequest.Builderavoiding the need to create one manually viaListWorkloadsRequest.builder()- Parameters:
listWorkloadsRequest- AConsumerthat will call methods onListWorkloadsRequest.Builderto create a request.- Returns:
- Result of the ListWorkloads operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloadsPaginator
default ListWorkloadsIterable listWorkloadsPaginator(ListWorkloadsRequest listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)operation.- Parameters:
listWorkloadsRequest-- Returns:
- 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.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloadsPaginator
default ListWorkloadsIterable listWorkloadsPaginator(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)operation.
This is a convenience which creates an instance of the
ListWorkloadsRequest.Builderavoiding the need to create one manually viaListWorkloadsRequest.builder()- Parameters:
listWorkloadsRequest- AConsumerthat will call methods onListWorkloadsRequest.Builderto create a request.- Returns:
- 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.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
removeWorkload
default RemoveWorkloadResponse removeWorkload(RemoveWorkloadRequest removeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Remove workload from a component.
- Parameters:
removeWorkloadRequest-- Returns:
- Result of the RemoveWorkload operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
removeWorkload
default RemoveWorkloadResponse removeWorkload(Consumer<RemoveWorkloadRequest.Builder> removeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Remove workload from a component.
This is a convenience which creates an instance of the
RemoveWorkloadRequest.Builderavoiding the need to create one manually viaRemoveWorkloadRequest.builder()- Parameters:
removeWorkloadRequest- AConsumerthat will call methods onRemoveWorkloadRequest.Builderto create a request.- Returns:
- Result of the RemoveWorkload operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, TooManyTagsException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.TooManyTagsException- The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit.ValidationException- The parameter is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, TooManyTagsException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.TooManyTagsException- The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit.ValidationException- The parameter is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Remove one or more tags (keys and values) from a specified application.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Remove one or more tags (keys and values) from a specified application.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateApplication
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the application.
- Parameters:
updateApplicationRequest-- Returns:
- Result of the UpdateApplication operation returned by the service.
- Throws:
InternalServerException- The server encountered an internal error and is unable to complete the request.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateApplication
default UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the application.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builderavoiding the need to create one manually viaUpdateApplicationRequest.builder()- Parameters:
updateApplicationRequest- AConsumerthat will call methods onUpdateApplicationRequest.Builderto create a request.- Returns:
- Result of the UpdateApplication operation returned by the service.
- Throws:
InternalServerException- The server encountered an internal error and is unable to complete the request.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateComponent
default UpdateComponentResponse updateComponent(UpdateComponentRequest updateComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the custom component name and/or the list of resources that make up the component.
- Parameters:
updateComponentRequest-- Returns:
- Result of the UpdateComponent operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateComponent
default UpdateComponentResponse updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the custom component name and/or the list of resources that make up the component.
This is a convenience which creates an instance of the
UpdateComponentRequest.Builderavoiding the need to create one manually viaUpdateComponentRequest.builder()- Parameters:
updateComponentRequest- AConsumerthat will call methods onUpdateComponentRequest.Builderto create a request.- Returns:
- Result of the UpdateComponent operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateComponentConfiguration
default UpdateComponentConfigurationResponse updateComponentConfiguration(UpdateComponentConfigurationRequest updateComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ResourceInUseException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by
DescribeComponentConfigurationRecommendation.- Parameters:
updateComponentConfigurationRequest-- Returns:
- Result of the UpdateComponentConfiguration operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.ResourceInUseException- The resource is already created or in use.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateComponentConfiguration
default UpdateComponentConfigurationResponse updateComponentConfiguration(Consumer<UpdateComponentConfigurationRequest.Builder> updateComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ResourceInUseException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by
DescribeComponentConfigurationRecommendation.
This is a convenience which creates an instance of the
UpdateComponentConfigurationRequest.Builderavoiding the need to create one manually viaUpdateComponentConfigurationRequest.builder()- Parameters:
updateComponentConfigurationRequest- AConsumerthat will call methods onUpdateComponentConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateComponentConfiguration operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.ResourceInUseException- The resource is already created or in use.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateLogPattern
default UpdateLogPatternResponse updateLogPattern(UpdateLogPatternRequest updateLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds a log pattern to a
LogPatternSet.- Parameters:
updateLogPatternRequest-- Returns:
- Result of the UpdateLogPattern operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateLogPattern
default UpdateLogPatternResponse updateLogPattern(Consumer<UpdateLogPatternRequest.Builder> updateLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds a log pattern to a
LogPatternSet.
This is a convenience which creates an instance of the
UpdateLogPatternRequest.Builderavoiding the need to create one manually viaUpdateLogPatternRequest.builder()- Parameters:
updateLogPatternRequest- AConsumerthat will call methods onUpdateLogPatternRequest.Builderto create a request.- Returns:
- Result of the UpdateLogPattern operation returned by the service.
- Throws:
ResourceInUseException- The resource is already created or in use.ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateProblem
default UpdateProblemResponse updateProblem(UpdateProblemRequest updateProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the visibility of the problem or specifies the problem as
RESOLVED.- Parameters:
updateProblemRequest-- Returns:
- Result of the UpdateProblem operation returned by the service.
- Throws:
InternalServerException- The server encountered an internal error and is unable to complete the request.ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateProblem
default UpdateProblemResponse updateProblem(Consumer<UpdateProblemRequest.Builder> updateProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the visibility of the problem or specifies the problem as
RESOLVED.
This is a convenience which creates an instance of the
UpdateProblemRequest.Builderavoiding the need to create one manually viaUpdateProblemRequest.builder()- Parameters:
updateProblemRequest- AConsumerthat will call methods onUpdateProblemRequest.Builderto create a request.- Returns:
- Result of the UpdateProblem operation returned by the service.
- Throws:
InternalServerException- The server encountered an internal error and is unable to complete the request.ValidationException- The parameter is not valid.ResourceNotFoundException- The resource does not exist in the customer account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateWorkload
default UpdateWorkloadResponse updateWorkload(UpdateWorkloadRequest updateWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds a workload to a component. Each component can have at most five workloads.
- Parameters:
updateWorkloadRequest-- Returns:
- Result of the UpdateWorkload operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateWorkload
default UpdateWorkloadResponse updateWorkload(Consumer<UpdateWorkloadRequest.Builder> updateWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds a workload to a component. Each component can have at most five workloads.
This is a convenience which creates an instance of the
UpdateWorkloadRequest.Builderavoiding the need to create one manually viaUpdateWorkloadRequest.builder()- Parameters:
updateWorkloadRequest- AConsumerthat will call methods onUpdateWorkloadRequest.Builderto create a request.- Returns:
- Result of the UpdateWorkload operation returned by the service.
- Throws:
ResourceNotFoundException- The resource does not exist in the customer account.ValidationException- The parameter is not valid.InternalServerException- The server encountered an internal error and is unable to complete the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static ApplicationInsightsClient create()
Create aApplicationInsightsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static ApplicationInsightsClientBuilder builder()
Create a builder that can be used to configure and create aApplicationInsightsClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default ApplicationInsightsServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-