@Generated(value="software.amazon.awssdk:codegen") public interface ApplicationInsightsAsyncClient 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_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider . |
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static ApplicationInsightsAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
ApplicationInsightsAsyncClient . |
static ApplicationInsightsAsyncClient |
create()
Create a
ApplicationInsightsAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateApplicationResponse> |
createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Adds an application that is created from a resource group.
|
default CompletableFuture<CreateApplicationResponse> |
createApplication(CreateApplicationRequest createApplicationRequest)
Adds an application that is created from a resource group.
|
default CompletableFuture<CreateComponentResponse> |
createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest)
Creates a custom component by grouping similar standalone instances to monitor.
|
default CompletableFuture<CreateComponentResponse> |
createComponent(CreateComponentRequest createComponentRequest)
Creates a custom component by grouping similar standalone instances to monitor.
|
default CompletableFuture<CreateLogPatternResponse> |
createLogPattern(Consumer<CreateLogPatternRequest.Builder> createLogPatternRequest)
Adds an log pattern to a
LogPatternSet . |
default CompletableFuture<CreateLogPatternResponse> |
createLogPattern(CreateLogPatternRequest createLogPatternRequest)
Adds an log pattern to a
LogPatternSet . |
default CompletableFuture<DeleteApplicationResponse> |
deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
Removes the specified application from monitoring.
|
default CompletableFuture<DeleteApplicationResponse> |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Removes the specified application from monitoring.
|
default CompletableFuture<DeleteComponentResponse> |
deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest)
Ungroups a custom component.
|
default CompletableFuture<DeleteComponentResponse> |
deleteComponent(DeleteComponentRequest deleteComponentRequest)
Ungroups a custom component.
|
default CompletableFuture<DeleteLogPatternResponse> |
deleteLogPattern(Consumer<DeleteLogPatternRequest.Builder> deleteLogPatternRequest)
Removes the specified log pattern from a
LogPatternSet . |
default CompletableFuture<DeleteLogPatternResponse> |
deleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest)
Removes the specified log pattern from a
LogPatternSet . |
default CompletableFuture<DescribeApplicationResponse> |
describeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest)
Describes the application.
|
default CompletableFuture<DescribeApplicationResponse> |
describeApplication(DescribeApplicationRequest describeApplicationRequest)
Describes the application.
|
default CompletableFuture<DescribeComponentResponse> |
describeComponent(Consumer<DescribeComponentRequest.Builder> describeComponentRequest)
Describes a component and lists the resources that are grouped together in a component.
|
default CompletableFuture<DescribeComponentResponse> |
describeComponent(DescribeComponentRequest describeComponentRequest)
Describes a component and lists the resources that are grouped together in a component.
|
default CompletableFuture<DescribeComponentConfigurationResponse> |
describeComponentConfiguration(Consumer<DescribeComponentConfigurationRequest.Builder> describeComponentConfigurationRequest)
Describes the monitoring configuration of the component.
|
default CompletableFuture<DescribeComponentConfigurationResponse> |
describeComponentConfiguration(DescribeComponentConfigurationRequest describeComponentConfigurationRequest)
Describes the monitoring configuration of the component.
|
default CompletableFuture<DescribeComponentConfigurationRecommendationResponse> |
describeComponentConfigurationRecommendation(Consumer<DescribeComponentConfigurationRecommendationRequest.Builder> describeComponentConfigurationRecommendationRequest)
Describes the recommended monitoring configuration of the component.
|
default CompletableFuture<DescribeComponentConfigurationRecommendationResponse> |
describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest)
Describes the recommended monitoring configuration of the component.
|
default CompletableFuture<DescribeLogPatternResponse> |
describeLogPattern(Consumer<DescribeLogPatternRequest.Builder> describeLogPatternRequest)
Describe a specific log pattern from a
LogPatternSet . |
default CompletableFuture<DescribeLogPatternResponse> |
describeLogPattern(DescribeLogPatternRequest describeLogPatternRequest)
Describe a specific log pattern from a
LogPatternSet . |
default CompletableFuture<DescribeObservationResponse> |
describeObservation(Consumer<DescribeObservationRequest.Builder> describeObservationRequest)
Describes an anomaly or error with the application.
|
default CompletableFuture<DescribeObservationResponse> |
describeObservation(DescribeObservationRequest describeObservationRequest)
Describes an anomaly or error with the application.
|
default CompletableFuture<DescribeProblemResponse> |
describeProblem(Consumer<DescribeProblemRequest.Builder> describeProblemRequest)
Describes an application problem.
|
default CompletableFuture<DescribeProblemResponse> |
describeProblem(DescribeProblemRequest describeProblemRequest)
Describes an application problem.
|
default CompletableFuture<DescribeProblemObservationsResponse> |
describeProblemObservations(Consumer<DescribeProblemObservationsRequest.Builder> describeProblemObservationsRequest)
Describes the anomalies or errors associated with the problem.
|
default CompletableFuture<DescribeProblemObservationsResponse> |
describeProblemObservations(DescribeProblemObservationsRequest describeProblemObservationsRequest)
Describes the anomalies or errors associated with the problem.
|
default CompletableFuture<ListApplicationsResponse> |
listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the IDs of the applications that you are monitoring.
|
default CompletableFuture<ListApplicationsResponse> |
listApplications(ListApplicationsRequest listApplicationsRequest)
Lists the IDs of the applications that you are monitoring.
|
default ListApplicationsPublisher |
listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the IDs of the applications that you are monitoring.
|
default ListApplicationsPublisher |
listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
Lists the IDs of the applications that you are monitoring.
|
default CompletableFuture<ListComponentsResponse> |
listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Lists the auto-grouped, standalone, and custom components of the application.
|
default CompletableFuture<ListComponentsResponse> |
listComponents(ListComponentsRequest listComponentsRequest)
Lists the auto-grouped, standalone, and custom components of the application.
|
default ListComponentsPublisher |
listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Lists the auto-grouped, standalone, and custom components of the application.
|
default ListComponentsPublisher |
listComponentsPaginator(ListComponentsRequest listComponentsRequest)
Lists the auto-grouped, standalone, and custom components of the application.
|
default CompletableFuture<ListConfigurationHistoryResponse> |
listConfigurationHistory(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.
|
default CompletableFuture<ListConfigurationHistoryResponse> |
listConfigurationHistory(ListConfigurationHistoryRequest listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.
|
default ListConfigurationHistoryPublisher |
listConfigurationHistoryPaginator(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.
|
default ListConfigurationHistoryPublisher |
listConfigurationHistoryPaginator(ListConfigurationHistoryRequest listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights.
|
default CompletableFuture<ListLogPatternsResponse> |
listLogPatterns(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest)
Lists the log patterns in the specific log
LogPatternSet . |
default CompletableFuture<ListLogPatternsResponse> |
listLogPatterns(ListLogPatternsRequest listLogPatternsRequest)
Lists the log patterns in the specific log
LogPatternSet . |
default CompletableFuture<ListLogPatternSetsResponse> |
listLogPatternSets(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest)
Lists the log pattern sets in the specific application.
|
default CompletableFuture<ListLogPatternSetsResponse> |
listLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest)
Lists the log pattern sets in the specific application.
|
default ListLogPatternSetsPublisher |
listLogPatternSetsPaginator(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest)
Lists the log pattern sets in the specific application.
|
default ListLogPatternSetsPublisher |
listLogPatternSetsPaginator(ListLogPatternSetsRequest listLogPatternSetsRequest)
Lists the log pattern sets in the specific application.
|
default ListLogPatternsPublisher |
listLogPatternsPaginator(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest)
Lists the log patterns in the specific log
LogPatternSet . |
default ListLogPatternsPublisher |
listLogPatternsPaginator(ListLogPatternsRequest listLogPatternsRequest)
Lists the log patterns in the specific log
LogPatternSet . |
default CompletableFuture<ListProblemsResponse> |
listProblems(Consumer<ListProblemsRequest.Builder> listProblemsRequest)
Lists the problems with your application.
|
default CompletableFuture<ListProblemsResponse> |
listProblems(ListProblemsRequest listProblemsRequest)
Lists the problems with your application.
|
default ListProblemsPublisher |
listProblemsPaginator(Consumer<ListProblemsRequest.Builder> listProblemsRequest)
Lists the problems with your application.
|
default ListProblemsPublisher |
listProblemsPaginator(ListProblemsRequest listProblemsRequest)
Lists the problems with your application.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Retrieve a list of the tags (keys and values) that are associated with a specified application.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieve a list of the tags (keys and values) that are associated with a specified application.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Add one or more tags (keys and values) to a specified application.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Add one or more tags (keys and values) to a specified application.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Remove one or more tags (keys and values) from a specified application.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Remove one or more tags (keys and values) from a specified application.
|
default CompletableFuture<UpdateApplicationResponse> |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Updates the application.
|
default CompletableFuture<UpdateApplicationResponse> |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates the application.
|
default CompletableFuture<UpdateComponentResponse> |
updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest)
Updates the custom component name and/or the list of resources that make up the component.
|
default CompletableFuture<UpdateComponentResponse> |
updateComponent(UpdateComponentRequest updateComponentRequest)
Updates the custom component name and/or the list of resources that make up the component.
|
default CompletableFuture<UpdateComponentConfigurationResponse> |
updateComponentConfiguration(Consumer<UpdateComponentConfigurationRequest.Builder> updateComponentConfigurationRequest)
Updates the monitoring configurations for the component.
|
default CompletableFuture<UpdateComponentConfigurationResponse> |
updateComponentConfiguration(UpdateComponentConfigurationRequest updateComponentConfigurationRequest)
Updates the monitoring configurations for the component.
|
default CompletableFuture<UpdateLogPatternResponse> |
updateLogPattern(Consumer<UpdateLogPatternRequest.Builder> updateLogPatternRequest)
Adds a log pattern to a
LogPatternSet . |
default CompletableFuture<UpdateLogPatternResponse> |
updateLogPattern(UpdateLogPatternRequest updateLogPatternRequest)
Adds a log pattern to a
LogPatternSet . |
serviceName
close
static final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider
.static ApplicationInsightsAsyncClient create()
ApplicationInsightsAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static ApplicationInsightsAsyncClientBuilder builder()
ApplicationInsightsAsyncClient
.default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest)
Adds an application that is created from a resource group.
createApplicationRequest
- default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
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.default CompletableFuture<CreateComponentResponse> createComponent(CreateComponentRequest createComponentRequest)
Creates a custom component by grouping similar standalone instances to monitor.
createComponentRequest
- default CompletableFuture<CreateComponentResponse> createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest)
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.default CompletableFuture<CreateLogPatternResponse> createLogPattern(CreateLogPatternRequest createLogPatternRequest)
Adds an log pattern to a LogPatternSet
.
createLogPatternRequest
- default CompletableFuture<CreateLogPatternResponse> createLogPattern(Consumer<CreateLogPatternRequest.Builder> createLogPatternRequest)
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.default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Removes the specified application from monitoring. Does not delete the application.
deleteApplicationRequest
- default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
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.default CompletableFuture<DeleteComponentResponse> deleteComponent(DeleteComponentRequest deleteComponentRequest)
Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
deleteComponentRequest
- default CompletableFuture<DeleteComponentResponse> deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest)
Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
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.default CompletableFuture<DeleteLogPatternResponse> deleteLogPattern(DeleteLogPatternRequest deleteLogPatternRequest)
Removes the specified log pattern from a LogPatternSet
.
deleteLogPatternRequest
- default CompletableFuture<DeleteLogPatternResponse> deleteLogPattern(Consumer<DeleteLogPatternRequest.Builder> deleteLogPatternRequest)
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.default CompletableFuture<DescribeApplicationResponse> describeApplication(DescribeApplicationRequest describeApplicationRequest)
Describes the application.
describeApplicationRequest
- default CompletableFuture<DescribeApplicationResponse> describeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest)
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.default CompletableFuture<DescribeComponentResponse> describeComponent(DescribeComponentRequest describeComponentRequest)
Describes a component and lists the resources that are grouped together in a component.
describeComponentRequest
- default CompletableFuture<DescribeComponentResponse> describeComponent(Consumer<DescribeComponentRequest.Builder> describeComponentRequest)
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.default CompletableFuture<DescribeComponentConfigurationResponse> describeComponentConfiguration(DescribeComponentConfigurationRequest describeComponentConfigurationRequest)
Describes the monitoring configuration of the component.
describeComponentConfigurationRequest
- default CompletableFuture<DescribeComponentConfigurationResponse> describeComponentConfiguration(Consumer<DescribeComponentConfigurationRequest.Builder> describeComponentConfigurationRequest)
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.default CompletableFuture<DescribeComponentConfigurationRecommendationResponse> describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest describeComponentConfigurationRecommendationRequest)
Describes the recommended monitoring configuration of the component.
describeComponentConfigurationRecommendationRequest
- default CompletableFuture<DescribeComponentConfigurationRecommendationResponse> describeComponentConfigurationRecommendation(Consumer<DescribeComponentConfigurationRecommendationRequest.Builder> describeComponentConfigurationRecommendationRequest)
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.default CompletableFuture<DescribeLogPatternResponse> describeLogPattern(DescribeLogPatternRequest describeLogPatternRequest)
Describe a specific log pattern from a LogPatternSet
.
describeLogPatternRequest
- default CompletableFuture<DescribeLogPatternResponse> describeLogPattern(Consumer<DescribeLogPatternRequest.Builder> describeLogPatternRequest)
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.default CompletableFuture<DescribeObservationResponse> describeObservation(DescribeObservationRequest describeObservationRequest)
Describes an anomaly or error with the application.
describeObservationRequest
- default CompletableFuture<DescribeObservationResponse> describeObservation(Consumer<DescribeObservationRequest.Builder> describeObservationRequest)
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.default CompletableFuture<DescribeProblemResponse> describeProblem(DescribeProblemRequest describeProblemRequest)
Describes an application problem.
describeProblemRequest
- default CompletableFuture<DescribeProblemResponse> describeProblem(Consumer<DescribeProblemRequest.Builder> describeProblemRequest)
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.default CompletableFuture<DescribeProblemObservationsResponse> describeProblemObservations(DescribeProblemObservationsRequest describeProblemObservationsRequest)
Describes the anomalies or errors associated with the problem.
describeProblemObservationsRequest
- default CompletableFuture<DescribeProblemObservationsResponse> describeProblemObservations(Consumer<DescribeProblemObservationsRequest.Builder> describeProblemObservationsRequest)
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.default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest)
Lists the IDs of the applications that you are monitoring.
listApplicationsRequest
- default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
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.default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
- default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListApplicationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListComponentsResponse> listComponents(ListComponentsRequest listComponentsRequest)
Lists the auto-grouped, standalone, and custom components of the application.
listComponentsRequest
- default CompletableFuture<ListComponentsResponse> listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
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.default ListComponentsPublisher listComponentsPaginator(ListComponentsRequest listComponentsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
- default ListComponentsPublisher listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListComponentsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListConfigurationHistoryResponse> listConfigurationHistory(ListConfigurationHistoryRequest listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
INFO: creating a new alarm or updating an alarm threshold.
WARN: alarm not created due to insufficient data points used to predict thresholds.
ERROR: alarm not created due to permission errors or exceeding quotas.
listConfigurationHistoryRequest
- default CompletableFuture<ListConfigurationHistoryResponse> listConfigurationHistory(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
INFO: creating a new alarm or updating an alarm threshold.
WARN: alarm not created due to insufficient data points used to predict thresholds.
ERROR: alarm not created due to permission errors or exceeding quotas.
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.default ListConfigurationHistoryPublisher listConfigurationHistoryPaginator(ListConfigurationHistoryRequest listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
INFO: creating a new alarm or updating an alarm threshold.
WARN: alarm not created due to insufficient data points used to predict thresholds.
ERROR: alarm not created due to permission errors or exceeding quotas.
This is a variant of
listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
- default ListConfigurationHistoryPublisher listConfigurationHistoryPaginator(Consumer<ListConfigurationHistoryRequest.Builder> listConfigurationHistoryRequest)
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
INFO: creating a new alarm or updating an alarm threshold.
WARN: alarm not created due to insufficient data points used to predict thresholds.
ERROR: alarm not created due to permission errors or exceeding quotas.
This is a variant of
listConfigurationHistory(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListConfigurationHistoryPublisher publisher = client.listConfigurationHistoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListConfigurationHistoryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListLogPatternSetsResponse> listLogPatternSets(ListLogPatternSetsRequest listLogPatternSetsRequest)
Lists the log pattern sets in the specific application.
listLogPatternSetsRequest
- default CompletableFuture<ListLogPatternSetsResponse> listLogPatternSets(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest)
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.default ListLogPatternSetsPublisher listLogPatternSetsPaginator(ListLogPatternSetsRequest listLogPatternSetsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
- default ListLogPatternSetsPublisher listLogPatternSetsPaginator(Consumer<ListLogPatternSetsRequest.Builder> listLogPatternSetsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternSetsPublisher publisher = client.listLogPatternSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternSetsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListLogPatternsResponse> listLogPatterns(ListLogPatternsRequest listLogPatternsRequest)
Lists the log patterns in the specific log LogPatternSet
.
listLogPatternsRequest
- default CompletableFuture<ListLogPatternsResponse> listLogPatterns(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest)
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.default ListLogPatternsPublisher listLogPatternsPaginator(ListLogPatternsRequest listLogPatternsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
- default ListLogPatternsPublisher listLogPatternsPaginator(Consumer<ListLogPatternsRequest.Builder> listLogPatternsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListLogPatternsPublisher publisher = client.listLogPatternsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListLogPatternsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListProblemsResponse> listProblems(ListProblemsRequest listProblemsRequest)
Lists the problems with your application.
listProblemsRequest
- default CompletableFuture<ListProblemsResponse> listProblems(Consumer<ListProblemsRequest.Builder> listProblemsRequest)
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.default ListProblemsPublisher listProblemsPaginator(ListProblemsRequest listProblemsRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
- default ListProblemsPublisher listProblemsPaginator(Consumer<ListProblemsRequest.Builder> listProblemsRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.applicationinsights.paginators.ListProblemsPublisher publisher = client.listProblemsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.applicationinsights.model.ListProblemsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
listTagsForResourceRequest
- default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
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.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
tagResourceRequest
- default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
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.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Remove one or more tags (keys and values) from a specified application.
untagResourceRequest
- default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
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.default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates the application.
updateApplicationRequest
- default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
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.default CompletableFuture<UpdateComponentResponse> updateComponent(UpdateComponentRequest updateComponentRequest)
Updates the custom component name and/or the list of resources that make up the component.
updateComponentRequest
- default CompletableFuture<UpdateComponentResponse> updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest)
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.default CompletableFuture<UpdateComponentConfigurationResponse> updateComponentConfiguration(UpdateComponentConfigurationRequest updateComponentConfigurationRequest)
Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of
the configuration and should match the schema of what is returned by
DescribeComponentConfigurationRecommendation
.
updateComponentConfigurationRequest
- default CompletableFuture<UpdateComponentConfigurationResponse> updateComponentConfiguration(Consumer<UpdateComponentConfigurationRequest.Builder> updateComponentConfigurationRequest)
Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of
the configuration and should match the schema of what is returned by
DescribeComponentConfigurationRecommendation
.
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.default CompletableFuture<UpdateLogPatternResponse> updateLogPattern(UpdateLogPatternRequest updateLogPatternRequest)
Adds a log pattern to a LogPatternSet
.
updateLogPatternRequest
- default CompletableFuture<UpdateLogPatternResponse> updateLogPattern(Consumer<UpdateLogPatternRequest.Builder> updateLogPatternRequest)
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.