@Generated(value="software.amazon.awssdk:codegen") public interface ApplicationInsightsClient extends 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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationInsightsClientBuilder |
builder()
Create a builder that can be used to configure and create a
ApplicationInsightsClient. |
static ApplicationInsightsClient |
create()
Create a
ApplicationInsightsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateApplicationResponse |
createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Adds an application that is created from a resource group.
|
default CreateApplicationResponse |
createApplication(CreateApplicationRequest createApplicationRequest)
Adds an application that is created from a resource group.
|
default CreateComponentResponse |
createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest)
Creates a custom component by grouping similar standalone instances to monitor.
|
default CreateComponentResponse |
createComponent(CreateComponentRequest createComponentRequest)
Creates a custom component by grouping similar standalone instances to monitor.
|
default CreateLogPatternResponse |
createLogPattern(Consumer<CreateLogPatternRequest.Builder> createLogPatternRequest)
Adds an log pattern to a
LogPatternSet. |
default CreateLogPatternResponse |
createLogPattern(CreateLogPatternRequest createLogPatternRequest)
Adds an log pattern to a
LogPatternSet. |
default DeleteApplicationResponse |
deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
Removes the specified application from monitoring.
|
default DeleteApplicationResponse |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Removes the specified application from monitoring.
|
default DeleteComponentResponse |
deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest)
Ungroups a custom component.
|
default DeleteComponentResponse |
deleteComponent(DeleteComponentRequest deleteComponentRequest)
Ungroups a custom component.
|
default DeleteLogPatternResponse |
deleteLogPattern(Consumer<DeleteLogPatternRequest.Builder> deleteLogPatternRequest)
Removes the specified log pattern from a
LogPatternSet. |
default DeleteLogPatternResponse |
deleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest)
Removes the specified log pattern from a
LogPatternSet. |
default DescribeApplicationResponse |
describeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest)
Describes the application.
|
default DescribeApplicationResponse |
describeApplication(DescribeApplicationRequest describeApplicationRequest)
Describes the application.
|
default DescribeComponentResponse |
describeComponent(Consumer<DescribeComponentRequest.Builder> describeComponentRequest)
Describes a component and lists the resources that are grouped together in a component.
|
default DescribeComponentResponse |
describeComponent(DescribeComponentRequest describeComponentRequest)
Describes a component and lists the resources that are grouped together in a component.
|
default DescribeComponentConfigurationResponse |
describeComponentConfiguration(Consumer<DescribeComponentConfigurationRequest.Builder> describeComponentConfigurationRequest)
Describes the monitoring configuration of the component.
|
default DescribeComponentConfigurationResponse |
describeComponentConfiguration(DescribeComponentConfigurationRequest describeComponentConfigurationRequest)
Describes the monitoring configuration of the component.
|
default DescribeComponentConfigurationRecommendationResponse |
describeComponentConfigurationRecommendation(Consumer<DescribeComponentConfigurationRecommendationRequest.Builder> describeComponentConfigurationRecommendationRequest)
Describes the recommended monitoring configuration of the component.
|
default DescribeComponentConfigurationRecommendationResponse |
describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest)
Describes the recommended monitoring configuration of the component.
|
default DescribeLogPatternResponse |
describeLogPattern(Consumer<DescribeLogPatternRequest.Builder> describeLogPatternRequest)
Describe a specific log pattern from a
LogPatternSet. |
default DescribeLogPatternResponse |
describeLogPattern(DescribeLogPatternRequest describeLogPatternRequest)
Describe a specific log pattern from a
LogPatternSet. |
default DescribeObservationResponse |
describeObservation(Consumer<DescribeObservationRequest.Builder> describeObservationRequest)
Describes an anomaly or error with the application.
|
default DescribeObservationResponse |
describeObservation(DescribeObservationRequest describeObservationRequest)
Describes an anomaly or error with the application.
|
default DescribeProblemResponse |
describeProblem(Consumer<DescribeProblemRequest.Builder> describeProblemRequest)
Describes an application problem.
|
default DescribeProblemResponse |
describeProblem(DescribeProblemRequest describeProblemRequest)
Describes an application problem.
|
default DescribeProblemObservationsResponse |
describeProblemObservations(Consumer<DescribeProblemObservationsRequest.Builder> describeProblemObservationsRequest)
Describes the anomalies or errors associated with the problem.
|
default DescribeProblemObservationsResponse |
describeProblemObservations(DescribeProblemObservationsRequest describeProblemObservationsRequest)
Describes the anomalies or errors associated with the problem.
|
default ListApplicationsResponse |
listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the IDs of the applications that you are monitoring.
|
default ListApplicationsResponse |
listApplications(ListApplicationsRequest listApplicationsRequest)
Lists the IDs of the applications that you are monitoring.
|
default ListApplicationsIterable |
listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the IDs of the applications that you are monitoring.
|
default ListApplicationsIterable |
listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
Lists the IDs of the applications that you are monitoring.
|
default ListComponentsResponse |
listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Lists the auto-grouped, standalone, and custom components of the application.
|
default ListComponentsResponse |
listComponents(ListComponentsRequest listComponentsRequest)
Lists the auto-grouped, standalone, and custom components of the application.
|
default ListComponentsIterable |
listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Lists the auto-grouped, standalone, and custom components of the application.
|
default ListComponentsIterable |
listComponentsPaginator(ListComponentsRequest listComponentsRequest)
Lists the auto-grouped, standalone, and custom components of the application.
|
default ListConfigurationHistoryResponse |
listConfigurationHistory(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.
|
default ListConfigurationHistoryResponse |
listConfigurationHistory(ListConfigurationHistoryRequest listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.
|
default ListConfigurationHistoryIterable |
listConfigurationHistoryPaginator(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.
|
default ListConfigurationHistoryIterable |
listConfigurationHistoryPaginator(ListConfigurationHistoryRequest listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.
|
default ListLogPatternsResponse |
listLogPatterns(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest)
Lists the log patterns in the specific log
LogPatternSet. |
default ListLogPatternsResponse |
listLogPatterns(ListLogPatternsRequest listLogPatternsRequest)
Lists the log patterns in the specific log
LogPatternSet. |
default ListLogPatternSetsResponse |
listLogPatternSets(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest)
Lists the log pattern sets in the specific application.
|
default ListLogPatternSetsResponse |
listLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest)
Lists the log pattern sets in the specific application.
|
default ListLogPatternSetsIterable |
listLogPatternSetsPaginator(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest)
Lists the log pattern sets in the specific application.
|
default ListLogPatternSetsIterable |
listLogPatternSetsPaginator(ListLogPatternSetsRequest listLogPatternSetsRequest)
Lists the log pattern sets in the specific application.
|
default ListLogPatternsIterable |
listLogPatternsPaginator(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest)
Lists the log patterns in the specific log
LogPatternSet. |
default ListLogPatternsIterable |
listLogPatternsPaginator(ListLogPatternsRequest listLogPatternsRequest)
Lists the log patterns in the specific log
LogPatternSet. |
default ListProblemsResponse |
listProblems(Consumer<ListProblemsRequest.Builder> listProblemsRequest)
Lists the problems with your application.
|
default ListProblemsResponse |
listProblems(ListProblemsRequest listProblemsRequest)
Lists the problems with your application.
|
default ListProblemsIterable |
listProblemsPaginator(Consumer<ListProblemsRequest.Builder> listProblemsRequest)
Lists the problems with your application.
|
default ListProblemsIterable |
listProblemsPaginator(ListProblemsRequest listProblemsRequest)
Lists the problems with your application.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Retrieve a list of the tags (keys and values) that are associated with a specified application.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieve a list of the tags (keys and values) that are associated with a specified application.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Add one or more tags (keys and values) to a specified application.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Add one or more tags (keys and values) to a specified application.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Remove one or more tags (keys and values) from a specified application.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Remove one or more tags (keys and values) from a specified application.
|
default UpdateApplicationResponse |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Updates the application.
|
default UpdateApplicationResponse |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates the application.
|
default UpdateComponentResponse |
updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest)
Updates the custom component name and/or the list of resources that make up the component.
|
default UpdateComponentResponse |
updateComponent(UpdateComponentRequest updateComponentRequest)
Updates the custom component name and/or the list of resources that make up the component.
|
default UpdateComponentConfigurationResponse |
updateComponentConfiguration(Consumer<UpdateComponentConfigurationRequest.Builder> updateComponentConfigurationRequest)
Updates the monitoring configurations for the component.
|
default UpdateComponentConfigurationResponse |
updateComponentConfiguration(UpdateComponentConfigurationRequest updateComponentConfigurationRequest)
Updates the monitoring configurations for the component.
|
default UpdateLogPatternResponse |
updateLogPattern(Consumer<UpdateLogPatternRequest.Builder> updateLogPatternRequest)
Adds a log pattern to a
LogPatternSet. |
default UpdateLogPatternResponse |
updateLogPattern(UpdateLogPatternRequest updateLogPatternRequest)
Adds a log pattern to a
LogPatternSet. |
serviceNameclosestatic final String SERVICE_NAME
static ApplicationInsightsClient create()
ApplicationInsightsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static ApplicationInsightsClientBuilder builder()
ApplicationInsightsClient.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.
createApplicationRequest - ResourceInUseException - The resource is already created or in use.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.TagsAlreadyExistException - Tags are already registered for the specified application ARN.AccessDeniedException - User does not have permissions to perform this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, TagsAlreadyExistException, AccessDeniedException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds an application that is created from a resource group.
This is a convenience which creates an instance of the CreateApplicationRequest.Builder avoiding the need
to create one manually via CreateApplicationRequest.builder()
createApplicationRequest - A Consumer that will call methods on CreateApplicationRequest.Builder to create a request.ResourceInUseException - The resource is already created or in use.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.TagsAlreadyExistException - Tags are already registered for the specified application ARN.AccessDeniedException - User does not have permissions to perform this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateComponentResponse createComponent(CreateComponentRequest createComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Creates a custom component by grouping similar standalone instances to monitor.
createComponentRequest - ResourceInUseException - The resource is already created or in use.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateComponentResponse createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Creates a custom component by grouping similar standalone instances to monitor.
This is a convenience which creates an instance of the CreateComponentRequest.Builder avoiding the need
to create one manually via CreateComponentRequest.builder()
createComponentRequest - A Consumer that will call methods on CreateComponentRequest.Builder to create a request.ResourceInUseException - The resource is already created or in use.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateLogPatternResponse createLogPattern(CreateLogPatternRequest createLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds an log pattern to a LogPatternSet.
createLogPatternRequest - ResourceInUseException - The resource is already created or in use.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateLogPatternResponse createLogPattern(Consumer<CreateLogPatternRequest.Builder> createLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds an log pattern to a LogPatternSet.
This is a convenience which creates an instance of the CreateLogPatternRequest.Builder avoiding the need
to create one manually via CreateLogPatternRequest.builder()
createLogPatternRequest - A Consumer that will call methods on CreateLogPatternRequest.Builder to create a request.ResourceInUseException - The resource is already created or in use.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Removes the specified application from monitoring. Does not delete the application.
deleteApplicationRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.BadRequestException - The request is not understood by the server.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Removes the specified application from monitoring. Does not delete the application.
This is a convenience which creates an instance of the DeleteApplicationRequest.Builder avoiding the need
to create one manually via DeleteApplicationRequest.builder()
deleteApplicationRequest - A Consumer that will call methods on DeleteApplicationRequest.Builder to create a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.BadRequestException - The request is not understood by the server.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
deleteComponentRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteComponentResponse deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
This is a convenience which creates an instance of the DeleteComponentRequest.Builder avoiding the need
to create one manually via DeleteComponentRequest.builder()
deleteComponentRequest - A Consumer that will call methods on DeleteComponentRequest.Builder to create a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteLogPatternResponse deleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Removes the specified log pattern from a LogPatternSet.
deleteLogPatternRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.BadRequestException - The request is not understood by the server.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteLogPatternResponse deleteLogPattern(Consumer<DeleteLogPatternRequest.Builder> deleteLogPatternRequest) throws ResourceNotFoundException, ValidationException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Removes the specified log pattern from a LogPatternSet.
This is a convenience which creates an instance of the DeleteLogPatternRequest.Builder avoiding the need
to create one manually via DeleteLogPatternRequest.builder()
deleteLogPatternRequest - A Consumer that will call methods on DeleteLogPatternRequest.Builder to create a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.BadRequestException - The request is not understood by the server.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeApplicationResponse describeApplication(DescribeApplicationRequest describeApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the application.
describeApplicationRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeApplicationResponse describeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the application.
This is a convenience which creates an instance of the DescribeApplicationRequest.Builder avoiding the
need to create one manually via DescribeApplicationRequest.builder()
describeApplicationRequest - A Consumer that will call methods on DescribeApplicationRequest.Builder to create a
request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
describeComponentRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeComponentResponse describeComponent(Consumer<DescribeComponentRequest.Builder> describeComponentRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes a component and lists the resources that are grouped together in a component.
This is a convenience which creates an instance of the DescribeComponentRequest.Builder avoiding the need
to create one manually via DescribeComponentRequest.builder()
describeComponentRequest - A Consumer that will call methods on DescribeComponentRequest.Builder to create a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeComponentConfigurationResponse describeComponentConfiguration(DescribeComponentConfigurationRequest describeComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the monitoring configuration of the component.
describeComponentConfigurationRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeComponentConfigurationResponse describeComponentConfiguration(Consumer<DescribeComponentConfigurationRequest.Builder> describeComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the monitoring configuration of the component.
This is a convenience which creates an instance of the DescribeComponentConfigurationRequest.Builder
avoiding the need to create one manually via DescribeComponentConfigurationRequest.builder()
describeComponentConfigurationRequest - A Consumer that will call methods on DescribeComponentConfigurationRequest.Builder to
create a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeComponentConfigurationRecommendationResponse describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the recommended monitoring configuration of the component.
describeComponentConfigurationRecommendationRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeComponentConfigurationRecommendationResponse describeComponentConfigurationRecommendation(Consumer<DescribeComponentConfigurationRecommendationRequest.Builder> describeComponentConfigurationRecommendationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the recommended monitoring configuration of the component.
This is a convenience which creates an instance of the
DescribeComponentConfigurationRecommendationRequest.Builder avoiding the need to create one manually via
DescribeComponentConfigurationRecommendationRequest.builder()
describeComponentConfigurationRecommendationRequest - A Consumer that will call methods on
DescribeComponentConfigurationRecommendationRequest.Builder to create a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeLogPatternResponse describeLogPattern(DescribeLogPatternRequest describeLogPatternRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describe a specific log pattern from a LogPatternSet.
describeLogPatternRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeLogPatternResponse describeLogPattern(Consumer<DescribeLogPatternRequest.Builder> describeLogPatternRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describe a specific log pattern from a LogPatternSet.
This is a convenience which creates an instance of the DescribeLogPatternRequest.Builder avoiding the
need to create one manually via DescribeLogPatternRequest.builder()
describeLogPatternRequest - A Consumer that will call methods on DescribeLogPatternRequest.Builder to create a
request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeObservationResponse describeObservation(DescribeObservationRequest describeObservationRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes an anomaly or error with the application.
describeObservationRequest - InternalServerException - The server encountered an internal error and is unable to complete the request.ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeObservationResponse describeObservation(Consumer<DescribeObservationRequest.Builder> describeObservationRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes an anomaly or error with the application.
This is a convenience which creates an instance of the DescribeObservationRequest.Builder avoiding the
need to create one manually via DescribeObservationRequest.builder()
describeObservationRequest - A Consumer that will call methods on DescribeObservationRequest.Builder to create a
request.InternalServerException - The server encountered an internal error and is unable to complete the request.ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeProblemResponse describeProblem(DescribeProblemRequest describeProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes an application problem.
describeProblemRequest - InternalServerException - The server encountered an internal error and is unable to complete the request.ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeProblemResponse describeProblem(Consumer<DescribeProblemRequest.Builder> describeProblemRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes an application problem.
This is a convenience which creates an instance of the DescribeProblemRequest.Builder avoiding the need
to create one manually via DescribeProblemRequest.builder()
describeProblemRequest - A Consumer that will call methods on DescribeProblemRequest.Builder to create a request.InternalServerException - The server encountered an internal error and is unable to complete the request.ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeProblemObservationsResponse describeProblemObservations(DescribeProblemObservationsRequest describeProblemObservationsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the anomalies or errors associated with the problem.
describeProblemObservationsRequest - InternalServerException - The server encountered an internal error and is unable to complete the request.ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeProblemObservationsResponse describeProblemObservations(Consumer<DescribeProblemObservationsRequest.Builder> describeProblemObservationsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, ApplicationInsightsException
Describes the anomalies or errors associated with the problem.
This is a convenience which creates an instance of the DescribeProblemObservationsRequest.Builder
avoiding the need to create one manually via DescribeProblemObservationsRequest.builder()
describeProblemObservationsRequest - A Consumer that will call methods on DescribeProblemObservationsRequest.Builder to create
a request.InternalServerException - The server encountered an internal error and is unable to complete the request.ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the IDs of the applications that you are monitoring.
listApplicationsRequest - ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the IDs of the applications that you are monitoring.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the IDs of the applications that you are monitoring.
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
software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listApplicationsRequest - ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsIterable listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the IDs of the applications that you are monitoring.
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
software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsRequest)
operation.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComponentsResponse listComponents(ListComponentsRequest listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the auto-grouped, standalone, and custom components of the application.
listComponentsRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComponentsResponse listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the auto-grouped, standalone, and custom components of the application.
This is a convenience which creates an instance of the ListComponentsRequest.Builder avoiding the need to
create one manually via ListComponentsRequest.builder()
listComponentsRequest - A Consumer that will call methods on ListComponentsRequest.Builder to create a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComponentsIterable listComponentsPaginator(ListComponentsRequest listComponentsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the auto-grouped, standalone, and custom components of the application.
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
software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listComponentsRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComponentsIterable listComponentsPaginator(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 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
software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponents(software.amazon.awssdk.services.applicationinsights.model.ListComponentsRequest)
operation.
This is a convenience which creates an instance of the ListComponentsRequest.Builder avoiding the need to
create one manually via ListComponentsRequest.builder()
listComponentsRequest - A Consumer that will call methods on ListComponentsRequest.Builder to create a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
listConfigurationHistoryRequest - ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConfigurationHistoryResponse listConfigurationHistory(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
INFO: creating a new alarm or updating an alarm threshold.
WARN: alarm not created due to insufficient data points used to predict thresholds.
ERROR: alarm not created due to permission errors or exceeding quotas.
This is a convenience which creates an instance of the ListConfigurationHistoryRequest.Builder avoiding
the need to create one manually via ListConfigurationHistoryRequest.builder()
listConfigurationHistoryRequest - A Consumer that will call methods on ListConfigurationHistoryRequest.Builder to create a
request.ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConfigurationHistoryIterable listConfigurationHistoryPaginator(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.
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
software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listConfigurationHistoryRequest - ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConfigurationHistoryIterable listConfigurationHistoryPaginator(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 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
software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryIterable responses = client.listConfigurationHistoryPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation.
This is a convenience which creates an instance of the ListConfigurationHistoryRequest.Builder avoiding
the need to create one manually via ListConfigurationHistoryRequest.builder()
listConfigurationHistoryRequest - A Consumer that will call methods on ListConfigurationHistoryRequest.Builder to create a
request.ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLogPatternSetsResponse listLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log pattern sets in the specific application.
listLogPatternSetsRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLogPatternSetsResponse listLogPatternSets(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log pattern sets in the specific application.
This is a convenience which creates an instance of the ListLogPatternSetsRequest.Builder avoiding the
need to create one manually via ListLogPatternSetsRequest.builder()
listLogPatternSetsRequest - A Consumer that will call methods on ListLogPatternSetsRequest.Builder to create a
request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLogPatternSetsIterable listLogPatternSetsPaginator(ListLogPatternSetsRequest listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log pattern sets in the specific application.
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
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listLogPatternSetsRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLogPatternSetsIterable listLogPatternSetsPaginator(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log pattern sets in the specific application.
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
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsIterable responses = client.listLogPatternSetsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLogPatternSets(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsRequest)
operation.
This is a convenience which creates an instance of the ListLogPatternSetsRequest.Builder avoiding the
need to create one manually via ListLogPatternSetsRequest.builder()
listLogPatternSetsRequest - A Consumer that will call methods on ListLogPatternSetsRequest.Builder to create a
request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLogPatternsResponse listLogPatterns(ListLogPatternsRequest listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log patterns in the specific log LogPatternSet.
listLogPatternsRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLogPatternsResponse listLogPatterns(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log patterns in the specific log LogPatternSet.
This is a convenience which creates an instance of the ListLogPatternsRequest.Builder avoiding the need
to create one manually via ListLogPatternsRequest.builder()
listLogPatternsRequest - A Consumer that will call methods on ListLogPatternsRequest.Builder to create a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLogPatternsIterable listLogPatternsPaginator(ListLogPatternsRequest listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log patterns in the specific log LogPatternSet.
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
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listLogPatternsRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListLogPatternsIterable listLogPatternsPaginator(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the log patterns in the specific log LogPatternSet.
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
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsIterable responses = client.listLogPatternsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLogPatterns(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsRequest)
operation.
This is a convenience which creates an instance of the ListLogPatternsRequest.Builder avoiding the need
to create one manually via ListLogPatternsRequest.builder()
listLogPatternsRequest - A Consumer that will call methods on ListLogPatternsRequest.Builder to create a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProblemsResponse listProblems(ListProblemsRequest listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the problems with your application.
listProblemsRequest - ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProblemsResponse listProblems(Consumer<ListProblemsRequest.Builder> listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the problems with your application.
This is a convenience which creates an instance of the ListProblemsRequest.Builder avoiding the need to
create one manually via ListProblemsRequest.builder()
listProblemsRequest - A Consumer that will call methods on ListProblemsRequest.Builder to create a request.ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProblemsIterable listProblemsPaginator(ListProblemsRequest listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the problems with your application.
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
software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listProblemsRequest - ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProblemsIterable listProblemsPaginator(Consumer<ListProblemsRequest.Builder> listProblemsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Lists the problems with your application.
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
software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsIterable responses = client.listProblemsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProblems(software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest)
operation.
This is a convenience which creates an instance of the ListProblemsRequest.Builder avoiding the need to
create one manually via ListProblemsRequest.builder()
listProblemsRequest - A Consumer that will call methods on ListProblemsRequest.Builder to create a request.ValidationException - The parameter is not valid.ResourceNotFoundException - The resource does not exist in the customer account.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
listTagsForResourceRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
tagResourceRequest - ResourceNotFoundException - The resource does not exist in the customer account.TooManyTagsException - The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach
to the specified resource exceeds the limit.ValidationException - The parameter is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, TooManyTagsException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.ResourceNotFoundException - The resource does not exist in the customer account.TooManyTagsException - The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach
to the specified resource exceeds the limit.ValidationException - The parameter is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Remove one or more tags (keys and values) from a specified application.
untagResourceRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Remove one or more tags (keys and values) from a specified application.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the application.
updateApplicationRequest - InternalServerException - The server encountered an internal error and is unable to complete the request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the application.
This is a convenience which creates an instance of the UpdateApplicationRequest.Builder avoiding the need
to create one manually via UpdateApplicationRequest.builder()
updateApplicationRequest - A Consumer that will call methods on UpdateApplicationRequest.Builder to create a request.InternalServerException - The server encountered an internal error and is unable to complete the request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
updateComponentRequest - ResourceInUseException - The resource is already created or in use.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateComponentResponse updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the custom component name and/or the list of resources that make up the component.
This is a convenience which creates an instance of the UpdateComponentRequest.Builder avoiding the need
to create one manually via UpdateComponentRequest.builder()
updateComponentRequest - A Consumer that will call methods on UpdateComponentRequest.Builder to create a request.ResourceInUseException - The resource is already created or in use.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateComponentConfigurationResponse updateComponentConfiguration(UpdateComponentConfigurationRequest updateComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, 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.
updateComponentConfigurationRequest - ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateComponentConfigurationResponse updateComponentConfiguration(Consumer<UpdateComponentConfigurationRequest.Builder> updateComponentConfigurationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of
the configuration and should match the schema of what is returned by
DescribeComponentConfigurationRecommendation.
This is a convenience which creates an instance of the UpdateComponentConfigurationRequest.Builder
avoiding the need to create one manually via UpdateComponentConfigurationRequest.builder()
updateComponentConfigurationRequest - A Consumer that will call methods on UpdateComponentConfigurationRequest.Builder to create
a request.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateLogPatternResponse updateLogPattern(UpdateLogPatternRequest updateLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds a log pattern to a LogPatternSet.
updateLogPatternRequest - ResourceInUseException - The resource is already created or in use.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateLogPatternResponse updateLogPattern(Consumer<UpdateLogPatternRequest.Builder> updateLogPatternRequest) throws ResourceInUseException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ApplicationInsightsException
Adds a log pattern to a LogPatternSet.
This is a convenience which creates an instance of the UpdateLogPatternRequest.Builder avoiding the need
to create one manually via UpdateLogPatternRequest.builder()
updateLogPatternRequest - A Consumer that will call methods on UpdateLogPatternRequest.Builder to create a request.ResourceInUseException - The resource is already created or in use.ResourceNotFoundException - The resource does not exist in the customer account.ValidationException - The parameter is not valid.InternalServerException - The server encountered an internal error and is unable to complete the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ApplicationInsightsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2020. All rights reserved.