@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 for .NET and SQL Server is a service that helps you detect common problems with your .NET and SQL Server-based 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 for .NET and SQL Server 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
builder, createApplication, createComponent, deleteApplication, deleteComponent, describeApplication, describeComponent, describeComponentConfiguration, describeComponentConfigurationRecommendation, describeObservation, describeProblem, describeProblemObservations, getCachedResponseMetadata, listApplications, listComponents, listProblems, updateApplication, updateComponent, updateComponentConfiguration
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
createApplication, createComponent, deleteApplication, deleteComponent, describeApplication, describeComponent, describeComponentConfiguration, describeComponentConfigurationRecommendation, describeObservation, describeProblem, describeProblemObservations, getCachedResponseMetadata, listApplications, listComponents, listProblems, updateApplication, updateComponent, updateComponentConfiguration
public static AmazonApplicationInsightsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
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<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<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<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<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<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<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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonApplicationInsights
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.