UNPKG

aws-sdk

Version:
730 lines 133 kB
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class DevOpsGuru extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: DevOpsGuru.Types.ClientConfiguration) config: Config & DevOpsGuru.Types.ClientConfiguration; /** * Adds a notification channel to DevOps Guru. A notification channel is used to notify you about important DevOps Guru events, such as when an insight is generated. If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for Amazon SNS topics. If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics. */ addNotificationChannel(params: DevOpsGuru.Types.AddNotificationChannelRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.AddNotificationChannelResponse) => void): Request<DevOpsGuru.Types.AddNotificationChannelResponse, AWSError>; /** * Adds a notification channel to DevOps Guru. A notification channel is used to notify you about important DevOps Guru events, such as when an insight is generated. If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for Amazon SNS topics. If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics. */ addNotificationChannel(callback?: (err: AWSError, data: DevOpsGuru.Types.AddNotificationChannelResponse) => void): Request<DevOpsGuru.Types.AddNotificationChannelResponse, AWSError>; /** * Deletes the insight along with the associated anomalies, events and recommendations. */ deleteInsight(params: DevOpsGuru.Types.DeleteInsightRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DeleteInsightResponse) => void): Request<DevOpsGuru.Types.DeleteInsightResponse, AWSError>; /** * Deletes the insight along with the associated anomalies, events and recommendations. */ deleteInsight(callback?: (err: AWSError, data: DevOpsGuru.Types.DeleteInsightResponse) => void): Request<DevOpsGuru.Types.DeleteInsightResponse, AWSError>; /** * Returns the number of open reactive insights, the number of open proactive insights, and the number of metrics analyzed in your Amazon Web Services account. Use these numbers to gauge the health of operations in your Amazon Web Services account. */ describeAccountHealth(params: DevOpsGuru.Types.DescribeAccountHealthRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeAccountHealthResponse) => void): Request<DevOpsGuru.Types.DescribeAccountHealthResponse, AWSError>; /** * Returns the number of open reactive insights, the number of open proactive insights, and the number of metrics analyzed in your Amazon Web Services account. Use these numbers to gauge the health of operations in your Amazon Web Services account. */ describeAccountHealth(callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeAccountHealthResponse) => void): Request<DevOpsGuru.Types.DescribeAccountHealthResponse, AWSError>; /** * For the time range passed in, returns the number of open reactive insight that were created, the number of open proactive insights that were created, and the Mean Time to Recover (MTTR) for all closed reactive insights. */ describeAccountOverview(params: DevOpsGuru.Types.DescribeAccountOverviewRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeAccountOverviewResponse) => void): Request<DevOpsGuru.Types.DescribeAccountOverviewResponse, AWSError>; /** * For the time range passed in, returns the number of open reactive insight that were created, the number of open proactive insights that were created, and the Mean Time to Recover (MTTR) for all closed reactive insights. */ describeAccountOverview(callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeAccountOverviewResponse) => void): Request<DevOpsGuru.Types.DescribeAccountOverviewResponse, AWSError>; /** * Returns details about an anomaly that you specify using its ID. */ describeAnomaly(params: DevOpsGuru.Types.DescribeAnomalyRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeAnomalyResponse) => void): Request<DevOpsGuru.Types.DescribeAnomalyResponse, AWSError>; /** * Returns details about an anomaly that you specify using its ID. */ describeAnomaly(callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeAnomalyResponse) => void): Request<DevOpsGuru.Types.DescribeAnomalyResponse, AWSError>; /** * Returns the integration status of services that are integrated with DevOps Guru as Consumer via EventBridge. The one service that can be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive recommendations which can be stored and viewed in DevOps Guru. */ describeEventSourcesConfig(params: DevOpsGuru.Types.DescribeEventSourcesConfigRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeEventSourcesConfigResponse) => void): Request<DevOpsGuru.Types.DescribeEventSourcesConfigResponse, AWSError>; /** * Returns the integration status of services that are integrated with DevOps Guru as Consumer via EventBridge. The one service that can be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive recommendations which can be stored and viewed in DevOps Guru. */ describeEventSourcesConfig(callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeEventSourcesConfigResponse) => void): Request<DevOpsGuru.Types.DescribeEventSourcesConfigResponse, AWSError>; /** * Returns the most recent feedback submitted in the current Amazon Web Services account and Region. */ describeFeedback(params: DevOpsGuru.Types.DescribeFeedbackRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeFeedbackResponse) => void): Request<DevOpsGuru.Types.DescribeFeedbackResponse, AWSError>; /** * Returns the most recent feedback submitted in the current Amazon Web Services account and Region. */ describeFeedback(callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeFeedbackResponse) => void): Request<DevOpsGuru.Types.DescribeFeedbackResponse, AWSError>; /** * Returns details about an insight that you specify using its ID. */ describeInsight(params: DevOpsGuru.Types.DescribeInsightRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeInsightResponse) => void): Request<DevOpsGuru.Types.DescribeInsightResponse, AWSError>; /** * Returns details about an insight that you specify using its ID. */ describeInsight(callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeInsightResponse) => void): Request<DevOpsGuru.Types.DescribeInsightResponse, AWSError>; /** * Returns active insights, predictive insights, and resource hours analyzed in last hour. */ describeOrganizationHealth(params: DevOpsGuru.Types.DescribeOrganizationHealthRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeOrganizationHealthResponse) => void): Request<DevOpsGuru.Types.DescribeOrganizationHealthResponse, AWSError>; /** * Returns active insights, predictive insights, and resource hours analyzed in last hour. */ describeOrganizationHealth(callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeOrganizationHealthResponse) => void): Request<DevOpsGuru.Types.DescribeOrganizationHealthResponse, AWSError>; /** * Returns an overview of your organization's history based on the specified time range. The overview includes the total reactive and proactive insights. */ describeOrganizationOverview(params: DevOpsGuru.Types.DescribeOrganizationOverviewRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeOrganizationOverviewResponse) => void): Request<DevOpsGuru.Types.DescribeOrganizationOverviewResponse, AWSError>; /** * Returns an overview of your organization's history based on the specified time range. The overview includes the total reactive and proactive insights. */ describeOrganizationOverview(callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeOrganizationOverviewResponse) => void): Request<DevOpsGuru.Types.DescribeOrganizationOverviewResponse, AWSError>; /** * Provides an overview of your system's health. If additional member accounts are part of your organization, you can filter those accounts using the AccountIds field. */ describeOrganizationResourceCollectionHealth(params: DevOpsGuru.Types.DescribeOrganizationResourceCollectionHealthRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeOrganizationResourceCollectionHealthResponse) => void): Request<DevOpsGuru.Types.DescribeOrganizationResourceCollectionHealthResponse, AWSError>; /** * Provides an overview of your system's health. If additional member accounts are part of your organization, you can filter those accounts using the AccountIds field. */ describeOrganizationResourceCollectionHealth(callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeOrganizationResourceCollectionHealthResponse) => void): Request<DevOpsGuru.Types.DescribeOrganizationResourceCollectionHealthResponse, AWSError>; /** * Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for all closed insights in resource collections in your account. You specify the type of Amazon Web Services resources collection. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. */ describeResourceCollectionHealth(params: DevOpsGuru.Types.DescribeResourceCollectionHealthRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeResourceCollectionHealthResponse) => void): Request<DevOpsGuru.Types.DescribeResourceCollectionHealthResponse, AWSError>; /** * Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for all closed insights in resource collections in your account. You specify the type of Amazon Web Services resources collection. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. */ describeResourceCollectionHealth(callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeResourceCollectionHealthResponse) => void): Request<DevOpsGuru.Types.DescribeResourceCollectionHealthResponse, AWSError>; /** * Returns the integration status of services that are integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for each generated insight. */ describeServiceIntegration(params: DevOpsGuru.Types.DescribeServiceIntegrationRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeServiceIntegrationResponse) => void): Request<DevOpsGuru.Types.DescribeServiceIntegrationResponse, AWSError>; /** * Returns the integration status of services that are integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for each generated insight. */ describeServiceIntegration(callback?: (err: AWSError, data: DevOpsGuru.Types.DescribeServiceIntegrationResponse) => void): Request<DevOpsGuru.Types.DescribeServiceIntegrationResponse, AWSError>; /** * Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing. */ getCostEstimation(params: DevOpsGuru.Types.GetCostEstimationRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.GetCostEstimationResponse) => void): Request<DevOpsGuru.Types.GetCostEstimationResponse, AWSError>; /** * Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing. */ getCostEstimation(callback?: (err: AWSError, data: DevOpsGuru.Types.GetCostEstimationResponse) => void): Request<DevOpsGuru.Types.GetCostEstimationResponse, AWSError>; /** * Returns lists Amazon Web Services resources that are of the specified resource collection type. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. */ getResourceCollection(params: DevOpsGuru.Types.GetResourceCollectionRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.GetResourceCollectionResponse) => void): Request<DevOpsGuru.Types.GetResourceCollectionResponse, AWSError>; /** * Returns lists Amazon Web Services resources that are of the specified resource collection type. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. */ getResourceCollection(callback?: (err: AWSError, data: DevOpsGuru.Types.GetResourceCollectionResponse) => void): Request<DevOpsGuru.Types.GetResourceCollectionResponse, AWSError>; /** * Returns a list of the anomalies that belong to an insight that you specify using its ID. */ listAnomaliesForInsight(params: DevOpsGuru.Types.ListAnomaliesForInsightRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.ListAnomaliesForInsightResponse) => void): Request<DevOpsGuru.Types.ListAnomaliesForInsightResponse, AWSError>; /** * Returns a list of the anomalies that belong to an insight that you specify using its ID. */ listAnomaliesForInsight(callback?: (err: AWSError, data: DevOpsGuru.Types.ListAnomaliesForInsightResponse) => void): Request<DevOpsGuru.Types.ListAnomaliesForInsightResponse, AWSError>; /** * Returns the list of log groups that contain log anomalies. */ listAnomalousLogGroups(params: DevOpsGuru.Types.ListAnomalousLogGroupsRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.ListAnomalousLogGroupsResponse) => void): Request<DevOpsGuru.Types.ListAnomalousLogGroupsResponse, AWSError>; /** * Returns the list of log groups that contain log anomalies. */ listAnomalousLogGroups(callback?: (err: AWSError, data: DevOpsGuru.Types.ListAnomalousLogGroupsResponse) => void): Request<DevOpsGuru.Types.ListAnomalousLogGroupsResponse, AWSError>; /** * 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. */ listEvents(params: DevOpsGuru.Types.ListEventsRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.ListEventsResponse) => void): Request<DevOpsGuru.Types.ListEventsResponse, AWSError>; /** * 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. */ listEvents(callback?: (err: AWSError, data: DevOpsGuru.Types.ListEventsResponse) => void): Request<DevOpsGuru.Types.ListEventsResponse, AWSError>; /** * Returns a list of insights in your Amazon Web Services account. You can specify which insights are returned by their start time and status (ONGOING, CLOSED, or ANY). */ listInsights(params: DevOpsGuru.Types.ListInsightsRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.ListInsightsResponse) => void): Request<DevOpsGuru.Types.ListInsightsResponse, AWSError>; /** * Returns a list of insights in your Amazon Web Services account. You can specify which insights are returned by their start time and status (ONGOING, CLOSED, or ANY). */ listInsights(callback?: (err: AWSError, data: DevOpsGuru.Types.ListInsightsResponse) => void): Request<DevOpsGuru.Types.ListInsightsResponse, AWSError>; /** * Returns the list of all log groups that are being monitored and tagged by DevOps Guru. */ listMonitoredResources(params: DevOpsGuru.Types.ListMonitoredResourcesRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.ListMonitoredResourcesResponse) => void): Request<DevOpsGuru.Types.ListMonitoredResourcesResponse, AWSError>; /** * Returns the list of all log groups that are being monitored and tagged by DevOps Guru. */ listMonitoredResources(callback?: (err: AWSError, data: DevOpsGuru.Types.ListMonitoredResourcesResponse) => void): Request<DevOpsGuru.Types.ListMonitoredResourcesResponse, AWSError>; /** * 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). */ listNotificationChannels(params: DevOpsGuru.Types.ListNotificationChannelsRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.ListNotificationChannelsResponse) => void): Request<DevOpsGuru.Types.ListNotificationChannelsResponse, AWSError>; /** * 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). */ listNotificationChannels(callback?: (err: AWSError, data: DevOpsGuru.Types.ListNotificationChannelsResponse) => void): Request<DevOpsGuru.Types.ListNotificationChannelsResponse, AWSError>; /** * Returns a list of insights associated with the account or OU Id. */ listOrganizationInsights(params: DevOpsGuru.Types.ListOrganizationInsightsRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.ListOrganizationInsightsResponse) => void): Request<DevOpsGuru.Types.ListOrganizationInsightsResponse, AWSError>; /** * Returns a list of insights associated with the account or OU Id. */ listOrganizationInsights(callback?: (err: AWSError, data: DevOpsGuru.Types.ListOrganizationInsightsResponse) => void): Request<DevOpsGuru.Types.ListOrganizationInsightsResponse, AWSError>; /** * Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics and a list of related events. */ listRecommendations(params: DevOpsGuru.Types.ListRecommendationsRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.ListRecommendationsResponse) => void): Request<DevOpsGuru.Types.ListRecommendationsResponse, AWSError>; /** * Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics and a list of related events. */ listRecommendations(callback?: (err: AWSError, data: DevOpsGuru.Types.ListRecommendationsResponse) => void): Request<DevOpsGuru.Types.ListRecommendationsResponse, AWSError>; /** * Collects customer feedback about the specified insight. */ putFeedback(params: DevOpsGuru.Types.PutFeedbackRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.PutFeedbackResponse) => void): Request<DevOpsGuru.Types.PutFeedbackResponse, AWSError>; /** * Collects customer feedback about the specified insight. */ putFeedback(callback?: (err: AWSError, data: DevOpsGuru.Types.PutFeedbackResponse) => void): Request<DevOpsGuru.Types.PutFeedbackResponse, AWSError>; /** * 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. */ removeNotificationChannel(params: DevOpsGuru.Types.RemoveNotificationChannelRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.RemoveNotificationChannelResponse) => void): Request<DevOpsGuru.Types.RemoveNotificationChannelResponse, AWSError>; /** * 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. */ removeNotificationChannel(callback?: (err: AWSError, data: DevOpsGuru.Types.RemoveNotificationChannelResponse) => void): Request<DevOpsGuru.Types.RemoveNotificationChannelResponse, AWSError>; /** * Returns a list of insights in your Amazon Web Services account. You can specify which insights are returned by their start time, one or more statuses (ONGOING or CLOSED), one or more severities (LOW, MEDIUM, and HIGH), and type (REACTIVE or PROACTIVE). Use the Filters parameter to specify status and severity search parameters. Use the Type parameter to specify REACTIVE or PROACTIVE in your search. */ searchInsights(params: DevOpsGuru.Types.SearchInsightsRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.SearchInsightsResponse) => void): Request<DevOpsGuru.Types.SearchInsightsResponse, AWSError>; /** * Returns a list of insights in your Amazon Web Services account. You can specify which insights are returned by their start time, one or more statuses (ONGOING or CLOSED), one or more severities (LOW, MEDIUM, and HIGH), and type (REACTIVE or PROACTIVE). Use the Filters parameter to specify status and severity search parameters. Use the Type parameter to specify REACTIVE or PROACTIVE in your search. */ searchInsights(callback?: (err: AWSError, data: DevOpsGuru.Types.SearchInsightsResponse) => void): Request<DevOpsGuru.Types.SearchInsightsResponse, AWSError>; /** * Returns a list of insights in your organization. You can specify which insights are returned by their start time, one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities (LOW, MEDIUM, and HIGH), and type (REACTIVE or PROACTIVE). Use the Filters parameter to specify status and severity search parameters. Use the Type parameter to specify REACTIVE or PROACTIVE in your search. */ searchOrganizationInsights(params: DevOpsGuru.Types.SearchOrganizationInsightsRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.SearchOrganizationInsightsResponse) => void): Request<DevOpsGuru.Types.SearchOrganizationInsightsResponse, AWSError>; /** * Returns a list of insights in your organization. You can specify which insights are returned by their start time, one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities (LOW, MEDIUM, and HIGH), and type (REACTIVE or PROACTIVE). Use the Filters parameter to specify status and severity search parameters. Use the Type parameter to specify REACTIVE or PROACTIVE in your search. */ searchOrganizationInsights(callback?: (err: AWSError, data: DevOpsGuru.Types.SearchOrganizationInsightsResponse) => void): Request<DevOpsGuru.Types.SearchOrganizationInsightsResponse, AWSError>; /** * Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources. */ startCostEstimation(params: DevOpsGuru.Types.StartCostEstimationRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.StartCostEstimationResponse) => void): Request<DevOpsGuru.Types.StartCostEstimationResponse, AWSError>; /** * Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources. */ startCostEstimation(callback?: (err: AWSError, data: DevOpsGuru.Types.StartCostEstimationResponse) => void): Request<DevOpsGuru.Types.StartCostEstimationResponse, AWSError>; /** * Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive recommendations which can be stored and viewed in DevOps Guru. */ updateEventSourcesConfig(params: DevOpsGuru.Types.UpdateEventSourcesConfigRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.UpdateEventSourcesConfigResponse) => void): Request<DevOpsGuru.Types.UpdateEventSourcesConfigResponse, AWSError>; /** * Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive recommendations which can be stored and viewed in DevOps Guru. */ updateEventSourcesConfig(callback?: (err: AWSError, data: DevOpsGuru.Types.UpdateEventSourcesConfigResponse) => void): Request<DevOpsGuru.Types.UpdateEventSourcesConfigResponse, AWSError>; /** * Updates the collection of resources that DevOps Guru analyzes. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. This method also creates the IAM role required for you to use DevOps Guru. */ updateResourceCollection(params: DevOpsGuru.Types.UpdateResourceCollectionRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.UpdateResourceCollectionResponse) => void): Request<DevOpsGuru.Types.UpdateResourceCollectionResponse, AWSError>; /** * Updates the collection of resources that DevOps Guru analyzes. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. This method also creates the IAM role required for you to use DevOps Guru. */ updateResourceCollection(callback?: (err: AWSError, data: DevOpsGuru.Types.UpdateResourceCollectionResponse) => void): Request<DevOpsGuru.Types.UpdateResourceCollectionResponse, AWSError>; /** * Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for each generated insight. */ updateServiceIntegration(params: DevOpsGuru.Types.UpdateServiceIntegrationRequest, callback?: (err: AWSError, data: DevOpsGuru.Types.UpdateServiceIntegrationResponse) => void): Request<DevOpsGuru.Types.UpdateServiceIntegrationResponse, AWSError>; /** * Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for each generated insight. */ updateServiceIntegration(callback?: (err: AWSError, data: DevOpsGuru.Types.UpdateServiceIntegrationResponse) => void): Request<DevOpsGuru.Types.UpdateServiceIntegrationResponse, AWSError>; } declare namespace DevOpsGuru { export interface AccountHealth { /** * The ID of the Amazon Web Services account. */ AccountId?: AwsAccountId; /** * Information about the health of the Amazon Web Services resources in your account, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights. */ Insight?: AccountInsightHealth; } export type AccountHealths = AccountHealth[]; export type AccountIdList = AwsAccountId[]; export interface AccountInsightHealth { /** * An integer that specifies the number of open proactive insights in your Amazon Web Services account. */ OpenProactiveInsights?: NumOpenProactiveInsights; /** * An integer that specifies the number of open reactive insights in your Amazon Web Services account. */ OpenReactiveInsights?: NumOpenReactiveInsights; } export interface AddNotificationChannelRequest { /** * A NotificationChannelConfig object that specifies what type of notification channel to add. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS). */ Config: NotificationChannelConfig; } export interface AddNotificationChannelResponse { /** * The ID of the added notification channel. */ Id: NotificationChannelId; } export interface AmazonCodeGuruProfilerIntegration { /** * The status of the CodeGuru Profiler integration. Specifies if DevOps Guru is enabled to consume recommendations that are generated from Amazon CodeGuru Profiler. */ Status?: EventSourceOptInStatus; } export type AnalyzedResourceCount = number; export interface AnomalousLogGroup { /** * The name of the CloudWatch log group. */ LogGroupName?: LogGroupName; /** * The time the anomalous log events began. The impact start time indicates the time of the first log anomaly event that occurs. */ ImpactStartTime?: Timestamp; /** * The time the anomalous log events stopped. */ ImpactEndTime?: Timestamp; /** * The number of log lines that were scanned for anomalous log events. */ NumberOfLogLinesScanned?: NumberOfLogLinesScanned; /** * The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events. */ LogAnomalyShowcases?: LogAnomalyShowcases; } export type AnomalousLogGroups = AnomalousLogGroup[]; export type AnomalyDescription = string; export type AnomalyId = string; export type AnomalyLimit = number; export type AnomalyName = string; export interface AnomalyReportedTimeRange { /** * The time when an anomaly is opened. */ OpenTime: Timestamp; /** * The time when an anomaly is closed. */ CloseTime?: Timestamp; } export interface AnomalyResource { /** * The name of the Amazon Web Services resource. */ Name?: ResourceName; /** * The type of the Amazon Web Services resource. */ Type?: ResourceType; } export type AnomalyResources = AnomalyResource[]; export type AnomalySeverity = "LOW"|"MEDIUM"|"HIGH"|string; export type AnomalySource = string; export interface AnomalySourceDetails { /** * An array of CloudWatchMetricsDetail objects that contain information about analyzed CloudWatch metrics that show anomalous behavior. */ CloudWatchMetrics?: CloudWatchMetricsDetails; /** * An array of PerformanceInsightsMetricsDetail objects that contain information about analyzed Performance Insights metrics that show anomalous behavior. */ PerformanceInsightsMetrics?: PerformanceInsightsMetricsDetails; } export interface AnomalySourceMetadata { /** * The source of the anomaly. */ Source?: AnomalySource; /** * The name of the anomaly's resource. */ SourceResourceName?: ResourceName; /** * The anomaly's resource type. */ SourceResourceType?: ResourceType; } export type AnomalyStatus = "ONGOING"|"CLOSED"|string; export interface AnomalyTimeRange { /** * The time when the anomalous behavior started. */ StartTime: Timestamp; /** * The time when the anomalous behavior ended. */ EndTime?: Timestamp; } export type AnomalyType = "CAUSAL"|"CONTEXTUAL"|string; export type AppBoundaryKey = string; export type AssociatedResourceArns = ResourceArn[]; export type AwsAccountId = string; export type Channels = NotificationChannel[]; export type ClientToken = string; export interface CloudFormationCollection { /** * An array of CloudFormation stack names. */ StackNames?: StackNames; } export interface CloudFormationCollectionFilter { /** * An array of CloudFormation stack names. */ StackNames?: StackNames; } export interface CloudFormationCostEstimationResourceCollectionFilter { /** * An array of CloudFormation stack names. Its size is fixed at 1 item. */ StackNames?: CostEstimationStackNames; } export interface CloudFormationHealth { /** * The name of the CloudFormation stack. */ StackName?: StackName; /** * Information about the health of the Amazon Web Services resources in your account that are specified by an Amazon Web Services CloudFormation stack, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights. */ Insight?: InsightHealth; /** * Number of resources that DevOps Guru is monitoring in your account that are specified by an Amazon Web Services CloudFormation stack. */ AnalyzedResourceCount?: AnalyzedResourceCount; } export type CloudFormationHealths = CloudFormationHealth[]; export type CloudWatchMetricDataStatusCode = "Complete"|"InternalError"|"PartialData"|string; export interface CloudWatchMetricsDataSummary { /** * This is a list of Amazon CloudWatch metric values at given timestamp. */ TimestampMetricValuePairList?: TimestampMetricValuePairList; /** * This is an enum of the status showing whether the metric value pair list has partial or complete data, or if there was an error. */ StatusCode?: CloudWatchMetricDataStatusCode; } export interface CloudWatchMetricsDetail { /** * The name of the CloudWatch metric. */ MetricName?: CloudWatchMetricsMetricName; /** * The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics. */ Namespace?: CloudWatchMetricsNamespace; /** * An array of CloudWatch dimensions associated with */ Dimensions?: CloudWatchMetricsDimensions; /** * The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide. */ Stat?: CloudWatchMetricsStat; /** * The unit of measure used for the CloudWatch metric. For example, Bytes, Seconds, Count, and Percent. */ Unit?: CloudWatchMetricsUnit; /** * The length of time associated with the CloudWatch metric in number of seconds. */ Period?: CloudWatchMetricsPeriod; /** * This object returns anomaly metric data. */ MetricDataSummary?: CloudWatchMetricsDataSummary; } export type CloudWatchMetricsDetails = CloudWatchMetricsDetail[]; export interface CloudWatchMetricsDimension { /** * The name of the CloudWatch dimension. */ Name?: CloudWatchMetricsDimensionName; /** * The value of the CloudWatch dimension. */ Value?: CloudWatchMetricsDimensionValue; } export type CloudWatchMetricsDimensionName = string; export type CloudWatchMetricsDimensionValue = string; export type CloudWatchMetricsDimensions = CloudWatchMetricsDimension[]; export type CloudWatchMetricsMetricName = string; export type CloudWatchMetricsNamespace = string; export type CloudWatchMetricsPeriod = number; export type CloudWatchMetricsStat = "Sum"|"Average"|"SampleCount"|"Minimum"|"Maximum"|"p99"|"p90"|"p50"|string; export type CloudWatchMetricsUnit = string; export type Cost = number; export interface CostEstimationResourceCollectionFilter { /** * An object that specifies the CloudFormation stack that defines the Amazon Web Services resources used to create a monthly estimate for DevOps Guru. */ CloudFormation?: CloudFormationCostEstimationResourceCollectionFilter; /** * The Amazon Web Services tags used to filter the resource collection that is used for a cost estimate. Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper. Each Amazon Web Services tag has two parts. A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case-sensitive. An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive. Together these are known as key-value pairs. The string used for a key in a tag that you use to define your resource coverage must begin with the prefix Devops-guru-. The tag key might be DevOps-Guru-deployment-application or devops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds and a key named DevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS or Devops-Guru-production-application/containers. */ Tags?: TagCostEstimationResourceCollectionFilters; } export type CostEstimationServiceResourceCount = number; export type CostEstimationServiceResourceState = "ACTIVE"|"INACTIVE"|string; export type CostEstimationStackNames = StackName[]; export type CostEstimationStatus = "ONGOING"|"COMPLETED"|string; export type CostEstimationTagValues = TagValue[]; export interface CostEstimationTimeRange { /** * The start time of the cost estimation. */ StartTime?: Timestamp; /** * The end time of the cost estimation. */ EndTime?: Timestamp; } export interface DeleteInsightRequest { /** * The ID of the insight. */ Id: InsightId; } export interface DeleteInsightResponse { } export interface DescribeAccountHealthRequest { } export interface DescribeAccountHealthResponse { /** * An integer that specifies the number of open reactive insights in your Amazon Web Services account. */ OpenReactiveInsights: NumOpenReactiveInsights; /** * An integer that specifies the number of open proactive insights in your Amazon Web Services account. */ OpenProactiveInsights: NumOpenProactiveInsights; /** * An integer that specifies the number of metrics that have been analyzed in your Amazon Web Services account. */ MetricsAnalyzed: NumMetricsAnalyzed; /** * The number of Amazon DevOps Guru resource analysis hours billed to the current Amazon Web Services account in the last hour. */ ResourceHours: ResourceHours; /** * Number of resources that DevOps Guru is monitoring in your Amazon Web Services account. */ AnalyzedResourceCount?: AnalyzedResourceCount; } export interface DescribeAccountOverviewRequest { /** * The start of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred after this day. */ FromTime: Timestamp; /** * The end of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred before this day. If this is not specified, then the current day is used. */ ToTime?: Timestamp; } export interface DescribeAccountOverviewResponse { /** * An integer that specifies the number of open reactive insights in your Amazon Web Services account that were created during the time range passed in. */ ReactiveInsights: NumReactiveInsights; /** * An integer that specifies the number of open proactive insights in your Amazon Web Services account that were created during the time range passed in. */ ProactiveInsights: NumProactiveInsights; /** * The Mean Time to Recover (MTTR) for all closed insights that were created during the time range passed in. */ MeanTimeToRecoverInMilliseconds: MeanTimeToRecoverInMilliseconds; } export interface DescribeAnomalyRequest { /** * The ID of the anomaly. */ Id: AnomalyId; /** * The ID of the member account. */ AccountId?: AwsAccountId; } export interface DescribeAnomalyResponse { /** * A ProactiveAnomaly object that represents the requested anomaly. */ ProactiveAnomaly?: ProactiveAnomaly; /** * A ReactiveAnomaly object that represents the requested anomaly. */ ReactiveAnomaly?: ReactiveAnomaly; } export interface DescribeEventSourcesConfigRequest { } export interface DescribeEventSourcesConfigResponse { /** * Lists the event sources in the configuration. */ EventSources?: EventSourcesConfig; } export interface DescribeFeedbackRequest { /** * The ID of the insight for which the feedback was provided. */ InsightId?: InsightId; } export interface DescribeFeedbackResponse { InsightFeedback?: InsightFeedback; } export interface DescribeInsightRequest { /** * The ID of the insight. */ Id: InsightId; /** * The ID of the member account in the organization. */ AccountId?: AwsAccountId; } export interface DescribeInsightResponse { /** * A ProactiveInsight object that represents the requested insight. */ ProactiveInsight?: ProactiveInsight; /** * A ReactiveInsight object that represents the requested insight. */ ReactiveInsight?: ReactiveInsight; } export interface DescribeOrganizationHealthRequest { /** * The ID of the Amazon Web Services account. */ AccountIds?: AccountIdList; /** * The ID of the organizational unit. */ OrganizationalUnitIds?: OrganizationalUnitIdList; } export interface DescribeOrganizationHealthResponse { /** * An integer that specifies the number of open reactive insights in your Amazon Web Services account. */ OpenReactiveInsights: NumOpenReactiveInsights; /** * An integer that specifies the number of open proactive insights in your Amazon Web Services account. */ OpenProactiveInsights: NumOpenProactiveInsights; /** * An integer that specifies the number of metrics that have been analyzed in your organization. */ MetricsAnalyzed: NumMetricsAnalyzed; /** * The number of Amazon DevOps Guru resource analysis hours billed to the current Amazon Web Services account in the last hour. */ ResourceHours: ResourceHours; } export interface DescribeOrganizationOverviewRequest { /** * The start of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred after this day. */ FromTime: Timestamp; /** * The end of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred before this day. If this is not specified, then the current day is used. */ ToTime?: Timestamp; /** * The ID of the Amazon Web Services account. */ AccountIds?: AccountIdList; /** * The ID of the organizational unit. */ OrganizationalUnitIds?: OrganizationalUnitIdList; } export interface DescribeOrganizationOverviewResponse { /** * An integer that specifies the number of open reactive insights in your Amazon Web Services account. */ ReactiveInsights: NumReactiveInsights; /** * An integer that specifies the number of open proactive insights in your Amazon Web Services account. */ ProactiveInsights: NumProactiveInsights; } export interface DescribeOrganizationResourceCollectionHealthRequest { /** * An Amazon Web Services resource collection type. This type specifies how analyzed Amazon Web Services resources are defined. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. */ OrganizationResourceCollectionType: OrganizationResourceCollectionType; /** * The ID of the Amazon Web Services account. */ AccountIds?: AccountIdList; /** * The ID of the organizational unit. */ OrganizationalUnitIds?: OrganizationalUnitIdList; /** * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page. */ NextToken?: UuidNextToken; /** * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. */ MaxResults?: OrganizationResourceCollectionMaxResults; } export interface DescribeOrganizationResourceCollectionHealthResponse { /** * The returned CloudFormationHealthOverview object that contains an InsightHealthOverview object with the requested system health information. */ CloudFormation?: CloudFormationHealths; /** * An array of ServiceHealth objects that describes the health of the Amazon Web Services services associated with the resources in the collection. */ Service?: ServiceHealths; /** * The name of the organization's account. */ Account?: AccountHealths; /** * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. */ NextToken?: UuidNextToken; /** * Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper. Each Amazon Web Services tag has two parts. A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case-sensitive. An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive. Together these are known as key-value pairs. The string used for a key in a tag that you use to define your resource coverage must begin with the prefix Devops-guru-. The tag key might be DevOps-Guru-deployment-application or devops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds and a key named DevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS or Devops-Guru-production-application/containers. */ Tags?: TagHealths; } export interface DescribeResourceCollectionHealthRequest { /** * An Amazon Web Services resource collection type. This type specifies how analyzed Amazon Web Services resources are defined. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze