@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonApplicationInsights
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonApplicationInsights
instead.
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
AddWorkloadResult |
addWorkload(AddWorkloadRequest addWorkloadRequest)
Adds a workload to a component.
|
CreateApplicationResult |
createApplication(CreateApplicationRequest createApplicationRequest)
Adds an application that is created from a resource group.
|
CreateComponentResult |
createComponent(CreateComponentRequest createComponentRequest)
Creates a custom component by grouping similar standalone instances to monitor.
|
CreateLogPatternResult |
createLogPattern(CreateLogPatternRequest createLogPatternRequest)
Adds an log pattern to a
LogPatternSet . |
DeleteApplicationResult |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Removes the specified application from monitoring.
|
DeleteComponentResult |
deleteComponent(DeleteComponentRequest deleteComponentRequest)
Ungroups a custom component.
|
DeleteLogPatternResult |
deleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest)
Removes the specified log pattern from a
LogPatternSet . |
DescribeApplicationResult |
describeApplication(DescribeApplicationRequest describeApplicationRequest)
Describes the application.
|
DescribeComponentResult |
describeComponent(DescribeComponentRequest describeComponentRequest)
Describes a component and lists the resources that are grouped together in a component.
|
DescribeComponentConfigurationResult |
describeComponentConfiguration(DescribeComponentConfigurationRequest describeComponentConfigurationRequest)
Describes the monitoring configuration of the component.
|
DescribeComponentConfigurationRecommendationResult |
describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest)
Describes the recommended monitoring configuration of the component.
|
DescribeLogPatternResult |
describeLogPattern(DescribeLogPatternRequest describeLogPatternRequest)
Describe a specific log pattern from a
LogPatternSet . |
DescribeObservationResult |
describeObservation(DescribeObservationRequest describeObservationRequest)
Describes an anomaly or error with the application.
|
DescribeProblemResult |
describeProblem(DescribeProblemRequest describeProblemRequest)
Describes an application problem.
|
DescribeProblemObservationsResult |
describeProblemObservations(DescribeProblemObservationsRequest describeProblemObservationsRequest)
Describes the anomalies or errors associated with the problem.
|
DescribeWorkloadResult |
describeWorkload(DescribeWorkloadRequest describeWorkloadRequest)
Describes a workload and its configuration.
|
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 listApplicationsRequest)
Lists the IDs of the applications that you are monitoring.
|
ListComponentsResult |
listComponents(ListComponentsRequest listComponentsRequest)
Lists the auto-grouped, standalone, and custom components of the application.
|
ListConfigurationHistoryResult |
listConfigurationHistory(ListConfigurationHistoryRequest listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.
|
ListLogPatternsResult |
listLogPatterns(ListLogPatternsRequest listLogPatternsRequest)
Lists the log patterns in the specific log
LogPatternSet . |
ListLogPatternSetsResult |
listLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest)
Lists the log pattern sets in the specific application.
|
ListProblemsResult |
listProblems(ListProblemsRequest listProblemsRequest)
Lists the problems with your application.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieve a list of the tags (keys and values) that are associated with a specified application.
|
ListWorkloadsResult |
listWorkloads(ListWorkloadsRequest listWorkloadsRequest)
Lists the workloads that are configured on a given component.
|
RemoveWorkloadResult |
removeWorkload(RemoveWorkloadRequest removeWorkloadRequest)
Remove workload from a component.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Add one or more tags (keys and values) to a specified application.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Remove one or more tags (keys and values) from a specified application.
|
UpdateApplicationResult |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates the application.
|
UpdateComponentResult |
updateComponent(UpdateComponentRequest updateComponentRequest)
Updates the custom component name and/or the list of resources that make up the component.
|
UpdateComponentConfigurationResult |
updateComponentConfiguration(UpdateComponentConfigurationRequest updateComponentConfigurationRequest)
Updates the monitoring configurations for the component.
|
UpdateLogPatternResult |
updateLogPattern(UpdateLogPatternRequest updateLogPatternRequest)
Adds a log pattern to a
LogPatternSet . |
UpdateProblemResult |
updateProblem(UpdateProblemRequest updateProblemRequest)
Updates the visibility of the problem or specifies the problem as
RESOLVED . |
UpdateWorkloadResult |
updateWorkload(UpdateWorkloadRequest updateWorkloadRequest)
Adds a workload to a component.
|
static final String ENDPOINT_PREFIX
AddWorkloadResult addWorkload(AddWorkloadRequest addWorkloadRequest)
Adds a workload to a component. Each component can have at most five workloads.
addWorkloadRequest
- 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.CreateApplicationResult createApplication(CreateApplicationRequest createApplicationRequest)
Adds an application that is created from a resource group.
createApplicationRequest
- 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.CreateComponentResult createComponent(CreateComponentRequest createComponentRequest)
Creates a custom component by grouping similar standalone instances to monitor.
createComponentRequest
- 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.CreateLogPatternResult createLogPattern(CreateLogPatternRequest createLogPatternRequest)
Adds an log pattern to a LogPatternSet
.
createLogPatternRequest
- 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.DeleteApplicationResult deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Removes the specified application from monitoring. Does not delete the application.
deleteApplicationRequest
- 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.DeleteComponentResult 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.
deleteComponentRequest
- 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.DeleteLogPatternResult deleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest)
Removes the specified log pattern from a LogPatternSet
.
deleteLogPatternRequest
- 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.DescribeApplicationResult describeApplication(DescribeApplicationRequest describeApplicationRequest)
Describes the application.
describeApplicationRequest
- 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.DescribeComponentResult describeComponent(DescribeComponentRequest describeComponentRequest)
Describes a component and lists the resources that are grouped together in a component.
describeComponentRequest
- 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.DescribeComponentConfigurationResult describeComponentConfiguration(DescribeComponentConfigurationRequest describeComponentConfigurationRequest)
Describes the monitoring configuration of the component.
describeComponentConfigurationRequest
- 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.DescribeComponentConfigurationRecommendationResult describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest)
Describes the recommended monitoring configuration of the component.
describeComponentConfigurationRecommendationRequest
- 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.DescribeLogPatternResult describeLogPattern(DescribeLogPatternRequest describeLogPatternRequest)
Describe a specific log pattern from a LogPatternSet
.
describeLogPatternRequest
- 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.DescribeObservationResult describeObservation(DescribeObservationRequest describeObservationRequest)
Describes an anomaly or error with the application.
describeObservationRequest
- 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.DescribeProblemResult describeProblem(DescribeProblemRequest describeProblemRequest)
Describes an application problem.
describeProblemRequest
- 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.DescribeProblemObservationsResult describeProblemObservations(DescribeProblemObservationsRequest describeProblemObservationsRequest)
Describes the anomalies or errors associated with the problem.
describeProblemObservationsRequest
- 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.DescribeWorkloadResult describeWorkload(DescribeWorkloadRequest describeWorkloadRequest)
Describes a workload and its configuration.
describeWorkloadRequest
- 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.ListApplicationsResult listApplications(ListApplicationsRequest listApplicationsRequest)
Lists the IDs of the applications that you are monitoring.
listApplicationsRequest
- ValidationException
- The parameter is not valid.InternalServerException
- The server encountered an internal error and is unable to complete the request.ListComponentsResult listComponents(ListComponentsRequest listComponentsRequest)
Lists the auto-grouped, standalone, and custom components of the application.
listComponentsRequest
- 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.ListConfigurationHistoryResult 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.
listConfigurationHistoryRequest
- 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.ListLogPatternSetsResult listLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest)
Lists the log pattern sets in the specific application.
listLogPatternSetsRequest
- 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.ListLogPatternsResult listLogPatterns(ListLogPatternsRequest listLogPatternsRequest)
Lists the log patterns in the specific log LogPatternSet
.
listLogPatternsRequest
- 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.ListProblemsResult listProblems(ListProblemsRequest listProblemsRequest)
Lists the problems with your application.
listProblemsRequest
- 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.ListTagsForResourceResult 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.
listTagsForResourceRequest
- ResourceNotFoundException
- The resource does not exist in the customer account.ValidationException
- The parameter is not valid.ListWorkloadsResult listWorkloads(ListWorkloadsRequest listWorkloadsRequest)
Lists the workloads that are configured on a given component.
listWorkloadsRequest
- 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.RemoveWorkloadResult removeWorkload(RemoveWorkloadRequest removeWorkloadRequest)
Remove workload from a component.
removeWorkloadRequest
- 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.TagResourceResult tagResource(TagResourceRequest 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.
tagResourceRequest
- 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.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Remove one or more tags (keys and values) from a specified application.
untagResourceRequest
- ResourceNotFoundException
- The resource does not exist in the customer account.ValidationException
- The parameter is not valid.UpdateApplicationResult updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates the application.
updateApplicationRequest
- 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.UpdateComponentResult updateComponent(UpdateComponentRequest updateComponentRequest)
Updates the custom component name and/or the list of resources that make up the component.
updateComponentRequest
- 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.UpdateComponentConfigurationResult 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
.
updateComponentConfigurationRequest
- 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.UpdateLogPatternResult updateLogPattern(UpdateLogPatternRequest updateLogPatternRequest)
Adds a log pattern to a LogPatternSet
.
updateLogPatternRequest
- 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.UpdateProblemResult updateProblem(UpdateProblemRequest updateProblemRequest)
Updates the visibility of the problem or specifies the problem as RESOLVED
.
updateProblemRequest
- 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.UpdateWorkloadResult updateWorkload(UpdateWorkloadRequest updateWorkloadRequest)
Adds a workload to a component. Each component can have at most five workloads.
updateWorkloadRequest
- 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.void shutdown()
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 a request.
request
- The originally executed request.