@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface DevOpsGuruClient extends SdkClient
builder() method.
Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in business critical operational applications. You specify the AWS resources that you want DevOps Guru to cover, then the Amazon CloudWatch metrics and AWS 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 AWS 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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AddNotificationChannelResponse |
addNotificationChannel(AddNotificationChannelRequest addNotificationChannelRequest)
Adds a notification channel to DevOps Guru.
|
default AddNotificationChannelResponse |
addNotificationChannel(Consumer<AddNotificationChannelRequest.Builder> addNotificationChannelRequest)
Adds a notification channel to DevOps Guru.
|
static DevOpsGuruClientBuilder |
builder()
Create a builder that can be used to configure and create a
DevOpsGuruClient. |
static DevOpsGuruClient |
create()
Create a
DevOpsGuruClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default 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 AWS account.
|
default 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 AWS account.
|
default 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.
|
default 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.
|
default DescribeAnomalyResponse |
describeAnomaly(Consumer<DescribeAnomalyRequest.Builder> describeAnomalyRequest)
Returns details about an anomaly that you specify using its ID.
|
default DescribeAnomalyResponse |
describeAnomaly(DescribeAnomalyRequest describeAnomalyRequest)
Returns details about an anomaly that you specify using its ID.
|
default DescribeFeedbackResponse |
describeFeedback(Consumer<DescribeFeedbackRequest.Builder> describeFeedbackRequest)
Returns the most recent feedback submitted in the current AWS account and Region.
|
default DescribeFeedbackResponse |
describeFeedback(DescribeFeedbackRequest describeFeedbackRequest)
Returns the most recent feedback submitted in the current AWS account and Region.
|
default DescribeInsightResponse |
describeInsight(Consumer<DescribeInsightRequest.Builder> describeInsightRequest)
Returns details about an insight that you specify using its ID.
|
default DescribeInsightResponse |
describeInsight(DescribeInsightRequest describeInsightRequest)
Returns details about an insight that you specify using its ID.
|
default 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.
|
default 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.
|
default DescribeResourceCollectionHealthIterable |
describeResourceCollectionHealthPaginator(Consumer<DescribeResourceCollectionHealthRequest.Builder> describeResourceCollectionHealthRequest)
Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for
all closed insights in resource collections in your account.
|
default DescribeResourceCollectionHealthIterable |
describeResourceCollectionHealthPaginator(DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest)
Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for
all closed insights in resource collections in your account.
|
default DescribeServiceIntegrationResponse |
describeServiceIntegration(Consumer<DescribeServiceIntegrationRequest.Builder> describeServiceIntegrationRequest)
Returns the integration status of services that are integrated with DevOps Guru.
|
default DescribeServiceIntegrationResponse |
describeServiceIntegration(DescribeServiceIntegrationRequest describeServiceIntegrationRequest)
Returns the integration status of services that are integrated with DevOps Guru.
|
default GetCostEstimationResponse |
getCostEstimation(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest)
Returns an estimate of the monthly cost for DevOps Guru to analyze your AWS resources.
|
default GetCostEstimationResponse |
getCostEstimation(GetCostEstimationRequest getCostEstimationRequest)
Returns an estimate of the monthly cost for DevOps Guru to analyze your AWS resources.
|
default GetCostEstimationIterable |
getCostEstimationPaginator(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest)
Returns an estimate of the monthly cost for DevOps Guru to analyze your AWS resources.
|
default GetCostEstimationIterable |
getCostEstimationPaginator(GetCostEstimationRequest getCostEstimationRequest)
Returns an estimate of the monthly cost for DevOps Guru to analyze your AWS resources.
|
default GetResourceCollectionResponse |
getResourceCollection(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest)
Returns lists AWS resources that are of the specified resource collection type.
|
default GetResourceCollectionResponse |
getResourceCollection(GetResourceCollectionRequest getResourceCollectionRequest)
Returns lists AWS resources that are of the specified resource collection type.
|
default GetResourceCollectionIterable |
getResourceCollectionPaginator(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest)
Returns lists AWS resources that are of the specified resource collection type.
|
default GetResourceCollectionIterable |
getResourceCollectionPaginator(GetResourceCollectionRequest getResourceCollectionRequest)
Returns lists AWS resources that are of the specified resource collection type.
|
default ListAnomaliesForInsightResponse |
listAnomaliesForInsight(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest)
Returns a list of the anomalies that belong to an insight that you specify using its ID.
|
default ListAnomaliesForInsightResponse |
listAnomaliesForInsight(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest)
Returns a list of the anomalies that belong to an insight that you specify using its ID.
|
default ListAnomaliesForInsightIterable |
listAnomaliesForInsightPaginator(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest)
Returns a list of the anomalies that belong to an insight that you specify using its ID.
|
default ListAnomaliesForInsightIterable |
listAnomaliesForInsightPaginator(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest)
Returns a list of the anomalies that belong to an insight that you specify using its ID.
|
default ListEventsResponse |
listEvents(Consumer<ListEventsRequest.Builder> listEventsRequest)
Returns a list of the events emitted by the resources that are evaluated by DevOps Guru.
|
default ListEventsResponse |
listEvents(ListEventsRequest listEventsRequest)
Returns a list of the events emitted by the resources that are evaluated by DevOps Guru.
|
default ListEventsIterable |
listEventsPaginator(Consumer<ListEventsRequest.Builder> listEventsRequest)
Returns a list of the events emitted by the resources that are evaluated by DevOps Guru.
|
default ListEventsIterable |
listEventsPaginator(ListEventsRequest listEventsRequest)
Returns a list of the events emitted by the resources that are evaluated by DevOps Guru.
|
default ListInsightsResponse |
listInsights(Consumer<ListInsightsRequest.Builder> listInsightsRequest)
Returns a list of insights in your AWS account.
|
default ListInsightsResponse |
listInsights(ListInsightsRequest listInsightsRequest)
Returns a list of insights in your AWS account.
|
default ListInsightsIterable |
listInsightsPaginator(Consumer<ListInsightsRequest.Builder> listInsightsRequest)
Returns a list of insights in your AWS account.
|
default ListInsightsIterable |
listInsightsPaginator(ListInsightsRequest listInsightsRequest)
Returns a list of insights in your AWS account.
|
default ListNotificationChannelsResponse |
listNotificationChannels(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest)
Returns a list of notification channels configured for DevOps Guru.
|
default ListNotificationChannelsResponse |
listNotificationChannels(ListNotificationChannelsRequest listNotificationChannelsRequest)
Returns a list of notification channels configured for DevOps Guru.
|
default ListNotificationChannelsIterable |
listNotificationChannelsPaginator(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest)
Returns a list of notification channels configured for DevOps Guru.
|
default ListNotificationChannelsIterable |
listNotificationChannelsPaginator(ListNotificationChannelsRequest listNotificationChannelsRequest)
Returns a list of notification channels configured for DevOps Guru.
|
default ListRecommendationsResponse |
listRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest)
Returns a list of a specified insight's recommendations.
|
default ListRecommendationsResponse |
listRecommendations(ListRecommendationsRequest listRecommendationsRequest)
Returns a list of a specified insight's recommendations.
|
default ListRecommendationsIterable |
listRecommendationsPaginator(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest)
Returns a list of a specified insight's recommendations.
|
default ListRecommendationsIterable |
listRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest)
Returns a list of a specified insight's recommendations.
|
default PutFeedbackResponse |
putFeedback(Consumer<PutFeedbackRequest.Builder> putFeedbackRequest)
Collects customer feedback about the specified insight.
|
default PutFeedbackResponse |
putFeedback(PutFeedbackRequest putFeedbackRequest)
Collects customer feedback about the specified insight.
|
default RemoveNotificationChannelResponse |
removeNotificationChannel(Consumer<RemoveNotificationChannelRequest.Builder> removeNotificationChannelRequest)
Removes a notification channel from DevOps Guru.
|
default RemoveNotificationChannelResponse |
removeNotificationChannel(RemoveNotificationChannelRequest removeNotificationChannelRequest)
Removes a notification channel from DevOps Guru.
|
default SearchInsightsResponse |
searchInsights(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest)
Returns a list of insights in your AWS account.
|
default SearchInsightsResponse |
searchInsights(SearchInsightsRequest searchInsightsRequest)
Returns a list of insights in your AWS account.
|
default SearchInsightsIterable |
searchInsightsPaginator(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest)
Returns a list of insights in your AWS account.
|
default SearchInsightsIterable |
searchInsightsPaginator(SearchInsightsRequest searchInsightsRequest)
Returns a list of insights in your AWS account.
|
static ServiceMetadata |
serviceMetadata() |
default StartCostEstimationResponse |
startCostEstimation(Consumer<StartCostEstimationRequest.Builder> startCostEstimationRequest)
Starts the creation of an estimate of the monthly cost to analyze your AWS resources.
|
default StartCostEstimationResponse |
startCostEstimation(StartCostEstimationRequest startCostEstimationRequest)
Starts the creation of an estimate of the monthly cost to analyze your AWS resources.
|
default UpdateResourceCollectionResponse |
updateResourceCollection(Consumer<UpdateResourceCollectionRequest.Builder> updateResourceCollectionRequest)
Updates the collection of resources that DevOps Guru analyzes.
|
default UpdateResourceCollectionResponse |
updateResourceCollection(UpdateResourceCollectionRequest updateResourceCollectionRequest)
Updates the collection of resources that DevOps Guru analyzes.
|
default UpdateServiceIntegrationResponse |
updateServiceIntegration(Consumer<UpdateServiceIntegrationRequest.Builder> updateServiceIntegrationRequest)
Enables or disables integration with a service that can be integrated with DevOps Guru.
|
default UpdateServiceIntegrationResponse |
updateServiceIntegration(UpdateServiceIntegrationRequest updateServiceIntegrationRequest)
Enables or disables integration with a service that can be integrated with DevOps Guru.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static DevOpsGuruClient create()
DevOpsGuruClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static DevOpsGuruClientBuilder builder()
DevOpsGuruClient.default AddNotificationChannelResponse addNotificationChannel(AddNotificationChannelRequest addNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Adds a notification channel to DevOps Guru. A notification channel is used to notify you about important DevOps Guru events, such as when an insight is generated.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics.
addNotificationChannelRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.ConflictException - An exception that is thrown when a conflict occurs.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundServiceQuotaExceededException - The request contains a value that exceeds a maximum quota.ThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AddNotificationChannelResponse addNotificationChannel(Consumer<AddNotificationChannelRequest.Builder> addNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Adds a notification channel to DevOps Guru. A notification channel is used to notify you about important DevOps Guru events, such as when an insight is generated.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics.
This is a convenience which creates an instance of the AddNotificationChannelRequest.Builder avoiding the
need to create one manually via AddNotificationChannelRequest.builder()
addNotificationChannelRequest - A Consumer that will call methods on AddNotificationChannelRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.ConflictException - An exception that is thrown when a conflict occurs.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundServiceQuotaExceededException - The request contains a value that exceeds a maximum quota.ThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAccountHealthResponse describeAccountHealth(DescribeAccountHealthRequest describeAccountHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the number of open reactive insights, the number of open proactive insights, and the number of metrics analyzed in your AWS account. Use these numbers to gauge the health of operations in your AWS account.
describeAccountHealthRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault DescribeAccountHealthResponse describeAccountHealth(Consumer<DescribeAccountHealthRequest.Builder> describeAccountHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the number of open reactive insights, the number of open proactive insights, and the number of metrics analyzed in your AWS account. Use these numbers to gauge the health of operations in your AWS account.
This is a convenience which creates an instance of the DescribeAccountHealthRequest.Builder avoiding the
need to create one manually via DescribeAccountHealthRequest.builder()
describeAccountHealthRequest - A Consumer that will call methods on DescribeAccountHealthRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault DescribeAccountOverviewResponse describeAccountOverview(DescribeAccountOverviewRequest describeAccountOverviewRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
For the time range passed in, returns the number of open reactive insight that were created, the number of open proactive insights that were created, and the Mean Time to Recover (MTTR) for all closed reactive insights.
describeAccountOverviewRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault DescribeAccountOverviewResponse describeAccountOverview(Consumer<DescribeAccountOverviewRequest.Builder> describeAccountOverviewRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
For the time range passed in, returns the number of open reactive insight that were created, the number of open proactive insights that were created, and the Mean Time to Recover (MTTR) for all closed reactive insights.
This is a convenience which creates an instance of the DescribeAccountOverviewRequest.Builder avoiding
the need to create one manually via DescribeAccountOverviewRequest.builder()
describeAccountOverviewRequest - A Consumer that will call methods on DescribeAccountOverviewRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault DescribeAnomalyResponse describeAnomaly(DescribeAnomalyRequest describeAnomalyRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns details about an anomaly that you specify using its ID.
describeAnomalyRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAnomalyResponse describeAnomaly(Consumer<DescribeAnomalyRequest.Builder> describeAnomalyRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns details about an anomaly that you specify using its ID.
This is a convenience which creates an instance of the DescribeAnomalyRequest.Builder avoiding the need
to create one manually via DescribeAnomalyRequest.builder()
describeAnomalyRequest - A Consumer that will call methods on DescribeAnomalyRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeFeedbackResponse describeFeedback(DescribeFeedbackRequest describeFeedbackRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the most recent feedback submitted in the current AWS account and Region.
describeFeedbackRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeFeedbackResponse describeFeedback(Consumer<DescribeFeedbackRequest.Builder> describeFeedbackRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the most recent feedback submitted in the current AWS account and Region.
This is a convenience which creates an instance of the DescribeFeedbackRequest.Builder avoiding the need
to create one manually via DescribeFeedbackRequest.builder()
describeFeedbackRequest - A Consumer that will call methods on DescribeFeedbackRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeInsightResponse describeInsight(DescribeInsightRequest describeInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns details about an insight that you specify using its ID.
describeInsightRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeInsightResponse describeInsight(Consumer<DescribeInsightRequest.Builder> describeInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns details about an insight that you specify using its ID.
This is a convenience which creates an instance of the DescribeInsightRequest.Builder avoiding the need
to create one manually via DescribeInsightRequest.builder()
describeInsightRequest - A Consumer that will call methods on DescribeInsightRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeResourceCollectionHealthResponse describeResourceCollectionHealth(DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for all closed insights in resource collections in your account. You specify the type of AWS resources collection. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
describeResourceCollectionHealthRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault DescribeResourceCollectionHealthResponse describeResourceCollectionHealth(Consumer<DescribeResourceCollectionHealthRequest.Builder> describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for all closed insights in resource collections in your account. You specify the type of AWS resources collection. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
This is a convenience which creates an instance of the DescribeResourceCollectionHealthRequest.Builder
avoiding the need to create one manually via DescribeResourceCollectionHealthRequest.builder()
describeResourceCollectionHealthRequest - A Consumer that will call methods on DescribeResourceCollectionHealthRequest.Builder to
create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault DescribeResourceCollectionHealthIterable describeResourceCollectionHealthPaginator(DescribeResourceCollectionHealthRequest describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for all closed insights in resource collections in your account. You specify the type of AWS resources collection. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
This is a variant of
describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client.describeResourceCollectionHealthPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client
.describeResourceCollectionHealthPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client.describeResourceCollectionHealthPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)
operation.
describeResourceCollectionHealthRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault DescribeResourceCollectionHealthIterable describeResourceCollectionHealthPaginator(Consumer<DescribeResourceCollectionHealthRequest.Builder> describeResourceCollectionHealthRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for all closed insights in resource collections in your account. You specify the type of AWS resources collection. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
This is a variant of
describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client.describeResourceCollectionHealthPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client
.describeResourceCollectionHealthPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.DescribeResourceCollectionHealthIterable responses = client.describeResourceCollectionHealthPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeResourceCollectionHealth(software.amazon.awssdk.services.devopsguru.model.DescribeResourceCollectionHealthRequest)
operation.
This is a convenience which creates an instance of the DescribeResourceCollectionHealthRequest.Builder
avoiding the need to create one manually via DescribeResourceCollectionHealthRequest.builder()
describeResourceCollectionHealthRequest - A Consumer that will call methods on DescribeResourceCollectionHealthRequest.Builder to
create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault DescribeServiceIntegrationResponse describeServiceIntegration(DescribeServiceIntegrationRequest describeServiceIntegrationRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the integration status of services that are integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is AWS Systems Manager, which can be used to create an OpsItem for each generated insight.
describeServiceIntegrationRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault DescribeServiceIntegrationResponse describeServiceIntegration(Consumer<DescribeServiceIntegrationRequest.Builder> describeServiceIntegrationRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns the integration status of services that are integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is AWS 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.Builder avoiding
the need to create one manually via DescribeServiceIntegrationRequest.builder()
describeServiceIntegrationRequest - A Consumer that will call methods on DescribeServiceIntegrationRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault GetCostEstimationResponse getCostEstimation(GetCostEstimationRequest getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns an estimate of the monthly cost for DevOps Guru to analyze your AWS resources. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
getCostEstimationRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCostEstimationResponse getCostEstimation(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns an estimate of the monthly cost for DevOps Guru to analyze your AWS 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.Builder avoiding the need
to create one manually via GetCostEstimationRequest.builder()
getCostEstimationRequest - A Consumer that will call methods on GetCostEstimationRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCostEstimationIterable getCostEstimationPaginator(GetCostEstimationRequest getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns an estimate of the monthly cost for DevOps Guru to analyze your AWS resources. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
This is a variant of
getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client.getCostEstimationPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client
.getCostEstimationPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.GetCostEstimationResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client.getCostEstimationPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)
operation.
getCostEstimationRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCostEstimationIterable getCostEstimationPaginator(Consumer<GetCostEstimationRequest.Builder> getCostEstimationRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns an estimate of the monthly cost for DevOps Guru to analyze your AWS resources. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
This is a variant of
getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client.getCostEstimationPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client
.getCostEstimationPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.GetCostEstimationResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.GetCostEstimationIterable responses = client.getCostEstimationPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCostEstimation(software.amazon.awssdk.services.devopsguru.model.GetCostEstimationRequest)
operation.
This is a convenience which creates an instance of the GetCostEstimationRequest.Builder avoiding the need
to create one manually via GetCostEstimationRequest.builder()
getCostEstimationRequest - A Consumer that will call methods on GetCostEstimationRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourceCollectionResponse getResourceCollection(GetResourceCollectionRequest getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns lists AWS resources that are of the specified resource collection type. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
getResourceCollectionRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourceCollectionResponse getResourceCollection(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns lists AWS resources that are of the specified resource collection type. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
This is a convenience which creates an instance of the GetResourceCollectionRequest.Builder avoiding the
need to create one manually via GetResourceCollectionRequest.builder()
getResourceCollectionRequest - A Consumer that will call methods on GetResourceCollectionRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourceCollectionIterable getResourceCollectionPaginator(GetResourceCollectionRequest getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns lists AWS resources that are of the specified resource collection type. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
This is a variant of
getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client.getResourceCollectionPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client
.getResourceCollectionPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client.getResourceCollectionPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)
operation.
getResourceCollectionRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourceCollectionIterable getResourceCollectionPaginator(Consumer<GetResourceCollectionRequest.Builder> getResourceCollectionRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns lists AWS resources that are of the specified resource collection type. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
This is a variant of
getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client.getResourceCollectionPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client
.getResourceCollectionPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.GetResourceCollectionIterable responses = client.getResourceCollectionPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getResourceCollection(software.amazon.awssdk.services.devopsguru.model.GetResourceCollectionRequest)
operation.
This is a convenience which creates an instance of the GetResourceCollectionRequest.Builder avoiding the
need to create one manually via GetResourceCollectionRequest.builder()
getResourceCollectionRequest - A Consumer that will call methods on GetResourceCollectionRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomaliesForInsightResponse listAnomaliesForInsight(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of the anomalies that belong to an insight that you specify using its ID.
listAnomaliesForInsightRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomaliesForInsightResponse listAnomaliesForInsight(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of the anomalies that belong to an insight that you specify using its ID.
This is a convenience which creates an instance of the ListAnomaliesForInsightRequest.Builder avoiding
the need to create one manually via ListAnomaliesForInsightRequest.builder()
listAnomaliesForInsightRequest - A Consumer that will call methods on ListAnomaliesForInsightRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomaliesForInsightIterable listAnomaliesForInsightPaginator(ListAnomaliesForInsightRequest listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of the anomalies that belong to an insight that you specify using its ID.
This is a variant of
listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client.listAnomaliesForInsightPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client
.listAnomaliesForInsightPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client.listAnomaliesForInsightPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)
operation.
listAnomaliesForInsightRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomaliesForInsightIterable listAnomaliesForInsightPaginator(Consumer<ListAnomaliesForInsightRequest.Builder> listAnomaliesForInsightRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of the anomalies that belong to an insight that you specify using its ID.
This is a variant of
listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client.listAnomaliesForInsightPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client
.listAnomaliesForInsightPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.ListAnomaliesForInsightIterable responses = client.listAnomaliesForInsightPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAnomaliesForInsight(software.amazon.awssdk.services.devopsguru.model.ListAnomaliesForInsightRequest)
operation.
This is a convenience which creates an instance of the ListAnomaliesForInsightRequest.Builder avoiding
the need to create one manually via ListAnomaliesForInsightRequest.builder()
listAnomaliesForInsightRequest - A Consumer that will call methods on ListAnomaliesForInsightRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEventsResponse listEvents(ListEventsRequest listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to specify which events are returned.
listEventsRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEventsResponse listEvents(Consumer<ListEventsRequest.Builder> listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to specify which events are returned.
This is a convenience which creates an instance of the ListEventsRequest.Builder avoiding the need to
create one manually via ListEventsRequest.builder()
listEventsRequest - A Consumer that will call methods on ListEventsRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEventsIterable listEventsPaginator(ListEventsRequest listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to specify which events are returned.
This is a variant of listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.ListEventsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest) operation.
listEventsRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEventsIterable listEventsPaginator(Consumer<ListEventsRequest.Builder> listEventsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to specify which events are returned.
This is a variant of listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.ListEventsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.ListEventsIterable responses = client.listEventsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvents(software.amazon.awssdk.services.devopsguru.model.ListEventsRequest) operation.
This is a convenience which creates an instance of the ListEventsRequest.Builder avoiding the need to
create one manually via ListEventsRequest.builder()
listEventsRequest - A Consumer that will call methods on ListEventsRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInsightsResponse listInsights(ListInsightsRequest listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights in your AWS account. You can specify which insights are returned by their start time
and status (ONGOING, CLOSED, or ANY).
listInsightsRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault ListInsightsResponse listInsights(Consumer<ListInsightsRequest.Builder> listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights in your AWS account. You can specify which insights are returned by their start time
and status (ONGOING, CLOSED, or ANY).
This is a convenience which creates an instance of the ListInsightsRequest.Builder avoiding the need to
create one manually via ListInsightsRequest.builder()
listInsightsRequest - A Consumer that will call methods on ListInsightsRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault ListInsightsIterable listInsightsPaginator(ListInsightsRequest listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights in your AWS account. You can specify which insights are returned by their start time
and status (ONGOING, CLOSED, or ANY).
This is a variant of listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.ListInsightsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest) operation.
listInsightsRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault ListInsightsIterable listInsightsPaginator(Consumer<ListInsightsRequest.Builder> listInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights in your AWS account. You can specify which insights are returned by their start time
and status (ONGOING, CLOSED, or ANY).
This is a variant of listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.ListInsightsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.ListInsightsIterable responses = client.listInsightsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInsights(software.amazon.awssdk.services.devopsguru.model.ListInsightsRequest) operation.
This is a convenience which creates an instance of the ListInsightsRequest.Builder avoiding the need to
create one manually via ListInsightsRequest.builder()
listInsightsRequest - A Consumer that will call methods on ListInsightsRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault ListNotificationChannelsResponse listNotificationChannels(ListNotificationChannelsRequest listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of notification channels configured for DevOps Guru. Each notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
listNotificationChannelsRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault ListNotificationChannelsResponse listNotificationChannels(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of notification channels configured for DevOps Guru. Each notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
This is a convenience which creates an instance of the ListNotificationChannelsRequest.Builder avoiding
the need to create one manually via ListNotificationChannelsRequest.builder()
listNotificationChannelsRequest - A Consumer that will call methods on ListNotificationChannelsRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault ListNotificationChannelsIterable listNotificationChannelsPaginator(ListNotificationChannelsRequest listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of notification channels configured for DevOps Guru. Each notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
This is a variant of
listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client.listNotificationChannelsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client
.listNotificationChannelsPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client.listNotificationChannelsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)
operation.
listNotificationChannelsRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault ListNotificationChannelsIterable listNotificationChannelsPaginator(Consumer<ListNotificationChannelsRequest.Builder> listNotificationChannelsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of notification channels configured for DevOps Guru. Each notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
This is a variant of
listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client.listNotificationChannelsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client
.listNotificationChannelsPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.ListNotificationChannelsIterable responses = client.listNotificationChannelsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotificationChannels(software.amazon.awssdk.services.devopsguru.model.ListNotificationChannelsRequest)
operation.
This is a convenience which creates an instance of the ListNotificationChannelsRequest.Builder avoiding
the need to create one manually via ListNotificationChannelsRequest.builder()
listNotificationChannelsRequest - A Consumer that will call methods on ListNotificationChannelsRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault ListRecommendationsResponse listRecommendations(ListRecommendationsRequest listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics and a list of related events.
listRecommendationsRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRecommendationsResponse listRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics and a list of related events.
This is a convenience which creates an instance of the ListRecommendationsRequest.Builder avoiding the
need to create one manually via ListRecommendationsRequest.builder()
listRecommendationsRequest - A Consumer that will call methods on ListRecommendationsRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRecommendationsIterable listRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics and a list of related events.
This is a variant of
listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client
.listRecommendationsPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.ListRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)
operation.
listRecommendationsRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRecommendationsIterable listRecommendationsPaginator(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics and a list of related events.
This is a variant of
listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client
.listRecommendationsPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.ListRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecommendations(software.amazon.awssdk.services.devopsguru.model.ListRecommendationsRequest)
operation.
This is a convenience which creates an instance of the ListRecommendationsRequest.Builder avoiding the
need to create one manually via ListRecommendationsRequest.builder()
listRecommendationsRequest - A Consumer that will call methods on ListRecommendationsRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutFeedbackResponse putFeedback(PutFeedbackRequest putFeedbackRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Collects customer feedback about the specified insight.
putFeedbackRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.ConflictException - An exception that is thrown when a conflict occurs.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutFeedbackResponse putFeedback(Consumer<PutFeedbackRequest.Builder> putFeedbackRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Collects customer feedback about the specified insight.
This is a convenience which creates an instance of the PutFeedbackRequest.Builder avoiding the need to
create one manually via PutFeedbackRequest.builder()
putFeedbackRequest - A Consumer that will call methods on PutFeedbackRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.ConflictException - An exception that is thrown when a conflict occurs.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RemoveNotificationChannelResponse removeNotificationChannel(RemoveNotificationChannelRequest removeNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Removes a notification channel from DevOps Guru. A notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations.
removeNotificationChannelRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.ConflictException - An exception that is thrown when a conflict occurs.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RemoveNotificationChannelResponse removeNotificationChannel(Consumer<RemoveNotificationChannelRequest.Builder> removeNotificationChannelRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Removes a notification channel from DevOps Guru. A notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations.
This is a convenience which creates an instance of the RemoveNotificationChannelRequest.Builder avoiding
the need to create one manually via RemoveNotificationChannelRequest.builder()
removeNotificationChannelRequest - A Consumer that will call methods on RemoveNotificationChannelRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.ConflictException - An exception that is thrown when a conflict occurs.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchInsightsResponse searchInsights(SearchInsightsRequest searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights in your AWS account. You can specify which insights are returned by their start time,
one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities
(LOW, MEDIUM, and HIGH), and type (REACTIVE or
PROACTIVE).
Use the Filters parameter to specify status and severity search parameters. Use the
Type parameter to specify REACTIVE or PROACTIVE in your search.
searchInsightsRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault SearchInsightsResponse searchInsights(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights in your AWS account. You can specify which insights are returned by their start time,
one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities
(LOW, MEDIUM, and HIGH), and type (REACTIVE or
PROACTIVE).
Use the Filters parameter to specify status and severity search parameters. Use the
Type parameter to specify REACTIVE or PROACTIVE in your search.
This is a convenience which creates an instance of the SearchInsightsRequest.Builder avoiding the need to
create one manually via SearchInsightsRequest.builder()
searchInsightsRequest - A Consumer that will call methods on SearchInsightsRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault SearchInsightsIterable searchInsightsPaginator(SearchInsightsRequest searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights in your AWS account. You can specify which insights are returned by their start time,
one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities
(LOW, MEDIUM, and HIGH), and type (REACTIVE or
PROACTIVE).
Use the Filters parameter to specify status and severity search parameters. Use the
Type parameter to specify REACTIVE or PROACTIVE in your search.
This is a variant of
searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client.searchInsightsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client
.searchInsightsPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.SearchInsightsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client.searchInsightsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest) operation.
searchInsightsRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault SearchInsightsIterable searchInsightsPaginator(Consumer<SearchInsightsRequest.Builder> searchInsightsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Returns a list of insights in your AWS account. You can specify which insights are returned by their start time,
one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities
(LOW, MEDIUM, and HIGH), and type (REACTIVE or
PROACTIVE).
Use the Filters parameter to specify status and severity search parameters. Use the
Type parameter to specify REACTIVE or PROACTIVE in your search.
This is a variant of
searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client.searchInsightsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client
.searchInsightsPaginator(request);
for (software.amazon.awssdk.services.devopsguru.model.SearchInsightsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.devopsguru.paginators.SearchInsightsIterable responses = client.searchInsightsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchInsights(software.amazon.awssdk.services.devopsguru.model.SearchInsightsRequest) operation.
This is a convenience which creates an instance of the SearchInsightsRequest.Builder avoiding the need to
create one manually via SearchInsightsRequest.builder()
searchInsightsRequest - A Consumer that will call methods on SearchInsightsRequest.Builder to create a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault StartCostEstimationResponse startCostEstimation(StartCostEstimationRequest startCostEstimationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Starts the creation of an estimate of the monthly cost to analyze your AWS resources.
startCostEstimationRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.ConflictException - An exception that is thrown when a conflict occurs.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartCostEstimationResponse startCostEstimation(Consumer<StartCostEstimationRequest.Builder> startCostEstimationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Starts the creation of an estimate of the monthly cost to analyze your AWS resources.
This is a convenience which creates an instance of the StartCostEstimationRequest.Builder avoiding the
need to create one manually via StartCostEstimationRequest.builder()
startCostEstimationRequest - A Consumer that will call methods on StartCostEstimationRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access
Management in the IAM User Guide.ConflictException - An exception that is thrown when a conflict occurs.InternalServerException - An internal failure in an Amazon service occurred.ResourceNotFoundException - A requested resource could not be foundThrottlingException - The request was denied due to a request throttling.ValidationException - Contains information about data passed in to a field during a request that is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.DevOpsGuruException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResourceCollectionResponse updateResourceCollection(UpdateResourceCollectionRequest updateResourceCollectionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Updates the collection of resources that DevOps Guru analyzes. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks. This method also creates the IAM role required for you to use DevOps Guru.
updateResourceCollectionRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault UpdateResourceCollectionResponse updateResourceCollection(Consumer<UpdateResourceCollectionRequest.Builder> updateResourceCollectionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Updates the collection of resources that DevOps Guru analyzes. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS 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.Builder avoiding
the need to create one manually via UpdateResourceCollectionRequest.builder()
updateResourceCollectionRequest - A Consumer that will call methods on UpdateResourceCollectionRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault UpdateServiceIntegrationResponse updateServiceIntegration(UpdateServiceIntegrationRequest updateServiceIntegrationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is AWS Systems Manager, which can be used to create an OpsItem for each generated insight.
updateServiceIntegrationRequest - AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptiondefault UpdateServiceIntegrationResponse updateServiceIntegration(Consumer<UpdateServiceIntegrationRequest.Builder> updateServiceIntegrationRequest) throws AccessDeniedException, ConflictException, InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, DevOpsGuruException
Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is AWS 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.Builder avoiding
the need to create one manually via UpdateServiceIntegrationRequest.builder()
updateServiceIntegrationRequest - A Consumer that will call methods on UpdateServiceIntegrationRequest.Builder to create a
request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must 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.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2021. All rights reserved.