@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonApplicationInsightsClient extends AmazonWebServiceClient implements AmazonApplicationInsights
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.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonApplicationInsightsClientBuilder |
builder() |
CreateApplicationResult |
createApplication(CreateApplicationRequest request)
Adds an application that is created from a resource group.
|
CreateComponentResult |
createComponent(CreateComponentRequest request)
Creates a custom component by grouping similar standalone instances to monitor.
|
DeleteApplicationResult |
deleteApplication(DeleteApplicationRequest request)
Removes the specified application from monitoring.
|
DeleteComponentResult |
deleteComponent(DeleteComponentRequest request)
Ungroups a custom component.
|
DescribeApplicationResult |
describeApplication(DescribeApplicationRequest request)
Describes the application.
|
DescribeComponentResult |
describeComponent(DescribeComponentRequest request)
Describes a component and lists the resources that are grouped together in a component.
|
DescribeComponentConfigurationResult |
describeComponentConfiguration(DescribeComponentConfigurationRequest request)
Describes the monitoring configuration of the component.
|
DescribeComponentConfigurationRecommendationResult |
describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest request)
Describes the recommended monitoring configuration of the component.
|
DescribeObservationResult |
describeObservation(DescribeObservationRequest request)
Describes an anomaly or error with the application.
|
DescribeProblemResult |
describeProblem(DescribeProblemRequest request)
Describes an application problem.
|
DescribeProblemObservationsResult |
describeProblemObservations(DescribeProblemObservationsRequest request)
Describes the anomalies or errors associated with the problem.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListApplicationsResult |
listApplications(ListApplicationsRequest request)
Lists the IDs of the applications that you are monitoring.
|
ListComponentsResult |
listComponents(ListComponentsRequest request)
Lists the auto-grouped, standalone, and custom components of the application.
|
ListProblemsResult |
listProblems(ListProblemsRequest request)
Lists the problems with your application.
|
UpdateComponentResult |
updateComponent(UpdateComponentRequest request)
Updates the custom component name and/or the list of resources that make up the component.
|
UpdateComponentConfigurationResult |
updateComponentConfiguration(UpdateComponentConfigurationRequest request)
Updates the monitoring configurations for the component.
|
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprotected static final ClientConfigurationFactory configFactory
public static AmazonApplicationInsightsClientBuilder builder()
public CreateApplicationResult createApplication(CreateApplicationRequest request)
Adds an application that is created from a resource group.
createApplication in interface AmazonApplicationInsightscreateApplicationRequest - 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.public CreateComponentResult createComponent(CreateComponentRequest request)
Creates a custom component by grouping similar standalone instances to monitor.
createComponent in interface AmazonApplicationInsightscreateComponentRequest - 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.public DeleteApplicationResult deleteApplication(DeleteApplicationRequest request)
Removes the specified application from monitoring. Does not delete the application.
deleteApplication in interface AmazonApplicationInsightsdeleteApplicationRequest - 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.public DeleteComponentResult deleteComponent(DeleteComponentRequest request)
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.
deleteComponent in interface AmazonApplicationInsightsdeleteComponentRequest - 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.public DescribeApplicationResult describeApplication(DescribeApplicationRequest request)
Describes the application.
describeApplication in interface AmazonApplicationInsightsdescribeApplicationRequest - 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.public DescribeComponentResult describeComponent(DescribeComponentRequest request)
Describes a component and lists the resources that are grouped together in a component.
describeComponent in interface AmazonApplicationInsightsdescribeComponentRequest - 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.public DescribeComponentConfigurationResult describeComponentConfiguration(DescribeComponentConfigurationRequest request)
Describes the monitoring configuration of the component.
describeComponentConfiguration in interface AmazonApplicationInsightsdescribeComponentConfigurationRequest - 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.public DescribeComponentConfigurationRecommendationResult describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest request)
Describes the recommended monitoring configuration of the component.
describeComponentConfigurationRecommendation in interface AmazonApplicationInsightsdescribeComponentConfigurationRecommendationRequest - 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.public DescribeObservationResult describeObservation(DescribeObservationRequest request)
Describes an anomaly or error with the application.
describeObservation in interface AmazonApplicationInsightsdescribeObservationRequest - 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.public DescribeProblemResult describeProblem(DescribeProblemRequest request)
Describes an application problem.
describeProblem in interface AmazonApplicationInsightsdescribeProblemRequest - 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.public DescribeProblemObservationsResult describeProblemObservations(DescribeProblemObservationsRequest request)
Describes the anomalies or errors associated with the problem.
describeProblemObservations in interface AmazonApplicationInsightsdescribeProblemObservationsRequest - 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.public ListApplicationsResult listApplications(ListApplicationsRequest request)
Lists the IDs of the applications that you are monitoring.
listApplications in interface AmazonApplicationInsightslistApplicationsRequest - ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.public ListComponentsResult listComponents(ListComponentsRequest request)
Lists the auto-grouped, standalone, and custom components of the application.
listComponents in interface AmazonApplicationInsightslistComponentsRequest - 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.public ListProblemsResult listProblems(ListProblemsRequest request)
Lists the problems with your application.
listProblems in interface AmazonApplicationInsightslistProblemsRequest - 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.public UpdateComponentResult updateComponent(UpdateComponentRequest request)
Updates the custom component name and/or the list of resources that make up the component.
updateComponent in interface AmazonApplicationInsightsupdateComponentRequest - 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.public UpdateComponentConfigurationResult updateComponentConfiguration(UpdateComponentConfigurationRequest request)
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.
updateComponentConfiguration in interface AmazonApplicationInsightsupdateComponentConfigurationRequest - 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.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AmazonApplicationInsightsrequest - The originally executed requestCopyright © 2019. All rights reserved.