Interface ApplicationInsightsAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
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
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompletableFuture
<AddWorkloadResponse> addWorkload
(Consumer<AddWorkloadRequest.Builder> addWorkloadRequest) Adds a workload to a component.default CompletableFuture
<AddWorkloadResponse> addWorkload
(AddWorkloadRequest addWorkloadRequest) Adds a workload to a component.builder()
Create a builder that can be used to configure and create aApplicationInsightsAsyncClient
.create()
Create aApplicationInsightsAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createApplication
(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Adds an application that is created from a resource group.createApplication
(CreateApplicationRequest createApplicationRequest) Adds an application that is created from a resource group.default CompletableFuture
<CreateComponentResponse> createComponent
(Consumer<CreateComponentRequest.Builder> createComponentRequest) Creates a custom component by grouping similar standalone instances to monitor.default CompletableFuture
<CreateComponentResponse> createComponent
(CreateComponentRequest createComponentRequest) Creates a custom component by grouping similar standalone instances to monitor.createLogPattern
(Consumer<CreateLogPatternRequest.Builder> createLogPatternRequest) Adds an log pattern to aLogPatternSet
.createLogPattern
(CreateLogPatternRequest createLogPatternRequest) Adds an log pattern to aLogPatternSet
.deleteApplication
(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Removes the specified application from monitoring.deleteApplication
(DeleteApplicationRequest deleteApplicationRequest) Removes the specified application from monitoring.default CompletableFuture
<DeleteComponentResponse> deleteComponent
(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) Ungroups a custom component.default CompletableFuture
<DeleteComponentResponse> deleteComponent
(DeleteComponentRequest deleteComponentRequest) Ungroups a custom component.deleteLogPattern
(Consumer<DeleteLogPatternRequest.Builder> deleteLogPatternRequest) Removes the specified log pattern from aLogPatternSet
.deleteLogPattern
(DeleteLogPatternRequest deleteLogPatternRequest) Removes the specified log pattern from aLogPatternSet
.describeApplication
(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) Describes the application.describeApplication
(DescribeApplicationRequest describeApplicationRequest) Describes the application.describeComponent
(Consumer<DescribeComponentRequest.Builder> describeComponentRequest) Describes a component and lists the resources that are grouped together in a component.describeComponent
(DescribeComponentRequest describeComponentRequest) Describes a component and lists the resources that are grouped together in a component.describeComponentConfiguration
(Consumer<DescribeComponentConfigurationRequest.Builder> describeComponentConfigurationRequest) Describes the monitoring configuration of the component.describeComponentConfiguration
(DescribeComponentConfigurationRequest describeComponentConfigurationRequest) Describes the monitoring configuration of the component.describeComponentConfigurationRecommendation
(Consumer<DescribeComponentConfigurationRecommendationRequest.Builder> describeComponentConfigurationRecommendationRequest) Describes the recommended monitoring configuration of the component.describeComponentConfigurationRecommendation
(DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest) Describes the recommended monitoring configuration of the component.describeLogPattern
(Consumer<DescribeLogPatternRequest.Builder> describeLogPatternRequest) Describe a specific log pattern from aLogPatternSet
.describeLogPattern
(DescribeLogPatternRequest describeLogPatternRequest) Describe a specific log pattern from aLogPatternSet
.describeObservation
(Consumer<DescribeObservationRequest.Builder> describeObservationRequest) Describes an anomaly or error with the application.describeObservation
(DescribeObservationRequest describeObservationRequest) Describes an anomaly or error with the application.default CompletableFuture
<DescribeProblemResponse> describeProblem
(Consumer<DescribeProblemRequest.Builder> describeProblemRequest) Describes an application problem.default CompletableFuture
<DescribeProblemResponse> describeProblem
(DescribeProblemRequest describeProblemRequest) Describes an application problem.describeProblemObservations
(Consumer<DescribeProblemObservationsRequest.Builder> describeProblemObservationsRequest) Describes the anomalies or errors associated with the problem.describeProblemObservations
(DescribeProblemObservationsRequest describeProblemObservationsRequest) Describes the anomalies or errors associated with the problem.describeWorkload
(Consumer<DescribeWorkloadRequest.Builder> describeWorkloadRequest) Describes a workload and its configuration.describeWorkload
(DescribeWorkloadRequest describeWorkloadRequest) Describes a workload and its configuration.listApplications
(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Lists the IDs of the applications that you are monitoring.listApplications
(ListApplicationsRequest listApplicationsRequest) Lists the IDs of the applications that you are monitoring.default ListApplicationsPublisher
listApplicationsPaginator
(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)
operation.default ListApplicationsPublisher
listApplicationsPaginator
(ListApplicationsRequest listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)
operation.default CompletableFuture
<ListComponentsResponse> listComponents
(Consumer<ListComponentsRequest.Builder> listComponentsRequest) Lists the auto-grouped, standalone, and custom components of the application.default CompletableFuture
<ListComponentsResponse> listComponents
(ListComponentsRequest listComponentsRequest) Lists the auto-grouped, standalone, and custom components of the application.default ListComponentsPublisher
listComponentsPaginator
(Consumer<ListComponentsRequest.Builder> listComponentsRequest) This is a variant oflistComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)
operation.default ListComponentsPublisher
listComponentsPaginator
(ListComponentsRequest listComponentsRequest) This is a variant oflistComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)
operation.listConfigurationHistory
(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.listConfigurationHistory
(ListConfigurationHistoryRequest listConfigurationHistoryRequest) Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.listConfigurationHistoryPaginator
(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) This is a variant oflistConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation.listConfigurationHistoryPaginator
(ListConfigurationHistoryRequest listConfigurationHistoryRequest) This is a variant oflistConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation.default CompletableFuture
<ListLogPatternsResponse> listLogPatterns
(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) Lists the log patterns in the specific logLogPatternSet
.default CompletableFuture
<ListLogPatternsResponse> listLogPatterns
(ListLogPatternsRequest listLogPatternsRequest) Lists the log patterns in the specific logLogPatternSet
.listLogPatternSets
(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) Lists the log pattern sets in the specific application.listLogPatternSets
(ListLogPatternSetsRequest listLogPatternSetsRequest) Lists the log pattern sets in the specific application.default ListLogPatternSetsPublisher
listLogPatternSetsPaginator
(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) This is a variant oflistLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)
operation.default ListLogPatternSetsPublisher
listLogPatternSetsPaginator
(ListLogPatternSetsRequest listLogPatternSetsRequest) This is a variant oflistLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)
operation.default ListLogPatternsPublisher
listLogPatternsPaginator
(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) This is a variant oflistLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)
operation.default ListLogPatternsPublisher
listLogPatternsPaginator
(ListLogPatternsRequest listLogPatternsRequest) This is a variant oflistLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)
operation.default CompletableFuture
<ListProblemsResponse> listProblems
(Consumer<ListProblemsRequest.Builder> listProblemsRequest) Lists the problems with your application.default CompletableFuture
<ListProblemsResponse> listProblems
(ListProblemsRequest listProblemsRequest) Lists the problems with your application.default ListProblemsPublisher
listProblemsPaginator
(Consumer<ListProblemsRequest.Builder> listProblemsRequest) This is a variant oflistProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)
operation.default ListProblemsPublisher
listProblemsPaginator
(ListProblemsRequest listProblemsRequest) This is a variant oflistProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieve a list of the tags (keys and values) that are associated with a specified application.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Retrieve a list of the tags (keys and values) that are associated with a specified application.default CompletableFuture
<ListWorkloadsResponse> listWorkloads
(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) Lists the workloads that are configured on a given component.default CompletableFuture
<ListWorkloadsResponse> listWorkloads
(ListWorkloadsRequest listWorkloadsRequest) Lists the workloads that are configured on a given component.default ListWorkloadsPublisher
listWorkloadsPaginator
(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) This is a variant oflistWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)
operation.default ListWorkloadsPublisher
listWorkloadsPaginator
(ListWorkloadsRequest listWorkloadsRequest) This is a variant oflistWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)
operation.default CompletableFuture
<RemoveWorkloadResponse> removeWorkload
(Consumer<RemoveWorkloadRequest.Builder> removeWorkloadRequest) Remove workload from a component.default CompletableFuture
<RemoveWorkloadResponse> removeWorkload
(RemoveWorkloadRequest removeWorkloadRequest) Remove workload from a component.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add one or more tags (keys and values) to a specified application.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Add one or more tags (keys and values) to a specified application.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove one or more tags (keys and values) from a specified application.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Remove one or more tags (keys and values) from a specified application.updateApplication
(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates the application.updateApplication
(UpdateApplicationRequest updateApplicationRequest) Updates the application.default CompletableFuture
<UpdateComponentResponse> updateComponent
(Consumer<UpdateComponentRequest.Builder> updateComponentRequest) Updates the custom component name and/or the list of resources that make up the component.default CompletableFuture
<UpdateComponentResponse> updateComponent
(UpdateComponentRequest updateComponentRequest) Updates the custom component name and/or the list of resources that make up the component.updateComponentConfiguration
(Consumer<UpdateComponentConfigurationRequest.Builder> updateComponentConfigurationRequest) Updates the monitoring configurations for the component.updateComponentConfiguration
(UpdateComponentConfigurationRequest updateComponentConfigurationRequest) Updates the monitoring configurations for the component.updateLogPattern
(Consumer<UpdateLogPatternRequest.Builder> updateLogPatternRequest) Adds a log pattern to aLogPatternSet
.updateLogPattern
(UpdateLogPatternRequest updateLogPatternRequest) Adds a log pattern to aLogPatternSet
.default CompletableFuture
<UpdateProblemResponse> updateProblem
(Consumer<UpdateProblemRequest.Builder> updateProblemRequest) Updates the visibility of the problem or specifies the problem asRESOLVED
.default CompletableFuture
<UpdateProblemResponse> updateProblem
(UpdateProblemRequest updateProblemRequest) Updates the visibility of the problem or specifies the problem asRESOLVED
.default CompletableFuture
<UpdateWorkloadResponse> updateWorkload
(Consumer<UpdateWorkloadRequest.Builder> updateWorkloadRequest) Adds a workload to a component.default CompletableFuture
<UpdateWorkloadResponse> updateWorkload
(UpdateWorkloadRequest updateWorkloadRequest) Adds a workload to a component.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
addWorkload
Adds a workload to a component. Each component can have at most five workloads.
- Parameters:
addWorkloadRequest
-- Returns:
- A Java Future containing the result of the AddWorkload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addWorkload
default CompletableFuture<AddWorkloadResponse> addWorkload(Consumer<AddWorkloadRequest.Builder> addWorkloadRequest) Adds a workload to a component. Each component can have at most five workloads.
This is a convenience which creates an instance of the
AddWorkloadRequest.Builder
avoiding the need to create one manually viaAddWorkloadRequest.builder()
- Parameters:
addWorkloadRequest
- AConsumer
that will call methods onAddWorkloadRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AddWorkload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest) Adds an application that is created from a resource group.
- Parameters:
createApplicationRequest
-- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- TagsAlreadyExistException Tags are already registered for the specified application ARN.
- AccessDeniedException User does not have permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Adds an application that is created from a resource group.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builder
avoiding the need to create one manually viaCreateApplicationRequest.builder()
- Parameters:
createApplicationRequest
- AConsumer
that will call methods onCreateApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- TagsAlreadyExistException Tags are already registered for the specified application ARN.
- AccessDeniedException User does not have permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createComponent
default CompletableFuture<CreateComponentResponse> createComponent(CreateComponentRequest createComponentRequest) Creates a custom component by grouping similar standalone instances to monitor.
- Parameters:
createComponentRequest
-- Returns:
- A Java Future containing the result of the CreateComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createComponent
default CompletableFuture<CreateComponentResponse> createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest) Creates a custom component by grouping similar standalone instances to monitor.
This is a convenience which creates an instance of the
CreateComponentRequest.Builder
avoiding the need to create one manually viaCreateComponentRequest.builder()
- Parameters:
createComponentRequest
- AConsumer
that will call methods onCreateComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLogPattern
default CompletableFuture<CreateLogPatternResponse> createLogPattern(CreateLogPatternRequest createLogPatternRequest) Adds an log pattern to a
LogPatternSet
.- Parameters:
createLogPatternRequest
-- Returns:
- A Java Future containing the result of the CreateLogPattern operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLogPattern
default CompletableFuture<CreateLogPatternResponse> createLogPattern(Consumer<CreateLogPatternRequest.Builder> createLogPatternRequest) Adds an log pattern to a
LogPatternSet
.
This is a convenience which creates an instance of the
CreateLogPatternRequest.Builder
avoiding the need to create one manually viaCreateLogPatternRequest.builder()
- Parameters:
createLogPatternRequest
- AConsumer
that will call methods onCreateLogPatternRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateLogPattern operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest) Removes the specified application from monitoring. Does not delete the application.
- Parameters:
deleteApplicationRequest
-- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- BadRequestException The request is not understood by the server.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Removes the specified application from monitoring. Does not delete the application.
This is a convenience which creates an instance of the
DeleteApplicationRequest.Builder
avoiding the need to create one manually viaDeleteApplicationRequest.builder()
- Parameters:
deleteApplicationRequest
- AConsumer
that will call methods onDeleteApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- BadRequestException The request is not understood by the server.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteComponent
default CompletableFuture<DeleteComponentResponse> deleteComponent(DeleteComponentRequest deleteComponentRequest) Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
- Parameters:
deleteComponentRequest
-- Returns:
- A Java Future containing the result of the DeleteComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteComponent
default CompletableFuture<DeleteComponentResponse> deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
This is a convenience which creates an instance of the
DeleteComponentRequest.Builder
avoiding the need to create one manually viaDeleteComponentRequest.builder()
- Parameters:
deleteComponentRequest
- AConsumer
that will call methods onDeleteComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLogPattern
default CompletableFuture<DeleteLogPatternResponse> deleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest) Removes the specified log pattern from a
LogPatternSet
.- Parameters:
deleteLogPatternRequest
-- Returns:
- A Java Future containing the result of the DeleteLogPattern operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- BadRequestException The request is not understood by the server.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLogPattern
default CompletableFuture<DeleteLogPatternResponse> deleteLogPattern(Consumer<DeleteLogPatternRequest.Builder> deleteLogPatternRequest) Removes the specified log pattern from a
LogPatternSet
.
This is a convenience which creates an instance of the
DeleteLogPatternRequest.Builder
avoiding the need to create one manually viaDeleteLogPatternRequest.builder()
- Parameters:
deleteLogPatternRequest
- AConsumer
that will call methods onDeleteLogPatternRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteLogPattern operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- BadRequestException The request is not understood by the server.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplication
default CompletableFuture<DescribeApplicationResponse> describeApplication(DescribeApplicationRequest describeApplicationRequest) Describes the application.
- Parameters:
describeApplicationRequest
-- Returns:
- A Java Future containing the result of the DescribeApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplication
default CompletableFuture<DescribeApplicationResponse> describeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) Describes the application.
This is a convenience which creates an instance of the
DescribeApplicationRequest.Builder
avoiding the need to create one manually viaDescribeApplicationRequest.builder()
- Parameters:
describeApplicationRequest
- AConsumer
that will call methods onDescribeApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeComponent
default CompletableFuture<DescribeComponentResponse> describeComponent(DescribeComponentRequest describeComponentRequest) Describes a component and lists the resources that are grouped together in a component.
- Parameters:
describeComponentRequest
-- Returns:
- A Java Future containing the result of the DescribeComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeComponent
default CompletableFuture<DescribeComponentResponse> describeComponent(Consumer<DescribeComponentRequest.Builder> describeComponentRequest) Describes a component and lists the resources that are grouped together in a component.
This is a convenience which creates an instance of the
DescribeComponentRequest.Builder
avoiding the need to create one manually viaDescribeComponentRequest.builder()
- Parameters:
describeComponentRequest
- AConsumer
that will call methods onDescribeComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeComponentConfiguration
default CompletableFuture<DescribeComponentConfigurationResponse> describeComponentConfiguration(DescribeComponentConfigurationRequest describeComponentConfigurationRequest) Describes the monitoring configuration of the component.
- Parameters:
describeComponentConfigurationRequest
-- Returns:
- A Java Future containing the result of the DescribeComponentConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeComponentConfiguration
default CompletableFuture<DescribeComponentConfigurationResponse> describeComponentConfiguration(Consumer<DescribeComponentConfigurationRequest.Builder> describeComponentConfigurationRequest) Describes the monitoring configuration of the component.
This is a convenience which creates an instance of the
DescribeComponentConfigurationRequest.Builder
avoiding the need to create one manually viaDescribeComponentConfigurationRequest.builder()
- Parameters:
describeComponentConfigurationRequest
- AConsumer
that will call methods onDescribeComponentConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeComponentConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeComponentConfigurationRecommendation
default CompletableFuture<DescribeComponentConfigurationRecommendationResponse> describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest) Describes the recommended monitoring configuration of the component.
- Parameters:
describeComponentConfigurationRecommendationRequest
-- Returns:
- A Java Future containing the result of the DescribeComponentConfigurationRecommendation operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeComponentConfigurationRecommendation
default CompletableFuture<DescribeComponentConfigurationRecommendationResponse> describeComponentConfigurationRecommendation(Consumer<DescribeComponentConfigurationRecommendationRequest.Builder> describeComponentConfigurationRecommendationRequest) Describes the recommended monitoring configuration of the component.
This is a convenience which creates an instance of the
DescribeComponentConfigurationRecommendationRequest.Builder
avoiding the need to create one manually viaDescribeComponentConfigurationRecommendationRequest.builder()
- Parameters:
describeComponentConfigurationRecommendationRequest
- AConsumer
that will call methods onDescribeComponentConfigurationRecommendationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeComponentConfigurationRecommendation operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeLogPattern
default CompletableFuture<DescribeLogPatternResponse> describeLogPattern(DescribeLogPatternRequest describeLogPatternRequest) Describe a specific log pattern from a
LogPatternSet
.- Parameters:
describeLogPatternRequest
-- Returns:
- A Java Future containing the result of the DescribeLogPattern operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeLogPattern
default CompletableFuture<DescribeLogPatternResponse> describeLogPattern(Consumer<DescribeLogPatternRequest.Builder> describeLogPatternRequest) Describe a specific log pattern from a
LogPatternSet
.
This is a convenience which creates an instance of the
DescribeLogPatternRequest.Builder
avoiding the need to create one manually viaDescribeLogPatternRequest.builder()
- Parameters:
describeLogPatternRequest
- AConsumer
that will call methods onDescribeLogPatternRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeLogPattern operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeObservation
default CompletableFuture<DescribeObservationResponse> describeObservation(DescribeObservationRequest describeObservationRequest) Describes an anomaly or error with the application.
- Parameters:
describeObservationRequest
-- Returns:
- A Java Future containing the result of the DescribeObservation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException The server encountered an internal error and is unable to complete the request.
- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeObservation
default CompletableFuture<DescribeObservationResponse> describeObservation(Consumer<DescribeObservationRequest.Builder> describeObservationRequest) Describes an anomaly or error with the application.
This is a convenience which creates an instance of the
DescribeObservationRequest.Builder
avoiding the need to create one manually viaDescribeObservationRequest.builder()
- Parameters:
describeObservationRequest
- AConsumer
that will call methods onDescribeObservationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeObservation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException The server encountered an internal error and is unable to complete the request.
- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeProblem
default CompletableFuture<DescribeProblemResponse> describeProblem(DescribeProblemRequest describeProblemRequest) Describes an application problem.
- Parameters:
describeProblemRequest
-- Returns:
- A Java Future containing the result of the DescribeProblem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException The server encountered an internal error and is unable to complete the request.
- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeProblem
default CompletableFuture<DescribeProblemResponse> describeProblem(Consumer<DescribeProblemRequest.Builder> describeProblemRequest) Describes an application problem.
This is a convenience which creates an instance of the
DescribeProblemRequest.Builder
avoiding the need to create one manually viaDescribeProblemRequest.builder()
- Parameters:
describeProblemRequest
- AConsumer
that will call methods onDescribeProblemRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeProblem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException The server encountered an internal error and is unable to complete the request.
- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeProblemObservations
default CompletableFuture<DescribeProblemObservationsResponse> describeProblemObservations(DescribeProblemObservationsRequest describeProblemObservationsRequest) Describes the anomalies or errors associated with the problem.
- Parameters:
describeProblemObservationsRequest
-- Returns:
- A Java Future containing the result of the DescribeProblemObservations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException The server encountered an internal error and is unable to complete the request.
- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeProblemObservations
default CompletableFuture<DescribeProblemObservationsResponse> describeProblemObservations(Consumer<DescribeProblemObservationsRequest.Builder> describeProblemObservationsRequest) Describes the anomalies or errors associated with the problem.
This is a convenience which creates an instance of the
DescribeProblemObservationsRequest.Builder
avoiding the need to create one manually viaDescribeProblemObservationsRequest.builder()
- Parameters:
describeProblemObservationsRequest
- AConsumer
that will call methods onDescribeProblemObservationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeProblemObservations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException The server encountered an internal error and is unable to complete the request.
- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkload
default CompletableFuture<DescribeWorkloadResponse> describeWorkload(DescribeWorkloadRequest describeWorkloadRequest) Describes a workload and its configuration.
- Parameters:
describeWorkloadRequest
-- Returns:
- A Java Future containing the result of the DescribeWorkload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkload
default CompletableFuture<DescribeWorkloadResponse> describeWorkload(Consumer<DescribeWorkloadRequest.Builder> describeWorkloadRequest) Describes a workload and its configuration.
This is a convenience which creates an instance of the
DescribeWorkloadRequest.Builder
avoiding the need to create one manually viaDescribeWorkloadRequest.builder()
- Parameters:
describeWorkloadRequest
- AConsumer
that will call methods onDescribeWorkloadRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeWorkload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest) Lists the IDs of the applications that you are monitoring.
- Parameters:
listApplicationsRequest
-- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Lists the IDs of the applications that you are monitoring.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builder
avoiding the need to create one manually viaListApplicationsRequest.builder()
- Parameters:
listApplicationsRequest
- AConsumer
that will call methods onListApplicationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) This is a variant of
listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)
operation.- Parameters:
listApplicationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant of
listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)
operation.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builder
avoiding the need to create one manually viaListApplicationsRequest.builder()
- Parameters:
listApplicationsRequest
- AConsumer
that will call methods onListApplicationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponents
default CompletableFuture<ListComponentsResponse> listComponents(ListComponentsRequest listComponentsRequest) Lists the auto-grouped, standalone, and custom components of the application.
- Parameters:
listComponentsRequest
-- Returns:
- A Java Future containing the result of the ListComponents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponents
default CompletableFuture<ListComponentsResponse> listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest) Lists the auto-grouped, standalone, and custom components of the application.
This is a convenience which creates an instance of the
ListComponentsRequest.Builder
avoiding the need to create one manually viaListComponentsRequest.builder()
- Parameters:
listComponentsRequest
- AConsumer
that will call methods onListComponentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListComponents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentsPaginator
default ListComponentsPublisher listComponentsPaginator(ListComponentsRequest listComponentsRequest) This is a variant of
listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)
operation.- Parameters:
listComponentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentsPaginator
default ListComponentsPublisher listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest) This is a variant of
listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)
operation.
This is a convenience which creates an instance of the
ListComponentsRequest.Builder
avoiding the need to create one manually viaListComponentsRequest.builder()
- Parameters:
listComponentsRequest
- AConsumer
that will call methods onListComponentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConfigurationHistory
default CompletableFuture<ListConfigurationHistoryResponse> listConfigurationHistory(ListConfigurationHistoryRequest listConfigurationHistoryRequest) Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
-
INFO: creating a new alarm or updating an alarm threshold.
-
WARN: alarm not created due to insufficient data points used to predict thresholds.
-
ERROR: alarm not created due to permission errors or exceeding quotas.
- Parameters:
listConfigurationHistoryRequest
-- Returns:
- A Java Future containing the result of the ListConfigurationHistory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
listConfigurationHistory
default CompletableFuture<ListConfigurationHistoryResponse> listConfigurationHistory(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
-
INFO: creating a new alarm or updating an alarm threshold.
-
WARN: alarm not created due to insufficient data points used to predict thresholds.
-
ERROR: alarm not created due to permission errors or exceeding quotas.
This is a convenience which creates an instance of the
ListConfigurationHistoryRequest.Builder
avoiding the need to create one manually viaListConfigurationHistoryRequest.builder()
- Parameters:
listConfigurationHistoryRequest
- AConsumer
that will call methods onListConfigurationHistoryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListConfigurationHistory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
listConfigurationHistoryPaginator
default ListConfigurationHistoryPublisher listConfigurationHistoryPaginator(ListConfigurationHistoryRequest listConfigurationHistoryRequest) This is a variant of
listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation.- Parameters:
listConfigurationHistoryRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConfigurationHistoryPaginator
default ListConfigurationHistoryPublisher listConfigurationHistoryPaginator(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) This is a variant of
listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation.
This is a convenience which creates an instance of the
ListConfigurationHistoryRequest.Builder
avoiding the need to create one manually viaListConfigurationHistoryRequest.builder()
- Parameters:
listConfigurationHistoryRequest
- AConsumer
that will call methods onListConfigurationHistoryRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLogPatternSets
default CompletableFuture<ListLogPatternSetsResponse> listLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest) Lists the log pattern sets in the specific application.
- Parameters:
listLogPatternSetsRequest
-- Returns:
- A Java Future containing the result of the ListLogPatternSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLogPatternSets
default CompletableFuture<ListLogPatternSetsResponse> listLogPatternSets(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) Lists the log pattern sets in the specific application.
This is a convenience which creates an instance of the
ListLogPatternSetsRequest.Builder
avoiding the need to create one manually viaListLogPatternSetsRequest.builder()
- Parameters:
listLogPatternSetsRequest
- AConsumer
that will call methods onListLogPatternSetsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListLogPatternSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLogPatternSetsPaginator
default ListLogPatternSetsPublisher listLogPatternSetsPaginator(ListLogPatternSetsRequest listLogPatternSetsRequest) This is a variant of
listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)
operation.- Parameters:
listLogPatternSetsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLogPatternSetsPaginator
default ListLogPatternSetsPublisher listLogPatternSetsPaginator(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) This is a variant of
listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)
operation.
This is a convenience which creates an instance of the
ListLogPatternSetsRequest.Builder
avoiding the need to create one manually viaListLogPatternSetsRequest.builder()
- Parameters:
listLogPatternSetsRequest
- AConsumer
that will call methods onListLogPatternSetsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLogPatterns
default CompletableFuture<ListLogPatternsResponse> listLogPatterns(ListLogPatternsRequest listLogPatternsRequest) Lists the log patterns in the specific log
LogPatternSet
.- Parameters:
listLogPatternsRequest
-- Returns:
- A Java Future containing the result of the ListLogPatterns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLogPatterns
default CompletableFuture<ListLogPatternsResponse> listLogPatterns(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) Lists the log patterns in the specific log
LogPatternSet
.
This is a convenience which creates an instance of the
ListLogPatternsRequest.Builder
avoiding the need to create one manually viaListLogPatternsRequest.builder()
- Parameters:
listLogPatternsRequest
- AConsumer
that will call methods onListLogPatternsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListLogPatterns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLogPatternsPaginator
default ListLogPatternsPublisher listLogPatternsPaginator(ListLogPatternsRequest listLogPatternsRequest) This is a variant of
listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)
operation.- Parameters:
listLogPatternsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLogPatternsPaginator
default ListLogPatternsPublisher listLogPatternsPaginator(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) This is a variant of
listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)
operation.
This is a convenience which creates an instance of the
ListLogPatternsRequest.Builder
avoiding the need to create one manually viaListLogPatternsRequest.builder()
- Parameters:
listLogPatternsRequest
- AConsumer
that will call methods onListLogPatternsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProblems
default CompletableFuture<ListProblemsResponse> listProblems(ListProblemsRequest listProblemsRequest) Lists the problems with your application.
- Parameters:
listProblemsRequest
-- Returns:
- A Java Future containing the result of the ListProblems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProblems
default CompletableFuture<ListProblemsResponse> listProblems(Consumer<ListProblemsRequest.Builder> listProblemsRequest) Lists the problems with your application.
This is a convenience which creates an instance of the
ListProblemsRequest.Builder
avoiding the need to create one manually viaListProblemsRequest.builder()
- Parameters:
listProblemsRequest
- AConsumer
that will call methods onListProblemsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListProblems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProblemsPaginator
This is a variant of
listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)
operation.- Parameters:
listProblemsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProblemsPaginator
default ListProblemsPublisher listProblemsPaginator(Consumer<ListProblemsRequest.Builder> listProblemsRequest) This is a variant of
listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)
operation.
This is a convenience which creates an instance of the
ListProblemsRequest.Builder
avoiding the need to create one manually viaListProblemsRequest.builder()
- Parameters:
listProblemsRequest
- AConsumer
that will call methods onListProblemsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkloads
default CompletableFuture<ListWorkloadsResponse> listWorkloads(ListWorkloadsRequest listWorkloadsRequest) Lists the workloads that are configured on a given component.
- Parameters:
listWorkloadsRequest
-- Returns:
- A Java Future containing the result of the ListWorkloads operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkloads
default CompletableFuture<ListWorkloadsResponse> listWorkloads(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) Lists the workloads that are configured on a given component.
This is a convenience which creates an instance of the
ListWorkloadsRequest.Builder
avoiding the need to create one manually viaListWorkloadsRequest.builder()
- Parameters:
listWorkloadsRequest
- AConsumer
that will call methods onListWorkloadsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListWorkloads operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkloadsPaginator
This is a variant of
listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsPublisher publisher = client.listWorkloadsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsPublisher publisher = client.listWorkloadsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)
operation.- Parameters:
listWorkloadsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkloadsPaginator
default ListWorkloadsPublisher listWorkloadsPaginator(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) This is a variant of
listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsPublisher publisher = client.listWorkloadsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsPublisher publisher = client.listWorkloadsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)
operation.
This is a convenience which creates an instance of the
ListWorkloadsRequest.Builder
avoiding the need to create one manually viaListWorkloadsRequest.builder()
- Parameters:
listWorkloadsRequest
- AConsumer
that will call methods onListWorkloadsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeWorkload
default CompletableFuture<RemoveWorkloadResponse> removeWorkload(RemoveWorkloadRequest removeWorkloadRequest) Remove workload from a component.
- Parameters:
removeWorkloadRequest
-- Returns:
- A Java Future containing the result of the RemoveWorkload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeWorkload
default CompletableFuture<RemoveWorkloadResponse> removeWorkload(Consumer<RemoveWorkloadRequest.Builder> removeWorkloadRequest) Remove workload from a component.
This is a convenience which creates an instance of the
RemoveWorkloadRequest.Builder
avoiding the need to create one manually viaRemoveWorkloadRequest.builder()
- Parameters:
removeWorkloadRequest
- AConsumer
that will call methods onRemoveWorkloadRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RemoveWorkload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- TooManyTagsException The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit.
- ValidationException The parameter is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- TooManyTagsException The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit.
- ValidationException The parameter is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Remove one or more tags (keys and values) from a specified application.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove one or more tags (keys and values) from a specified application.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest) Updates the application.
- Parameters:
updateApplicationRequest
-- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException The server encountered an internal error and is unable to complete the request.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates the application.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builder
avoiding the need to create one manually viaUpdateApplicationRequest.builder()
- Parameters:
updateApplicationRequest
- AConsumer
that will call methods onUpdateApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException The server encountered an internal error and is unable to complete the request.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateComponent
default CompletableFuture<UpdateComponentResponse> updateComponent(UpdateComponentRequest updateComponentRequest) Updates the custom component name and/or the list of resources that make up the component.
- Parameters:
updateComponentRequest
-- Returns:
- A Java Future containing the result of the UpdateComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateComponent
default CompletableFuture<UpdateComponentResponse> updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest) Updates the custom component name and/or the list of resources that make up the component.
This is a convenience which creates an instance of the
UpdateComponentRequest.Builder
avoiding the need to create one manually viaUpdateComponentRequest.builder()
- Parameters:
updateComponentRequest
- AConsumer
that will call methods onUpdateComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateComponentConfiguration
default CompletableFuture<UpdateComponentConfigurationResponse> updateComponentConfiguration(UpdateComponentConfigurationRequest updateComponentConfigurationRequest) Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by
DescribeComponentConfigurationRecommendation
.- Parameters:
updateComponentConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateComponentConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- ResourceInUseException The resource is already created or in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateComponentConfiguration
default CompletableFuture<UpdateComponentConfigurationResponse> updateComponentConfiguration(Consumer<UpdateComponentConfigurationRequest.Builder> updateComponentConfigurationRequest) Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by
DescribeComponentConfigurationRecommendation
.
This is a convenience which creates an instance of the
UpdateComponentConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateComponentConfigurationRequest.builder()
- Parameters:
updateComponentConfigurationRequest
- AConsumer
that will call methods onUpdateComponentConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateComponentConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- ResourceInUseException The resource is already created or in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLogPattern
default CompletableFuture<UpdateLogPatternResponse> updateLogPattern(UpdateLogPatternRequest updateLogPatternRequest) Adds a log pattern to a
LogPatternSet
.- Parameters:
updateLogPatternRequest
-- Returns:
- A Java Future containing the result of the UpdateLogPattern operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLogPattern
default CompletableFuture<UpdateLogPatternResponse> updateLogPattern(Consumer<UpdateLogPatternRequest.Builder> updateLogPatternRequest) Adds a log pattern to a
LogPatternSet
.
This is a convenience which creates an instance of the
UpdateLogPatternRequest.Builder
avoiding the need to create one manually viaUpdateLogPatternRequest.builder()
- Parameters:
updateLogPatternRequest
- AConsumer
that will call methods onUpdateLogPatternRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateLogPattern operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceInUseException The resource is already created or in use.
- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProblem
default CompletableFuture<UpdateProblemResponse> updateProblem(UpdateProblemRequest updateProblemRequest) Updates the visibility of the problem or specifies the problem as
RESOLVED
.- Parameters:
updateProblemRequest
-- Returns:
- A Java Future containing the result of the UpdateProblem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException The server encountered an internal error and is unable to complete the request.
- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProblem
default CompletableFuture<UpdateProblemResponse> updateProblem(Consumer<UpdateProblemRequest.Builder> updateProblemRequest) Updates the visibility of the problem or specifies the problem as
RESOLVED
.
This is a convenience which creates an instance of the
UpdateProblemRequest.Builder
avoiding the need to create one manually viaUpdateProblemRequest.builder()
- Parameters:
updateProblemRequest
- AConsumer
that will call methods onUpdateProblemRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateProblem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException The server encountered an internal error and is unable to complete the request.
- ValidationException The parameter is not valid.
- ResourceNotFoundException The resource does not exist in the customer account.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWorkload
default CompletableFuture<UpdateWorkloadResponse> updateWorkload(UpdateWorkloadRequest updateWorkloadRequest) Adds a workload to a component. Each component can have at most five workloads.
- Parameters:
updateWorkloadRequest
-- Returns:
- A Java Future containing the result of the UpdateWorkload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWorkload
default CompletableFuture<UpdateWorkloadResponse> updateWorkload(Consumer<UpdateWorkloadRequest.Builder> updateWorkloadRequest) Adds a workload to a component. Each component can have at most five workloads.
This is a convenience which creates an instance of the
UpdateWorkloadRequest.Builder
avoiding the need to create one manually viaUpdateWorkloadRequest.builder()
- Parameters:
updateWorkloadRequest
- AConsumer
that will call methods onUpdateWorkloadRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateWorkload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The resource does not exist in the customer account.
- ValidationException The parameter is not valid.
- InternalServerException The server encountered an internal error and is unable to complete the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ApplicationInsightsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aApplicationInsightsAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aApplicationInsightsAsyncClient
.
-