Interface DevOpsGuruAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in business critical operational applications. You specify the Amazon Web Services resources that you want DevOps Guru to cover, then the Amazon CloudWatch metrics and Amazon Web Services CloudTrail events related to those resources are analyzed. When anomalous behavior is detected, DevOps Guru creates an insight that includes recommendations, related events, and related metrics that can help you improve your operational applications. For more information, see What is Amazon DevOps Guru.
You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight is created. You can also enable DevOps Guru to generate an OpsItem in Amazon Web Services Systems Manager for each insight to help you manage and track your work addressing insights.
To learn about the DevOps Guru workflow, see How DevOps Guru works. To learn about DevOps Guru concepts, see Concepts in DevOps Guru.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionaddNotificationChannel(Consumer<AddNotificationChannelRequest.Builder> addNotificationChannelRequest) Adds a notification channel to DevOps Guru.addNotificationChannel(AddNotificationChannelRequest addNotificationChannelRequest) Adds a notification channel to DevOps Guru.static DevOpsGuruAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aDevOpsGuruAsyncClient.static DevOpsGuruAsyncClientcreate()Create aDevOpsGuruAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<DeleteInsightResponse> deleteInsight(Consumer<DeleteInsightRequest.Builder> deleteInsightRequest) Deletes the insight along with the associated anomalies, events and recommendations.default CompletableFuture<DeleteInsightResponse> deleteInsight(DeleteInsightRequest deleteInsightRequest) Deletes the insight along with the associated anomalies, events and recommendations.describeAccountHealth(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.describeAccountHealth(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.describeAccountOverview(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.describeAccountOverview(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 CompletableFuture<DescribeAnomalyResponse> describeAnomaly(Consumer<DescribeAnomalyRequest.Builder> describeAnomalyRequest) Returns details about an anomaly that you specify using its ID.default CompletableFuture<DescribeAnomalyResponse> describeAnomaly(DescribeAnomalyRequest describeAnomalyRequest) Returns details about an anomaly that you specify using its ID.describeEventSourcesConfig(Consumer<DescribeEventSourcesConfigRequest.Builder> describeEventSourcesConfigRequest) Returns the integration status of services that are integrated with DevOps Guru as Consumer via EventBridge.describeEventSourcesConfig(DescribeEventSourcesConfigRequest describeEventSourcesConfigRequest) Returns the integration status of services that are integrated with DevOps Guru as Consumer via EventBridge.describeFeedback(Consumer<DescribeFeedbackRequest.Builder> describeFeedbackRequest) Returns the most recent feedback submitted in the current Amazon Web Services account and Region.describeFeedback(DescribeFeedbackRequest describeFeedbackRequest) Returns the most recent feedback submitted in the current Amazon Web Services account and Region.default CompletableFuture<DescribeInsightResponse> describeInsight(Consumer<DescribeInsightRequest.Builder> describeInsightRequest) Returns details about an insight that you specify using its ID.default CompletableFuture<DescribeInsightResponse> describeInsight(DescribeInsightRequest describeInsightRequest) Returns details about an insight that you specify using its ID.describeOrganizationHealth(Consumer<DescribeOrganizationHealthRequest.Builder> describeOrganizationHealthRequest) Returns active insights, predictive insights, and resource hours analyzed in last hour.describeOrganizationHealth(DescribeOrganizationHealthRequest describeOrganizationHealthRequest) Returns active insights, predictive insights, and resource hours analyzed in last hour.describeOrganizationOverview(Consumer<DescribeOrganizationOverviewRequest.Builder> describeOrganizationOverviewRequest) Returns an overview of your organization's history based on the specified time range.describeOrganizationOverview(DescribeOrganizationOverviewRequest describeOrganizationOverviewRequest) Returns an overview of your organization's history based on the specified time range.describeOrganizationResourceCollectionHealth(Consumer<DescribeOrganizationResourceCollectionHealthRequest.Builder> describeOrganizationResourceCollectionHealthRequest) Provides an overview of your system's health.describeOrganizationResourceCollectionHealth(DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest) Provides an overview of your system's health.describeOrganizationResourceCollectionHealthPaginator(Consumer<DescribeOrganizationResourceCollectionHealthRequest.Builder> describeOrganizationResourceCollectionHealthRequest) describeOrganizationResourceCollectionHealthPaginator(DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest) describeResourceCollectionHealth(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.describeResourceCollectionHealth(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.describeResourceCollectionHealthPaginator(Consumer<DescribeResourceCollectionHealthRequest.Builder> describeResourceCollectionHealthRequest) This is a variant ofdescribeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)operation.describeResourceCollectionHealthPaginator(DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest) This is a variant ofdescribeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)operation.describeServiceIntegration(Consumer<DescribeServiceIntegrationRequest.Builder> describeServiceIntegrationRequest) Returns the integration status of services that are integrated with DevOps Guru.describeServiceIntegration(DescribeServiceIntegrationRequest describeServiceIntegrationRequest) Returns the integration status of services that are integrated with DevOps Guru.getCostEstimation(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest) Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources.getCostEstimation(GetCostEstimationRequest getCostEstimationRequest) Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources.default GetCostEstimationPublishergetCostEstimationPaginator(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest) This is a variant ofgetCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)operation.default GetCostEstimationPublishergetCostEstimationPaginator(GetCostEstimationRequest getCostEstimationRequest) This is a variant ofgetCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)operation.getResourceCollection(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest) Returns lists Amazon Web Services resources that are of the specified resource collection type.getResourceCollection(GetResourceCollectionRequest getResourceCollectionRequest) Returns lists Amazon Web Services resources that are of the specified resource collection type.default GetResourceCollectionPublishergetResourceCollectionPaginator(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest) This is a variant ofgetResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)operation.default GetResourceCollectionPublishergetResourceCollectionPaginator(GetResourceCollectionRequest getResourceCollectionRequest) This is a variant ofgetResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)operation.listAnomaliesForInsight(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest) Returns a list of the anomalies that belong to an insight that you specify using its ID.listAnomaliesForInsight(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) Returns a list of the anomalies that belong to an insight that you specify using its ID.default ListAnomaliesForInsightPublisherlistAnomaliesForInsightPaginator(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest) This is a variant oflistAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)operation.default ListAnomaliesForInsightPublisherlistAnomaliesForInsightPaginator(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) This is a variant oflistAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)operation.listAnomalousLogGroups(Consumer<ListAnomalousLogGroupsRequest.Builder> listAnomalousLogGroupsRequest) Returns the list of log groups that contain log anomalies.listAnomalousLogGroups(ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest) Returns the list of log groups that contain log anomalies.default ListAnomalousLogGroupsPublisherlistAnomalousLogGroupsPaginator(Consumer<ListAnomalousLogGroupsRequest.Builder> listAnomalousLogGroupsRequest) This is a variant oflistAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)operation.default ListAnomalousLogGroupsPublisherlistAnomalousLogGroupsPaginator(ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest) This is a variant oflistAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)operation.default CompletableFuture<ListEventsResponse> listEvents(Consumer<ListEventsRequest.Builder> listEventsRequest) Returns a list of the events emitted by the resources that are evaluated by DevOps Guru.default CompletableFuture<ListEventsResponse> listEvents(ListEventsRequest listEventsRequest) Returns a list of the events emitted by the resources that are evaluated by DevOps Guru.default ListEventsPublisherlistEventsPaginator(Consumer<ListEventsRequest.Builder> listEventsRequest) This is a variant oflistEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)operation.default ListEventsPublisherlistEventsPaginator(ListEventsRequest listEventsRequest) This is a variant oflistEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)operation.default CompletableFuture<ListInsightsResponse> listInsights(Consumer<ListInsightsRequest.Builder> listInsightsRequest) Returns a list of insights in your Amazon Web Services account.default CompletableFuture<ListInsightsResponse> listInsights(ListInsightsRequest listInsightsRequest) Returns a list of insights in your Amazon Web Services account.default ListInsightsPublisherlistInsightsPaginator(Consumer<ListInsightsRequest.Builder> listInsightsRequest) This is a variant oflistInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)operation.default ListInsightsPublisherlistInsightsPaginator(ListInsightsRequest listInsightsRequest) This is a variant oflistInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)operation.listMonitoredResources(Consumer<ListMonitoredResourcesRequest.Builder> listMonitoredResourcesRequest) Returns the list of all log groups that are being monitored and tagged by DevOps Guru.listMonitoredResources(ListMonitoredResourcesRequest listMonitoredResourcesRequest) Returns the list of all log groups that are being monitored and tagged by DevOps Guru.default ListMonitoredResourcesPublisherlistMonitoredResourcesPaginator(Consumer<ListMonitoredResourcesRequest.Builder> listMonitoredResourcesRequest) This is a variant oflistMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)operation.default ListMonitoredResourcesPublisherlistMonitoredResourcesPaginator(ListMonitoredResourcesRequest listMonitoredResourcesRequest) This is a variant oflistMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)operation.listNotificationChannels(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest) Returns a list of notification channels configured for DevOps Guru.listNotificationChannels(ListNotificationChannelsRequest listNotificationChannelsRequest) Returns a list of notification channels configured for DevOps Guru.listNotificationChannelsPaginator(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest) This is a variant oflistNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)operation.listNotificationChannelsPaginator(ListNotificationChannelsRequest listNotificationChannelsRequest) This is a variant oflistNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)operation.listOrganizationInsights(Consumer<ListOrganizationInsightsRequest.Builder> listOrganizationInsightsRequest) Returns a list of insights associated with the account or OU Id.listOrganizationInsights(ListOrganizationInsightsRequest listOrganizationInsightsRequest) Returns a list of insights associated with the account or OU Id.listOrganizationInsightsPaginator(Consumer<ListOrganizationInsightsRequest.Builder> listOrganizationInsightsRequest) This is a variant oflistOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)operation.listOrganizationInsightsPaginator(ListOrganizationInsightsRequest listOrganizationInsightsRequest) This is a variant oflistOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)operation.listRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) Returns a list of a specified insight's recommendations.listRecommendations(ListRecommendationsRequest listRecommendationsRequest) Returns a list of a specified insight's recommendations.default ListRecommendationsPublisherlistRecommendationsPaginator(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) This is a variant oflistRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)operation.default ListRecommendationsPublisherlistRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest) This is a variant oflistRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)operation.default CompletableFuture<PutFeedbackResponse> putFeedback(Consumer<PutFeedbackRequest.Builder> putFeedbackRequest) Collects customer feedback about the specified insight.default CompletableFuture<PutFeedbackResponse> putFeedback(PutFeedbackRequest putFeedbackRequest) Collects customer feedback about the specified insight.removeNotificationChannel(Consumer<RemoveNotificationChannelRequest.Builder> removeNotificationChannelRequest) Removes a notification channel from DevOps Guru.removeNotificationChannel(RemoveNotificationChannelRequest removeNotificationChannelRequest) Removes a notification channel from DevOps Guru.default CompletableFuture<SearchInsightsResponse> searchInsights(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest) Returns a list of insights in your Amazon Web Services account.default CompletableFuture<SearchInsightsResponse> searchInsights(SearchInsightsRequest searchInsightsRequest) Returns a list of insights in your Amazon Web Services account.default SearchInsightsPublishersearchInsightsPaginator(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest) This is a variant ofsearchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)operation.default SearchInsightsPublishersearchInsightsPaginator(SearchInsightsRequest searchInsightsRequest) This is a variant ofsearchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)operation.searchOrganizationInsights(Consumer<SearchOrganizationInsightsRequest.Builder> searchOrganizationInsightsRequest) Returns a list of insights in your organization.searchOrganizationInsights(SearchOrganizationInsightsRequest searchOrganizationInsightsRequest) Returns a list of insights in your organization.searchOrganizationInsightsPaginator(Consumer<SearchOrganizationInsightsRequest.Builder> searchOrganizationInsightsRequest) This is a variant ofsearchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)operation.searchOrganizationInsightsPaginator(SearchOrganizationInsightsRequest searchOrganizationInsightsRequest) This is a variant ofsearchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartCostEstimation(Consumer<StartCostEstimationRequest.Builder> startCostEstimationRequest) Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources.startCostEstimation(StartCostEstimationRequest startCostEstimationRequest) Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources.updateEventSourcesConfig(Consumer<UpdateEventSourcesConfigRequest.Builder> updateEventSourcesConfigRequest) Enables or disables integration with a service that can be integrated with DevOps Guru.updateEventSourcesConfig(UpdateEventSourcesConfigRequest updateEventSourcesConfigRequest) Enables or disables integration with a service that can be integrated with DevOps Guru.updateResourceCollection(Consumer<UpdateResourceCollectionRequest.Builder> updateResourceCollectionRequest) Updates the collection of resources that DevOps Guru analyzes.updateResourceCollection(UpdateResourceCollectionRequest updateResourceCollectionRequest) Updates the collection of resources that DevOps Guru analyzes.updateServiceIntegration(Consumer<UpdateServiceIntegrationRequest.Builder> updateServiceIntegrationRequest) Enables or disables integration with a service that can be integrated with DevOps Guru.updateServiceIntegration(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
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
addNotificationChannel
default CompletableFuture<AddNotificationChannelResponse> addNotificationChannel(AddNotificationChannelRequest addNotificationChannelRequest) 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:
- A Java Future containing the result of the AddNotificationChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ServiceQuotaExceededException The request contains a value that exceeds a maximum quota.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addNotificationChannel
default CompletableFuture<AddNotificationChannelResponse> addNotificationChannel(Consumer<AddNotificationChannelRequest.Builder> addNotificationChannelRequest) 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:
- A Java Future containing the result of the AddNotificationChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ServiceQuotaExceededException The request contains a value that exceeds a maximum quota.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInsight
default CompletableFuture<DeleteInsightResponse> deleteInsight(DeleteInsightRequest deleteInsightRequest) Deletes the insight along with the associated anomalies, events and recommendations.
- Parameters:
deleteInsightRequest-- Returns:
- A Java Future containing the result of the DeleteInsight operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ConflictException An exception that is thrown when a conflict occurs.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInsight
default CompletableFuture<DeleteInsightResponse> deleteInsight(Consumer<DeleteInsightRequest.Builder> deleteInsightRequest) 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:
- A Java Future containing the result of the DeleteInsight operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ConflictException An exception that is thrown when a conflict occurs.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAccountHealth
default CompletableFuture<DescribeAccountHealthResponse> describeAccountHealth(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. Use these numbers to gauge the health of operations in your Amazon Web Services account.
- Parameters:
describeAccountHealthRequest-- Returns:
- A Java Future containing the result of the DescribeAccountHealth operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAccountHealth
default CompletableFuture<DescribeAccountHealthResponse> describeAccountHealth(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. 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:
- A Java Future containing the result of the DescribeAccountHealth operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAccountOverview
default CompletableFuture<DescribeAccountOverviewResponse> describeAccountOverview(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.
- Parameters:
describeAccountOverviewRequest-- Returns:
- A Java Future containing the result of the DescribeAccountOverview operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAccountOverview
default CompletableFuture<DescribeAccountOverviewResponse> describeAccountOverview(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.
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:
- A Java Future containing the result of the DescribeAccountOverview operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAnomaly
default CompletableFuture<DescribeAnomalyResponse> describeAnomaly(DescribeAnomalyRequest describeAnomalyRequest) Returns details about an anomaly that you specify using its ID.
- Parameters:
describeAnomalyRequest-- Returns:
- A Java Future containing the result of the DescribeAnomaly operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAnomaly
default CompletableFuture<DescribeAnomalyResponse> describeAnomaly(Consumer<DescribeAnomalyRequest.Builder> describeAnomalyRequest) 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:
- A Java Future containing the result of the DescribeAnomaly operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventSourcesConfig
default CompletableFuture<DescribeEventSourcesConfigResponse> describeEventSourcesConfig(DescribeEventSourcesConfigRequest describeEventSourcesConfigRequest) 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:
- A Java Future containing the result of the DescribeEventSourcesConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventSourcesConfig
default CompletableFuture<DescribeEventSourcesConfigResponse> describeEventSourcesConfig(Consumer<DescribeEventSourcesConfigRequest.Builder> describeEventSourcesConfigRequest) 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:
- A Java Future containing the result of the DescribeEventSourcesConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFeedback
default CompletableFuture<DescribeFeedbackResponse> describeFeedback(DescribeFeedbackRequest describeFeedbackRequest) Returns the most recent feedback submitted in the current Amazon Web Services account and Region.
- Parameters:
describeFeedbackRequest-- Returns:
- A Java Future containing the result of the DescribeFeedback operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFeedback
default CompletableFuture<DescribeFeedbackResponse> describeFeedback(Consumer<DescribeFeedbackRequest.Builder> describeFeedbackRequest) 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:
- A Java Future containing the result of the DescribeFeedback operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInsight
default CompletableFuture<DescribeInsightResponse> describeInsight(DescribeInsightRequest describeInsightRequest) Returns details about an insight that you specify using its ID.
- Parameters:
describeInsightRequest-- Returns:
- A Java Future containing the result of the DescribeInsight operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInsight
default CompletableFuture<DescribeInsightResponse> describeInsight(Consumer<DescribeInsightRequest.Builder> describeInsightRequest) 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:
- A Java Future containing the result of the DescribeInsight operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrganizationHealth
default CompletableFuture<DescribeOrganizationHealthResponse> describeOrganizationHealth(DescribeOrganizationHealthRequest describeOrganizationHealthRequest) Returns active insights, predictive insights, and resource hours analyzed in last hour.
- Parameters:
describeOrganizationHealthRequest-- Returns:
- A Java Future containing the result of the DescribeOrganizationHealth operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrganizationHealth
default CompletableFuture<DescribeOrganizationHealthResponse> describeOrganizationHealth(Consumer<DescribeOrganizationHealthRequest.Builder> describeOrganizationHealthRequest) 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:
- A Java Future containing the result of the DescribeOrganizationHealth operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrganizationOverview
default CompletableFuture<DescribeOrganizationOverviewResponse> describeOrganizationOverview(DescribeOrganizationOverviewRequest describeOrganizationOverviewRequest) 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:
- A Java Future containing the result of the DescribeOrganizationOverview operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrganizationOverview
default CompletableFuture<DescribeOrganizationOverviewResponse> describeOrganizationOverview(Consumer<DescribeOrganizationOverviewRequest.Builder> describeOrganizationOverviewRequest) 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:
- A Java Future containing the result of the DescribeOrganizationOverview operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrganizationResourceCollectionHealth
default CompletableFuture<DescribeOrganizationResourceCollectionHealthResponse> describeOrganizationResourceCollectionHealth(DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest) 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:
- A Java Future containing the result of the DescribeOrganizationResourceCollectionHealth operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrganizationResourceCollectionHealth
default CompletableFuture<DescribeOrganizationResourceCollectionHealthResponse> describeOrganizationResourceCollectionHealth(Consumer<DescribeOrganizationResourceCollectionHealthRequest.Builder> describeOrganizationResourceCollectionHealthRequest) 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:
- A Java Future containing the result of the DescribeOrganizationResourceCollectionHealth operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrganizationResourceCollectionHealthPaginator
default DescribeOrganizationResourceCollectionHealthPublisher describeOrganizationResourceCollectionHealthPaginator(DescribeOrganizationResourceCollectionHealthRequest describeOrganizationResourceCollectionHealthRequest) This is a variant of
describeOrganizationResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthPublisher publisher = client.describeOrganizationResourceCollectionHealthPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthPublisher publisher = client.describeOrganizationResourceCollectionHealthPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrganizationResourceCollectionHealthPaginator
default DescribeOrganizationResourceCollectionHealthPublisher describeOrganizationResourceCollectionHealthPaginator(Consumer<DescribeOrganizationResourceCollectionHealthRequest.Builder> describeOrganizationResourceCollectionHealthRequest) This is a variant of
describeOrganizationResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthPublisher publisher = client.describeOrganizationResourceCollectionHealthPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.DescribeOrganizationResourceCollectionHealthPublisher publisher = client.describeOrganizationResourceCollectionHealthPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.DescribeOrganizationResourceCollectionHealthResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeResourceCollectionHealth
default CompletableFuture<DescribeResourceCollectionHealthResponse> describeResourceCollectionHealth(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. 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:
- A Java Future containing the result of the DescribeResourceCollectionHealth operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeResourceCollectionHealth
default CompletableFuture<DescribeResourceCollectionHealthResponse> describeResourceCollectionHealth(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. 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:
- A Java Future containing the result of the DescribeResourceCollectionHealth operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeResourceCollectionHealthPaginator
default DescribeResourceCollectionHealthPublisher describeResourceCollectionHealthPaginator(DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest) This is a variant of
describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthPublisher publisher = client.describeResourceCollectionHealthPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthPublisher publisher = client.describeResourceCollectionHealthPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeResourceCollectionHealthPaginator
default DescribeResourceCollectionHealthPublisher describeResourceCollectionHealthPaginator(Consumer<DescribeResourceCollectionHealthRequest.Builder> describeResourceCollectionHealthRequest) This is a variant of
describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthPublisher publisher = client.describeResourceCollectionHealthPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthPublisher publisher = client.describeResourceCollectionHealthPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeServiceIntegration
default CompletableFuture<DescribeServiceIntegrationResponse> describeServiceIntegration(DescribeServiceIntegrationRequest describeServiceIntegrationRequest) 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:
- A Java Future containing the result of the DescribeServiceIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeServiceIntegration
default CompletableFuture<DescribeServiceIntegrationResponse> describeServiceIntegration(Consumer<DescribeServiceIntegrationRequest.Builder> describeServiceIntegrationRequest) 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:
- A Java Future containing the result of the DescribeServiceIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCostEstimation
default CompletableFuture<GetCostEstimationResponse> getCostEstimation(GetCostEstimationRequest getCostEstimationRequest) 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:
- A Java Future containing the result of the GetCostEstimation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCostEstimation
default CompletableFuture<GetCostEstimationResponse> getCostEstimation(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest) 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:
- A Java Future containing the result of the GetCostEstimation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCostEstimationPaginator
default GetCostEstimationPublisher getCostEstimationPaginator(GetCostEstimationRequest getCostEstimationRequest) This is a variant of
getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationPublisher publisher = client.getCostEstimationPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationPublisher publisher = client.getCostEstimationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.GetCostEstimationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCostEstimationPaginator
default GetCostEstimationPublisher getCostEstimationPaginator(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest) This is a variant of
getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationPublisher publisher = client.getCostEstimationPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationPublisher publisher = client.getCostEstimationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.GetCostEstimationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceCollection
default CompletableFuture<GetResourceCollectionResponse> getResourceCollection(GetResourceCollectionRequest getResourceCollectionRequest) 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:
- A Java Future containing the result of the GetResourceCollection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceCollection
default CompletableFuture<GetResourceCollectionResponse> getResourceCollection(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest) 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:
- A Java Future containing the result of the GetResourceCollection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceCollectionPaginator
default GetResourceCollectionPublisher getResourceCollectionPaginator(GetResourceCollectionRequest getResourceCollectionRequest) This is a variant of
getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionPublisher publisher = client.getResourceCollectionPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionPublisher publisher = client.getResourceCollectionPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceCollectionPaginator
default GetResourceCollectionPublisher getResourceCollectionPaginator(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest) This is a variant of
getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionPublisher publisher = client.getResourceCollectionPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionPublisher publisher = client.getResourceCollectionPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAnomaliesForInsight
default CompletableFuture<ListAnomaliesForInsightResponse> listAnomaliesForInsight(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) Returns a list of the anomalies that belong to an insight that you specify using its ID.
- Parameters:
listAnomaliesForInsightRequest-- Returns:
- A Java Future containing the result of the ListAnomaliesForInsight operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAnomaliesForInsight
default CompletableFuture<ListAnomaliesForInsightResponse> listAnomaliesForInsight(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest) 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:
- A Java Future containing the result of the ListAnomaliesForInsight operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAnomaliesForInsightPaginator
default ListAnomaliesForInsightPublisher listAnomaliesForInsightPaginator(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) This is a variant of
listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightPublisher publisher = client.listAnomaliesForInsightPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightPublisher publisher = client.listAnomaliesForInsightPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAnomaliesForInsightPaginator
default ListAnomaliesForInsightPublisher listAnomaliesForInsightPaginator(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest) This is a variant of
listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightPublisher publisher = client.listAnomaliesForInsightPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightPublisher publisher = client.listAnomaliesForInsightPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAnomalousLogGroups
default CompletableFuture<ListAnomalousLogGroupsResponse> listAnomalousLogGroups(ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest) Returns the list of log groups that contain log anomalies.
- Parameters:
listAnomalousLogGroupsRequest-- Returns:
- A Java Future containing the result of the ListAnomalousLogGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAnomalousLogGroups
default CompletableFuture<ListAnomalousLogGroupsResponse> listAnomalousLogGroups(Consumer<ListAnomalousLogGroupsRequest.Builder> listAnomalousLogGroupsRequest) 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:
- A Java Future containing the result of the ListAnomalousLogGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAnomalousLogGroupsPaginator
default ListAnomalousLogGroupsPublisher listAnomalousLogGroupsPaginator(ListAnomalousLogGroupsRequest listAnomalousLogGroupsRequest) This is a variant of
listAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsPublisher publisher = client.listAnomalousLogGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsPublisher publisher = client.listAnomalousLogGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAnomalousLogGroupsPaginator
default ListAnomalousLogGroupsPublisher listAnomalousLogGroupsPaginator(Consumer<ListAnomalousLogGroupsRequest.Builder> listAnomalousLogGroupsRequest) This is a variant of
listAnomalousLogGroups(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsPublisher publisher = client.listAnomalousLogGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListAnomalousLogGroupsPublisher publisher = client.listAnomalousLogGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListAnomalousLogGroupsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvents
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:
- A Java Future containing the result of the ListEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvents
default CompletableFuture<ListEventsResponse> listEvents(Consumer<ListEventsRequest.Builder> listEventsRequest) 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:
- A Java Future containing the result of the ListEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEventsPaginator
This is a variant of
listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListEventsPublisher publisher = client.listEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListEventsPublisher publisher = client.listEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListEventsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEventsPaginator
default ListEventsPublisher listEventsPaginator(Consumer<ListEventsRequest.Builder> listEventsRequest) This is a variant of
listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListEventsPublisher publisher = client.listEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListEventsPublisher publisher = client.listEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListEventsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInsights
default CompletableFuture<ListInsightsResponse> listInsights(ListInsightsRequest listInsightsRequest) 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:
- A Java Future containing the result of the ListInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInsights
default CompletableFuture<ListInsightsResponse> listInsights(Consumer<ListInsightsRequest.Builder> listInsightsRequest) 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:
- A Java Future containing the result of the ListInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInsightsPaginator
This is a variant of
listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListInsightsPublisher publisher = client.listInsightsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListInsightsPublisher publisher = client.listInsightsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListInsightsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListInsightsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInsightsPaginator
default ListInsightsPublisher listInsightsPaginator(Consumer<ListInsightsRequest.Builder> listInsightsRequest) This is a variant of
listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListInsightsPublisher publisher = client.listInsightsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListInsightsPublisher publisher = client.listInsightsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListInsightsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListInsightsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitoredResources
default CompletableFuture<ListMonitoredResourcesResponse> listMonitoredResources(ListMonitoredResourcesRequest listMonitoredResourcesRequest) Returns the list of all log groups that are being monitored and tagged by DevOps Guru.
- Parameters:
listMonitoredResourcesRequest-- Returns:
- A Java Future containing the result of the ListMonitoredResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A requested resource could not be found
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitoredResources
default CompletableFuture<ListMonitoredResourcesResponse> listMonitoredResources(Consumer<ListMonitoredResourcesRequest.Builder> listMonitoredResourcesRequest) 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:
- A Java Future containing the result of the ListMonitoredResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A requested resource could not be found
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitoredResourcesPaginator
default ListMonitoredResourcesPublisher listMonitoredResourcesPaginator(ListMonitoredResourcesRequest listMonitoredResourcesRequest) This is a variant of
listMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesPublisher publisher = client.listMonitoredResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesPublisher publisher = client.listMonitoredResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A requested resource could not be found
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitoredResourcesPaginator
default ListMonitoredResourcesPublisher listMonitoredResourcesPaginator(Consumer<ListMonitoredResourcesRequest.Builder> listMonitoredResourcesRequest) This is a variant of
listMonitoredResources(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesPublisher publisher = client.listMonitoredResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListMonitoredResourcesPublisher publisher = client.listMonitoredResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListMonitoredResourcesResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException A requested resource could not be found
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationChannels
default CompletableFuture<ListNotificationChannelsResponse> listNotificationChannels(ListNotificationChannelsRequest listNotificationChannelsRequest) 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:
- A Java Future containing the result of the ListNotificationChannels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationChannels
default CompletableFuture<ListNotificationChannelsResponse> listNotificationChannels(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest) 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:
- A Java Future containing the result of the ListNotificationChannels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationChannelsPaginator
default ListNotificationChannelsPublisher listNotificationChannelsPaginator(ListNotificationChannelsRequest listNotificationChannelsRequest) This is a variant of
listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsPublisher publisher = client.listNotificationChannelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsPublisher publisher = client.listNotificationChannelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationChannelsPaginator
default ListNotificationChannelsPublisher listNotificationChannelsPaginator(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest) This is a variant of
listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsPublisher publisher = client.listNotificationChannelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsPublisher publisher = client.listNotificationChannelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOrganizationInsights
default CompletableFuture<ListOrganizationInsightsResponse> listOrganizationInsights(ListOrganizationInsightsRequest listOrganizationInsightsRequest) Returns a list of insights associated with the account or OU Id.
- Parameters:
listOrganizationInsightsRequest-- Returns:
- A Java Future containing the result of the ListOrganizationInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOrganizationInsights
default CompletableFuture<ListOrganizationInsightsResponse> listOrganizationInsights(Consumer<ListOrganizationInsightsRequest.Builder> listOrganizationInsightsRequest) 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:
- A Java Future containing the result of the ListOrganizationInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOrganizationInsightsPaginator
default ListOrganizationInsightsPublisher listOrganizationInsightsPaginator(ListOrganizationInsightsRequest listOrganizationInsightsRequest) This is a variant of
listOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsPublisher publisher = client.listOrganizationInsightsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsPublisher publisher = client.listOrganizationInsightsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOrganizationInsightsPaginator
default ListOrganizationInsightsPublisher listOrganizationInsightsPaginator(Consumer<ListOrganizationInsightsRequest.Builder> listOrganizationInsightsRequest) This is a variant of
listOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsPublisher publisher = client.listOrganizationInsightsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListOrganizationInsightsPublisher publisher = client.listOrganizationInsightsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListOrganizationInsightsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecommendations
default CompletableFuture<ListRecommendationsResponse> listRecommendations(ListRecommendationsRequest listRecommendationsRequest) 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:
- A Java Future containing the result of the ListRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecommendations
default CompletableFuture<ListRecommendationsResponse> listRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) 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:
- A Java Future containing the result of the ListRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecommendationsPaginator
default ListRecommendationsPublisher listRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest) This is a variant of
listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListRecommendationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecommendationsPaginator
default ListRecommendationsPublisher listRecommendationsPaginator(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) This is a variant of
listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.ListRecommendationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putFeedback
Collects customer feedback about the specified insight.
- Parameters:
putFeedbackRequest-- Returns:
- A Java Future containing the result of the PutFeedback operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putFeedback
default CompletableFuture<PutFeedbackResponse> putFeedback(Consumer<PutFeedbackRequest.Builder> putFeedbackRequest) 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:
- A Java Future containing the result of the PutFeedback operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeNotificationChannel
default CompletableFuture<RemoveNotificationChannelResponse> removeNotificationChannel(RemoveNotificationChannelRequest removeNotificationChannelRequest) 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:
- A Java Future containing the result of the RemoveNotificationChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeNotificationChannel
default CompletableFuture<RemoveNotificationChannelResponse> removeNotificationChannel(Consumer<RemoveNotificationChannelRequest.Builder> removeNotificationChannelRequest) 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:
- A Java Future containing the result of the RemoveNotificationChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchInsights
default CompletableFuture<SearchInsightsResponse> searchInsights(SearchInsightsRequest searchInsightsRequest) 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:
- A Java Future containing the result of the SearchInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchInsights
default CompletableFuture<SearchInsightsResponse> searchInsights(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest) 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:
- A Java Future containing the result of the SearchInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchInsightsPaginator
default SearchInsightsPublisher searchInsightsPaginator(SearchInsightsRequest searchInsightsRequest) This is a variant of
searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.SearchInsightsPublisher publisher = client.searchInsightsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsPublisher publisher = client.searchInsightsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.SearchInsightsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.SearchInsightsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchInsightsPaginator
default SearchInsightsPublisher searchInsightsPaginator(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest) This is a variant of
searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.SearchInsightsPublisher publisher = client.searchInsightsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsPublisher publisher = client.searchInsightsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.SearchInsightsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.SearchInsightsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchOrganizationInsights
default CompletableFuture<SearchOrganizationInsightsResponse> searchOrganizationInsights(SearchOrganizationInsightsRequest searchOrganizationInsightsRequest) 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:
- A Java Future containing the result of the SearchOrganizationInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchOrganizationInsights
default CompletableFuture<SearchOrganizationInsightsResponse> searchOrganizationInsights(Consumer<SearchOrganizationInsightsRequest.Builder> searchOrganizationInsightsRequest) 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:
- A Java Future containing the result of the SearchOrganizationInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchOrganizationInsightsPaginator
default SearchOrganizationInsightsPublisher searchOrganizationInsightsPaginator(SearchOrganizationInsightsRequest searchOrganizationInsightsRequest) This is a variant of
searchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsPublisher publisher = client.searchOrganizationInsightsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsPublisher publisher = client.searchOrganizationInsightsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchOrganizationInsightsPaginator
default SearchOrganizationInsightsPublisher searchOrganizationInsightsPaginator(Consumer<SearchOrganizationInsightsRequest.Builder> searchOrganizationInsightsRequest) This is a variant of
searchOrganizationInsights(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsPublisher publisher = client.searchOrganizationInsightsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsguru.paginators.SearchOrganizationInsightsPublisher publisher = client.searchOrganizationInsightsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsguru.model.SearchOrganizationInsightsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCostEstimation
default CompletableFuture<StartCostEstimationResponse> startCostEstimation(StartCostEstimationRequest startCostEstimationRequest) Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources.
- Parameters:
startCostEstimationRequest-- Returns:
- A Java Future containing the result of the StartCostEstimation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCostEstimation
default CompletableFuture<StartCostEstimationResponse> startCostEstimation(Consumer<StartCostEstimationRequest.Builder> startCostEstimationRequest) 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:
- A Java Future containing the result of the StartCostEstimation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ResourceNotFoundException A requested resource could not be found
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEventSourcesConfig
default CompletableFuture<UpdateEventSourcesConfigResponse> updateEventSourcesConfig(UpdateEventSourcesConfigRequest updateEventSourcesConfigRequest) 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:
- A Java Future containing the result of the UpdateEventSourcesConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEventSourcesConfig
default CompletableFuture<UpdateEventSourcesConfigResponse> updateEventSourcesConfig(Consumer<UpdateEventSourcesConfigRequest.Builder> updateEventSourcesConfigRequest) 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:
- A Java Future containing the result of the UpdateEventSourcesConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceCollection
default CompletableFuture<UpdateResourceCollectionResponse> updateResourceCollection(UpdateResourceCollectionRequest updateResourceCollectionRequest) 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:
- A Java Future containing the result of the UpdateResourceCollection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceCollection
default CompletableFuture<UpdateResourceCollectionResponse> updateResourceCollection(Consumer<UpdateResourceCollectionRequest.Builder> updateResourceCollectionRequest) 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:
- A Java Future containing the result of the UpdateResourceCollection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceIntegration
default CompletableFuture<UpdateServiceIntegrationResponse> updateServiceIntegration(UpdateServiceIntegrationRequest updateServiceIntegrationRequest) 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:
- A Java Future containing the result of the UpdateServiceIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceIntegration
default CompletableFuture<UpdateServiceIntegrationResponse> updateServiceIntegration(Consumer<UpdateServiceIntegrationRequest.Builder> updateServiceIntegrationRequest) 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:
- A Java Future containing the result of the UpdateServiceIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
- ConflictException An exception that is thrown when a conflict occurs.
- InternalServerException An internal failure in an Amazon service occurred.
- ThrottlingException The request was denied due to a request throttling.
- ValidationException Contains information about data passed in to a field during a request that is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DevOpsGuruException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aDevOpsGuruAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aDevOpsGuruAsyncClient.
-