Interface ApplicationInsightsClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
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 AddWorkloadResponse
addWorkload
(Consumer<AddWorkloadRequest.Builder> addWorkloadRequest) Adds a workload to a component.default AddWorkloadResponse
addWorkload
(AddWorkloadRequest addWorkloadRequest) Adds a workload to a component.builder()
Create a builder that can be used to configure and create aApplicationInsightsClient
.static ApplicationInsightsClient
create()
Create aApplicationInsightsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateApplicationResponse
createApplication
(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Adds an application that is created from a resource group.default CreateApplicationResponse
createApplication
(CreateApplicationRequest createApplicationRequest) Adds an application that is created from a resource group.default CreateComponentResponse
createComponent
(Consumer<CreateComponentRequest.Builder> createComponentRequest) Creates a custom component by grouping similar standalone instances to monitor.default CreateComponentResponse
createComponent
(CreateComponentRequest createComponentRequest) Creates a custom component by grouping similar standalone instances to monitor.default CreateLogPatternResponse
createLogPattern
(Consumer<CreateLogPatternRequest.Builder> createLogPatternRequest) Adds an log pattern to aLogPatternSet
.default CreateLogPatternResponse
createLogPattern
(CreateLogPatternRequest createLogPatternRequest) Adds an log pattern to aLogPatternSet
.default DeleteApplicationResponse
deleteApplication
(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Removes the specified application from monitoring.default DeleteApplicationResponse
deleteApplication
(DeleteApplicationRequest deleteApplicationRequest) Removes the specified application from monitoring.default DeleteComponentResponse
deleteComponent
(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) Ungroups a custom component.default DeleteComponentResponse
deleteComponent
(DeleteComponentRequest deleteComponentRequest) Ungroups a custom component.default DeleteLogPatternResponse
deleteLogPattern
(Consumer<DeleteLogPatternRequest.Builder> deleteLogPatternRequest) Removes the specified log pattern from aLogPatternSet
.default DeleteLogPatternResponse
deleteLogPattern
(DeleteLogPatternRequest deleteLogPatternRequest) Removes the specified log pattern from aLogPatternSet
.default DescribeApplicationResponse
describeApplication
(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) Describes the application.default DescribeApplicationResponse
describeApplication
(DescribeApplicationRequest describeApplicationRequest) Describes the application.default DescribeComponentResponse
describeComponent
(Consumer<DescribeComponentRequest.Builder> describeComponentRequest) Describes a component and lists the resources that are grouped together in a component.default DescribeComponentResponse
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.default DescribeLogPatternResponse
describeLogPattern
(Consumer<DescribeLogPatternRequest.Builder> describeLogPatternRequest) Describe a specific log pattern from aLogPatternSet
.default DescribeLogPatternResponse
describeLogPattern
(DescribeLogPatternRequest describeLogPatternRequest) Describe a specific log pattern from aLogPatternSet
.default DescribeObservationResponse
describeObservation
(Consumer<DescribeObservationRequest.Builder> describeObservationRequest) Describes an anomaly or error with the application.default DescribeObservationResponse
describeObservation
(DescribeObservationRequest describeObservationRequest) Describes an anomaly or error with the application.default DescribeProblemResponse
describeProblem
(Consumer<DescribeProblemRequest.Builder> describeProblemRequest) Describes an application problem.default 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.default DescribeWorkloadResponse
describeWorkload
(Consumer<DescribeWorkloadRequest.Builder> describeWorkloadRequest) Describes a workload and its configuration.default DescribeWorkloadResponse
describeWorkload
(DescribeWorkloadRequest describeWorkloadRequest) Describes a workload and its configuration.default ListApplicationsResponse
listApplications
(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Lists the IDs of the applications that you are monitoring.default ListApplicationsResponse
listApplications
(ListApplicationsRequest listApplicationsRequest) Lists the IDs of the applications that you are monitoring.default ListApplicationsIterable
listApplicationsPaginator
(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)
operation.default ListApplicationsIterable
listApplicationsPaginator
(ListApplicationsRequest listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)
operation.default ListComponentsResponse
listComponents
(Consumer<ListComponentsRequest.Builder> listComponentsRequest) Lists the auto-grouped, standalone, and custom components of the application.default ListComponentsResponse
listComponents
(ListComponentsRequest listComponentsRequest) Lists the auto-grouped, standalone, and custom components of the application.default ListComponentsIterable
listComponentsPaginator
(Consumer<ListComponentsRequest.Builder> listComponentsRequest) This is a variant oflistComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)
operation.default ListComponentsIterable
listComponentsPaginator
(ListComponentsRequest listComponentsRequest) This is a variant oflistComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)
operation.default ListConfigurationHistoryResponse
listConfigurationHistory
(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.default ListConfigurationHistoryResponse
listConfigurationHistory
(ListConfigurationHistoryRequest listConfigurationHistoryRequest) Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.default ListConfigurationHistoryIterable
listConfigurationHistoryPaginator
(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) This is a variant oflistConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation.default ListConfigurationHistoryIterable
listConfigurationHistoryPaginator
(ListConfigurationHistoryRequest listConfigurationHistoryRequest) This is a variant oflistConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation.default ListLogPatternsResponse
listLogPatterns
(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) Lists the log patterns in the specific logLogPatternSet
.default ListLogPatternsResponse
listLogPatterns
(ListLogPatternsRequest listLogPatternsRequest) Lists the log patterns in the specific logLogPatternSet
.default ListLogPatternSetsResponse
listLogPatternSets
(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) Lists the log pattern sets in the specific application.default ListLogPatternSetsResponse
listLogPatternSets
(ListLogPatternSetsRequest listLogPatternSetsRequest) Lists the log pattern sets in the specific application.default ListLogPatternSetsIterable
listLogPatternSetsPaginator
(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) This is a variant oflistLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)
operation.default ListLogPatternSetsIterable
listLogPatternSetsPaginator
(ListLogPatternSetsRequest listLogPatternSetsRequest) This is a variant oflistLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)
operation.default ListLogPatternsIterable
listLogPatternsPaginator
(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) This is a variant oflistLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)
operation.default ListLogPatternsIterable
listLogPatternsPaginator
(ListLogPatternsRequest listLogPatternsRequest) This is a variant oflistLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)
operation.default ListProblemsResponse
listProblems
(Consumer<ListProblemsRequest.Builder> listProblemsRequest) Lists the problems with your application.default ListProblemsResponse
listProblems
(ListProblemsRequest listProblemsRequest) Lists the problems with your application.default ListProblemsIterable
listProblemsPaginator
(Consumer<ListProblemsRequest.Builder> listProblemsRequest) This is a variant oflistProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)
operation.default ListProblemsIterable
listProblemsPaginator
(ListProblemsRequest listProblemsRequest) This is a variant oflistProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieve a list of the tags (keys and values) that are associated with a specified application.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Retrieve a list of the tags (keys and values) that are associated with a specified application.default ListWorkloadsResponse
listWorkloads
(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) Lists the workloads that are configured on a given component.default ListWorkloadsResponse
listWorkloads
(ListWorkloadsRequest listWorkloadsRequest) Lists the workloads that are configured on a given component.default ListWorkloadsIterable
listWorkloadsPaginator
(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) This is a variant oflistWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)
operation.default ListWorkloadsIterable
listWorkloadsPaginator
(ListWorkloadsRequest listWorkloadsRequest) This is a variant oflistWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)
operation.default RemoveWorkloadResponse
removeWorkload
(Consumer<RemoveWorkloadRequest.Builder> removeWorkloadRequest) Remove workload from a component.default RemoveWorkloadResponse
removeWorkload
(RemoveWorkloadRequest removeWorkloadRequest) Remove workload from a component.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add one or more tags (keys and values) to a specified application.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Add one or more tags (keys and values) to a specified application.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove one or more tags (keys and values) from a specified application.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Remove one or more tags (keys and values) from a specified application.default UpdateApplicationResponse
updateApplication
(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates the application.default UpdateApplicationResponse
updateApplication
(UpdateApplicationRequest updateApplicationRequest) Updates the application.default UpdateComponentResponse
updateComponent
(Consumer<UpdateComponentRequest.Builder> updateComponentRequest) Updates the custom component name and/or the list of resources that make up the component.default 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.default UpdateLogPatternResponse
updateLogPattern
(Consumer<UpdateLogPatternRequest.Builder> updateLogPatternRequest) Adds a log pattern to aLogPatternSet
.default UpdateLogPatternResponse
updateLogPattern
(UpdateLogPatternRequest updateLogPatternRequest) Adds a log pattern to aLogPatternSet
.default UpdateProblemResponse
updateProblem
(Consumer<UpdateProblemRequest.Builder> updateProblemRequest) Updates the visibility of the problem or specifies the problem asRESOLVED
.default UpdateProblemResponse
updateProblem
(UpdateProblemRequest updateProblemRequest) Updates the visibility of the problem or specifies the problem asRESOLVED
.default UpdateWorkloadResponse
updateWorkload
(Consumer<UpdateWorkloadRequest.Builder> updateWorkloadRequest) Adds a workload to a component.default 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
default AddWorkloadResponse addWorkload(AddWorkloadRequest addWorkloadRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Adds a workload to a component. Each component can have at most five workloads.
- Parameters:
addWorkloadRequest
-- Returns:
- Result of the AddWorkload operation returned by the service.
- See Also:
-
addWorkload
default AddWorkloadResponse addWorkload(Consumer<AddWorkloadRequest.Builder> addWorkloadRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the AddWorkload operation returned by the service.
- See Also:
-
createApplication
default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, TagsAlreadyExistException, AccessDeniedException, AwsServiceException, SdkClientException, ApplicationInsightsException Adds an application that is created from a resource group.
- Parameters:
createApplicationRequest
-- Returns:
- Result of the CreateApplication operation returned by the service.
- See Also:
-
createApplication
default CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, TagsAlreadyExistException, AccessDeniedException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the CreateApplication operation returned by the service.
- See Also:
-
createComponent
default CreateComponentResponse createComponent(CreateComponentRequest createComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Creates a custom component by grouping similar standalone instances to monitor.
- Parameters:
createComponentRequest
-- Returns:
- Result of the CreateComponent operation returned by the service.
- See Also:
-
createComponent
default CreateComponentResponse createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the CreateComponent operation returned by the service.
- See Also:
-
createLogPattern
default CreateLogPatternResponse createLogPattern(CreateLogPatternRequest createLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Adds an log pattern to a
LogPatternSet
.- Parameters:
createLogPatternRequest
-- Returns:
- Result of the CreateLogPattern operation returned by the service.
- See Also:
-
createLogPattern
default CreateLogPatternResponse createLogPattern(Consumer<CreateLogPatternRequest.Builder> createLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the CreateLogPattern operation returned by the service.
- See Also:
-
deleteApplication
default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Removes the specified application from monitoring. Does not delete the application.
- Parameters:
deleteApplicationRequest
-- Returns:
- Result of the DeleteApplication operation returned by the service.
- See Also:
-
deleteApplication
default DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DeleteApplication operation returned by the service.
- See Also:
-
deleteComponent
default DeleteComponentResponse deleteComponent(DeleteComponentRequest deleteComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DeleteComponent operation returned by the service.
- See Also:
-
deleteComponent
default DeleteComponentResponse deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DeleteComponent operation returned by the service.
- See Also:
-
deleteLogPattern
default DeleteLogPatternResponse deleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Removes the specified log pattern from a
LogPatternSet
.- Parameters:
deleteLogPatternRequest
-- Returns:
- Result of the DeleteLogPattern operation returned by the service.
- See Also:
-
deleteLogPattern
default DeleteLogPatternResponse deleteLogPattern(Consumer<DeleteLogPatternRequest.Builder> deleteLogPatternRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DeleteLogPattern operation returned by the service.
- See Also:
-
describeApplication
default DescribeApplicationResponse describeApplication(DescribeApplicationRequest describeApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Describes the application.
- Parameters:
describeApplicationRequest
-- Returns:
- Result of the DescribeApplication operation returned by the service.
- See Also:
-
describeApplication
default DescribeApplicationResponse describeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DescribeApplication operation returned by the service.
- See Also:
-
describeComponent
default DescribeComponentResponse describeComponent(DescribeComponentRequest describeComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Describes a component and lists the resources that are grouped together in a component.
- Parameters:
describeComponentRequest
-- Returns:
- Result of the DescribeComponent operation returned by the service.
- See Also:
-
describeComponent
default DescribeComponentResponse describeComponent(Consumer<DescribeComponentRequest.Builder> describeComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DescribeComponent operation returned by the service.
- See Also:
-
describeComponentConfiguration
default DescribeComponentConfigurationResponse describeComponentConfiguration(DescribeComponentConfigurationRequest describeComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Describes the monitoring configuration of the component.
- Parameters:
describeComponentConfigurationRequest
-- Returns:
- Result of the DescribeComponentConfiguration operation returned by the service.
- See Also:
-
describeComponentConfiguration
default DescribeComponentConfigurationResponse describeComponentConfiguration(Consumer<DescribeComponentConfigurationRequest.Builder> describeComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DescribeComponentConfiguration operation returned by the service.
- See Also:
-
describeComponentConfigurationRecommendation
default DescribeComponentConfigurationRecommendationResponse describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Describes the recommended monitoring configuration of the component.
- Parameters:
describeComponentConfigurationRecommendationRequest
-- Returns:
- Result of the DescribeComponentConfigurationRecommendation operation returned by the service.
- See Also:
-
describeComponentConfigurationRecommendation
default DescribeComponentConfigurationRecommendationResponse describeComponentConfigurationRecommendation(Consumer<DescribeComponentConfigurationRecommendationRequest.Builder> describeComponentConfigurationRecommendationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DescribeComponentConfigurationRecommendation operation returned by the service.
- See Also:
-
describeLogPattern
default DescribeLogPatternResponse describeLogPattern(DescribeLogPatternRequest describeLogPatternRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Describe a specific log pattern from a
LogPatternSet
.- Parameters:
describeLogPatternRequest
-- Returns:
- Result of the DescribeLogPattern operation returned by the service.
- See Also:
-
describeLogPattern
default DescribeLogPatternResponse describeLogPattern(Consumer<DescribeLogPatternRequest.Builder> describeLogPatternRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DescribeLogPattern operation returned by the service.
- See Also:
-
describeObservation
default DescribeObservationResponse describeObservation(DescribeObservationRequest describeObservationRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException Describes an anomaly or error with the application.
- Parameters:
describeObservationRequest
-- Returns:
- Result of the DescribeObservation operation returned by the service.
- See Also:
-
describeObservation
default DescribeObservationResponse describeObservation(Consumer<DescribeObservationRequest.Builder> describeObservationRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DescribeObservation operation returned by the service.
- See Also:
-
describeProblem
default DescribeProblemResponse describeProblem(DescribeProblemRequest describeProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException Describes an application problem.
- Parameters:
describeProblemRequest
-- Returns:
- Result of the DescribeProblem operation returned by the service.
- See Also:
-
describeProblem
default DescribeProblemResponse describeProblem(Consumer<DescribeProblemRequest.Builder> describeProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DescribeProblem operation returned by the service.
- See Also:
-
describeProblemObservations
default DescribeProblemObservationsResponse describeProblemObservations(DescribeProblemObservationsRequest describeProblemObservationsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException Describes the anomalies or errors associated with the problem.
- Parameters:
describeProblemObservationsRequest
-- Returns:
- Result of the DescribeProblemObservations operation returned by the service.
- See Also:
-
describeProblemObservations
default DescribeProblemObservationsResponse describeProblemObservations(Consumer<DescribeProblemObservationsRequest.Builder> describeProblemObservationsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DescribeProblemObservations operation returned by the service.
- See Also:
-
describeWorkload
default DescribeWorkloadResponse describeWorkload(DescribeWorkloadRequest describeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Describes a workload and its configuration.
- Parameters:
describeWorkloadRequest
-- Returns:
- Result of the DescribeWorkload operation returned by the service.
- See Also:
-
describeWorkload
default DescribeWorkloadResponse describeWorkload(Consumer<DescribeWorkloadRequest.Builder> describeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the DescribeWorkload operation returned by the service.
- See Also:
-
listApplications
default ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Lists the IDs of the applications that you are monitoring.
- Parameters:
listApplicationsRequest
-- Returns:
- Result of the ListApplications operation returned by the service.
- See Also:
-
listApplications
default ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the ListApplications operation returned by the service.
- See Also:
-
listApplicationsPaginator
default ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client .listApplicationsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listApplicationsPaginator
default ListApplicationsIterable listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client .listApplicationsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listComponents
default ListComponentsResponse listComponents(ListComponentsRequest listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Lists the auto-grouped, standalone, and custom components of the application.
- Parameters:
listComponentsRequest
-- Returns:
- Result of the ListComponents operation returned by the service.
- See Also:
-
listComponents
default ListComponentsResponse listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the ListComponents operation returned by the service.
- See Also:
-
listComponentsPaginator
default ListComponentsIterable listComponentsPaginator(ListComponentsRequest listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client .listComponentsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listComponentsPaginator
default ListComponentsIterable listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client .listComponentsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listConfigurationHistory
default ListConfigurationHistoryResponse listConfigurationHistory(ListConfigurationHistoryRequest listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the ListConfigurationHistory operation returned by the service.
- See Also:
-
-
listConfigurationHistory
default ListConfigurationHistoryResponse listConfigurationHistory(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the ListConfigurationHistory operation returned by the service.
- See Also:
-
-
listConfigurationHistoryPaginator
default ListConfigurationHistoryIterable listConfigurationHistoryPaginator(ListConfigurationHistoryRequest listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client .listConfigurationHistoryPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listConfigurationHistoryPaginator
default ListConfigurationHistoryIterable listConfigurationHistoryPaginator(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client .listConfigurationHistoryPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listLogPatternSets
default ListLogPatternSetsResponse listLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Lists the log pattern sets in the specific application.
- Parameters:
listLogPatternSetsRequest
-- Returns:
- Result of the ListLogPatternSets operation returned by the service.
- See Also:
-
listLogPatternSets
default ListLogPatternSetsResponse listLogPatternSets(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the ListLogPatternSets operation returned by the service.
- See Also:
-
listLogPatternSetsPaginator
default ListLogPatternSetsIterable listLogPatternSetsPaginator(ListLogPatternSetsRequest listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client .listLogPatternSetsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listLogPatternSetsPaginator
default ListLogPatternSetsIterable listLogPatternSetsPaginator(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client .listLogPatternSetsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listLogPatterns
default ListLogPatternsResponse listLogPatterns(ListLogPatternsRequest listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Lists the log patterns in the specific log
LogPatternSet
.- Parameters:
listLogPatternsRequest
-- Returns:
- Result of the ListLogPatterns operation returned by the service.
- See Also:
-
listLogPatterns
default ListLogPatternsResponse listLogPatterns(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the ListLogPatterns operation returned by the service.
- See Also:
-
listLogPatternsPaginator
default ListLogPatternsIterable listLogPatternsPaginator(ListLogPatternsRequest listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client .listLogPatternsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listLogPatternsPaginator
default ListLogPatternsIterable listLogPatternsPaginator(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client .listLogPatternsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listProblems
default ListProblemsResponse listProblems(ListProblemsRequest listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Lists the problems with your application.
- Parameters:
listProblemsRequest
-- Returns:
- Result of the ListProblems operation returned by the service.
- See Also:
-
listProblems
default ListProblemsResponse listProblems(Consumer<ListProblemsRequest.Builder> listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the ListProblems operation returned by the service.
- See Also:
-
listProblemsPaginator
default ListProblemsIterable listProblemsPaginator(ListProblemsRequest listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client .listProblemsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listProblemsPaginator
default ListProblemsIterable listProblemsPaginator(Consumer<ListProblemsRequest.Builder> listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client .listProblemsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listWorkloads
default ListWorkloadsResponse listWorkloads(ListWorkloadsRequest listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Lists the workloads that are configured on a given component.
- Parameters:
listWorkloadsRequest
-- Returns:
- Result of the ListWorkloads operation returned by the service.
- See Also:
-
listWorkloads
default ListWorkloadsResponse listWorkloads(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the ListWorkloads operation returned by the service.
- See Also:
-
listWorkloadsPaginator
default ListWorkloadsIterable listWorkloadsPaginator(ListWorkloadsRequest listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client .listWorkloadsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkloadsPaginator
default ListWorkloadsIterable listWorkloadsPaginator(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException This is a variant of
listWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client .listWorkloadsPaginator(request); for (software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationinsights.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
removeWorkload
default RemoveWorkloadResponse removeWorkload(RemoveWorkloadRequest removeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Remove workload from a component.
- Parameters:
removeWorkloadRequest
-- Returns:
- Result of the RemoveWorkload operation returned by the service.
- See Also:
-
removeWorkload
default RemoveWorkloadResponse removeWorkload(Consumer<RemoveWorkloadRequest.Builder> removeWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the RemoveWorkload operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, TooManyTagsException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, TooManyTagsException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException Remove one or more tags (keys and values) from a specified application.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateApplication
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException Updates the application.
- Parameters:
updateApplicationRequest
-- Returns:
- Result of the UpdateApplication operation returned by the service.
- See Also:
-
updateApplication
default UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the UpdateApplication operation returned by the service.
- See Also:
-
updateComponent
default UpdateComponentResponse updateComponent(UpdateComponentRequest updateComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Updates the custom component name and/or the list of resources that make up the component.
- Parameters:
updateComponentRequest
-- Returns:
- Result of the UpdateComponent operation returned by the service.
- See Also:
-
updateComponent
default UpdateComponentResponse updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the UpdateComponent operation returned by the service.
- See Also:
-
updateComponentConfiguration
default UpdateComponentConfigurationResponse updateComponentConfiguration(UpdateComponentConfigurationRequest updateComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ResourceInUseException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the UpdateComponentConfiguration operation returned by the service.
- See Also:
-
updateComponentConfiguration
default UpdateComponentConfigurationResponse updateComponentConfiguration(Consumer<UpdateComponentConfigurationRequest.Builder> updateComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ResourceInUseException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the UpdateComponentConfiguration operation returned by the service.
- See Also:
-
updateLogPattern
default UpdateLogPatternResponse updateLogPattern(UpdateLogPatternRequest updateLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Adds a log pattern to a
LogPatternSet
.- Parameters:
updateLogPatternRequest
-- Returns:
- Result of the UpdateLogPattern operation returned by the service.
- See Also:
-
updateLogPattern
default UpdateLogPatternResponse updateLogPattern(Consumer<UpdateLogPatternRequest.Builder> updateLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the UpdateLogPattern operation returned by the service.
- See Also:
-
updateProblem
default UpdateProblemResponse updateProblem(UpdateProblemRequest updateProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException Updates the visibility of the problem or specifies the problem as
RESOLVED
.- Parameters:
updateProblemRequest
-- Returns:
- Result of the UpdateProblem operation returned by the service.
- See Also:
-
updateProblem
default UpdateProblemResponse updateProblem(Consumer<UpdateProblemRequest.Builder> updateProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the UpdateProblem operation returned by the service.
- See Also:
-
updateWorkload
default UpdateWorkloadResponse updateWorkload(UpdateWorkloadRequest updateWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException Adds a workload to a component. Each component can have at most five workloads.
- Parameters:
updateWorkloadRequest
-- Returns:
- Result of the UpdateWorkload operation returned by the service.
- See Also:
-
updateWorkload
default UpdateWorkloadResponse updateWorkload(Consumer<UpdateWorkloadRequest.Builder> updateWorkloadRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException 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:
- Result of the UpdateWorkload operation returned by the service.
- See Also:
-
create
Create aApplicationInsightsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aApplicationInsightsClient
. -
serviceMetadata
-
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
-