@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonApplicationInsightsAsyncClient extends AmazonApplicationInsightsClient implements AmazonApplicationInsightsAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addWorkload, builder, createApplication, createComponent, createLogPattern, deleteApplication, deleteComponent, deleteLogPattern, describeApplication, describeComponent, describeComponentConfiguration, describeComponentConfigurationRecommendation, describeLogPattern, describeObservation, describeProblem, describeProblemObservations, describeWorkload, getCachedResponseMetadata, listApplications, listComponents, listConfigurationHistory, listLogPatterns, listLogPatternSets, listProblems, listTagsForResource, listWorkloads, removeWorkload, tagResource, untagResource, updateApplication, updateComponent, updateComponentConfiguration, updateLogPattern, updateProblem, updateWorkload
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addWorkload, createApplication, createComponent, createLogPattern, deleteApplication, deleteComponent, deleteLogPattern, describeApplication, describeComponent, describeComponentConfiguration, describeComponentConfigurationRecommendation, describeLogPattern, describeObservation, describeProblem, describeProblemObservations, describeWorkload, getCachedResponseMetadata, listApplications, listComponents, listConfigurationHistory, listLogPatterns, listLogPatternSets, listProblems, listTagsForResource, listWorkloads, removeWorkload, tagResource, untagResource, updateApplication, updateComponent, updateComponentConfiguration, updateLogPattern, updateProblem, updateWorkload
public static AmazonApplicationInsightsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddWorkloadResult> addWorkloadAsync(AddWorkloadRequest request)
AmazonApplicationInsightsAsync
Adds a workload to a component. Each component can have at most five workloads.
addWorkloadAsync
in interface AmazonApplicationInsightsAsync
public Future<AddWorkloadResult> addWorkloadAsync(AddWorkloadRequest request, AsyncHandler<AddWorkloadRequest,AddWorkloadResult> asyncHandler)
AmazonApplicationInsightsAsync
Adds a workload to a component. Each component can have at most five workloads.
addWorkloadAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AmazonApplicationInsightsAsync
Adds an application that is created from a resource group.
createApplicationAsync
in interface AmazonApplicationInsightsAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AmazonApplicationInsightsAsync
Adds an application that is created from a resource group.
createApplicationAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateComponentResult> createComponentAsync(CreateComponentRequest request)
AmazonApplicationInsightsAsync
Creates a custom component by grouping similar standalone instances to monitor.
createComponentAsync
in interface AmazonApplicationInsightsAsync
public Future<CreateComponentResult> createComponentAsync(CreateComponentRequest request, AsyncHandler<CreateComponentRequest,CreateComponentResult> asyncHandler)
AmazonApplicationInsightsAsync
Creates a custom component by grouping similar standalone instances to monitor.
createComponentAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLogPatternResult> createLogPatternAsync(CreateLogPatternRequest request)
AmazonApplicationInsightsAsync
Adds an log pattern to a LogPatternSet
.
createLogPatternAsync
in interface AmazonApplicationInsightsAsync
public Future<CreateLogPatternResult> createLogPatternAsync(CreateLogPatternRequest request, AsyncHandler<CreateLogPatternRequest,CreateLogPatternResult> asyncHandler)
AmazonApplicationInsightsAsync
Adds an log pattern to a LogPatternSet
.
createLogPatternAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AmazonApplicationInsightsAsync
Removes the specified application from monitoring. Does not delete the application.
deleteApplicationAsync
in interface AmazonApplicationInsightsAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AmazonApplicationInsightsAsync
Removes the specified application from monitoring. Does not delete the application.
deleteApplicationAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteComponentResult> deleteComponentAsync(DeleteComponentRequest request)
AmazonApplicationInsightsAsync
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.
deleteComponentAsync
in interface AmazonApplicationInsightsAsync
public Future<DeleteComponentResult> deleteComponentAsync(DeleteComponentRequest request, AsyncHandler<DeleteComponentRequest,DeleteComponentResult> asyncHandler)
AmazonApplicationInsightsAsync
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.
deleteComponentAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteLogPatternResult> deleteLogPatternAsync(DeleteLogPatternRequest request)
AmazonApplicationInsightsAsync
Removes the specified log pattern from a LogPatternSet
.
deleteLogPatternAsync
in interface AmazonApplicationInsightsAsync
public Future<DeleteLogPatternResult> deleteLogPatternAsync(DeleteLogPatternRequest request, AsyncHandler<DeleteLogPatternRequest,DeleteLogPatternResult> asyncHandler)
AmazonApplicationInsightsAsync
Removes the specified log pattern from a LogPatternSet
.
deleteLogPatternAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeApplicationResult> describeApplicationAsync(DescribeApplicationRequest request)
AmazonApplicationInsightsAsync
Describes the application.
describeApplicationAsync
in interface AmazonApplicationInsightsAsync
public Future<DescribeApplicationResult> describeApplicationAsync(DescribeApplicationRequest request, AsyncHandler<DescribeApplicationRequest,DescribeApplicationResult> asyncHandler)
AmazonApplicationInsightsAsync
Describes the application.
describeApplicationAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeComponentResult> describeComponentAsync(DescribeComponentRequest request)
AmazonApplicationInsightsAsync
Describes a component and lists the resources that are grouped together in a component.
describeComponentAsync
in interface AmazonApplicationInsightsAsync
public Future<DescribeComponentResult> describeComponentAsync(DescribeComponentRequest request, AsyncHandler<DescribeComponentRequest,DescribeComponentResult> asyncHandler)
AmazonApplicationInsightsAsync
Describes a component and lists the resources that are grouped together in a component.
describeComponentAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeComponentConfigurationResult> describeComponentConfigurationAsync(DescribeComponentConfigurationRequest request)
AmazonApplicationInsightsAsync
Describes the monitoring configuration of the component.
describeComponentConfigurationAsync
in interface AmazonApplicationInsightsAsync
public Future<DescribeComponentConfigurationResult> describeComponentConfigurationAsync(DescribeComponentConfigurationRequest request, AsyncHandler<DescribeComponentConfigurationRequest,DescribeComponentConfigurationResult> asyncHandler)
AmazonApplicationInsightsAsync
Describes the monitoring configuration of the component.
describeComponentConfigurationAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeComponentConfigurationRecommendationResult> describeComponentConfigurationRecommendationAsync(DescribeComponentConfigurationRecommendationRequest request)
AmazonApplicationInsightsAsync
Describes the recommended monitoring configuration of the component.
describeComponentConfigurationRecommendationAsync
in interface AmazonApplicationInsightsAsync
public Future<DescribeComponentConfigurationRecommendationResult> describeComponentConfigurationRecommendationAsync(DescribeComponentConfigurationRecommendationRequest request, AsyncHandler<DescribeComponentConfigurationRecommendationRequest,DescribeComponentConfigurationRecommendationResult> asyncHandler)
AmazonApplicationInsightsAsync
Describes the recommended monitoring configuration of the component.
describeComponentConfigurationRecommendationAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLogPatternResult> describeLogPatternAsync(DescribeLogPatternRequest request)
AmazonApplicationInsightsAsync
Describe a specific log pattern from a LogPatternSet
.
describeLogPatternAsync
in interface AmazonApplicationInsightsAsync
public Future<DescribeLogPatternResult> describeLogPatternAsync(DescribeLogPatternRequest request, AsyncHandler<DescribeLogPatternRequest,DescribeLogPatternResult> asyncHandler)
AmazonApplicationInsightsAsync
Describe a specific log pattern from a LogPatternSet
.
describeLogPatternAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeObservationResult> describeObservationAsync(DescribeObservationRequest request)
AmazonApplicationInsightsAsync
Describes an anomaly or error with the application.
describeObservationAsync
in interface AmazonApplicationInsightsAsync
public Future<DescribeObservationResult> describeObservationAsync(DescribeObservationRequest request, AsyncHandler<DescribeObservationRequest,DescribeObservationResult> asyncHandler)
AmazonApplicationInsightsAsync
Describes an anomaly or error with the application.
describeObservationAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeProblemResult> describeProblemAsync(DescribeProblemRequest request)
AmazonApplicationInsightsAsync
Describes an application problem.
describeProblemAsync
in interface AmazonApplicationInsightsAsync
public Future<DescribeProblemResult> describeProblemAsync(DescribeProblemRequest request, AsyncHandler<DescribeProblemRequest,DescribeProblemResult> asyncHandler)
AmazonApplicationInsightsAsync
Describes an application problem.
describeProblemAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeProblemObservationsResult> describeProblemObservationsAsync(DescribeProblemObservationsRequest request)
AmazonApplicationInsightsAsync
Describes the anomalies or errors associated with the problem.
describeProblemObservationsAsync
in interface AmazonApplicationInsightsAsync
public Future<DescribeProblemObservationsResult> describeProblemObservationsAsync(DescribeProblemObservationsRequest request, AsyncHandler<DescribeProblemObservationsRequest,DescribeProblemObservationsResult> asyncHandler)
AmazonApplicationInsightsAsync
Describes the anomalies or errors associated with the problem.
describeProblemObservationsAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeWorkloadResult> describeWorkloadAsync(DescribeWorkloadRequest request)
AmazonApplicationInsightsAsync
Describes a workload and its configuration.
describeWorkloadAsync
in interface AmazonApplicationInsightsAsync
public Future<DescribeWorkloadResult> describeWorkloadAsync(DescribeWorkloadRequest request, AsyncHandler<DescribeWorkloadRequest,DescribeWorkloadResult> asyncHandler)
AmazonApplicationInsightsAsync
Describes a workload and its configuration.
describeWorkloadAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
AmazonApplicationInsightsAsync
Lists the IDs of the applications that you are monitoring.
listApplicationsAsync
in interface AmazonApplicationInsightsAsync
public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AmazonApplicationInsightsAsync
Lists the IDs of the applications that you are monitoring.
listApplicationsAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListComponentsResult> listComponentsAsync(ListComponentsRequest request)
AmazonApplicationInsightsAsync
Lists the auto-grouped, standalone, and custom components of the application.
listComponentsAsync
in interface AmazonApplicationInsightsAsync
public Future<ListComponentsResult> listComponentsAsync(ListComponentsRequest request, AsyncHandler<ListComponentsRequest,ListComponentsResult> asyncHandler)
AmazonApplicationInsightsAsync
Lists the auto-grouped, standalone, and custom components of the application.
listComponentsAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListConfigurationHistoryResult> listConfigurationHistoryAsync(ListConfigurationHistoryRequest request)
AmazonApplicationInsightsAsync
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.
listConfigurationHistoryAsync
in interface AmazonApplicationInsightsAsync
public Future<ListConfigurationHistoryResult> listConfigurationHistoryAsync(ListConfigurationHistoryRequest request, AsyncHandler<ListConfigurationHistoryRequest,ListConfigurationHistoryResult> asyncHandler)
AmazonApplicationInsightsAsync
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.
listConfigurationHistoryAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListLogPatternSetsResult> listLogPatternSetsAsync(ListLogPatternSetsRequest request)
AmazonApplicationInsightsAsync
Lists the log pattern sets in the specific application.
listLogPatternSetsAsync
in interface AmazonApplicationInsightsAsync
public Future<ListLogPatternSetsResult> listLogPatternSetsAsync(ListLogPatternSetsRequest request, AsyncHandler<ListLogPatternSetsRequest,ListLogPatternSetsResult> asyncHandler)
AmazonApplicationInsightsAsync
Lists the log pattern sets in the specific application.
listLogPatternSetsAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListLogPatternsResult> listLogPatternsAsync(ListLogPatternsRequest request)
AmazonApplicationInsightsAsync
Lists the log patterns in the specific log LogPatternSet
.
listLogPatternsAsync
in interface AmazonApplicationInsightsAsync
public Future<ListLogPatternsResult> listLogPatternsAsync(ListLogPatternsRequest request, AsyncHandler<ListLogPatternsRequest,ListLogPatternsResult> asyncHandler)
AmazonApplicationInsightsAsync
Lists the log patterns in the specific log LogPatternSet
.
listLogPatternsAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListProblemsResult> listProblemsAsync(ListProblemsRequest request)
AmazonApplicationInsightsAsync
Lists the problems with your application.
listProblemsAsync
in interface AmazonApplicationInsightsAsync
public Future<ListProblemsResult> listProblemsAsync(ListProblemsRequest request, AsyncHandler<ListProblemsRequest,ListProblemsResult> asyncHandler)
AmazonApplicationInsightsAsync
Lists the problems with your application.
listProblemsAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonApplicationInsightsAsync
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.
listTagsForResourceAsync
in interface AmazonApplicationInsightsAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonApplicationInsightsAsync
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.
listTagsForResourceAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListWorkloadsResult> listWorkloadsAsync(ListWorkloadsRequest request)
AmazonApplicationInsightsAsync
Lists the workloads that are configured on a given component.
listWorkloadsAsync
in interface AmazonApplicationInsightsAsync
public Future<ListWorkloadsResult> listWorkloadsAsync(ListWorkloadsRequest request, AsyncHandler<ListWorkloadsRequest,ListWorkloadsResult> asyncHandler)
AmazonApplicationInsightsAsync
Lists the workloads that are configured on a given component.
listWorkloadsAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveWorkloadResult> removeWorkloadAsync(RemoveWorkloadRequest request)
AmazonApplicationInsightsAsync
Remove workload from a component.
removeWorkloadAsync
in interface AmazonApplicationInsightsAsync
public Future<RemoveWorkloadResult> removeWorkloadAsync(RemoveWorkloadRequest request, AsyncHandler<RemoveWorkloadRequest,RemoveWorkloadResult> asyncHandler)
AmazonApplicationInsightsAsync
Remove workload from a component.
removeWorkloadAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonApplicationInsightsAsync
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.
tagResourceAsync
in interface AmazonApplicationInsightsAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonApplicationInsightsAsync
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.
tagResourceAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonApplicationInsightsAsync
Remove one or more tags (keys and values) from a specified application.
untagResourceAsync
in interface AmazonApplicationInsightsAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonApplicationInsightsAsync
Remove one or more tags (keys and values) from a specified application.
untagResourceAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AmazonApplicationInsightsAsync
Updates the application.
updateApplicationAsync
in interface AmazonApplicationInsightsAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AmazonApplicationInsightsAsync
Updates the application.
updateApplicationAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateComponentResult> updateComponentAsync(UpdateComponentRequest request)
AmazonApplicationInsightsAsync
Updates the custom component name and/or the list of resources that make up the component.
updateComponentAsync
in interface AmazonApplicationInsightsAsync
public Future<UpdateComponentResult> updateComponentAsync(UpdateComponentRequest request, AsyncHandler<UpdateComponentRequest,UpdateComponentResult> asyncHandler)
AmazonApplicationInsightsAsync
Updates the custom component name and/or the list of resources that make up the component.
updateComponentAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateComponentConfigurationResult> updateComponentConfigurationAsync(UpdateComponentConfigurationRequest request)
AmazonApplicationInsightsAsync
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
.
updateComponentConfigurationAsync
in interface AmazonApplicationInsightsAsync
public Future<UpdateComponentConfigurationResult> updateComponentConfigurationAsync(UpdateComponentConfigurationRequest request, AsyncHandler<UpdateComponentConfigurationRequest,UpdateComponentConfigurationResult> asyncHandler)
AmazonApplicationInsightsAsync
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
.
updateComponentConfigurationAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLogPatternResult> updateLogPatternAsync(UpdateLogPatternRequest request)
AmazonApplicationInsightsAsync
Adds a log pattern to a LogPatternSet
.
updateLogPatternAsync
in interface AmazonApplicationInsightsAsync
public Future<UpdateLogPatternResult> updateLogPatternAsync(UpdateLogPatternRequest request, AsyncHandler<UpdateLogPatternRequest,UpdateLogPatternResult> asyncHandler)
AmazonApplicationInsightsAsync
Adds a log pattern to a LogPatternSet
.
updateLogPatternAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateProblemResult> updateProblemAsync(UpdateProblemRequest request)
AmazonApplicationInsightsAsync
Updates the visibility of the problem or specifies the problem as RESOLVED
.
updateProblemAsync
in interface AmazonApplicationInsightsAsync
public Future<UpdateProblemResult> updateProblemAsync(UpdateProblemRequest request, AsyncHandler<UpdateProblemRequest,UpdateProblemResult> asyncHandler)
AmazonApplicationInsightsAsync
Updates the visibility of the problem or specifies the problem as RESOLVED
.
updateProblemAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateWorkloadResult> updateWorkloadAsync(UpdateWorkloadRequest request)
AmazonApplicationInsightsAsync
Adds a workload to a component. Each component can have at most five workloads.
updateWorkloadAsync
in interface AmazonApplicationInsightsAsync
public Future<UpdateWorkloadResult> updateWorkloadAsync(UpdateWorkloadRequest request, AsyncHandler<UpdateWorkloadRequest,UpdateWorkloadResult> asyncHandler)
AmazonApplicationInsightsAsync
Adds a workload to a component. Each component can have at most five workloads.
updateWorkloadAsync
in interface AmazonApplicationInsightsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonApplicationInsights
shutdown
in class AmazonApplicationInsightsClient