Interface DevOpsGuruClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface DevOpsGuruClient extends AwsClient
Service client for accessing Amazon DevOps Guru. This can be created using the staticbuilder()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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default AddNotificationChannelResponseaddNotificationChannel(Consumer<AddNotificationChannelRequest.Builder> addNotificationChannelRequest)Adds a notification channel to DevOps Guru.default AddNotificationChannelResponseaddNotificationChannel(AddNotificationChannelRequest addNotificationChannelRequest)Adds a notification channel to DevOps Guru.static DevOpsGuruClientBuilderbuilder()Create a builder that can be used to configure and create aDevOpsGuruClient.static DevOpsGuruClientcreate()Create aDevOpsGuruClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default DeleteInsightResponsedeleteInsight(Consumer<DeleteInsightRequest.Builder> deleteInsightRequest)Deletes the insight along with the associated anomalies, events and recommendations.default DeleteInsightResponsedeleteInsight(DeleteInsightRequest deleteInsightRequest)Deletes the insight along with the associated anomalies, events and recommendations.default DescribeAccountHealthResponsedescribeAccountHealth(Consumer<DescribeAccountHealthRequest.Builder> describeAccountHealthRequest)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.default DescribeAccountHealthResponsedescribeAccountHealth(DescribeAccountHealthRequest describeAccountHealthRequest)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.default DescribeAccountOverviewResponsedescribeAccountOverview(Consumer<DescribeAccountOverviewRequest.Builder> describeAccountOverviewRequest)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.default DescribeAccountOverviewResponsedescribeAccountOverview(DescribeAccountOverviewRequest describeAccountOverviewRequest)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.default DescribeAnomalyResponsedescribeAnomaly(Consumer<DescribeAnomalyRequest.Builder> describeAnomalyRequest)Returns details about an anomaly that you specify using its ID.default DescribeAnomalyResponsedescribeAnomaly(DescribeAnomalyRequest describeAnomalyRequest)Returns details about an anomaly that you specify using its ID.default DescribeEventSourcesConfigResponsedescribeEventSourcesConfig(Consumer<DescribeEventSourcesConfigRequest.Builder> describeEventSourcesConfigRequest)Returns the integration status of services that are integrated with DevOps Guru as Consumer via EventBridge.default DescribeEventSourcesConfigResponsedescribeEventSourcesConfig(DescribeEventSourcesConfigRequest describeEventSourcesConfigRequest)Returns the integration status of services that are integrated with DevOps Guru as Consumer via EventBridge.default DescribeFeedbackResponsedescribeFeedback(Consumer<DescribeFeedbackRequest.Builder> describeFeedbackRequest)Returns the most recent feedback submitted in the current Amazon Web Services account and Region.default DescribeFeedbackResponsedescribeFeedback(DescribeFeedbackRequest describeFeedbackRequest)Returns the most recent feedback submitted in the current Amazon Web Services account and Region.default DescribeInsightResponsedescribeInsight(Consumer<DescribeInsightRequest.Builder> describeInsightRequest)Returns details about an insight that you specify using its ID.default DescribeInsightResponsedescribeInsight(DescribeInsightRequest describeInsightRequest)Returns details about an insight that you specify using its ID.default DescribeOrganizationHealthResponsedescribeOrganizationHealth(Consumer<DescribeOrganizationHealthRequest.Builder> describeOrganizationHealthRequest)Returns active insights, predictive insights, and resource hours analyzed in last hour.default DescribeOrganizationHealthResponsedescribeOrganizationHealth(DescribeOrganizationHealthRequest describeOrganizationHealthRequest)Returns active insights, predictive insights, and resource hours analyzed in last hour.default DescribeOrganizationOverviewResponsedescribeOrganizationOverview(Consumer<DescribeOrganizationOverviewRequest.Builder> describeOrganizationOverviewRequest)Returns an overview of your organization's history based on the specified time range.default DescribeOrganizationOverviewResponsedescribeOrganizationOverview(DescribeOrganizationOverviewRequest describeOrganizationOverviewRequest)Returns an overview of your organization's history based on the specified time range.default DescribeOrganizationResourceCollectionHealthResponsedescribeOrganizationResourceCollectionHealth(Consumer<DescribeOrganizationResourceCollectionHealthRequest.Builder> describeOrganizationResourceCollectionHealthRequest)Provides an overview of your system's health.default DescribeOrganizationResourceCollectionHealthResponsedescribeOrganizationResourceCollectionHealth(DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest)Provides an overview of your system's health.default DescribeOrganizationResourceCollectionHealthIterabledescribeOrganizationResourceCollectionHealthPaginator(Consumer<DescribeOrganizationResourceCollectionHealthRequest.Builder> describeOrganizationResourceCollectionHealthRequest)Provides an overview of your system's health.default DescribeOrganizationResourceCollectionHealthIterabledescribeOrganizationResourceCollectionHealthPaginator(DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest)Provides an overview of your system's health.default DescribeResourceCollectionHealthResponsedescribeResourceCollectionHealth(Consumer<DescribeResourceCollectionHealthRequest.Builder> describeResourceCollectionHealthRequest)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.default DescribeResourceCollectionHealthResponsedescribeResourceCollectionHealth(DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest)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.default DescribeResourceCollectionHealthIterabledescribeResourceCollectionHealthPaginator(Consumer<DescribeResourceCollectionHealthRequest.Builder> describeResourceCollectionHealthRequest)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.default DescribeResourceCollectionHealthIterabledescribeResourceCollectionHealthPaginator(DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest)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.default DescribeServiceIntegrationResponsedescribeServiceIntegration(Consumer<DescribeServiceIntegrationRequest.Builder> describeServiceIntegrationRequest)Returns the integration status of services that are integrated with DevOps Guru.default DescribeServiceIntegrationResponsedescribeServiceIntegration(DescribeServiceIntegrationRequest describeServiceIntegrationRequest)Returns the integration status of services that are integrated with DevOps Guru.default GetCostEstimationResponsegetCostEstimation(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest)Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources.default GetCostEstimationResponsegetCostEstimation(GetCostEstimationRequest getCostEstimationRequest)Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources.default GetCostEstimationIterablegetCostEstimationPaginator(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest)Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources.default GetCostEstimationIterablegetCostEstimationPaginator(GetCostEstimationRequest getCostEstimationRequest)Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources.default GetResourceCollectionResponsegetResourceCollection(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest)Returns lists Amazon Web Services resources that are of the specified resource collection type.default GetResourceCollectionResponsegetResourceCollection(GetResourceCollectionRequest getResourceCollectionRequest)Returns lists Amazon Web Services resources that are of the specified resource collection type.default GetResourceCollectionIterablegetResourceCollectionPaginator(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest)Returns lists Amazon Web Services resources that are of the specified resource collection type.default GetResourceCollectionIterablegetResourceCollectionPaginator(GetResourceCollectionRequest getResourceCollectionRequest)Returns lists Amazon Web Services resources that are of the specified resource collection type.default ListAnomaliesForInsightResponselistAnomaliesForInsight(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest)Returns a list of the anomalies that belong to an insight that you specify using its ID.default ListAnomaliesForInsightResponselistAnomaliesForInsight(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest)Returns a list of the anomalies that belong to an insight that you specify using its ID.default ListAnomaliesForInsightIterablelistAnomaliesForInsightPaginator(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest)Returns a list of the anomalies that belong to an insight that you specify using its ID.default ListAnomaliesForInsightIterablelistAnomaliesForInsightPaginator(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest)Returns a list of the anomalies that belong to an insight that you specify using its ID.default ListAnomalousLogGroupsResponselistAnomalousLogGroups(Consumer<ListAnomalousLogGroupsRequest.Builder> listAnomalousLogGroupsRequest)Returns the list of log groups that contain log anomalies.default ListAnomalousLogGroupsResponselistAnomalousLogGroups(ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest)Returns the list of log groups that contain log anomalies.default ListAnomalousLogGroupsIterablelistAnomalousLogGroupsPaginator(Consumer<ListAnomalousLogGroupsRequest.Builder> listAnomalousLogGroupsRequest)Returns the list of log groups that contain log anomalies.default ListAnomalousLogGroupsIterablelistAnomalousLogGroupsPaginator(ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest)Returns the list of log groups that contain log anomalies.default ListEventsResponselistEvents(Consumer<ListEventsRequest.Builder> listEventsRequest)Returns a list of the events emitted by the resources that are evaluated by DevOps Guru.default ListEventsResponselistEvents(ListEventsRequest listEventsRequest)Returns a list of the events emitted by the resources that are evaluated by DevOps Guru.default ListEventsIterablelistEventsPaginator(Consumer<ListEventsRequest.Builder> listEventsRequest)Returns a list of the events emitted by the resources that are evaluated by DevOps Guru.default ListEventsIterablelistEventsPaginator(ListEventsRequest listEventsRequest)Returns a list of the events emitted by the resources that are evaluated by DevOps Guru.default ListInsightsResponselistInsights(Consumer<ListInsightsRequest.Builder> listInsightsRequest)Returns a list of insights in your Amazon Web Services account.default ListInsightsResponselistInsights(ListInsightsRequest listInsightsRequest)Returns a list of insights in your Amazon Web Services account.default ListInsightsIterablelistInsightsPaginator(Consumer<ListInsightsRequest.Builder> listInsightsRequest)Returns a list of insights in your Amazon Web Services account.default ListInsightsIterablelistInsightsPaginator(ListInsightsRequest listInsightsRequest)Returns a list of insights in your Amazon Web Services account.default ListMonitoredResourcesResponselistMonitoredResources(Consumer<ListMonitoredResourcesRequest.Builder> listMonitoredResourcesRequest)Returns the list of all log groups that are being monitored and tagged by DevOps Guru.default ListMonitoredResourcesResponselistMonitoredResources(ListMonitoredResourcesRequest listMonitoredResourcesRequest)Returns the list of all log groups that are being monitored and tagged by DevOps Guru.default ListMonitoredResourcesIterablelistMonitoredResourcesPaginator(Consumer<ListMonitoredResourcesRequest.Builder> listMonitoredResourcesRequest)Returns the list of all log groups that are being monitored and tagged by DevOps Guru.default ListMonitoredResourcesIterablelistMonitoredResourcesPaginator(ListMonitoredResourcesRequest listMonitoredResourcesRequest)Returns the list of all log groups that are being monitored and tagged by DevOps Guru.default ListNotificationChannelsResponselistNotificationChannels(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest)Returns a list of notification channels configured for DevOps Guru.default ListNotificationChannelsResponselistNotificationChannels(ListNotificationChannelsRequest listNotificationChannelsRequest)Returns a list of notification channels configured for DevOps Guru.default ListNotificationChannelsIterablelistNotificationChannelsPaginator(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest)Returns a list of notification channels configured for DevOps Guru.default ListNotificationChannelsIterablelistNotificationChannelsPaginator(ListNotificationChannelsRequest listNotificationChannelsRequest)Returns a list of notification channels configured for DevOps Guru.default ListOrganizationInsightsResponselistOrganizationInsights(Consumer<ListOrganizationInsightsRequest.Builder> listOrganizationInsightsRequest)Returns a list of insights associated with the account or OU Id.default ListOrganizationInsightsResponselistOrganizationInsights(ListOrganizationInsightsRequest listOrganizationInsightsRequest)Returns a list of insights associated with the account or OU Id.default ListOrganizationInsightsIterablelistOrganizationInsightsPaginator(Consumer<ListOrganizationInsightsRequest.Builder> listOrganizationInsightsRequest)Returns a list of insights associated with the account or OU Id.default ListOrganizationInsightsIterablelistOrganizationInsightsPaginator(ListOrganizationInsightsRequest listOrganizationInsightsRequest)Returns a list of insights associated with the account or OU Id.default ListRecommendationsResponselistRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest)Returns a list of a specified insight's recommendations.default ListRecommendationsResponselistRecommendations(ListRecommendationsRequest listRecommendationsRequest)Returns a list of a specified insight's recommendations.default ListRecommendationsIterablelistRecommendationsPaginator(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest)Returns a list of a specified insight's recommendations.default ListRecommendationsIterablelistRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest)Returns a list of a specified insight's recommendations.default PutFeedbackResponseputFeedback(Consumer<PutFeedbackRequest.Builder> putFeedbackRequest)Collects customer feedback about the specified insight.default PutFeedbackResponseputFeedback(PutFeedbackRequest putFeedbackRequest)Collects customer feedback about the specified insight.default RemoveNotificationChannelResponseremoveNotificationChannel(Consumer<RemoveNotificationChannelRequest.Builder> removeNotificationChannelRequest)Removes a notification channel from DevOps Guru.default RemoveNotificationChannelResponseremoveNotificationChannel(RemoveNotificationChannelRequest removeNotificationChannelRequest)Removes a notification channel from DevOps Guru.default SearchInsightsResponsesearchInsights(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest)Returns a list of insights in your Amazon Web Services account.default SearchInsightsResponsesearchInsights(SearchInsightsRequest searchInsightsRequest)Returns a list of insights in your Amazon Web Services account.default SearchInsightsIterablesearchInsightsPaginator(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest)Returns a list of insights in your Amazon Web Services account.default SearchInsightsIterablesearchInsightsPaginator(SearchInsightsRequest searchInsightsRequest)Returns a list of insights in your Amazon Web Services account.default SearchOrganizationInsightsResponsesearchOrganizationInsights(Consumer<SearchOrganizationInsightsRequest.Builder> searchOrganizationInsightsRequest)Returns a list of insights in your organization.default SearchOrganizationInsightsResponsesearchOrganizationInsights(SearchOrganizationInsightsRequest searchOrganizationInsightsRequest)Returns a list of insights in your organization.default SearchOrganizationInsightsIterablesearchOrganizationInsightsPaginator(Consumer<SearchOrganizationInsightsRequest.Builder> searchOrganizationInsightsRequest)Returns a list of insights in your organization.default SearchOrganizationInsightsIterablesearchOrganizationInsightsPaginator(SearchOrganizationInsightsRequest searchOrganizationInsightsRequest)Returns a list of insights in your organization.default DevOpsGuruServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default StartCostEstimationResponsestartCostEstimation(Consumer<StartCostEstimationRequest.Builder> startCostEstimationRequest)Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources.default StartCostEstimationResponsestartCostEstimation(StartCostEstimationRequest startCostEstimationRequest)Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources.default UpdateEventSourcesConfigResponseupdateEventSourcesConfig(Consumer<UpdateEventSourcesConfigRequest.Builder> updateEventSourcesConfigRequest)Enables or disables integration with a service that can be integrated with DevOps Guru.default UpdateEventSourcesConfigResponseupdateEventSourcesConfig(UpdateEventSourcesConfigRequest updateEventSourcesConfigRequest)Enables or disables integration with a service that can be integrated with DevOps Guru.default UpdateResourceCollectionResponseupdateResourceCollection(Consumer<UpdateResourceCollectionRequest.Builder> updateResourceCollectionRequest)Updates the collection of resources that DevOps Guru analyzes.default UpdateResourceCollectionResponseupdateResourceCollection(UpdateResourceCollectionRequest updateResourceCollectionRequest)Updates the collection of resources that DevOps Guru analyzes.default UpdateServiceIntegrationResponseupdateServiceIntegration(Consumer<UpdateServiceIntegrationRequest.Builder> updateServiceIntegrationRequest)Enables or disables integration with a service that can be integrated with DevOps Guru.default UpdateServiceIntegrationResponseupdateServiceIntegration(UpdateServiceIntegrationRequest updateServiceIntegrationRequest)Enables or disables integration with a service that can be integrated with DevOps Guru.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
addNotificationChannel
default AddNotificationChannelResponse addNotificationChannel(AddNotificationChannelRequest addNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
addNotificationChannelRequest-- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundServiceQuotaExceededException- The request contains a value that exceeds a maximum quota.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
addNotificationChannel
default AddNotificationChannelResponse addNotificationChannel(Consumer<AddNotificationChannelRequest.Builder> addNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
AddNotificationChannelRequest.Builderavoiding the need to create one manually viaAddNotificationChannelRequest.builder()- Parameters:
addNotificationChannelRequest- AConsumerthat will call methods onAddNotificationChannelRequest.Builderto create a request.- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundServiceQuotaExceededException- The request contains a value that exceeds a maximum quota.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteInsight
default DeleteInsightResponse deleteInsight(DeleteInsightRequest deleteInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Deletes the insight along with the associated anomalies, events and recommendations.
- Parameters:
deleteInsightRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundConflictException- An exception that is thrown when a conflict occurs.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteInsight
default DeleteInsightResponse deleteInsight(Consumer<DeleteInsightRequest.Builder> deleteInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Deletes the insight along with the associated anomalies, events and recommendations.
This is a convenience which creates an instance of the
DeleteInsightRequest.Builderavoiding the need to create one manually viaDeleteInsightRequest.builder()- Parameters:
deleteInsightRequest- AConsumerthat will call methods onDeleteInsightRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundConflictException- An exception that is thrown when a conflict occurs.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAccountHealth
default DescribeAccountHealthResponse describeAccountHealth(DescribeAccountHealthRequest describeAccountHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
describeAccountHealthRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAccountHealth
default DescribeAccountHealthResponse describeAccountHealth(Consumer<DescribeAccountHealthRequest.Builder> describeAccountHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
DescribeAccountHealthRequest.Builderavoiding the need to create one manually viaDescribeAccountHealthRequest.builder()- Parameters:
describeAccountHealthRequest- AConsumerthat will call methods onDescribeAccountHealthRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAccountOverview
default DescribeAccountOverviewResponse describeAccountOverview(DescribeAccountOverviewRequest describeAccountOverviewRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
describeAccountOverviewRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAccountOverview
default DescribeAccountOverviewResponse describeAccountOverview(Consumer<DescribeAccountOverviewRequest.Builder> describeAccountOverviewRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
DescribeAccountOverviewRequest.Builderavoiding the need to create one manually viaDescribeAccountOverviewRequest.builder()- Parameters:
describeAccountOverviewRequest- AConsumerthat will call methods onDescribeAccountOverviewRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAnomaly
default DescribeAnomalyResponse describeAnomaly(DescribeAnomalyRequest describeAnomalyRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns details about an anomaly that you specify using its ID.
- Parameters:
describeAnomalyRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAnomaly
default DescribeAnomalyResponse describeAnomaly(Consumer<DescribeAnomalyRequest.Builder> describeAnomalyRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns details about an anomaly that you specify using its ID.
This is a convenience which creates an instance of the
DescribeAnomalyRequest.Builderavoiding the need to create one manually viaDescribeAnomalyRequest.builder()- Parameters:
describeAnomalyRequest- AConsumerthat will call methods onDescribeAnomalyRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEventSourcesConfig
default DescribeEventSourcesConfigResponse describeEventSourcesConfig(DescribeEventSourcesConfigRequest describeEventSourcesConfigRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
describeEventSourcesConfigRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEventSourcesConfig
default DescribeEventSourcesConfigResponse describeEventSourcesConfig(Consumer<DescribeEventSourcesConfigRequest.Builder> describeEventSourcesConfigRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
DescribeEventSourcesConfigRequest.Builderavoiding the need to create one manually viaDescribeEventSourcesConfigRequest.builder()- Parameters:
describeEventSourcesConfigRequest- AConsumerthat will call methods onDescribeEventSourcesConfigRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeFeedback
default DescribeFeedbackResponse describeFeedback(DescribeFeedbackRequest describeFeedbackRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the most recent feedback submitted in the current Amazon Web Services account and Region.
- Parameters:
describeFeedbackRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeFeedback
default DescribeFeedbackResponse describeFeedback(Consumer<DescribeFeedbackRequest.Builder> describeFeedbackRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
DescribeFeedbackRequest.Builderavoiding the need to create one manually viaDescribeFeedbackRequest.builder()- Parameters:
describeFeedbackRequest- AConsumerthat will call methods onDescribeFeedbackRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeInsight
default DescribeInsightResponse describeInsight(DescribeInsightRequest describeInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns details about an insight that you specify using its ID.
- Parameters:
describeInsightRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeInsight
default DescribeInsightResponse describeInsight(Consumer<DescribeInsightRequest.Builder> describeInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns details about an insight that you specify using its ID.
This is a convenience which creates an instance of the
DescribeInsightRequest.Builderavoiding the need to create one manually viaDescribeInsightRequest.builder()- Parameters:
describeInsightRequest- AConsumerthat will call methods onDescribeInsightRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeOrganizationHealth
default DescribeOrganizationHealthResponse describeOrganizationHealth(DescribeOrganizationHealthRequest describeOrganizationHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns active insights, predictive insights, and resource hours analyzed in last hour.
- Parameters:
describeOrganizationHealthRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeOrganizationHealth
default DescribeOrganizationHealthResponse describeOrganizationHealth(Consumer<DescribeOrganizationHealthRequest.Builder> describeOrganizationHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns active insights, predictive insights, and resource hours analyzed in last hour.
This is a convenience which creates an instance of the
DescribeOrganizationHealthRequest.Builderavoiding the need to create one manually viaDescribeOrganizationHealthRequest.builder()- Parameters:
describeOrganizationHealthRequest- AConsumerthat will call methods onDescribeOrganizationHealthRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeOrganizationOverview
default DescribeOrganizationOverviewResponse describeOrganizationOverview(DescribeOrganizationOverviewRequest describeOrganizationOverviewRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns an overview of your organization's history based on the specified time range. The overview includes the total reactive and proactive insights.
- Parameters:
describeOrganizationOverviewRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeOrganizationOverview
default DescribeOrganizationOverviewResponse describeOrganizationOverview(Consumer<DescribeOrganizationOverviewRequest.Builder> describeOrganizationOverviewRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
DescribeOrganizationOverviewRequest.Builderavoiding the need to create one manually viaDescribeOrganizationOverviewRequest.builder()- Parameters:
describeOrganizationOverviewRequest- AConsumerthat will call methods onDescribeOrganizationOverviewRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeOrganizationResourceCollectionHealth
default DescribeOrganizationResourceCollectionHealthResponse describeOrganizationResourceCollectionHealth(DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Provides an overview of your system's health. If additional member accounts are part of your organization, you can filter those accounts using the
AccountIdsfield.- Parameters:
describeOrganizationResourceCollectionHealthRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeOrganizationResourceCollectionHealth
default DescribeOrganizationResourceCollectionHealthResponse describeOrganizationResourceCollectionHealth(Consumer<DescribeOrganizationResourceCollectionHealthRequest.Builder> describeOrganizationResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Provides an overview of your system's health. If additional member accounts are part of your organization, you can filter those accounts using the
AccountIdsfield.
This is a convenience which creates an instance of the
DescribeOrganizationResourceCollectionHealthRequest.Builderavoiding the need to create one manually viaDescribeOrganizationResourceCollectionHealthRequest.builder()- Parameters:
describeOrganizationResourceCollectionHealthRequest- AConsumerthat will call methods onDescribeOrganizationResourceCollectionHealthRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeOrganizationResourceCollectionHealthPaginator
default DescribeOrganizationResourceCollectionHealthIterable describeOrganizationResourceCollectionHealthPaginator(DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Provides an overview of your system's health. If additional member accounts are part of your organization, you can filter those accounts using the
AccountIdsfield.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthIterable responses = client.describeOrganizationResourceCollectionHealthPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
describeOrganizationResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest)operation.- Parameters:
describeOrganizationResourceCollectionHealthRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeOrganizationResourceCollectionHealthPaginator
default DescribeOrganizationResourceCollectionHealthIterable describeOrganizationResourceCollectionHealthPaginator(Consumer<DescribeOrganizationResourceCollectionHealthRequest.Builder> describeOrganizationResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Provides an overview of your system's health. If additional member accounts are part of your organization, you can filter those accounts using the
AccountIdsfield.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthIterable responses = client.describeOrganizationResourceCollectionHealthPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
describeOrganizationResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest)operation.This is a convenience which creates an instance of the
DescribeOrganizationResourceCollectionHealthRequest.Builderavoiding the need to create one manually viaDescribeOrganizationResourceCollectionHealthRequest.builder()- Parameters:
describeOrganizationResourceCollectionHealthRequest- AConsumerthat will call methods onDescribeOrganizationResourceCollectionHealthRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeResourceCollectionHealth
default DescribeResourceCollectionHealthResponse describeResourceCollectionHealth(DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
describeResourceCollectionHealthRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeResourceCollectionHealth
default DescribeResourceCollectionHealthResponse describeResourceCollectionHealth(Consumer<DescribeResourceCollectionHealthRequest.Builder> describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
DescribeResourceCollectionHealthRequest.Builderavoiding the need to create one manually viaDescribeResourceCollectionHealthRequest.builder()- Parameters:
describeResourceCollectionHealthRequest- AConsumerthat will call methods onDescribeResourceCollectionHealthRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeResourceCollectionHealthPaginator
default DescribeResourceCollectionHealthIterable describeResourceCollectionHealthPaginator(DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client.describeResourceCollectionHealthPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)operation.- Parameters:
describeResourceCollectionHealthRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeResourceCollectionHealthPaginator
default DescribeResourceCollectionHealthIterable describeResourceCollectionHealthPaginator(Consumer<DescribeResourceCollectionHealthRequest.Builder> describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client.describeResourceCollectionHealthPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)operation.This is a convenience which creates an instance of the
DescribeResourceCollectionHealthRequest.Builderavoiding the need to create one manually viaDescribeResourceCollectionHealthRequest.builder()- Parameters:
describeResourceCollectionHealthRequest- AConsumerthat will call methods onDescribeResourceCollectionHealthRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeServiceIntegration
default DescribeServiceIntegrationResponse describeServiceIntegration(DescribeServiceIntegrationRequest describeServiceIntegrationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
describeServiceIntegrationRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeServiceIntegration
default DescribeServiceIntegrationResponse describeServiceIntegration(Consumer<DescribeServiceIntegrationRequest.Builder> describeServiceIntegrationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
DescribeServiceIntegrationRequest.Builderavoiding the need to create one manually viaDescribeServiceIntegrationRequest.builder()- Parameters:
describeServiceIntegrationRequest- AConsumerthat will call methods onDescribeServiceIntegrationRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCostEstimation
default GetCostEstimationResponse getCostEstimation(GetCostEstimationRequest getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
getCostEstimationRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCostEstimation
default GetCostEstimationResponse getCostEstimation(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
GetCostEstimationRequest.Builderavoiding the need to create one manually viaGetCostEstimationRequest.builder()- Parameters:
getCostEstimationRequest- AConsumerthat will call methods onGetCostEstimationRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCostEstimationPaginator
default GetCostEstimationIterable getCostEstimationPaginator(GetCostEstimationRequest getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client.getCostEstimationPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)operation.- Parameters:
getCostEstimationRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCostEstimationPaginator
default GetCostEstimationIterable getCostEstimationPaginator(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client.getCostEstimationPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)operation.This is a convenience which creates an instance of the
GetCostEstimationRequest.Builderavoiding the need to create one manually viaGetCostEstimationRequest.builder()- Parameters:
getCostEstimationRequest- AConsumerthat will call methods onGetCostEstimationRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getResourceCollection
default GetResourceCollectionResponse getResourceCollection(GetResourceCollectionRequest getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
getResourceCollectionRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getResourceCollection
default GetResourceCollectionResponse getResourceCollection(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
GetResourceCollectionRequest.Builderavoiding the need to create one manually viaGetResourceCollectionRequest.builder()- Parameters:
getResourceCollectionRequest- AConsumerthat will call methods onGetResourceCollectionRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getResourceCollectionPaginator
default GetResourceCollectionIterable getResourceCollectionPaginator(GetResourceCollectionRequest getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client.getResourceCollectionPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)operation.- Parameters:
getResourceCollectionRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getResourceCollectionPaginator
default GetResourceCollectionIterable getResourceCollectionPaginator(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client.getResourceCollectionPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)operation.This is a convenience which creates an instance of the
GetResourceCollectionRequest.Builderavoiding the need to create one manually viaGetResourceCollectionRequest.builder()- Parameters:
getResourceCollectionRequest- AConsumerthat will call methods onGetResourceCollectionRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAnomaliesForInsight
default ListAnomaliesForInsightResponse listAnomaliesForInsight(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of the anomalies that belong to an insight that you specify using its ID.
- Parameters:
listAnomaliesForInsightRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAnomaliesForInsight
default ListAnomaliesForInsightResponse listAnomaliesForInsight(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
ListAnomaliesForInsightRequest.Builderavoiding the need to create one manually viaListAnomaliesForInsightRequest.builder()- Parameters:
listAnomaliesForInsightRequest- AConsumerthat will call methods onListAnomaliesForInsightRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAnomaliesForInsightPaginator
default ListAnomaliesForInsightIterable listAnomaliesForInsightPaginator(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of the anomalies that belong to an insight that you specify using its ID.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client.listAnomaliesForInsightPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)operation.- Parameters:
listAnomaliesForInsightRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAnomaliesForInsightPaginator
default ListAnomaliesForInsightIterable listAnomaliesForInsightPaginator(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of the anomalies that belong to an insight that you specify using its ID.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client.listAnomaliesForInsightPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)operation.This is a convenience which creates an instance of the
ListAnomaliesForInsightRequest.Builderavoiding the need to create one manually viaListAnomaliesForInsightRequest.builder()- Parameters:
listAnomaliesForInsightRequest- AConsumerthat will call methods onListAnomaliesForInsightRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAnomalousLogGroups
default ListAnomalousLogGroupsResponse listAnomalousLogGroups(ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the list of log groups that contain log anomalies.
- Parameters:
listAnomalousLogGroupsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAnomalousLogGroups
default ListAnomalousLogGroupsResponse listAnomalousLogGroups(Consumer<ListAnomalousLogGroupsRequest.Builder> listAnomalousLogGroupsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the list of log groups that contain log anomalies.
This is a convenience which creates an instance of the
ListAnomalousLogGroupsRequest.Builderavoiding the need to create one manually viaListAnomalousLogGroupsRequest.builder()- Parameters:
listAnomalousLogGroupsRequest- AConsumerthat will call methods onListAnomalousLogGroupsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAnomalousLogGroupsPaginator
default ListAnomalousLogGroupsIterable listAnomalousLogGroupsPaginator(ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the list of log groups that contain log anomalies.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsIterable responses = client.listAnomalousLogGroupsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)operation.- Parameters:
listAnomalousLogGroupsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAnomalousLogGroupsPaginator
default ListAnomalousLogGroupsIterable listAnomalousLogGroupsPaginator(Consumer<ListAnomalousLogGroupsRequest.Builder> listAnomalousLogGroupsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the list of log groups that contain log anomalies.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsIterable responses = client.listAnomalousLogGroupsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)operation.This is a convenience which creates an instance of the
ListAnomalousLogGroupsRequest.Builderavoiding the need to create one manually viaListAnomalousLogGroupsRequest.builder()- Parameters:
listAnomalousLogGroupsRequest- AConsumerthat will call methods onListAnomalousLogGroupsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEvents
default ListEventsResponse listEvents(ListEventsRequest listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
listEventsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEvents
default ListEventsResponse listEvents(Consumer<ListEventsRequest.Builder> listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
ListEventsRequest.Builderavoiding the need to create one manually viaListEventsRequest.builder()- Parameters:
listEventsRequest- AConsumerthat will call methods onListEventsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEventsPaginator
default ListEventsIterable listEventsPaginator(ListEventsRequest listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)operation.- Parameters:
listEventsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEventsPaginator
default ListEventsIterable listEventsPaginator(Consumer<ListEventsRequest.Builder> listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)operation.This is a convenience which creates an instance of the
ListEventsRequest.Builderavoiding the need to create one manually viaListEventsRequest.builder()- Parameters:
listEventsRequest- AConsumerthat will call methods onListEventsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listInsights
default ListInsightsResponse listInsights(ListInsightsRequest listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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, orANY).- Parameters:
listInsightsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listInsights
default ListInsightsResponse listInsights(Consumer<ListInsightsRequest.Builder> listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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, orANY).
This is a convenience which creates an instance of the
ListInsightsRequest.Builderavoiding the need to create one manually viaListInsightsRequest.builder()- Parameters:
listInsightsRequest- AConsumerthat will call methods onListInsightsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listInsightsPaginator
default ListInsightsIterable listInsightsPaginator(ListInsightsRequest listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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, orANY).
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)operation.- Parameters:
listInsightsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listInsightsPaginator
default ListInsightsIterable listInsightsPaginator(Consumer<ListInsightsRequest.Builder> listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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, orANY).
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)operation.This is a convenience which creates an instance of the
ListInsightsRequest.Builderavoiding the need to create one manually viaListInsightsRequest.builder()- Parameters:
listInsightsRequest- AConsumerthat will call methods onListInsightsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listMonitoredResources
default ListMonitoredResourcesResponse listMonitoredResources(ListMonitoredResourcesRequest listMonitoredResourcesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the list of all log groups that are being monitored and tagged by DevOps Guru.
- Parameters:
listMonitoredResourcesRequest-- Returns:
- Result of the ListMonitoredResources operation returned by the service.
- Throws:
ResourceNotFoundException- A requested resource could not be foundInternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listMonitoredResources
default ListMonitoredResourcesResponse listMonitoredResources(Consumer<ListMonitoredResourcesRequest.Builder> listMonitoredResourcesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
ListMonitoredResourcesRequest.Builderavoiding the need to create one manually viaListMonitoredResourcesRequest.builder()- Parameters:
listMonitoredResourcesRequest- AConsumerthat will call methods onListMonitoredResourcesRequest.Builderto create a request.- Returns:
- Result of the ListMonitoredResources operation returned by the service.
- Throws:
ResourceNotFoundException- A requested resource could not be foundInternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listMonitoredResourcesPaginator
default ListMonitoredResourcesIterable listMonitoredResourcesPaginator(ListMonitoredResourcesRequest listMonitoredResourcesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the list of all log groups that are being monitored and tagged by DevOps Guru.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesIterable responses = client.listMonitoredResourcesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)operation.- Parameters:
listMonitoredResourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- A requested resource could not be foundInternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listMonitoredResourcesPaginator
default ListMonitoredResourcesIterable listMonitoredResourcesPaginator(Consumer<ListMonitoredResourcesRequest.Builder> listMonitoredResourcesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the list of all log groups that are being monitored and tagged by DevOps Guru.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesIterable responses = client.listMonitoredResourcesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)operation.This is a convenience which creates an instance of the
ListMonitoredResourcesRequest.Builderavoiding the need to create one manually viaListMonitoredResourcesRequest.builder()- Parameters:
listMonitoredResourcesRequest- AConsumerthat will call methods onListMonitoredResourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- A requested resource could not be foundInternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listNotificationChannels
default ListNotificationChannelsResponse listNotificationChannels(ListNotificationChannelsRequest listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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).
- Parameters:
listNotificationChannelsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listNotificationChannels
default ListNotificationChannelsResponse listNotificationChannels(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
ListNotificationChannelsRequest.Builderavoiding the need to create one manually viaListNotificationChannelsRequest.builder()- Parameters:
listNotificationChannelsRequest- AConsumerthat will call methods onListNotificationChannelsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listNotificationChannelsPaginator
default ListNotificationChannelsIterable listNotificationChannelsPaginator(ListNotificationChannelsRequest listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client.listNotificationChannelsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)operation.- Parameters:
listNotificationChannelsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listNotificationChannelsPaginator
default ListNotificationChannelsIterable listNotificationChannelsPaginator(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client.listNotificationChannelsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)operation.This is a convenience which creates an instance of the
ListNotificationChannelsRequest.Builderavoiding the need to create one manually viaListNotificationChannelsRequest.builder()- Parameters:
listNotificationChannelsRequest- AConsumerthat will call methods onListNotificationChannelsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listOrganizationInsights
default ListOrganizationInsightsResponse listOrganizationInsights(ListOrganizationInsightsRequest listOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights associated with the account or OU Id.
- Parameters:
listOrganizationInsightsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listOrganizationInsights
default ListOrganizationInsightsResponse listOrganizationInsights(Consumer<ListOrganizationInsightsRequest.Builder> listOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights associated with the account or OU Id.
This is a convenience which creates an instance of the
ListOrganizationInsightsRequest.Builderavoiding the need to create one manually viaListOrganizationInsightsRequest.builder()- Parameters:
listOrganizationInsightsRequest- AConsumerthat will call methods onListOrganizationInsightsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listOrganizationInsightsPaginator
default ListOrganizationInsightsIterable listOrganizationInsightsPaginator(ListOrganizationInsightsRequest listOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights associated with the account or OU Id.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsIterable responses = client.listOrganizationInsightsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)operation.- Parameters:
listOrganizationInsightsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listOrganizationInsightsPaginator
default ListOrganizationInsightsIterable listOrganizationInsightsPaginator(Consumer<ListOrganizationInsightsRequest.Builder> listOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights associated with the account or OU Id.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsIterable responses = client.listOrganizationInsightsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)operation.This is a convenience which creates an instance of the
ListOrganizationInsightsRequest.Builderavoiding the need to create one manually viaListOrganizationInsightsRequest.builder()- Parameters:
listOrganizationInsightsRequest- AConsumerthat will call methods onListOrganizationInsightsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRecommendations
default ListRecommendationsResponse listRecommendations(ListRecommendationsRequest listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics and a list of related events.
- Parameters:
listRecommendationsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRecommendations
default ListRecommendationsResponse listRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
ListRecommendationsRequest.Builderavoiding the need to create one manually viaListRecommendationsRequest.builder()- Parameters:
listRecommendationsRequest- AConsumerthat will call methods onListRecommendationsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRecommendationsPaginator
default ListRecommendationsIterable listRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)operation.- Parameters:
listRecommendationsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRecommendationsPaginator
default ListRecommendationsIterable listRecommendationsPaginator(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)operation.This is a convenience which creates an instance of the
ListRecommendationsRequest.Builderavoiding the need to create one manually viaListRecommendationsRequest.builder()- Parameters:
listRecommendationsRequest- AConsumerthat will call methods onListRecommendationsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putFeedback
default PutFeedbackResponse putFeedback(PutFeedbackRequest putFeedbackRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Collects customer feedback about the specified insight.
- Parameters:
putFeedbackRequest-- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putFeedback
default PutFeedbackResponse putFeedback(Consumer<PutFeedbackRequest.Builder> putFeedbackRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Collects customer feedback about the specified insight.
This is a convenience which creates an instance of the
PutFeedbackRequest.Builderavoiding the need to create one manually viaPutFeedbackRequest.builder()- Parameters:
putFeedbackRequest- AConsumerthat will call methods onPutFeedbackRequest.Builderto create a request.- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
removeNotificationChannel
default RemoveNotificationChannelResponse removeNotificationChannel(RemoveNotificationChannelRequest removeNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
removeNotificationChannelRequest-- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
removeNotificationChannel
default RemoveNotificationChannelResponse removeNotificationChannel(Consumer<RemoveNotificationChannelRequest.Builder> removeNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
RemoveNotificationChannelRequest.Builderavoiding the need to create one manually viaRemoveNotificationChannelRequest.builder()- Parameters:
removeNotificationChannelRequest- AConsumerthat will call methods onRemoveNotificationChannelRequest.Builderto create a request.- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
searchInsights
default SearchInsightsResponse searchInsights(SearchInsightsRequest searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 (
ONGOINGorCLOSED), one or more severities (LOW,MEDIUM, andHIGH), and type (REACTIVEorPROACTIVE).Use the
Filtersparameter to specify status and severity search parameters. Use theTypeparameter to specifyREACTIVEorPROACTIVEin your search.- Parameters:
searchInsightsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
searchInsights
default SearchInsightsResponse searchInsights(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 (
ONGOINGorCLOSED), one or more severities (LOW,MEDIUM, andHIGH), and type (REACTIVEorPROACTIVE).Use the
Filtersparameter to specify status and severity search parameters. Use theTypeparameter to specifyREACTIVEorPROACTIVEin your search.
This is a convenience which creates an instance of the
SearchInsightsRequest.Builderavoiding the need to create one manually viaSearchInsightsRequest.builder()- Parameters:
searchInsightsRequest- AConsumerthat will call methods onSearchInsightsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
searchInsightsPaginator
default SearchInsightsIterable searchInsightsPaginator(SearchInsightsRequest searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 (
ONGOINGorCLOSED), one or more severities (LOW,MEDIUM, andHIGH), and type (REACTIVEorPROACTIVE).Use the
Filtersparameter to specify status and severity search parameters. Use theTypeparameter to specifyREACTIVEorPROACTIVEin your search.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client.searchInsightsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)operation.- Parameters:
searchInsightsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
searchInsightsPaginator
default SearchInsightsIterable searchInsightsPaginator(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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 (
ONGOINGorCLOSED), one or more severities (LOW,MEDIUM, andHIGH), and type (REACTIVEorPROACTIVE).Use the
Filtersparameter to specify status and severity search parameters. Use theTypeparameter to specifyREACTIVEorPROACTIVEin your search.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client.searchInsightsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)operation.This is a convenience which creates an instance of the
SearchInsightsRequest.Builderavoiding the need to create one manually viaSearchInsightsRequest.builder()- Parameters:
searchInsightsRequest- AConsumerthat will call methods onSearchInsightsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
searchOrganizationInsights
default SearchOrganizationInsightsResponse searchOrganizationInsights(SearchOrganizationInsightsRequest searchOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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, andCLOSED), one or more severities (LOW,MEDIUM, andHIGH), and type (REACTIVEorPROACTIVE).Use the
Filtersparameter to specify status and severity search parameters. Use theTypeparameter to specifyREACTIVEorPROACTIVEin your search.- Parameters:
searchOrganizationInsightsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
searchOrganizationInsights
default SearchOrganizationInsightsResponse searchOrganizationInsights(Consumer<SearchOrganizationInsightsRequest.Builder> searchOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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, andCLOSED), one or more severities (LOW,MEDIUM, andHIGH), and type (REACTIVEorPROACTIVE).Use the
Filtersparameter to specify status and severity search parameters. Use theTypeparameter to specifyREACTIVEorPROACTIVEin your search.
This is a convenience which creates an instance of the
SearchOrganizationInsightsRequest.Builderavoiding the need to create one manually viaSearchOrganizationInsightsRequest.builder()- Parameters:
searchOrganizationInsightsRequest- AConsumerthat will call methods onSearchOrganizationInsightsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
searchOrganizationInsightsPaginator
default SearchOrganizationInsightsIterable searchOrganizationInsightsPaginator(SearchOrganizationInsightsRequest searchOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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, andCLOSED), one or more severities (LOW,MEDIUM, andHIGH), and type (REACTIVEorPROACTIVE).Use the
Filtersparameter to specify status and severity search parameters. Use theTypeparameter to specifyREACTIVEorPROACTIVEin your search.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsIterable responses = client.searchOrganizationInsightsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
searchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)operation.- Parameters:
searchOrganizationInsightsRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
searchOrganizationInsightsPaginator
default SearchOrganizationInsightsIterable searchOrganizationInsightsPaginator(Consumer<SearchOrganizationInsightsRequest.Builder> searchOrganizationInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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, andCLOSED), one or more severities (LOW,MEDIUM, andHIGH), and type (REACTIVEorPROACTIVE).Use the
Filtersparameter to specify status and severity search parameters. Use theTypeparameter to specifyREACTIVEorPROACTIVEin your search.
This is a variant of
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
2) Using For loopsoftware.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsIterable responses = client.searchOrganizationInsightsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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
searchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)operation.This is a convenience which creates an instance of the
SearchOrganizationInsightsRequest.Builderavoiding the need to create one manually viaSearchOrganizationInsightsRequest.builder()- Parameters:
searchOrganizationInsightsRequest- AConsumerthat will call methods onSearchOrganizationInsightsRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startCostEstimation
default StartCostEstimationResponse startCostEstimation(StartCostEstimationRequest startCostEstimationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources.
- Parameters:
startCostEstimationRequest-- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startCostEstimation
default StartCostEstimationResponse startCostEstimation(Consumer<StartCostEstimationRequest.Builder> startCostEstimationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
StartCostEstimationRequest.Builderavoiding the need to create one manually viaStartCostEstimationRequest.builder()- Parameters:
startCostEstimationRequest- AConsumerthat will call methods onStartCostEstimationRequest.Builderto create a request.- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ResourceNotFoundException- A requested resource could not be foundThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEventSourcesConfig
default UpdateEventSourcesConfigResponse updateEventSourcesConfig(UpdateEventSourcesConfigRequest updateEventSourcesConfigRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
updateEventSourcesConfigRequest-- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEventSourcesConfig
default UpdateEventSourcesConfigResponse updateEventSourcesConfig(Consumer<UpdateEventSourcesConfigRequest.Builder> updateEventSourcesConfigRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
UpdateEventSourcesConfigRequest.Builderavoiding the need to create one manually viaUpdateEventSourcesConfigRequest.builder()- Parameters:
updateEventSourcesConfigRequest- AConsumerthat will call methods onUpdateEventSourcesConfigRequest.Builderto create a request.- Returns:
- 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.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateResourceCollection
default UpdateResourceCollectionResponse updateResourceCollection(UpdateResourceCollectionRequest updateResourceCollectionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
updateResourceCollectionRequest-- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateResourceCollection
default UpdateResourceCollectionResponse updateResourceCollection(Consumer<UpdateResourceCollectionRequest.Builder> updateResourceCollectionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
UpdateResourceCollectionRequest.Builderavoiding the need to create one manually viaUpdateResourceCollectionRequest.builder()- Parameters:
updateResourceCollectionRequest- AConsumerthat will call methods onUpdateResourceCollectionRequest.Builderto create a request.- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateServiceIntegration
default UpdateServiceIntegrationResponse updateServiceIntegration(UpdateServiceIntegrationRequest updateServiceIntegrationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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.
- Parameters:
updateServiceIntegrationRequest-- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateServiceIntegration
default UpdateServiceIntegrationResponse updateServiceIntegration(Consumer<UpdateServiceIntegrationRequest.Builder> updateServiceIntegrationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
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
UpdateServiceIntegrationRequest.Builderavoiding the need to create one manually viaUpdateServiceIntegrationRequest.builder()- Parameters:
updateServiceIntegrationRequest- AConsumerthat will call methods onUpdateServiceIntegrationRequest.Builderto create a request.- Returns:
- 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.ConflictException- An exception that is thrown when a conflict occurs.InternalServerException- An internal failure in an Amazon service occurred.ThrottlingException- The request was denied due to a request throttling.ValidationException- Contains information about data passed in to a field during a request that is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static DevOpsGuruClient create()
Create aDevOpsGuruClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static DevOpsGuruClientBuilder builder()
Create a builder that can be used to configure and create aDevOpsGuruClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default DevOpsGuruServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-