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

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

/*
 * 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.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.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.devopsguru.model.AccessDeniedException;
import software.amazon.awssdk.services.devopsguru.model.AddNotificationChannelRequest;
import software.amazon.awssdk.services.devopsguru.model.AddNotificationChannelResponse;
import software.amazon.awssdk.services.devopsguru.model.ConflictException;
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.DevOpsGuruException;
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.InternalServerException;
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.ResourceNotFoundException;
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.ServiceQuotaExceededException;
import software.amazon.awssdk.services.devopsguru.model.StartCostEstimationRequest;
import software.amazon.awssdk.services.devopsguru.model.StartCostEstimationResponse;
import software.amazon.awssdk.services.devopsguru.model.ThrottlingException;
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.model.ValidationException;
import software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthIterable;
import software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable;
import software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable;
import software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable;
import software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable;
import software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsIterable;
import software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable;
import software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable;
import software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesIterable;
import software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable;
import software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsIterable;
import software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable;
import software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable;
import software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsIterable;

/**
 * Service client for accessing Amazon DevOps Guru. This can be created using the static {@link #builder()} method.
 *
 * 

* 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 DevOpsGuruClient 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 Result of the AddNotificationChannel operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ServiceQuotaExceededException * The request contains a value that exceeds a maximum quota. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.AddNotificationChannel * @see AWS API Documentation */ default AddNotificationChannelResponse addNotificationChannel(AddNotificationChannelRequest addNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the AddNotificationChannel operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ServiceQuotaExceededException * The request contains a value that exceeds a maximum quota. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.AddNotificationChannel * @see AWS API Documentation */ default AddNotificationChannelResponse addNotificationChannel( Consumer addNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return addNotificationChannel(AddNotificationChannelRequest.builder().applyMutation(addNotificationChannelRequest) .build()); } /** *

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

* * @param deleteInsightRequest * @return Result of the DeleteInsight operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DeleteInsight * @see AWS API * Documentation */ default DeleteInsightResponse deleteInsight(DeleteInsightRequest deleteInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DeleteInsight operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DeleteInsight * @see AWS API * Documentation */ default DeleteInsightResponse deleteInsight(Consumer deleteInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeAccountHealth operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeAccountHealth * @see AWS API Documentation */ default DescribeAccountHealthResponse describeAccountHealth(DescribeAccountHealthRequest describeAccountHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeAccountHealth operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeAccountHealth * @see AWS API Documentation */ default DescribeAccountHealthResponse describeAccountHealth( Consumer describeAccountHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeAccountOverview operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeAccountOverview * @see AWS API Documentation */ default DescribeAccountOverviewResponse describeAccountOverview(DescribeAccountOverviewRequest describeAccountOverviewRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeAccountOverview operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeAccountOverview * @see AWS API Documentation */ default DescribeAccountOverviewResponse describeAccountOverview( Consumer describeAccountOverviewRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return describeAccountOverview(DescribeAccountOverviewRequest.builder().applyMutation(describeAccountOverviewRequest) .build()); } /** *

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

* * @param describeAnomalyRequest * @return Result of the DescribeAnomaly operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeAnomaly * @see AWS * API Documentation */ default DescribeAnomalyResponse describeAnomaly(DescribeAnomalyRequest describeAnomalyRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeAnomaly operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeAnomaly * @see AWS * API Documentation */ default DescribeAnomalyResponse describeAnomaly(Consumer describeAnomalyRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeEventSourcesConfig operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeEventSourcesConfig * @see AWS API Documentation */ default DescribeEventSourcesConfigResponse describeEventSourcesConfig( DescribeEventSourcesConfigRequest describeEventSourcesConfigRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeEventSourcesConfig operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeEventSourcesConfig * @see AWS API Documentation */ default DescribeEventSourcesConfigResponse describeEventSourcesConfig( Consumer describeEventSourcesConfigRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeFeedback operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeFeedback * @see AWS * API Documentation */ default DescribeFeedbackResponse describeFeedback(DescribeFeedbackRequest describeFeedbackRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeFeedback operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeFeedback * @see AWS * API Documentation */ default DescribeFeedbackResponse describeFeedback(Consumer describeFeedbackRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return describeFeedback(DescribeFeedbackRequest.builder().applyMutation(describeFeedbackRequest).build()); } /** *

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

* * @param describeInsightRequest * @return Result of the DescribeInsight operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeInsight * @see AWS * API Documentation */ default DescribeInsightResponse describeInsight(DescribeInsightRequest describeInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeInsight operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeInsight * @see AWS * API Documentation */ default DescribeInsightResponse describeInsight(Consumer describeInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return describeInsight(DescribeInsightRequest.builder().applyMutation(describeInsightRequest).build()); } /** *

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

* * @param describeOrganizationHealthRequest * @return Result of the DescribeOrganizationHealth operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeOrganizationHealth * @see AWS API Documentation */ default DescribeOrganizationHealthResponse describeOrganizationHealth( DescribeOrganizationHealthRequest describeOrganizationHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeOrganizationHealth operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeOrganizationHealth * @see AWS API Documentation */ default DescribeOrganizationHealthResponse describeOrganizationHealth( Consumer describeOrganizationHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeOrganizationOverview operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeOrganizationOverview * @see AWS API Documentation */ default DescribeOrganizationOverviewResponse describeOrganizationOverview( DescribeOrganizationOverviewRequest describeOrganizationOverviewRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeOrganizationOverview operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeOrganizationOverview * @see AWS API Documentation */ default DescribeOrganizationOverviewResponse describeOrganizationOverview( Consumer describeOrganizationOverviewRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeOrganizationResourceCollectionHealth operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeOrganizationResourceCollectionHealth * @see AWS API Documentation */ default DescribeOrganizationResourceCollectionHealthResponse describeOrganizationResourceCollectionHealth( DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeOrganizationResourceCollectionHealth operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeOrganizationResourceCollectionHealth * @see AWS API Documentation */ default DescribeOrganizationResourceCollectionHealthResponse describeOrganizationResourceCollectionHealth( Consumer describeOrganizationResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthIterable responses = client.describeOrganizationResourceCollectionHealthPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthIterable responses = client
     *             .describeOrganizationResourceCollectionHealthPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthIterable responses = client.describeOrganizationResourceCollectionHealthPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeOrganizationResourceCollectionHealth * @see AWS API Documentation */ default DescribeOrganizationResourceCollectionHealthIterable describeOrganizationResourceCollectionHealthPaginator( DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new DescribeOrganizationResourceCollectionHealthIterable(this, describeOrganizationResourceCollectionHealthRequest); } /** *

* This is a variant of * {@link #describeOrganizationResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthIterable responses = client.describeOrganizationResourceCollectionHealthPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthIterable responses = client
     *             .describeOrganizationResourceCollectionHealthPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthIterable responses = client.describeOrganizationResourceCollectionHealthPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeOrganizationResourceCollectionHealth * @see AWS API Documentation */ default DescribeOrganizationResourceCollectionHealthIterable describeOrganizationResourceCollectionHealthPaginator( Consumer describeOrganizationResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeResourceCollectionHealth operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeResourceCollectionHealth * @see AWS API Documentation */ default DescribeResourceCollectionHealthResponse describeResourceCollectionHealth( DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeResourceCollectionHealth operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeResourceCollectionHealth * @see AWS API Documentation */ default DescribeResourceCollectionHealthResponse describeResourceCollectionHealth( Consumer describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client.describeResourceCollectionHealthPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client
     *             .describeResourceCollectionHealthPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client.describeResourceCollectionHealthPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeResourceCollectionHealth * @see AWS API Documentation */ default DescribeResourceCollectionHealthIterable describeResourceCollectionHealthPaginator( DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new DescribeResourceCollectionHealthIterable(this, describeResourceCollectionHealthRequest); } /** *

* This is a variant of * {@link #describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client.describeResourceCollectionHealthPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client
     *             .describeResourceCollectionHealthPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client.describeResourceCollectionHealthPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeResourceCollectionHealth * @see AWS API Documentation */ default DescribeResourceCollectionHealthIterable describeResourceCollectionHealthPaginator( Consumer describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeServiceIntegration operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeServiceIntegration * @see AWS API Documentation */ default DescribeServiceIntegrationResponse describeServiceIntegration( DescribeServiceIntegrationRequest describeServiceIntegrationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the DescribeServiceIntegration operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.DescribeServiceIntegration * @see AWS API Documentation */ default DescribeServiceIntegrationResponse describeServiceIntegration( Consumer describeServiceIntegrationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the GetCostEstimation operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.GetCostEstimation * @see AWS * API Documentation */ default GetCostEstimationResponse getCostEstimation(GetCostEstimationRequest getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the GetCostEstimation operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.GetCostEstimation * @see AWS * API Documentation */ default GetCostEstimationResponse getCostEstimation(Consumer getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client.getCostEstimationPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client
     *             .getCostEstimationPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.GetCostEstimationResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client.getCostEstimationPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.GetCostEstimation * @see AWS * API Documentation */ default GetCostEstimationIterable getCostEstimationPaginator(GetCostEstimationRequest getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new GetCostEstimationIterable(this, getCostEstimationRequest); } /** *

* This is a variant of * {@link #getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client.getCostEstimationPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client
     *             .getCostEstimationPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.GetCostEstimationResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client.getCostEstimationPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.GetCostEstimation * @see AWS * API Documentation */ default GetCostEstimationIterable getCostEstimationPaginator( Consumer getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the GetResourceCollection operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.GetResourceCollection * @see AWS API Documentation */ default GetResourceCollectionResponse getResourceCollection(GetResourceCollectionRequest getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the GetResourceCollection operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.GetResourceCollection * @see AWS API Documentation */ default GetResourceCollectionResponse getResourceCollection( Consumer getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client.getResourceCollectionPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client
     *             .getResourceCollectionPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client.getResourceCollectionPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.GetResourceCollection * @see AWS API Documentation */ default GetResourceCollectionIterable getResourceCollectionPaginator(GetResourceCollectionRequest getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new GetResourceCollectionIterable(this, getResourceCollectionRequest); } /** *

* This is a variant of * {@link #getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client.getResourceCollectionPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client
     *             .getResourceCollectionPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client.getResourceCollectionPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.GetResourceCollection * @see AWS API Documentation */ default GetResourceCollectionIterable getResourceCollectionPaginator( Consumer getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListAnomaliesForInsight operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListAnomaliesForInsight * @see AWS API Documentation */ default ListAnomaliesForInsightResponse listAnomaliesForInsight(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListAnomaliesForInsight operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListAnomaliesForInsight * @see AWS API Documentation */ default ListAnomaliesForInsightResponse listAnomaliesForInsight( Consumer listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client.listAnomaliesForInsightPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client
     *             .listAnomaliesForInsightPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client.listAnomaliesForInsightPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)} * operation. *

* * @param listAnomaliesForInsightRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListAnomaliesForInsight * @see AWS API Documentation */ default ListAnomaliesForInsightIterable listAnomaliesForInsightPaginator( ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new ListAnomaliesForInsightIterable(this, listAnomaliesForInsightRequest); } /** *

* This is a variant of * {@link #listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client.listAnomaliesForInsightPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client
     *             .listAnomaliesForInsightPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client.listAnomaliesForInsightPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListAnomaliesForInsight * @see AWS API Documentation */ default ListAnomaliesForInsightIterable listAnomaliesForInsightPaginator( Consumer listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return listAnomaliesForInsightPaginator(ListAnomaliesForInsightRequest.builder() .applyMutation(listAnomaliesForInsightRequest).build()); } /** *

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

* * @param listAnomalousLogGroupsRequest * @return Result of the ListAnomalousLogGroups operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListAnomalousLogGroups * @see AWS API Documentation */ default ListAnomalousLogGroupsResponse listAnomalousLogGroups(ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListAnomalousLogGroups operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListAnomalousLogGroups * @see AWS API Documentation */ default ListAnomalousLogGroupsResponse listAnomalousLogGroups( Consumer listAnomalousLogGroupsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsIterable responses = client.listAnomalousLogGroupsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsIterable responses = client
     *             .listAnomalousLogGroupsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsIterable responses = client.listAnomalousLogGroupsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)} * operation. *

* * @param listAnomalousLogGroupsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListAnomalousLogGroups * @see AWS API Documentation */ default ListAnomalousLogGroupsIterable listAnomalousLogGroupsPaginator( ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new ListAnomalousLogGroupsIterable(this, listAnomalousLogGroupsRequest); } /** *

* This is a variant of * {@link #listAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsIterable responses = client.listAnomalousLogGroupsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsIterable responses = client
     *             .listAnomalousLogGroupsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsIterable responses = client.listAnomalousLogGroupsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListAnomalousLogGroups * @see AWS API Documentation */ default ListAnomalousLogGroupsIterable listAnomalousLogGroupsPaginator( Consumer listAnomalousLogGroupsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListEvents operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListEvents * @see AWS API * Documentation */ default ListEventsResponse listEvents(ListEventsRequest listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListEvents operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListEvents * @see AWS API * Documentation */ default ListEventsResponse listEvents(Consumer listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListEventsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)} operation. *

* * @param listEventsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListEvents * @see AWS API * Documentation */ default ListEventsIterable listEventsPaginator(ListEventsRequest listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new ListEventsIterable(this, listEventsRequest); } /** *

* This is a variant of {@link #listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListEventsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListEvents * @see AWS API * Documentation */ default ListEventsIterable listEventsPaginator(Consumer listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListInsights operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListInsights * @see AWS API * Documentation */ default ListInsightsResponse listInsights(ListInsightsRequest listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListInsights operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListInsights * @see AWS API * Documentation */ default ListInsightsResponse listInsights(Consumer listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListInsightsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)} operation. *

* * @param listInsightsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListInsights * @see AWS API * Documentation */ default ListInsightsIterable listInsightsPaginator(ListInsightsRequest listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new ListInsightsIterable(this, listInsightsRequest); } /** *

* This is a variant of {@link #listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListInsightsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListInsights * @see AWS API * Documentation */ default ListInsightsIterable listInsightsPaginator(Consumer listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListMonitoredResources operation returned by the service. * @throws ResourceNotFoundException * A requested resource could not be found * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListMonitoredResources * @see AWS API Documentation */ default ListMonitoredResourcesResponse listMonitoredResources(ListMonitoredResourcesRequest listMonitoredResourcesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListMonitoredResources operation returned by the service. * @throws ResourceNotFoundException * A requested resource could not be found * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListMonitoredResources * @see AWS API Documentation */ default ListMonitoredResourcesResponse listMonitoredResources( Consumer listMonitoredResourcesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesIterable responses = client.listMonitoredResourcesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesIterable responses = client
     *             .listMonitoredResourcesPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesIterable responses = client.listMonitoredResourcesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)} * operation. *

* * @param listMonitoredResourcesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * A requested resource could not be found * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListMonitoredResources * @see AWS API Documentation */ default ListMonitoredResourcesIterable listMonitoredResourcesPaginator( ListMonitoredResourcesRequest listMonitoredResourcesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new ListMonitoredResourcesIterable(this, listMonitoredResourcesRequest); } /** *

* This is a variant of * {@link #listMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesIterable responses = client.listMonitoredResourcesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesIterable responses = client
     *             .listMonitoredResourcesPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesIterable responses = client.listMonitoredResourcesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * A requested resource could not be found * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListMonitoredResources * @see AWS API Documentation */ default ListMonitoredResourcesIterable listMonitoredResourcesPaginator( Consumer listMonitoredResourcesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListNotificationChannels operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListNotificationChannels * @see AWS API Documentation */ default ListNotificationChannelsResponse listNotificationChannels( ListNotificationChannelsRequest listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListNotificationChannels operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListNotificationChannels * @see AWS API Documentation */ default ListNotificationChannelsResponse listNotificationChannels( Consumer listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client.listNotificationChannelsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client
     *             .listNotificationChannelsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client.listNotificationChannelsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListNotificationChannels * @see AWS API Documentation */ default ListNotificationChannelsIterable listNotificationChannelsPaginator( ListNotificationChannelsRequest listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new ListNotificationChannelsIterable(this, listNotificationChannelsRequest); } /** *

* This is a variant of * {@link #listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client.listNotificationChannelsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client
     *             .listNotificationChannelsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client.listNotificationChannelsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListNotificationChannels * @see AWS API Documentation */ default ListNotificationChannelsIterable listNotificationChannelsPaginator( Consumer listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return listNotificationChannelsPaginator(ListNotificationChannelsRequest.builder() .applyMutation(listNotificationChannelsRequest).build()); } /** *

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

* * @param listOrganizationInsightsRequest * @return Result of the ListOrganizationInsights operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListOrganizationInsights * @see AWS API Documentation */ default ListOrganizationInsightsResponse listOrganizationInsights( ListOrganizationInsightsRequest listOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListOrganizationInsights operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListOrganizationInsights * @see AWS API Documentation */ default ListOrganizationInsightsResponse listOrganizationInsights( Consumer listOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsIterable responses = client.listOrganizationInsightsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsIterable responses = client
     *             .listOrganizationInsightsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsIterable responses = client.listOrganizationInsightsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)} * operation. *

* * @param listOrganizationInsightsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListOrganizationInsights * @see AWS API Documentation */ default ListOrganizationInsightsIterable listOrganizationInsightsPaginator( ListOrganizationInsightsRequest listOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new ListOrganizationInsightsIterable(this, listOrganizationInsightsRequest); } /** *

* This is a variant of * {@link #listOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsIterable responses = client.listOrganizationInsightsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsIterable responses = client
     *             .listOrganizationInsightsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsIterable responses = client.listOrganizationInsightsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListOrganizationInsights * @see AWS API Documentation */ default ListOrganizationInsightsIterable listOrganizationInsightsPaginator( Consumer listOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListRecommendations operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsResponse listRecommendations(ListRecommendationsRequest listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the ListRecommendations operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsResponse listRecommendations( Consumer listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client
     *             .listRecommendationsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListRecommendationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsIterable listRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new ListRecommendationsIterable(this, listRecommendationsRequest); } /** *

* This is a variant of * {@link #listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client
     *             .listRecommendationsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.ListRecommendationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsIterable listRecommendationsPaginator( Consumer listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return listRecommendationsPaginator(ListRecommendationsRequest.builder().applyMutation(listRecommendationsRequest) .build()); } /** *

* Collects customer feedback about the specified insight. *

* * @param putFeedbackRequest * @return Result of the PutFeedback operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.PutFeedback * @see AWS API * Documentation */ default PutFeedbackResponse putFeedback(PutFeedbackRequest putFeedbackRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the PutFeedback operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.PutFeedback * @see AWS API * Documentation */ default PutFeedbackResponse putFeedback(Consumer putFeedbackRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the RemoveNotificationChannel operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.RemoveNotificationChannel * @see AWS API Documentation */ default RemoveNotificationChannelResponse removeNotificationChannel( RemoveNotificationChannelRequest removeNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the RemoveNotificationChannel operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.RemoveNotificationChannel * @see AWS API Documentation */ default RemoveNotificationChannelResponse removeNotificationChannel( Consumer removeNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the SearchInsights operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.SearchInsights * @see AWS * API Documentation */ default SearchInsightsResponse searchInsights(SearchInsightsRequest searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the SearchInsights operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.SearchInsights * @see AWS * API Documentation */ default SearchInsightsResponse searchInsights(Consumer searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client.searchInsightsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client
     *             .searchInsightsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.SearchInsightsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client.searchInsightsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)} operation. *

* * @param searchInsightsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.SearchInsights * @see AWS * API Documentation */ default SearchInsightsIterable searchInsightsPaginator(SearchInsightsRequest searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new SearchInsightsIterable(this, searchInsightsRequest); } /** *

* This is a variant of * {@link #searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client.searchInsightsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client
     *             .searchInsightsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.SearchInsightsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client.searchInsightsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.SearchInsights * @see AWS * API Documentation */ default SearchInsightsIterable searchInsightsPaginator(Consumer searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the SearchOrganizationInsights operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.SearchOrganizationInsights * @see AWS API Documentation */ default SearchOrganizationInsightsResponse searchOrganizationInsights( SearchOrganizationInsightsRequest searchOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the SearchOrganizationInsights operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.SearchOrganizationInsights * @see AWS API Documentation */ default SearchOrganizationInsightsResponse searchOrganizationInsights( Consumer searchOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsIterable responses = client.searchOrganizationInsightsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsIterable responses = client
     *             .searchOrganizationInsightsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsIterable responses = client.searchOrganizationInsightsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)} * operation. *

* * @param searchOrganizationInsightsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.SearchOrganizationInsights * @see AWS API Documentation */ default SearchOrganizationInsightsIterable searchOrganizationInsightsPaginator( SearchOrganizationInsightsRequest searchOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return new SearchOrganizationInsightsIterable(this, searchOrganizationInsightsRequest); } /** *

* This is a variant of * {@link #searchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsIterable responses = client.searchOrganizationInsightsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsIterable responses = client
     *             .searchOrganizationInsightsPaginator(request);
     *     for (software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsIterable responses = client.searchOrganizationInsightsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 iterable that can be used to iterate through all the response pages. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.SearchOrganizationInsights * @see AWS API Documentation */ default SearchOrganizationInsightsIterable searchOrganizationInsightsPaginator( Consumer searchOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the StartCostEstimation operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.StartCostEstimation * @see AWS API Documentation */ default StartCostEstimationResponse startCostEstimation(StartCostEstimationRequest startCostEstimationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the StartCostEstimation operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ResourceNotFoundException * A requested resource could not be found * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.StartCostEstimation * @see AWS API Documentation */ default StartCostEstimationResponse startCostEstimation( Consumer startCostEstimationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the UpdateEventSourcesConfig operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.UpdateEventSourcesConfig * @see AWS API Documentation */ default UpdateEventSourcesConfigResponse updateEventSourcesConfig( UpdateEventSourcesConfigRequest updateEventSourcesConfigRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the UpdateEventSourcesConfig operation returned by the service. * @throws 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. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.UpdateEventSourcesConfig * @see AWS API Documentation */ default UpdateEventSourcesConfigResponse updateEventSourcesConfig( Consumer updateEventSourcesConfigRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the UpdateResourceCollection operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.UpdateResourceCollection * @see AWS API Documentation */ default UpdateResourceCollectionResponse updateResourceCollection( UpdateResourceCollectionRequest updateResourceCollectionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the UpdateResourceCollection operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.UpdateResourceCollection * @see AWS API Documentation */ default UpdateResourceCollectionResponse updateResourceCollection( Consumer updateResourceCollectionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the UpdateServiceIntegration operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.UpdateServiceIntegration * @see AWS API Documentation */ default UpdateServiceIntegrationResponse updateServiceIntegration( UpdateServiceIntegrationRequest updateServiceIntegrationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { 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 Result of the UpdateServiceIntegration operation returned by the service. * @throws 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. * @throws ConflictException * An exception that is thrown when a conflict occurs. * @throws InternalServerException * An internal failure in an Amazon service occurred. * @throws ThrottlingException * The request was denied due to a request throttling. * @throws ValidationException * Contains information about data passed in to a field during a request that is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DevOpsGuruException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DevOpsGuruClient.UpdateServiceIntegration * @see AWS API Documentation */ default UpdateServiceIntegrationResponse updateServiceIntegration( Consumer updateServiceIntegrationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException { return updateServiceIntegration(UpdateServiceIntegrationRequest.builder().applyMutation(updateServiceIntegrationRequest) .build()); } /** * Create a {@link DevOpsGuruClient} 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 DevOpsGuruClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link DevOpsGuruClient}. */ static DevOpsGuruClientBuilder builder() { return new DefaultDevOpsGuruClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default DevOpsGuruServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy