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
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AddWorkloadResponseaddWorkload(Consumer<AddWorkloadRequest.Builder> addWorkloadRequest) Adds a workload to a component.default AddWorkloadResponseaddWorkload(AddWorkloadRequest addWorkloadRequest) Adds a workload to a component.builder()Create a builder that can be used to configure and create aApplicationInsightsClient.static ApplicationInsightsClientcreate()Create aApplicationInsightsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateApplicationResponsecreateApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Adds an application that is created from a resource group.default CreateApplicationResponsecreateApplication(CreateApplicationRequest createApplicationRequest) Adds an application that is created from a resource group.default CreateComponentResponsecreateComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest) Creates a custom component by grouping similar standalone instances to monitor.default CreateComponentResponsecreateComponent(CreateComponentRequest createComponentRequest) Creates a custom component by grouping similar standalone instances to monitor.default CreateLogPatternResponsecreateLogPattern(Consumer<CreateLogPatternRequest.Builder> createLogPatternRequest) Adds an log pattern to aLogPatternSet.default CreateLogPatternResponsecreateLogPattern(CreateLogPatternRequest createLogPatternRequest) Adds an log pattern to aLogPatternSet.default DeleteApplicationResponsedeleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Removes the specified application from monitoring.default DeleteApplicationResponsedeleteApplication(DeleteApplicationRequest deleteApplicationRequest) Removes the specified application from monitoring.default DeleteComponentResponsedeleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) Ungroups a custom component.default DeleteComponentResponsedeleteComponent(DeleteComponentRequest deleteComponentRequest) Ungroups a custom component.default DeleteLogPatternResponsedeleteLogPattern(Consumer<DeleteLogPatternRequest.Builder> deleteLogPatternRequest) Removes the specified log pattern from aLogPatternSet.default DeleteLogPatternResponsedeleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest) Removes the specified log pattern from aLogPatternSet.default DescribeApplicationResponsedescribeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) Describes the application.default DescribeApplicationResponsedescribeApplication(DescribeApplicationRequest describeApplicationRequest) Describes the application.default DescribeComponentResponsedescribeComponent(Consumer<DescribeComponentRequest.Builder> describeComponentRequest) Describes a component and lists the resources that are grouped together in a component.default DescribeComponentResponsedescribeComponent(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 DescribeLogPatternResponsedescribeLogPattern(Consumer<DescribeLogPatternRequest.Builder> describeLogPatternRequest) Describe a specific log pattern from aLogPatternSet.default DescribeLogPatternResponsedescribeLogPattern(DescribeLogPatternRequest describeLogPatternRequest) Describe a specific log pattern from aLogPatternSet.default DescribeObservationResponsedescribeObservation(Consumer<DescribeObservationRequest.Builder> describeObservationRequest) Describes an anomaly or error with the application.default DescribeObservationResponsedescribeObservation(DescribeObservationRequest describeObservationRequest) Describes an anomaly or error with the application.default DescribeProblemResponsedescribeProblem(Consumer<DescribeProblemRequest.Builder> describeProblemRequest) Describes an application problem.default DescribeProblemResponsedescribeProblem(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 DescribeWorkloadResponsedescribeWorkload(Consumer<DescribeWorkloadRequest.Builder> describeWorkloadRequest) Describes a workload and its configuration.default DescribeWorkloadResponsedescribeWorkload(DescribeWorkloadRequest describeWorkloadRequest) Describes a workload and its configuration.default ListApplicationsResponselistApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Lists the IDs of the applications that you are monitoring.default ListApplicationsResponselistApplications(ListApplicationsRequest listApplicationsRequest) Lists the IDs of the applications that you are monitoring.default ListApplicationsIterablelistApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)operation.default ListApplicationsIterablelistApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)operation.default ListComponentsResponselistComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest) Lists the auto-grouped, standalone, and custom components of the application.default ListComponentsResponselistComponents(ListComponentsRequest listComponentsRequest) Lists the auto-grouped, standalone, and custom components of the application.default ListComponentsIterablelistComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest) This is a variant oflistComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)operation.default ListComponentsIterablelistComponentsPaginator(ListComponentsRequest listComponentsRequest) This is a variant oflistComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)operation.default ListConfigurationHistoryResponselistConfigurationHistory(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.default ListConfigurationHistoryResponselistConfigurationHistory(ListConfigurationHistoryRequest listConfigurationHistoryRequest) Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.default ListConfigurationHistoryIterablelistConfigurationHistoryPaginator(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) This is a variant oflistConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)operation.default ListConfigurationHistoryIterablelistConfigurationHistoryPaginator(ListConfigurationHistoryRequest listConfigurationHistoryRequest) This is a variant oflistConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)operation.default ListLogPatternsResponselistLogPatterns(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) Lists the log patterns in the specific logLogPatternSet.default ListLogPatternsResponselistLogPatterns(ListLogPatternsRequest listLogPatternsRequest) Lists the log patterns in the specific logLogPatternSet.default ListLogPatternSetsResponselistLogPatternSets(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) Lists the log pattern sets in the specific application.default ListLogPatternSetsResponselistLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest) Lists the log pattern sets in the specific application.default ListLogPatternSetsIterablelistLogPatternSetsPaginator(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) This is a variant oflistLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)operation.default ListLogPatternSetsIterablelistLogPatternSetsPaginator(ListLogPatternSetsRequest listLogPatternSetsRequest) This is a variant oflistLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)operation.default ListLogPatternsIterablelistLogPatternsPaginator(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) This is a variant oflistLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)operation.default ListLogPatternsIterablelistLogPatternsPaginator(ListLogPatternsRequest listLogPatternsRequest) This is a variant oflistLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)operation.default ListProblemsResponselistProblems(Consumer<ListProblemsRequest.Builder> listProblemsRequest) Lists the problems with your application.default ListProblemsResponselistProblems(ListProblemsRequest listProblemsRequest) Lists the problems with your application.default ListProblemsIterablelistProblemsPaginator(Consumer<ListProblemsRequest.Builder> listProblemsRequest) This is a variant oflistProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)operation.default ListProblemsIterablelistProblemsPaginator(ListProblemsRequest listProblemsRequest) This is a variant oflistProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieve a list of the tags (keys and values) that are associated with a specified application.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Retrieve a list of the tags (keys and values) that are associated with a specified application.default ListWorkloadsResponselistWorkloads(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) Lists the workloads that are configured on a given component.default ListWorkloadsResponselistWorkloads(ListWorkloadsRequest listWorkloadsRequest) Lists the workloads that are configured on a given component.default ListWorkloadsIterablelistWorkloadsPaginator(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) This is a variant oflistWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)operation.default ListWorkloadsIterablelistWorkloadsPaginator(ListWorkloadsRequest listWorkloadsRequest) This is a variant oflistWorkloads(software.amazon.awssdk.services.applicationinsights.model.ListWorkloadsRequest)operation.default RemoveWorkloadResponseremoveWorkload(Consumer<RemoveWorkloadRequest.Builder> removeWorkloadRequest) Remove workload from a component.default RemoveWorkloadResponseremoveWorkload(RemoveWorkloadRequest removeWorkloadRequest) Remove workload from a component.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add one or more tags (keys and values) to a specified application.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Add one or more tags (keys and values) to a specified application.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove one or more tags (keys and values) from a specified application.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Remove one or more tags (keys and values) from a specified application.default UpdateApplicationResponseupdateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates the application.default UpdateApplicationResponseupdateApplication(UpdateApplicationRequest updateApplicationRequest) Updates the application.default UpdateComponentResponseupdateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest) Updates the custom component name and/or the list of resources that make up the component.default UpdateComponentResponseupdateComponent(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 UpdateLogPatternResponseupdateLogPattern(Consumer<UpdateLogPatternRequest.Builder> updateLogPatternRequest) Adds a log pattern to aLogPatternSet.default UpdateLogPatternResponseupdateLogPattern(UpdateLogPatternRequest updateLogPatternRequest) Adds a log pattern to aLogPatternSet.default UpdateProblemResponseupdateProblem(Consumer<UpdateProblemRequest.Builder> updateProblemRequest) Updates the visibility of the problem or specifies the problem asRESOLVED.default UpdateProblemResponseupdateProblem(UpdateProblemRequest updateProblemRequest) Updates the visibility of the problem or specifies the problem asRESOLVED.default UpdateWorkloadResponseupdateWorkload(Consumer<UpdateWorkloadRequest.Builder> updateWorkloadRequest) Adds a workload to a component.default UpdateWorkloadResponseupdateWorkload(UpdateWorkloadRequest updateWorkloadRequest) Adds a workload to a component.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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.Builderavoiding the need to create one manually viaAddWorkloadRequest.builder()- Parameters:
addWorkloadRequest- AConsumerthat will call methods onAddWorkloadRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateApplicationRequest.builder()- Parameters:
createApplicationRequest- AConsumerthat will call methods onCreateApplicationRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateComponentRequest.builder()- Parameters:
createComponentRequest- AConsumerthat will call methods onCreateComponentRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateLogPatternRequest.builder()- Parameters:
createLogPatternRequest- AConsumerthat will call methods onCreateLogPatternRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteApplicationRequest.builder()- Parameters:
deleteApplicationRequest- AConsumerthat will call methods onDeleteApplicationRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteComponentRequest.builder()- Parameters:
deleteComponentRequest- AConsumerthat will call methods onDeleteComponentRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteLogPatternRequest.builder()- Parameters:
deleteLogPatternRequest- AConsumerthat will call methods onDeleteLogPatternRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeApplicationRequest.builder()- Parameters:
describeApplicationRequest- AConsumerthat will call methods onDescribeApplicationRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeComponentRequest.builder()- Parameters:
describeComponentRequest- AConsumerthat will call methods onDescribeComponentRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeComponentConfigurationRequest.builder()- Parameters:
describeComponentConfigurationRequest- AConsumerthat will call methods onDescribeComponentConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeComponentConfigurationRecommendationRequest.builder()- Parameters:
describeComponentConfigurationRecommendationRequest- AConsumerthat will call methods onDescribeComponentConfigurationRecommendationRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeLogPatternRequest.builder()- Parameters:
describeLogPatternRequest- AConsumerthat will call methods onDescribeLogPatternRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeObservationRequest.builder()- Parameters:
describeObservationRequest- AConsumerthat will call methods onDescribeObservationRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeProblemRequest.builder()- Parameters:
describeProblemRequest- AConsumerthat will call methods onDescribeProblemRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeProblemObservationsRequest.builder()- Parameters:
describeProblemObservationsRequest- AConsumerthat will call methods onDescribeProblemObservationsRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeWorkloadRequest.builder()- Parameters:
describeWorkloadRequest- AConsumerthat will call methods onDescribeWorkloadRequest.Builderto 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.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto 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.Builderavoiding the need to create one manually viaListComponentsRequest.builder()- Parameters:
listComponentsRequest- AConsumerthat will call methods onListComponentsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListComponentsRequest.builder()- Parameters:
listComponentsRequest- AConsumerthat will call methods onListComponentsRequest.Builderto 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.Builderavoiding the need to create one manually viaListConfigurationHistoryRequest.builder()- Parameters:
listConfigurationHistoryRequest- AConsumerthat will call methods onListConfigurationHistoryRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListConfigurationHistoryRequest.builder()- Parameters:
listConfigurationHistoryRequest- AConsumerthat will call methods onListConfigurationHistoryRequest.Builderto 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.Builderavoiding the need to create one manually viaListLogPatternSetsRequest.builder()- Parameters:
listLogPatternSetsRequest- AConsumerthat will call methods onListLogPatternSetsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListLogPatternSetsRequest.builder()- Parameters:
listLogPatternSetsRequest- AConsumerthat will call methods onListLogPatternSetsRequest.Builderto 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.Builderavoiding the need to create one manually viaListLogPatternsRequest.builder()- Parameters:
listLogPatternsRequest- AConsumerthat will call methods onListLogPatternsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListLogPatternsRequest.builder()- Parameters:
listLogPatternsRequest- AConsumerthat will call methods onListLogPatternsRequest.Builderto 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.Builderavoiding the need to create one manually viaListProblemsRequest.builder()- Parameters:
listProblemsRequest- AConsumerthat will call methods onListProblemsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListProblemsRequest.builder()- Parameters:
listProblemsRequest- AConsumerthat will call methods onListProblemsRequest.Builderto 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaListWorkloadsRequest.builder()- Parameters:
listWorkloadsRequest- AConsumerthat will call methods onListWorkloadsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListWorkloadsRequest.builder()- Parameters:
listWorkloadsRequest- AConsumerthat will call methods onListWorkloadsRequest.Builderto 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.Builderavoiding the need to create one manually viaRemoveWorkloadRequest.builder()- Parameters:
removeWorkloadRequest- AConsumerthat will call methods onRemoveWorkloadRequest.Builderto 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateApplicationRequest.builder()- Parameters:
updateApplicationRequest- AConsumerthat will call methods onUpdateApplicationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateComponentRequest.builder()- Parameters:
updateComponentRequest- AConsumerthat will call methods onUpdateComponentRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateComponentConfigurationRequest.builder()- Parameters:
updateComponentConfigurationRequest- AConsumerthat will call methods onUpdateComponentConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateLogPatternRequest.builder()- Parameters:
updateLogPatternRequest- AConsumerthat will call methods onUpdateLogPatternRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateProblemRequest.builder()- Parameters:
updateProblemRequest- AConsumerthat will call methods onUpdateProblemRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateWorkloadRequest.builder()- Parameters:
updateWorkloadRequest- AConsumerthat will call methods onUpdateWorkloadRequest.Builderto create a request.- Returns:
- Result of the UpdateWorkload operation returned by the service.
- See Also:
-
create
Create aApplicationInsightsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aApplicationInsightsClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-