All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.devopsguru.DevOpsGuruAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Dev Ops Guru module holds the client classes that are used for communicating with Dev Ops Guru.

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.devopsguru;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.devopsguru.model.AddNotificationChannelRequest;
import software.amazon.awssdk.services.devopsguru.model.AddNotificationChannelResponse;
import software.amazon.awssdk.services.devopsguru.model.DeleteInsightRequest;
import software.amazon.awssdk.services.devopsguru.model.DeleteInsightResponse;
import software.amazon.awssdk.services.devopsguru.model.DescribeAccountHealthRequest;
import software.amazon.awssdk.services.devopsguru.model.DescribeAccountHealthResponse;
import software.amazon.awssdk.services.devopsguru.model.DescribeAccountOverviewRequest;
import software.amazon.awssdk.services.devopsguru.model.DescribeAccountOverviewResponse;
import software.amazon.awssdk.services.devopsguru.model.DescribeAnomalyRequest;
import software.amazon.awssdk.services.devopsguru.model.DescribeAnomalyResponse;
import software.amazon.awssdk.services.devopsguru.model.DescribeEventSourcesConfigRequest;
import software.amazon.awssdk.services.devopsguru.model.DescribeEventSourcesConfigResponse;
import software.amazon.awssdk.services.devopsguru.model.DescribeFeedbackRequest;
import software.amazon.awssdk.services.devopsguru.model.DescribeFeedbackResponse;
import software.amazon.awssdk.services.devopsguru.model.DescribeInsightRequest;
import software.amazon.awssdk.services.devopsguru.model.DescribeInsightResponse;
import software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationHealthRequest;
import software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationHealthResponse;
import software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationOverviewRequest;
import software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationOverviewResponse;
import software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest;
import software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthResponse;
import software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest;
import software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthResponse;
import software.amazon.awssdk.services.devopsguru.model.DescribeServiceIntegrationRequest;
import software.amazon.awssdk.services.devopsguru.model.DescribeServiceIntegrationResponse;
import software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest;
import software.amazon.awssdk.services.devopsguru.model.GetCostEstimationResponse;
import software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest;
import software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionResponse;
import software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest;
import software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightResponse;
import software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest;
import software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsResponse;
import software.amazon.awssdk.services.devopsguru.model.ListEventsRequest;
import software.amazon.awssdk.services.devopsguru.model.ListEventsResponse;
import software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest;
import software.amazon.awssdk.services.devopsguru.model.ListInsightsResponse;
import software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest;
import software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesResponse;
import software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest;
import software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsResponse;
import software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest;
import software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsResponse;
import software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest;
import software.amazon.awssdk.services.devopsguru.model.ListRecommendationsResponse;
import software.amazon.awssdk.services.devopsguru.model.PutFeedbackRequest;
import software.amazon.awssdk.services.devopsguru.model.PutFeedbackResponse;
import software.amazon.awssdk.services.devopsguru.model.RemoveNotificationChannelRequest;
import software.amazon.awssdk.services.devopsguru.model.RemoveNotificationChannelResponse;
import software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest;
import software.amazon.awssdk.services.devopsguru.model.SearchInsightsResponse;
import software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest;
import software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsResponse;
import software.amazon.awssdk.services.devopsguru.model.StartCostEstimationRequest;
import software.amazon.awssdk.services.devopsguru.model.StartCostEstimationResponse;
import software.amazon.awssdk.services.devopsguru.model.UpdateEventSourcesConfigRequest;
import software.amazon.awssdk.services.devopsguru.model.UpdateEventSourcesConfigResponse;
import software.amazon.awssdk.services.devopsguru.model.UpdateResourceCollectionRequest;
import software.amazon.awssdk.services.devopsguru.model.UpdateResourceCollectionResponse;
import software.amazon.awssdk.services.devopsguru.model.UpdateServiceIntegrationRequest;
import software.amazon.awssdk.services.devopsguru.model.UpdateServiceIntegrationResponse;
import software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.ListEventsPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.ListInsightsPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsPublisher;
import software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsPublisher;

/**
 * Service client for accessing Amazon DevOps Guru asynchronously. This can be created using the static
 * {@link #builder()} method.The asynchronous client performs non-blocking I/O when configured with any
 * {@code SdkAsyncHttpClient} supported in the SDK. However, full non-blocking is not guaranteed as the async client may
 * perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
 * call.
 *
 * 

* Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in business critical * operational applications. You specify the Amazon Web Services resources that you want DevOps Guru to cover, then the * Amazon CloudWatch metrics and Amazon Web Services CloudTrail events related to those resources are analyzed. When * anomalous behavior is detected, DevOps Guru creates an insight that includes recommendations, related events, * and related metrics that can help you improve your operational applications. For more information, see What is Amazon DevOps Guru. *

*

* You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight is * created. You can also enable DevOps Guru to generate an OpsItem in Amazon Web Services Systems Manager for each * insight to help you manage and track your work addressing insights. *

*

* To learn about the DevOps Guru workflow, see How DevOps Guru works. * To learn about DevOps Guru concepts, see Concepts in DevOps Guru. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface DevOpsGuruAsyncClient extends AwsClient { String SERVICE_NAME = "devops-guru"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "devops-guru"; /** *

* Adds a notification channel to DevOps Guru. A notification channel is used to notify you about important DevOps * Guru events, such as when an insight is generated. *

*

* If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru * permission to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications * using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for * Amazon SNS topics. *

*

* If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service * customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon * Web Services KMS–encrypted Amazon SNS topics. *

* * @param addNotificationChannelRequest * @return A Java Future containing the result of the AddNotificationChannel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ServiceQuotaExceededException The request contains a value that exceeds a maximum quota.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.AddNotificationChannel * @see AWS API Documentation */ default CompletableFuture addNotificationChannel( AddNotificationChannelRequest addNotificationChannelRequest) { throw new UnsupportedOperationException(); } /** *

* Adds a notification channel to DevOps Guru. A notification channel is used to notify you about important DevOps * Guru events, such as when an insight is generated. *

*

* If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru * permission to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications * using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for * Amazon SNS topics. *

*

* If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service * customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon * Web Services KMS–encrypted Amazon SNS topics. *

*
*

* This is a convenience which creates an instance of the {@link AddNotificationChannelRequest.Builder} avoiding the * need to create one manually via {@link AddNotificationChannelRequest#builder()} *

* * @param addNotificationChannelRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.AddNotificationChannelRequest.Builder} to create a * request. * @return A Java Future containing the result of the AddNotificationChannel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ServiceQuotaExceededException The request contains a value that exceeds a maximum quota.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.AddNotificationChannel * @see AWS API Documentation */ default CompletableFuture addNotificationChannel( Consumer addNotificationChannelRequest) { return addNotificationChannel(AddNotificationChannelRequest.builder().applyMutation(addNotificationChannelRequest) .build()); } /** *

* Deletes the insight along with the associated anomalies, events and recommendations. *

* * @param deleteInsightRequest * @return A Java Future containing the result of the DeleteInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DeleteInsight * @see AWS API * Documentation */ default CompletableFuture deleteInsight(DeleteInsightRequest deleteInsightRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the insight along with the associated anomalies, events and recommendations. *

*
*

* This is a convenience which creates an instance of the {@link DeleteInsightRequest.Builder} avoiding the need to * create one manually via {@link DeleteInsightRequest#builder()} *

* * @param deleteInsightRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DeleteInsightRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DeleteInsight * @see AWS API * Documentation */ default CompletableFuture deleteInsight(Consumer deleteInsightRequest) { return deleteInsight(DeleteInsightRequest.builder().applyMutation(deleteInsightRequest).build()); } /** *

* Returns the number of open reactive insights, the number of open proactive insights, and the number of metrics * analyzed in your Amazon Web Services account. Use these numbers to gauge the health of operations in your Amazon * Web Services account. *

* * @param describeAccountHealthRequest * @return A Java Future containing the result of the DescribeAccountHealth operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeAccountHealth * @see AWS API Documentation */ default CompletableFuture describeAccountHealth( DescribeAccountHealthRequest describeAccountHealthRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the number of open reactive insights, the number of open proactive insights, and the number of metrics * analyzed in your Amazon Web Services account. Use these numbers to gauge the health of operations in your Amazon * Web Services account. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAccountHealthRequest.Builder} avoiding the * need to create one manually via {@link DescribeAccountHealthRequest#builder()} *

* * @param describeAccountHealthRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeAccountHealthRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeAccountHealth operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeAccountHealth * @see AWS API Documentation */ default CompletableFuture describeAccountHealth( Consumer describeAccountHealthRequest) { return describeAccountHealth(DescribeAccountHealthRequest.builder().applyMutation(describeAccountHealthRequest).build()); } /** *

* For the time range passed in, returns the number of open reactive insight that were created, the number of open * proactive insights that were created, and the Mean Time to Recover (MTTR) for all closed reactive insights. *

* * @param describeAccountOverviewRequest * @return A Java Future containing the result of the DescribeAccountOverview operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeAccountOverview * @see AWS API Documentation */ default CompletableFuture describeAccountOverview( DescribeAccountOverviewRequest describeAccountOverviewRequest) { throw new UnsupportedOperationException(); } /** *

* For the time range passed in, returns the number of open reactive insight that were created, the number of open * proactive insights that were created, and the Mean Time to Recover (MTTR) for all closed reactive insights. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAccountOverviewRequest.Builder} avoiding * the need to create one manually via {@link DescribeAccountOverviewRequest#builder()} *

* * @param describeAccountOverviewRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeAccountOverviewRequest.Builder} to create * a request. * @return A Java Future containing the result of the DescribeAccountOverview operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeAccountOverview * @see AWS API Documentation */ default CompletableFuture describeAccountOverview( Consumer describeAccountOverviewRequest) { return describeAccountOverview(DescribeAccountOverviewRequest.builder().applyMutation(describeAccountOverviewRequest) .build()); } /** *

* Returns details about an anomaly that you specify using its ID. *

* * @param describeAnomalyRequest * @return A Java Future containing the result of the DescribeAnomaly operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeAnomaly * @see AWS * API Documentation */ default CompletableFuture describeAnomaly(DescribeAnomalyRequest describeAnomalyRequest) { throw new UnsupportedOperationException(); } /** *

* Returns details about an anomaly that you specify using its ID. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAnomalyRequest.Builder} avoiding the need * to create one manually via {@link DescribeAnomalyRequest#builder()} *

* * @param describeAnomalyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeAnomalyRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeAnomaly operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeAnomaly * @see AWS * API Documentation */ default CompletableFuture describeAnomaly( Consumer describeAnomalyRequest) { return describeAnomaly(DescribeAnomalyRequest.builder().applyMutation(describeAnomalyRequest).build()); } /** *

* Returns the integration status of services that are integrated with DevOps Guru as Consumer via EventBridge. The * one service that can be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive * recommendations which can be stored and viewed in DevOps Guru. *

* * @param describeEventSourcesConfigRequest * @return A Java Future containing the result of the DescribeEventSourcesConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeEventSourcesConfig * @see AWS API Documentation */ default CompletableFuture describeEventSourcesConfig( DescribeEventSourcesConfigRequest describeEventSourcesConfigRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the integration status of services that are integrated with DevOps Guru as Consumer via EventBridge. The * one service that can be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive * recommendations which can be stored and viewed in DevOps Guru. *

*
*

* This is a convenience which creates an instance of the {@link DescribeEventSourcesConfigRequest.Builder} avoiding * the need to create one manually via {@link DescribeEventSourcesConfigRequest#builder()} *

* * @param describeEventSourcesConfigRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeEventSourcesConfigRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeEventSourcesConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeEventSourcesConfig * @see AWS API Documentation */ default CompletableFuture describeEventSourcesConfig( Consumer describeEventSourcesConfigRequest) { return describeEventSourcesConfig(DescribeEventSourcesConfigRequest.builder() .applyMutation(describeEventSourcesConfigRequest).build()); } /** *

* Returns the most recent feedback submitted in the current Amazon Web Services account and Region. *

* * @param describeFeedbackRequest * @return A Java Future containing the result of the DescribeFeedback operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeFeedback * @see AWS * API Documentation */ default CompletableFuture describeFeedback(DescribeFeedbackRequest describeFeedbackRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the most recent feedback submitted in the current Amazon Web Services account and Region. *

*
*

* This is a convenience which creates an instance of the {@link DescribeFeedbackRequest.Builder} avoiding the need * to create one manually via {@link DescribeFeedbackRequest#builder()} *

* * @param describeFeedbackRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeFeedbackRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeFeedback operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeFeedback * @see AWS * API Documentation */ default CompletableFuture describeFeedback( Consumer describeFeedbackRequest) { return describeFeedback(DescribeFeedbackRequest.builder().applyMutation(describeFeedbackRequest).build()); } /** *

* Returns details about an insight that you specify using its ID. *

* * @param describeInsightRequest * @return A Java Future containing the result of the DescribeInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeInsight * @see AWS * API Documentation */ default CompletableFuture describeInsight(DescribeInsightRequest describeInsightRequest) { throw new UnsupportedOperationException(); } /** *

* Returns details about an insight that you specify using its ID. *

*
*

* This is a convenience which creates an instance of the {@link DescribeInsightRequest.Builder} avoiding the need * to create one manually via {@link DescribeInsightRequest#builder()} *

* * @param describeInsightRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeInsightRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeInsight * @see AWS * API Documentation */ default CompletableFuture describeInsight( Consumer describeInsightRequest) { return describeInsight(DescribeInsightRequest.builder().applyMutation(describeInsightRequest).build()); } /** *

* Returns active insights, predictive insights, and resource hours analyzed in last hour. *

* * @param describeOrganizationHealthRequest * @return A Java Future containing the result of the DescribeOrganizationHealth operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeOrganizationHealth * @see AWS API Documentation */ default CompletableFuture describeOrganizationHealth( DescribeOrganizationHealthRequest describeOrganizationHealthRequest) { throw new UnsupportedOperationException(); } /** *

* Returns active insights, predictive insights, and resource hours analyzed in last hour. *

*
*

* This is a convenience which creates an instance of the {@link DescribeOrganizationHealthRequest.Builder} avoiding * the need to create one manually via {@link DescribeOrganizationHealthRequest#builder()} *

* * @param describeOrganizationHealthRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationHealthRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeOrganizationHealth operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeOrganizationHealth * @see AWS API Documentation */ default CompletableFuture describeOrganizationHealth( Consumer describeOrganizationHealthRequest) { return describeOrganizationHealth(DescribeOrganizationHealthRequest.builder() .applyMutation(describeOrganizationHealthRequest).build()); } /** *

* Returns an overview of your organization's history based on the specified time range. The overview includes the * total reactive and proactive insights. *

* * @param describeOrganizationOverviewRequest * @return A Java Future containing the result of the DescribeOrganizationOverview operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeOrganizationOverview * @see AWS API Documentation */ default CompletableFuture describeOrganizationOverview( DescribeOrganizationOverviewRequest describeOrganizationOverviewRequest) { throw new UnsupportedOperationException(); } /** *

* Returns an overview of your organization's history based on the specified time range. The overview includes the * total reactive and proactive insights. *

*
*

* This is a convenience which creates an instance of the {@link DescribeOrganizationOverviewRequest.Builder} * avoiding the need to create one manually via {@link DescribeOrganizationOverviewRequest#builder()} *

* * @param describeOrganizationOverviewRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationOverviewRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeOrganizationOverview operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeOrganizationOverview * @see AWS API Documentation */ default CompletableFuture describeOrganizationOverview( Consumer describeOrganizationOverviewRequest) { return describeOrganizationOverview(DescribeOrganizationOverviewRequest.builder() .applyMutation(describeOrganizationOverviewRequest).build()); } /** *

* Provides an overview of your system's health. If additional member accounts are part of your organization, you * can filter those accounts using the AccountIds field. *

* * @param describeOrganizationResourceCollectionHealthRequest * @return A Java Future containing the result of the DescribeOrganizationResourceCollectionHealth operation * returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeOrganizationResourceCollectionHealth * @see AWS API Documentation */ default CompletableFuture describeOrganizationResourceCollectionHealth( DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest) { throw new UnsupportedOperationException(); } /** *

* Provides an overview of your system's health. If additional member accounts are part of your organization, you * can filter those accounts using the AccountIds field. *

*
*

* This is a convenience which creates an instance of the * {@link DescribeOrganizationResourceCollectionHealthRequest.Builder} avoiding the need to create one manually via * {@link DescribeOrganizationResourceCollectionHealthRequest#builder()} *

* * @param describeOrganizationResourceCollectionHealthRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeOrganizationResourceCollectionHealth operation * returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeOrganizationResourceCollectionHealth * @see AWS API Documentation */ default CompletableFuture describeOrganizationResourceCollectionHealth( Consumer describeOrganizationResourceCollectionHealthRequest) { return describeOrganizationResourceCollectionHealth(DescribeOrganizationResourceCollectionHealthRequest.builder() .applyMutation(describeOrganizationResourceCollectionHealthRequest).build()); } /** *

* This is a variant of * {@link #describeOrganizationResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthPublisher publisher = client.describeOrganizationResourceCollectionHealthPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthPublisher publisher = client.describeOrganizationResourceCollectionHealthPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthResponse 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 null 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 * {@link #describeOrganizationResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest)} * operation. *

* * @param describeOrganizationResourceCollectionHealthRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeOrganizationResourceCollectionHealth * @see AWS API Documentation */ default DescribeOrganizationResourceCollectionHealthPublisher describeOrganizationResourceCollectionHealthPaginator( DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest) { return new DescribeOrganizationResourceCollectionHealthPublisher(this, describeOrganizationResourceCollectionHealthRequest); } /** *

* This is a variant of * {@link #describeOrganizationResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthPublisher publisher = client.describeOrganizationResourceCollectionHealthPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthPublisher publisher = client.describeOrganizationResourceCollectionHealthPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthResponse 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 null 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 * {@link #describeOrganizationResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the * {@link DescribeOrganizationResourceCollectionHealthRequest.Builder} avoiding the need to create one manually via * {@link DescribeOrganizationResourceCollectionHealthRequest#builder()} *

* * @param describeOrganizationResourceCollectionHealthRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest.Builder} * to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeOrganizationResourceCollectionHealth * @see AWS API Documentation */ default DescribeOrganizationResourceCollectionHealthPublisher describeOrganizationResourceCollectionHealthPaginator( Consumer describeOrganizationResourceCollectionHealthRequest) { return describeOrganizationResourceCollectionHealthPaginator(DescribeOrganizationResourceCollectionHealthRequest .builder().applyMutation(describeOrganizationResourceCollectionHealthRequest).build()); } /** *

* Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for * all closed insights in resource collections in your account. You specify the type of Amazon Web Services * resources collection. The two types of Amazon Web Services resource collections supported are Amazon Web Services * CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps * Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are * tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. *

* * @param describeResourceCollectionHealthRequest * @return A Java Future containing the result of the DescribeResourceCollectionHealth operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeResourceCollectionHealth * @see AWS API Documentation */ default CompletableFuture describeResourceCollectionHealth( DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for * all closed insights in resource collections in your account. You specify the type of Amazon Web Services * resources collection. The two types of Amazon Web Services resource collections supported are Amazon Web Services * CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps * Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are * tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. *

*
*

* This is a convenience which creates an instance of the {@link DescribeResourceCollectionHealthRequest.Builder} * avoiding the need to create one manually via {@link DescribeResourceCollectionHealthRequest#builder()} *

* * @param describeResourceCollectionHealthRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeResourceCollectionHealth operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeResourceCollectionHealth * @see AWS API Documentation */ default CompletableFuture describeResourceCollectionHealth( Consumer describeResourceCollectionHealthRequest) { return describeResourceCollectionHealth(DescribeResourceCollectionHealthRequest.builder() .applyMutation(describeResourceCollectionHealthRequest).build()); } /** *

* This is a variant of * {@link #describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthPublisher publisher = client.describeResourceCollectionHealthPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthPublisher publisher = client.describeResourceCollectionHealthPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthResponse 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 null 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 * {@link #describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)} * operation. *

* * @param describeResourceCollectionHealthRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeResourceCollectionHealth * @see AWS API Documentation */ default DescribeResourceCollectionHealthPublisher describeResourceCollectionHealthPaginator( DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest) { return new DescribeResourceCollectionHealthPublisher(this, describeResourceCollectionHealthRequest); } /** *

* This is a variant of * {@link #describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthPublisher publisher = client.describeResourceCollectionHealthPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthPublisher publisher = client.describeResourceCollectionHealthPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthResponse 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 null 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 * {@link #describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeResourceCollectionHealthRequest.Builder} * avoiding the need to create one manually via {@link DescribeResourceCollectionHealthRequest#builder()} *

* * @param describeResourceCollectionHealthRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest.Builder} * to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeResourceCollectionHealth * @see AWS API Documentation */ default DescribeResourceCollectionHealthPublisher describeResourceCollectionHealthPaginator( Consumer describeResourceCollectionHealthRequest) { return describeResourceCollectionHealthPaginator(DescribeResourceCollectionHealthRequest.builder() .applyMutation(describeResourceCollectionHealthRequest).build()); } /** *

* Returns the integration status of services that are integrated with DevOps Guru. The one service that can be * integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for * each generated insight. *

* * @param describeServiceIntegrationRequest * @return A Java Future containing the result of the DescribeServiceIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeServiceIntegration * @see AWS API Documentation */ default CompletableFuture describeServiceIntegration( DescribeServiceIntegrationRequest describeServiceIntegrationRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the integration status of services that are integrated with DevOps Guru. The one service that can be * integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for * each generated insight. *

*
*

* This is a convenience which creates an instance of the {@link DescribeServiceIntegrationRequest.Builder} avoiding * the need to create one manually via {@link DescribeServiceIntegrationRequest#builder()} *

* * @param describeServiceIntegrationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.DescribeServiceIntegrationRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeServiceIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.DescribeServiceIntegration * @see AWS API Documentation */ default CompletableFuture describeServiceIntegration( Consumer describeServiceIntegrationRequest) { return describeServiceIntegration(DescribeServiceIntegrationRequest.builder() .applyMutation(describeServiceIntegrationRequest).build()); } /** *

* Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources. For more * information, see Estimate * your Amazon DevOps Guru costs and Amazon DevOps Guru * pricing. *

* * @param getCostEstimationRequest * @return A Java Future containing the result of the GetCostEstimation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.GetCostEstimation * @see AWS * API Documentation */ default CompletableFuture getCostEstimation(GetCostEstimationRequest getCostEstimationRequest) { throw new UnsupportedOperationException(); } /** *

* Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources. For more * information, see Estimate * your Amazon DevOps Guru costs and Amazon DevOps Guru * pricing. *

*
*

* This is a convenience which creates an instance of the {@link GetCostEstimationRequest.Builder} avoiding the need * to create one manually via {@link GetCostEstimationRequest#builder()} *

* * @param getCostEstimationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetCostEstimation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.GetCostEstimation * @see AWS * API Documentation */ default CompletableFuture getCostEstimation( Consumer getCostEstimationRequest) { return getCostEstimation(GetCostEstimationRequest.builder().applyMutation(getCostEstimationRequest).build()); } /** *

* This is a variant of * {@link #getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)} 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationPublisher publisher = client.getCostEstimationPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationPublisher publisher = client.getCostEstimationPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationResponse 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 null 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 * {@link #getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)} * operation. *

* * @param getCostEstimationRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.GetCostEstimation * @see AWS * API Documentation */ default GetCostEstimationPublisher getCostEstimationPaginator(GetCostEstimationRequest getCostEstimationRequest) { return new GetCostEstimationPublisher(this, getCostEstimationRequest); } /** *

* This is a variant of * {@link #getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)} 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationPublisher publisher = client.getCostEstimationPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationPublisher publisher = client.getCostEstimationPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationResponse 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 null 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 * {@link #getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link GetCostEstimationRequest.Builder} avoiding the need * to create one manually via {@link GetCostEstimationRequest#builder()} *

* * @param getCostEstimationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.GetCostEstimation * @see AWS * API Documentation */ default GetCostEstimationPublisher getCostEstimationPaginator( Consumer getCostEstimationRequest) { return getCostEstimationPaginator(GetCostEstimationRequest.builder().applyMutation(getCostEstimationRequest).build()); } /** *

* Returns lists Amazon Web Services resources that are of the specified resource collection type. The two types of * Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web * Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the * Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. * You can specify up to 500 Amazon Web Services CloudFormation stacks. *

* * @param getResourceCollectionRequest * @return A Java Future containing the result of the GetResourceCollection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.GetResourceCollection * @see AWS API Documentation */ default CompletableFuture getResourceCollection( GetResourceCollectionRequest getResourceCollectionRequest) { throw new UnsupportedOperationException(); } /** *

* Returns lists Amazon Web Services resources that are of the specified resource collection type. The two types of * Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web * Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the * Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. * You can specify up to 500 Amazon Web Services CloudFormation stacks. *

*
*

* This is a convenience which creates an instance of the {@link GetResourceCollectionRequest.Builder} avoiding the * need to create one manually via {@link GetResourceCollectionRequest#builder()} *

* * @param getResourceCollectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetResourceCollection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.GetResourceCollection * @see AWS API Documentation */ default CompletableFuture getResourceCollection( Consumer getResourceCollectionRequest) { return getResourceCollection(GetResourceCollectionRequest.builder().applyMutation(getResourceCollectionRequest).build()); } /** *

* This is a variant of * {@link #getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionPublisher publisher = client.getResourceCollectionPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionPublisher publisher = client.getResourceCollectionPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionResponse 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 null 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 * {@link #getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)} * operation. *

* * @param getResourceCollectionRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.GetResourceCollection * @see AWS API Documentation */ default GetResourceCollectionPublisher getResourceCollectionPaginator( GetResourceCollectionRequest getResourceCollectionRequest) { return new GetResourceCollectionPublisher(this, getResourceCollectionRequest); } /** *

* This is a variant of * {@link #getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionPublisher publisher = client.getResourceCollectionPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionPublisher publisher = client.getResourceCollectionPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionResponse 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 null 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 * {@link #getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link GetResourceCollectionRequest.Builder} avoiding the * need to create one manually via {@link GetResourceCollectionRequest#builder()} *

* * @param getResourceCollectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.GetResourceCollection * @see AWS API Documentation */ default GetResourceCollectionPublisher getResourceCollectionPaginator( Consumer getResourceCollectionRequest) { return getResourceCollectionPaginator(GetResourceCollectionRequest.builder().applyMutation(getResourceCollectionRequest) .build()); } /** *

* Returns a list of the anomalies that belong to an insight that you specify using its ID. *

* * @param listAnomaliesForInsightRequest * @return A Java Future containing the result of the ListAnomaliesForInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListAnomaliesForInsight * @see AWS API Documentation */ default CompletableFuture listAnomaliesForInsight( ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of the anomalies that belong to an insight that you specify using its ID. *

*
*

* This is a convenience which creates an instance of the {@link ListAnomaliesForInsightRequest.Builder} avoiding * the need to create one manually via {@link ListAnomaliesForInsightRequest#builder()} *

* * @param listAnomaliesForInsightRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListAnomaliesForInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListAnomaliesForInsight * @see AWS API Documentation */ default CompletableFuture listAnomaliesForInsight( Consumer listAnomaliesForInsightRequest) { return listAnomaliesForInsight(ListAnomaliesForInsightRequest.builder().applyMutation(listAnomaliesForInsightRequest) .build()); } /** *

* This is a variant of * {@link #listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightPublisher publisher = client.listAnomaliesForInsightPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightPublisher publisher = client.listAnomaliesForInsightPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightResponse 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 * {@link #listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)} * operation. *

* * @param listAnomaliesForInsightRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListAnomaliesForInsight * @see AWS API Documentation */ default ListAnomaliesForInsightPublisher listAnomaliesForInsightPaginator( ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) { return new ListAnomaliesForInsightPublisher(this, listAnomaliesForInsightRequest); } /** *

* This is a variant of * {@link #listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightPublisher publisher = client.listAnomaliesForInsightPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightPublisher publisher = client.listAnomaliesForInsightPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightResponse 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 * {@link #listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListAnomaliesForInsightRequest.Builder} avoiding * the need to create one manually via {@link ListAnomaliesForInsightRequest#builder()} *

* * @param listAnomaliesForInsightRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListAnomaliesForInsight * @see AWS API Documentation */ default ListAnomaliesForInsightPublisher listAnomaliesForInsightPaginator( Consumer listAnomaliesForInsightRequest) { return listAnomaliesForInsightPaginator(ListAnomaliesForInsightRequest.builder() .applyMutation(listAnomaliesForInsightRequest).build()); } /** *

* Returns the list of log groups that contain log anomalies. *

* * @param listAnomalousLogGroupsRequest * @return A Java Future containing the result of the ListAnomalousLogGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListAnomalousLogGroups * @see AWS API Documentation */ default CompletableFuture listAnomalousLogGroups( ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the list of log groups that contain log anomalies. *

*
*

* This is a convenience which creates an instance of the {@link ListAnomalousLogGroupsRequest.Builder} avoiding the * need to create one manually via {@link ListAnomalousLogGroupsRequest#builder()} *

* * @param listAnomalousLogGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListAnomalousLogGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListAnomalousLogGroups * @see AWS API Documentation */ default CompletableFuture listAnomalousLogGroups( Consumer listAnomalousLogGroupsRequest) { return listAnomalousLogGroups(ListAnomalousLogGroupsRequest.builder().applyMutation(listAnomalousLogGroupsRequest) .build()); } /** *

* This is a variant of * {@link #listAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsPublisher publisher = client.listAnomalousLogGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsPublisher publisher = client.listAnomalousLogGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsResponse 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 * {@link #listAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)} * operation. *

* * @param listAnomalousLogGroupsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListAnomalousLogGroups * @see AWS API Documentation */ default ListAnomalousLogGroupsPublisher listAnomalousLogGroupsPaginator( ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest) { return new ListAnomalousLogGroupsPublisher(this, listAnomalousLogGroupsRequest); } /** *

* This is a variant of * {@link #listAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsPublisher publisher = client.listAnomalousLogGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsPublisher publisher = client.listAnomalousLogGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsResponse 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 * {@link #listAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListAnomalousLogGroupsRequest.Builder} avoiding the * need to create one manually via {@link ListAnomalousLogGroupsRequest#builder()} *

* * @param listAnomalousLogGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListAnomalousLogGroups * @see AWS API Documentation */ default ListAnomalousLogGroupsPublisher listAnomalousLogGroupsPaginator( Consumer listAnomalousLogGroupsRequest) { return listAnomalousLogGroupsPaginator(ListAnomalousLogGroupsRequest.builder() .applyMutation(listAnomalousLogGroupsRequest).build()); } /** *

* Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to * specify which events are returned. *

* * @param listEventsRequest * @return A Java Future containing the result of the ListEvents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListEvents * @see AWS API * Documentation */ default CompletableFuture listEvents(ListEventsRequest listEventsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to * specify which events are returned. *

*
*

* This is a convenience which creates an instance of the {@link ListEventsRequest.Builder} avoiding the need to * create one manually via {@link ListEventsRequest#builder()} *

* * @param listEventsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListEventsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListEvents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListEvents * @see AWS API * Documentation */ default CompletableFuture listEvents(Consumer listEventsRequest) { return listEvents(ListEventsRequest.builder().applyMutation(listEventsRequest).build()); } /** *

* This is a variant of {@link #listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListEventsPublisher publisher = client.listEventsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListEventsPublisher publisher = client.listEventsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListEventsResponse 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 * {@link #listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)} operation. *

* * @param listEventsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListEvents * @see AWS API * Documentation */ default ListEventsPublisher listEventsPaginator(ListEventsRequest listEventsRequest) { return new ListEventsPublisher(this, listEventsRequest); } /** *

* This is a variant of {@link #listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListEventsPublisher publisher = client.listEventsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListEventsPublisher publisher = client.listEventsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListEventsResponse 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 * {@link #listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListEventsRequest.Builder} avoiding the need to * create one manually via {@link ListEventsRequest#builder()} *

* * @param listEventsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListEventsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListEvents * @see AWS API * Documentation */ default ListEventsPublisher listEventsPaginator(Consumer listEventsRequest) { return listEventsPaginator(ListEventsRequest.builder().applyMutation(listEventsRequest).build()); } /** *

* Returns a list of insights in your Amazon Web Services account. You can specify which insights are returned by * their start time and status (ONGOING, CLOSED, or ANY). *

* * @param listInsightsRequest * @return A Java Future containing the result of the ListInsights operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListInsights * @see AWS API * Documentation */ default CompletableFuture listInsights(ListInsightsRequest listInsightsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of insights in your Amazon Web Services account. You can specify which insights are returned by * their start time and status (ONGOING, CLOSED, or ANY). *

*
*

* This is a convenience which creates an instance of the {@link ListInsightsRequest.Builder} avoiding the need to * create one manually via {@link ListInsightsRequest#builder()} *

* * @param listInsightsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListInsights operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListInsights * @see AWS API * Documentation */ default CompletableFuture listInsights(Consumer listInsightsRequest) { return listInsights(ListInsightsRequest.builder().applyMutation(listInsightsRequest).build()); } /** *

* This is a variant of {@link #listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListInsightsPublisher publisher = client.listInsightsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListInsightsPublisher publisher = client.listInsightsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListInsightsResponse 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 * {@link #listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)} operation. *

* * @param listInsightsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListInsights * @see AWS API * Documentation */ default ListInsightsPublisher listInsightsPaginator(ListInsightsRequest listInsightsRequest) { return new ListInsightsPublisher(this, listInsightsRequest); } /** *

* This is a variant of {@link #listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListInsightsPublisher publisher = client.listInsightsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListInsightsPublisher publisher = client.listInsightsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListInsightsResponse 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 * {@link #listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListInsightsRequest.Builder} avoiding the need to * create one manually via {@link ListInsightsRequest#builder()} *

* * @param listInsightsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListInsights * @see AWS API * Documentation */ default ListInsightsPublisher listInsightsPaginator(Consumer listInsightsRequest) { return listInsightsPaginator(ListInsightsRequest.builder().applyMutation(listInsightsRequest).build()); } /** *

* Returns the list of all log groups that are being monitored and tagged by DevOps Guru. *

* * @param listMonitoredResourcesRequest * @return A Java Future containing the result of the ListMonitoredResources operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListMonitoredResources * @see AWS API Documentation */ default CompletableFuture listMonitoredResources( ListMonitoredResourcesRequest listMonitoredResourcesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the list of all log groups that are being monitored and tagged by DevOps Guru. *

*
*

* This is a convenience which creates an instance of the {@link ListMonitoredResourcesRequest.Builder} avoiding the * need to create one manually via {@link ListMonitoredResourcesRequest#builder()} *

* * @param listMonitoredResourcesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListMonitoredResources operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListMonitoredResources * @see AWS API Documentation */ default CompletableFuture listMonitoredResources( Consumer listMonitoredResourcesRequest) { return listMonitoredResources(ListMonitoredResourcesRequest.builder().applyMutation(listMonitoredResourcesRequest) .build()); } /** *

* This is a variant of * {@link #listMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesPublisher publisher = client.listMonitoredResourcesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesPublisher publisher = client.listMonitoredResourcesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesResponse 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 * {@link #listMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)} * operation. *

* * @param listMonitoredResourcesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListMonitoredResources * @see AWS API Documentation */ default ListMonitoredResourcesPublisher listMonitoredResourcesPaginator( ListMonitoredResourcesRequest listMonitoredResourcesRequest) { return new ListMonitoredResourcesPublisher(this, listMonitoredResourcesRequest); } /** *

* This is a variant of * {@link #listMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesPublisher publisher = client.listMonitoredResourcesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesPublisher publisher = client.listMonitoredResourcesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesResponse 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 * {@link #listMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListMonitoredResourcesRequest.Builder} avoiding the * need to create one manually via {@link ListMonitoredResourcesRequest#builder()} *

* * @param listMonitoredResourcesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListMonitoredResources * @see AWS API Documentation */ default ListMonitoredResourcesPublisher listMonitoredResourcesPaginator( Consumer listMonitoredResourcesRequest) { return listMonitoredResourcesPaginator(ListMonitoredResourcesRequest.builder() .applyMutation(listMonitoredResourcesRequest).build()); } /** *

* Returns a list of notification channels configured for DevOps Guru. Each notification channel is used to notify * you when DevOps Guru generates an insight that contains information about how to improve your operations. The one * supported notification channel is Amazon Simple Notification Service (Amazon SNS). *

* * @param listNotificationChannelsRequest * @return A Java Future containing the result of the ListNotificationChannels operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListNotificationChannels * @see AWS API Documentation */ default CompletableFuture listNotificationChannels( ListNotificationChannelsRequest listNotificationChannelsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of notification channels configured for DevOps Guru. Each notification channel is used to notify * you when DevOps Guru generates an insight that contains information about how to improve your operations. The one * supported notification channel is Amazon Simple Notification Service (Amazon SNS). *

*
*

* This is a convenience which creates an instance of the {@link ListNotificationChannelsRequest.Builder} avoiding * the need to create one manually via {@link ListNotificationChannelsRequest#builder()} *

* * @param listNotificationChannelsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListNotificationChannels operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListNotificationChannels * @see AWS API Documentation */ default CompletableFuture listNotificationChannels( Consumer listNotificationChannelsRequest) { return listNotificationChannels(ListNotificationChannelsRequest.builder().applyMutation(listNotificationChannelsRequest) .build()); } /** *

* This is a variant of * {@link #listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsPublisher publisher = client.listNotificationChannelsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsPublisher publisher = client.listNotificationChannelsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsResponse 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 null 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 * {@link #listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)} * operation. *

* * @param listNotificationChannelsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListNotificationChannels * @see AWS API Documentation */ default ListNotificationChannelsPublisher listNotificationChannelsPaginator( ListNotificationChannelsRequest listNotificationChannelsRequest) { return new ListNotificationChannelsPublisher(this, listNotificationChannelsRequest); } /** *

* This is a variant of * {@link #listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsPublisher publisher = client.listNotificationChannelsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsPublisher publisher = client.listNotificationChannelsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsResponse 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 null 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 * {@link #listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListNotificationChannelsRequest.Builder} avoiding * the need to create one manually via {@link ListNotificationChannelsRequest#builder()} *

* * @param listNotificationChannelsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListNotificationChannels * @see AWS API Documentation */ default ListNotificationChannelsPublisher listNotificationChannelsPaginator( Consumer listNotificationChannelsRequest) { return listNotificationChannelsPaginator(ListNotificationChannelsRequest.builder() .applyMutation(listNotificationChannelsRequest).build()); } /** *

* Returns a list of insights associated with the account or OU Id. *

* * @param listOrganizationInsightsRequest * @return A Java Future containing the result of the ListOrganizationInsights operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListOrganizationInsights * @see AWS API Documentation */ default CompletableFuture listOrganizationInsights( ListOrganizationInsightsRequest listOrganizationInsightsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of insights associated with the account or OU Id. *

*
*

* This is a convenience which creates an instance of the {@link ListOrganizationInsightsRequest.Builder} avoiding * the need to create one manually via {@link ListOrganizationInsightsRequest#builder()} *

* * @param listOrganizationInsightsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListOrganizationInsights operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListOrganizationInsights * @see AWS API Documentation */ default CompletableFuture listOrganizationInsights( Consumer listOrganizationInsightsRequest) { return listOrganizationInsights(ListOrganizationInsightsRequest.builder().applyMutation(listOrganizationInsightsRequest) .build()); } /** *

* This is a variant of * {@link #listOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsPublisher publisher = client.listOrganizationInsightsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsPublisher publisher = client.listOrganizationInsightsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsResponse 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 * {@link #listOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)} * operation. *

* * @param listOrganizationInsightsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListOrganizationInsights * @see AWS API Documentation */ default ListOrganizationInsightsPublisher listOrganizationInsightsPaginator( ListOrganizationInsightsRequest listOrganizationInsightsRequest) { return new ListOrganizationInsightsPublisher(this, listOrganizationInsightsRequest); } /** *

* This is a variant of * {@link #listOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsPublisher publisher = client.listOrganizationInsightsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsPublisher publisher = client.listOrganizationInsightsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsResponse 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 * {@link #listOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListOrganizationInsightsRequest.Builder} avoiding * the need to create one manually via {@link ListOrganizationInsightsRequest#builder()} *

* * @param listOrganizationInsightsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListOrganizationInsights * @see AWS API Documentation */ default ListOrganizationInsightsPublisher listOrganizationInsightsPaginator( Consumer listOrganizationInsightsRequest) { return listOrganizationInsightsPaginator(ListOrganizationInsightsRequest.builder() .applyMutation(listOrganizationInsightsRequest).build()); } /** *

* Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics * and a list of related events. *

* * @param listRecommendationsRequest * @return A Java Future containing the result of the ListRecommendations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListRecommendations * @see AWS API Documentation */ default CompletableFuture listRecommendations( ListRecommendationsRequest listRecommendationsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics * and a list of related events. *

*
*

* This is a convenience which creates an instance of the {@link ListRecommendationsRequest.Builder} avoiding the * need to create one manually via {@link ListRecommendationsRequest#builder()} *

* * @param listRecommendationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListRecommendations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListRecommendations * @see AWS API Documentation */ default CompletableFuture listRecommendations( Consumer listRecommendationsRequest) { return listRecommendations(ListRecommendationsRequest.builder().applyMutation(listRecommendationsRequest).build()); } /** *

* This is a variant of * {@link #listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsResponse 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 null 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 * {@link #listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)} * operation. *

* * @param listRecommendationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsPublisher listRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest) { return new ListRecommendationsPublisher(this, listRecommendationsRequest); } /** *

* This is a variant of * {@link #listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsResponse 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 null 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 * {@link #listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListRecommendationsRequest.Builder} avoiding the * need to create one manually via {@link ListRecommendationsRequest#builder()} *

* * @param listRecommendationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsPublisher listRecommendationsPaginator( Consumer listRecommendationsRequest) { return listRecommendationsPaginator(ListRecommendationsRequest.builder().applyMutation(listRecommendationsRequest) .build()); } /** *

* Collects customer feedback about the specified insight. *

* * @param putFeedbackRequest * @return A Java Future containing the result of the PutFeedback operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.PutFeedback * @see AWS API * Documentation */ default CompletableFuture putFeedback(PutFeedbackRequest putFeedbackRequest) { throw new UnsupportedOperationException(); } /** *

* Collects customer feedback about the specified insight. *

*
*

* This is a convenience which creates an instance of the {@link PutFeedbackRequest.Builder} avoiding the need to * create one manually via {@link PutFeedbackRequest#builder()} *

* * @param putFeedbackRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.PutFeedbackRequest.Builder} to create a request. * @return A Java Future containing the result of the PutFeedback operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.PutFeedback * @see AWS API * Documentation */ default CompletableFuture putFeedback(Consumer putFeedbackRequest) { return putFeedback(PutFeedbackRequest.builder().applyMutation(putFeedbackRequest).build()); } /** *

* Removes a notification channel from DevOps Guru. A notification channel is used to notify you when DevOps Guru * generates an insight that contains information about how to improve your operations. *

* * @param removeNotificationChannelRequest * @return A Java Future containing the result of the RemoveNotificationChannel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.RemoveNotificationChannel * @see AWS API Documentation */ default CompletableFuture removeNotificationChannel( RemoveNotificationChannelRequest removeNotificationChannelRequest) { throw new UnsupportedOperationException(); } /** *

* Removes a notification channel from DevOps Guru. A notification channel is used to notify you when DevOps Guru * generates an insight that contains information about how to improve your operations. *

*
*

* This is a convenience which creates an instance of the {@link RemoveNotificationChannelRequest.Builder} avoiding * the need to create one manually via {@link RemoveNotificationChannelRequest#builder()} *

* * @param removeNotificationChannelRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.RemoveNotificationChannelRequest.Builder} to * create a request. * @return A Java Future containing the result of the RemoveNotificationChannel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.RemoveNotificationChannel * @see AWS API Documentation */ default CompletableFuture removeNotificationChannel( Consumer removeNotificationChannelRequest) { return removeNotificationChannel(RemoveNotificationChannelRequest.builder() .applyMutation(removeNotificationChannelRequest).build()); } /** *

* Returns a list of insights in your Amazon Web Services account. You can specify which insights are returned by * their start time, one or more statuses (ONGOING or CLOSED), one or more severities ( * LOW, MEDIUM, and HIGH), and type (REACTIVE or * PROACTIVE). *

*

* Use the Filters parameter to specify status and severity search parameters. Use the * Type parameter to specify REACTIVE or PROACTIVE in your search. *

* * @param searchInsightsRequest * @return A Java Future containing the result of the SearchInsights operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.SearchInsights * @see AWS * API Documentation */ default CompletableFuture searchInsights(SearchInsightsRequest searchInsightsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of insights in your Amazon Web Services account. You can specify which insights are returned by * their start time, one or more statuses (ONGOING or CLOSED), one or more severities ( * LOW, MEDIUM, and HIGH), and type (REACTIVE or * PROACTIVE). *

*

* Use the Filters parameter to specify status and severity search parameters. Use the * Type parameter to specify REACTIVE or PROACTIVE in your search. *

*
*

* This is a convenience which creates an instance of the {@link SearchInsightsRequest.Builder} avoiding the need to * create one manually via {@link SearchInsightsRequest#builder()} *

* * @param searchInsightsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest.Builder} to create a * request. * @return A Java Future containing the result of the SearchInsights operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.SearchInsights * @see AWS * API Documentation */ default CompletableFuture searchInsights(Consumer searchInsightsRequest) { return searchInsights(SearchInsightsRequest.builder().applyMutation(searchInsightsRequest).build()); } /** *

* This is a variant of * {@link #searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)} 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsPublisher publisher = client.searchInsightsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsPublisher publisher = client.searchInsightsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.SearchInsightsResponse 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 * {@link #searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)} operation. *

* * @param searchInsightsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.SearchInsights * @see AWS * API Documentation */ default SearchInsightsPublisher searchInsightsPaginator(SearchInsightsRequest searchInsightsRequest) { return new SearchInsightsPublisher(this, searchInsightsRequest); } /** *

* This is a variant of * {@link #searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)} 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsPublisher publisher = client.searchInsightsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsPublisher publisher = client.searchInsightsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.SearchInsightsResponse 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 * {@link #searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link SearchInsightsRequest.Builder} avoiding the need to * create one manually via {@link SearchInsightsRequest#builder()} *

* * @param searchInsightsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.SearchInsights * @see AWS * API Documentation */ default SearchInsightsPublisher searchInsightsPaginator(Consumer searchInsightsRequest) { return searchInsightsPaginator(SearchInsightsRequest.builder().applyMutation(searchInsightsRequest).build()); } /** *

* Returns a list of insights in your organization. You can specify which insights are returned by their start time, * one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities * (LOW, MEDIUM, and HIGH), and type (REACTIVE or * PROACTIVE). *

*

* Use the Filters parameter to specify status and severity search parameters. Use the * Type parameter to specify REACTIVE or PROACTIVE in your search. *

* * @param searchOrganizationInsightsRequest * @return A Java Future containing the result of the SearchOrganizationInsights operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.SearchOrganizationInsights * @see AWS API Documentation */ default CompletableFuture searchOrganizationInsights( SearchOrganizationInsightsRequest searchOrganizationInsightsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of insights in your organization. You can specify which insights are returned by their start time, * one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities * (LOW, MEDIUM, and HIGH), and type (REACTIVE or * PROACTIVE). *

*

* Use the Filters parameter to specify status and severity search parameters. Use the * Type parameter to specify REACTIVE or PROACTIVE in your search. *

*
*

* This is a convenience which creates an instance of the {@link SearchOrganizationInsightsRequest.Builder} avoiding * the need to create one manually via {@link SearchOrganizationInsightsRequest#builder()} *

* * @param searchOrganizationInsightsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest.Builder} to * create a request. * @return A Java Future containing the result of the SearchOrganizationInsights operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.SearchOrganizationInsights * @see AWS API Documentation */ default CompletableFuture searchOrganizationInsights( Consumer searchOrganizationInsightsRequest) { return searchOrganizationInsights(SearchOrganizationInsightsRequest.builder() .applyMutation(searchOrganizationInsightsRequest).build()); } /** *

* This is a variant of * {@link #searchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsPublisher publisher = client.searchOrganizationInsightsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsPublisher publisher = client.searchOrganizationInsightsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsResponse 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 * {@link #searchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)} * operation. *

* * @param searchOrganizationInsightsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.SearchOrganizationInsights * @see AWS API Documentation */ default SearchOrganizationInsightsPublisher searchOrganizationInsightsPaginator( SearchOrganizationInsightsRequest searchOrganizationInsightsRequest) { return new SearchOrganizationInsightsPublisher(this, searchOrganizationInsightsRequest); } /** *

* This is a variant of * {@link #searchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsPublisher publisher = client.searchOrganizationInsightsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsPublisher publisher = client.searchOrganizationInsightsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsResponse 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 * {@link #searchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link SearchOrganizationInsightsRequest.Builder} avoiding * the need to create one manually via {@link SearchOrganizationInsightsRequest#builder()} *

* * @param searchOrganizationInsightsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.SearchOrganizationInsights * @see AWS API Documentation */ default SearchOrganizationInsightsPublisher searchOrganizationInsightsPaginator( Consumer searchOrganizationInsightsRequest) { return searchOrganizationInsightsPaginator(SearchOrganizationInsightsRequest.builder() .applyMutation(searchOrganizationInsightsRequest).build()); } /** *

* Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources. *

* * @param startCostEstimationRequest * @return A Java Future containing the result of the StartCostEstimation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.StartCostEstimation * @see AWS API Documentation */ default CompletableFuture startCostEstimation( StartCostEstimationRequest startCostEstimationRequest) { throw new UnsupportedOperationException(); } /** *

* Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources. *

*
*

* This is a convenience which creates an instance of the {@link StartCostEstimationRequest.Builder} avoiding the * need to create one manually via {@link StartCostEstimationRequest#builder()} *

* * @param startCostEstimationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.StartCostEstimationRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartCostEstimation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ResourceNotFoundException A requested resource could not be found
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.StartCostEstimation * @see AWS API Documentation */ default CompletableFuture startCostEstimation( Consumer startCostEstimationRequest) { return startCostEstimation(StartCostEstimationRequest.builder().applyMutation(startCostEstimationRequest).build()); } /** *

* Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can * be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive recommendations which can * be stored and viewed in DevOps Guru. *

* * @param updateEventSourcesConfigRequest * @return A Java Future containing the result of the UpdateEventSourcesConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.UpdateEventSourcesConfig * @see AWS API Documentation */ default CompletableFuture updateEventSourcesConfig( UpdateEventSourcesConfigRequest updateEventSourcesConfigRequest) { throw new UnsupportedOperationException(); } /** *

* Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can * be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive recommendations which can * be stored and viewed in DevOps Guru. *

*
*

* This is a convenience which creates an instance of the {@link UpdateEventSourcesConfigRequest.Builder} avoiding * the need to create one manually via {@link UpdateEventSourcesConfigRequest#builder()} *

* * @param updateEventSourcesConfigRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.UpdateEventSourcesConfigRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateEventSourcesConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.UpdateEventSourcesConfig * @see AWS API Documentation */ default CompletableFuture updateEventSourcesConfig( Consumer updateEventSourcesConfigRequest) { return updateEventSourcesConfig(UpdateEventSourcesConfigRequest.builder().applyMutation(updateEventSourcesConfigRequest) .build()); } /** *

* Updates the collection of resources that DevOps Guru analyzes. The two types of Amazon Web Services resource * collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that * contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services * resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to * 500 Amazon Web Services CloudFormation stacks. This method also creates the IAM role required for you to use * DevOps Guru. *

* * @param updateResourceCollectionRequest * @return A Java Future containing the result of the UpdateResourceCollection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.UpdateResourceCollection * @see AWS API Documentation */ default CompletableFuture updateResourceCollection( UpdateResourceCollectionRequest updateResourceCollectionRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the collection of resources that DevOps Guru analyzes. The two types of Amazon Web Services resource * collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that * contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services * resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to * 500 Amazon Web Services CloudFormation stacks. This method also creates the IAM role required for you to use * DevOps Guru. *

*
*

* This is a convenience which creates an instance of the {@link UpdateResourceCollectionRequest.Builder} avoiding * the need to create one manually via {@link UpdateResourceCollectionRequest#builder()} *

* * @param updateResourceCollectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.UpdateResourceCollectionRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateResourceCollection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.UpdateResourceCollection * @see AWS API Documentation */ default CompletableFuture updateResourceCollection( Consumer updateResourceCollectionRequest) { return updateResourceCollection(UpdateResourceCollectionRequest.builder().applyMutation(updateResourceCollectionRequest) .build()); } /** *

* Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can * be integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for * each generated insight. *

* * @param updateServiceIntegrationRequest * @return A Java Future containing the result of the UpdateServiceIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.UpdateServiceIntegration * @see AWS API Documentation */ default CompletableFuture updateServiceIntegration( UpdateServiceIntegrationRequest updateServiceIntegrationRequest) { throw new UnsupportedOperationException(); } /** *

* Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can * be integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for * each generated insight. *

*
*

* This is a convenience which creates an instance of the {@link UpdateServiceIntegrationRequest.Builder} avoiding * the need to create one manually via {@link UpdateServiceIntegrationRequest#builder()} *

* * @param updateServiceIntegrationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.devopsguru.model.UpdateServiceIntegrationRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateServiceIntegration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role * that is making the request must have at least one IAM permissions policy attached that grants the * required permissions. For more information, see Access Management in the IAM * User Guide.
  • *
  • ConflictException An exception that is thrown when a conflict occurs.
  • *
  • InternalServerException An internal failure in an Amazon service occurred.
  • *
  • ThrottlingException The request was denied due to a request throttling.
  • *
  • ValidationException Contains information about data passed in to a field during a request that 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.
  • *
  • DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DevOpsGuruAsyncClient.UpdateServiceIntegration * @see AWS API Documentation */ default CompletableFuture updateServiceIntegration( Consumer updateServiceIntegrationRequest) { return updateServiceIntegration(UpdateServiceIntegrationRequest.builder().applyMutation(updateServiceIntegrationRequest) .build()); } @Override default DevOpsGuruServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * Create a {@link DevOpsGuruAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static DevOpsGuruAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link DevOpsGuruAsyncClient}. */ static DevOpsGuruAsyncClientBuilder builder() { return new DefaultDevOpsGuruAsyncClientBuilder(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy