Amazon DevOps Guru Anomalies API

The Anomalies API from Amazon DevOps Guru — 2 operation(s) for anomalies.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

amazon-devops-guru-anomalies-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  version: 2020-12-01
  x-release: v4
  title: Amazon DevOps Guru Accounts Anomalies API
  description: <p> Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in business critical operational applications. You specify the Amazon Web Services resources that you want DevOps Guru to cover, then the Amazon CloudWatch metrics and Amazon Web Services CloudTrail events related to those resources are analyzed. When anomalous behavior is detected, DevOps Guru creates an <i>insight</i> that includes recommendations, related events, and related metrics that can help you improve your operational applications. For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html">What is Amazon DevOps Guru</a>. </p> <p> You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight is created. You can also enable DevOps Guru to generate an OpsItem in Amazon Web Services Systems Manager for each insight to help you manage and track your work addressing insights. </p> <p> To learn about the DevOps Guru workflow, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html#how-it-works">How DevOps Guru works</a>. To learn about DevOps Guru concepts, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/concepts.html">Concepts in DevOps Guru</a>. </p>
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png
    backgroundColor: '#FFFFFF'
  termsOfService: https://aws.amazon.com/service-terms/
  contact:
    name: Mike Ralphson
    email: mike.ralphson@gmail.com
    url: https://github.com/mermade/aws2openapi
    x-twitter: PermittedSoc
  license:
    name: Apache 2.0 License
    url: http://www.apache.org/licenses/
  x-providerName: amazonaws.com
  x-serviceName: devops-guru
  x-aws-signingName: devops-guru
  x-origin:
  - contentType: application/json
    url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/devops-guru-2020-12-01.normal.json
    converter:
      url: https://github.com/mermade/aws2openapi
      version: 1.0.0
    x-apisguru-driver: external
  x-apiClientRegistration:
    url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct
  x-apisguru-categories:
  - cloud
  x-preferred: true
servers:
- url: http://devops-guru.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The Amazon DevOps Guru multi-region endpoint
- url: https://devops-guru.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The Amazon DevOps Guru multi-region endpoint
- url: http://devops-guru.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The Amazon DevOps Guru endpoint for China (Beijing) and China (Ningxia)
- url: https://devops-guru.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The Amazon DevOps Guru endpoint for China (Beijing) and China (Ningxia)
security:
- hmac: []
tags:
- name: Anomalies
paths:
  /anomalies/{Id}:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    get:
      operationId: DescribeAnomaly
      description: ' Returns details about an anomaly that you specify using its ID. '
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeAnomalyResponse'
        '480':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '481':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '482':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '483':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '484':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: Id
        in: path
        required: true
        description: ' The ID of the anomaly. '
        schema:
          type: string
          pattern: ^[\w~.-]*$
          minLength: 1
          maxLength: 100
      - name: AccountId
        in: query
        required: false
        description: The ID of the member account.
        schema:
          type: string
          pattern: ^\d{12}$
          minLength: 12
          maxLength: 12
      tags:
      - Anomalies
  /anomalies/insight/{InsightId}:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    post:
      operationId: ListAnomaliesForInsight
      description: ' Returns a list of the anomalies that belong to an insight that you specify using its ID. '
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAnomaliesForInsightResponse'
        '480':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '481':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '482':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '483':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '484':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: InsightId
        in: path
        required: true
        description: ' The ID of the insight. The returned anomalies belong to this insight. '
        schema:
          type: string
          pattern: ^[\w-]*$
          minLength: 1
          maxLength: 100
      - name: MaxResults
        in: query
        schema:
          type: string
        description: Pagination limit
        required: false
      - name: NextToken
        in: query
        schema:
          type: string
        description: Pagination token
        required: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                StartTimeRange:
                  description: ' A time range used to specify when the behavior of an insight or anomaly started. '
                  type: object
                  properties:
                    FromTime:
                      allOf:
                      - $ref: '#/components/schemas/Timestamp'
                      - description: ' The start time of the time range. '
                    ToTime:
                      allOf:
                      - $ref: '#/components/schemas/Timestamp'
                      - description: ' The end time of the time range. '
                MaxResults:
                  description: The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.
                  type: integer
                  minimum: 1
                  maximum: 500
                NextToken:
                  description: 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.
                  type: string
                  pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
                  minLength: 36
                  maxLength: 36
                AccountId:
                  description: 'The ID of the Amazon Web Services account. '
                  type: string
                  pattern: ^\d{12}$
                  minLength: 12
                  maxLength: 12
                Filters:
                  description: ' Specifies one or more service names that are used to list anomalies. '
                  type: object
                  properties:
                    ServiceCollection:
                      $ref: '#/components/schemas/ServiceCollection'
      tags:
      - Anomalies
components:
  schemas:
    InternalServerException: {}
    AnomalyStatus:
      type: string
      enum:
      - ONGOING
      - CLOSED
    PerformanceInsightsReferenceName:
      type: string
    AnomalyResource:
      type: object
      properties:
        Name:
          allOf:
          - $ref: '#/components/schemas/ResourceName'
          - description: The name of the Amazon Web Services resource.
        Type:
          allOf:
          - $ref: '#/components/schemas/ResourceType'
          - description: The type of the Amazon Web Services resource.
      description: The Amazon Web Services resources in which DevOps Guru detected unusual behavior that resulted in the generation of an anomaly. When DevOps Guru detects multiple related anomalies, it creates and insight with details about the anomalous behavior and suggestions about how to correct the problem.
    PerformanceInsightsStats:
      type: array
      items:
        $ref: '#/components/schemas/PerformanceInsightsStat'
    ProactiveAnomalySummary:
      type: object
      properties:
        Id:
          allOf:
          - $ref: '#/components/schemas/AnomalyId'
          - description: The ID of the anomaly.
        Severity:
          allOf:
          - $ref: '#/components/schemas/AnomalySeverity'
          - description: The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities">Understanding insight severities</a> in the <i>Amazon DevOps Guru User Guide</i>.
        Status:
          allOf:
          - $ref: '#/components/schemas/AnomalyStatus'
          - description: The status of the anomaly.
        UpdateTime:
          allOf:
          - $ref: '#/components/schemas/Timestamp'
          - description: ' The time of the anomaly''s most recent update. '
        AnomalyTimeRange:
          $ref: '#/components/schemas/AnomalyTimeRange'
        AnomalyReportedTimeRange:
          allOf:
          - $ref: '#/components/schemas/AnomalyReportedTimeRange'
          - description: ' An <code>AnomalyReportedTimeRange</code> object that specifies the time range between when the anomaly is opened and the time when it is closed. '
        PredictionTimeRange:
          $ref: '#/components/schemas/PredictionTimeRange'
        SourceDetails:
          allOf:
          - $ref: '#/components/schemas/AnomalySourceDetails'
          - description: ' Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics. '
        AssociatedInsightId:
          allOf:
          - $ref: '#/components/schemas/InsightId'
          - description: ' The ID of the insight that contains this anomaly. An insight is composed of related anomalies. '
        ResourceCollection:
          $ref: '#/components/schemas/ResourceCollection'
        Limit:
          allOf:
          - $ref: '#/components/schemas/AnomalyLimit'
          - description: ' A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to the anomalous behavior that generated this anomaly. '
        SourceMetadata:
          allOf:
          - $ref: '#/components/schemas/AnomalySourceMetadata'
          - description: The metadata of the source which detects proactive anomalies.
        AnomalyResources:
          allOf:
          - $ref: '#/components/schemas/AnomalyResources'
          - description: Information about a resource in which DevOps Guru detected anomalous behavior.
        Description:
          allOf:
          - $ref: '#/components/schemas/AnomalyDescription'
          - description: ' A description of the proactive anomaly. '
      description: 'Details about a proactive anomaly. This object is returned by <code>DescribeAnomaly.</code> '
    ReactiveAnomalies:
      type: array
      items:
        $ref: '#/components/schemas/ReactiveAnomalySummary'
    PerformanceInsightsReferenceData:
      type: object
      properties:
        Name:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsReferenceName'
          - description: The name of the reference data.
        ComparisonValues:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsReferenceComparisonValues'
          - description: 'The specific reference values used to evaluate the Performance Insights. For more information, see <code> <a href="https://docs.aws.amazon.com/devops-guru/latest/APIReference/API_PerformanceInsightsReferenceComparisonValues.html">PerformanceInsightsReferenceComparisonValues</a> </code>. '
      description: Reference data used to evaluate Performance Insights to determine if its performance is anomalous or not.
    ThrottlingException: {}
    PerformanceInsightsReferenceMetric:
      type: object
      properties:
        MetricQuery:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsMetricQuery'
          - description: A query to be processed on the metric.
      description: Information about a reference metric used to evaluate Performance Insights.
    PerformanceInsightsMetricDimension:
      type: string
    DescribeAnomalyResponse:
      type: object
      properties:
        ProactiveAnomaly:
          allOf:
          - $ref: '#/components/schemas/ProactiveAnomaly'
          - description: ' A <code>ProactiveAnomaly</code> object that represents the requested anomaly. '
        ReactiveAnomaly:
          allOf:
          - $ref: '#/components/schemas/ReactiveAnomaly'
          - description: ' A <code>ReactiveAnomaly</code> object that represents the requested anomaly. '
    ResourceType:
      type: string
      pattern: ^[a-zA-Z]+[a-zA-Z0-9-_:]*$
      minLength: 1
      maxLength: 256
    PerformanceInsightsReferenceDataList:
      type: array
      items:
        $ref: '#/components/schemas/PerformanceInsightsReferenceData'
    PerformanceInsightsReferenceComparisonValues:
      type: object
      properties:
        ReferenceScalar:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsReferenceScalar'
          - description: A scalar value DevOps Guru for a metric that DevOps Guru compares to actual metric values. This reference value is used to determine if an actual metric value should be considered anomalous.
        ReferenceMetric:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsReferenceMetric'
          - description: A metric that DevOps Guru compares to actual metric values. This reference metric is used to determine if an actual metric should be considered anomalous.
      description: Reference scalar values and other metrics that DevOps Guru displays on a graph in its console along with the actual metrics it analyzed. Compare these reference values to your actual metrics to help you understand anomalous behavior that DevOps Guru detected.
    CloudWatchMetricsPeriod:
      type: integer
    TagValue:
      type: string
      pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*|\*)$
      minLength: 0
      maxLength: 256
    ResourceNotFoundException: {}
    CloudWatchMetricDataStatusCode:
      type: string
      enum:
      - Complete
      - InternalError
      - PartialData
    PerformanceInsightsStatType:
      type: string
    PerformanceInsightsMetricQuery:
      type: object
      properties:
        Metric:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsMetricName'
          - description: <p>The name of the meteric used used when querying an Performance Insights <code>GetResourceMetrics</code> API for anomaly metrics.</p> <p>Valid values for <code>Metric</code> are:</p> <ul> <li> <p> <code>db.load.avg</code> - a scaled representation of the number of active sessions for the database engine.</p> </li> <li> <p> <code>db.sampledload.avg</code> - the raw number of active sessions for the database engine.</p> </li> </ul> <p>If the number of active sessions is less than an internal Performance Insights threshold, <code>db.load.avg</code> and <code>db.sampledload.avg</code> are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with <code>db.load.avg</code> showing the scaled values, <code>db.sampledload.avg</code> showing the raw values, and <code>db.sampledload.avg</code> less than <code>db.load.avg</code>. For most use cases, you can query <code>db.load.avg</code> only. </p>
        GroupBy:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsMetricDimensionGroup'
          - description: The specification for how to aggregate the data points from a Performance Insights <code>GetResourceMetrics</code> API query. The Performance Insights query returns all of the dimensions within that group, unless you provide the names of specific dimensions within that group. You can also request that Performance Insights return a limited number of values for a dimension.
        Filter:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsMetricFilterMap'
          - description: <p>One or more filters to apply to a Performance Insights <code>GetResourceMetrics</code> API query. Restrictions:</p> <ul> <li> <p>Any number of filters by the same dimension, as specified in the <code>GroupBy</code> parameter.</p> </li> <li> <p>A single filter for any other dimension in this dimension group.</p> </li> </ul>
      description: <p>A single query to be processed. Use these parameters to query the Performance Insights <code>GetResourceMetrics</code> API to retrieve the metrics for an anomaly. For more information, see <code> <a href="https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_GetResourceMetrics.html">GetResourceMetrics</a> </code> in the <i>Amazon RDS Performance Insights API Reference</i>.</p> <p>Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. DB load is measured as average active sessions. Performance Insights provides the data to API consumers as a two-dimensional time-series dataset. The time dimension provides DB load data for each time point in the queried time range. Each time point decomposes overall load in relation to the requested dimensions, measured at that time point. Examples include SQL, Wait event, User, and Host. </p> <ul> <li> <p>To learn more about Performance Insights and Amazon Aurora DB instances, go to the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html"> Amazon Aurora User Guide</a>. </p> </li> <li> <p>To learn more about Performance Insights and Amazon RDS DB instances, go to the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html"> Amazon RDS User Guide</a>. </p> </li> </ul>
    PerformanceInsightsMetricsDetail:
      type: object
      properties:
        MetricDisplayName:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsMetricDisplayName'
          - description: The name used for a specific Performance Insights metric.
        Unit:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsMetricUnit'
          - description: The unit of measure for a metric. For example, a session or a process.
        MetricQuery:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsMetricQuery'
          - description: A single query to be processed for the metric. For more information, see <code> <a href="https://docs.aws.amazon.com/devops-guru/latest/APIReference/API_PerformanceInsightsMetricQuery.html">PerformanceInsightsMetricQuery</a> </code>.
        ReferenceData:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsReferenceDataList'
          - description: ' For more information, see <code> <a href="https://docs.aws.amazon.com/devops-guru/latest/APIReference/API_PerformanceInsightsReferenceData.html">PerformanceInsightsReferenceData</a> </code>. '
        StatsAtAnomaly:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsStats'
          - description: The metric statistics during the anomalous period detected by DevOps Guru;
        StatsAtBaseline:
          allOf:
          - $ref: '#/components/schemas/PerformanceInsightsStats'
          - description: Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them to <code>StatsAtBaseline</code> to help determine if they are anomalous.
      description: <p>Details about Performance Insights metrics.</p> <p>Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. DB load is measured as average active sessions. Performance Insights provides the data to API consumers as a two-dimensional time-series dataset. The time dimension provides DB load data for each time point in the queried time range. Each time point decomposes overall load in relation to the requested dimensions, measured at that time point. Examples include SQL, Wait event, User, and Host. </p> <ul> <li> <p>To learn more about Performance Insights and Amazon Aurora DB instances, go to the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html"> Amazon Aurora User Guide</a>. </p> </li> <li> <p>To learn more about Performance Insights and Amazon RDS DB instances, go to the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html"> Amazon RDS User Guide</a>. </p> </li> </ul>
    AnomalyId:
      type: string
      pattern: ^[\w~.-]*$
      minLength: 1
      maxLength: 100
    ReactiveAnomaly:
      type: object
      properties:
        Id:
          allOf:
          - $ref: '#/components/schemas/AnomalyId'
          - description: 'The ID of the reactive anomaly. '
        Severity:
          allOf:
          - $ref: '#/components/schemas/AnomalySeverity'
          - description: The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities">Understanding insight severities</a> in the <i>Amazon DevOps Guru User Guide</i>.
        Status:
          allOf:
          - $ref: '#/components/schemas/AnomalyStatus'
          - description: ' The status of the anomaly. '
        AnomalyTimeRange:
          $ref: '#/components/schemas/AnomalyTimeRange'
        AnomalyReportedTimeRange:
          allOf:
          - $ref: '#/components/schemas/AnomalyReportedTimeRange'
          - description: ' An <code>AnomalyReportedTimeRange</code> object that specifies the time range between when the anomaly is opened and the time when it is closed. '
        SourceDetails:
          allOf:
          - $ref: '#/components/schemas/AnomalySourceDetails'
          - description: ' Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics. '
        AssociatedInsightId:
          allOf:
          - $ref: '#/components/schemas/InsightId'
          - description: ' The ID of the insight that contains this anomaly. An insight is composed of related anomalies. '
        ResourceCollection:
          $ref: '#/components/schemas/ResourceCollection'
        Type:
          allOf:
          - $ref: '#/components/schemas/AnomalyType'
          - description: <p>The type of the reactive anomaly. It can be one of the following types.</p> <ul> <li> <p> <code>CAUSAL</code> - the anomaly can cause a new insight.</p> </li> <li> <p> <code>CONTEXTUAL</code> - the anomaly contains additional information about an insight or its causal anomaly.</p> </li> </ul>
        Name:
          allOf:
          - $ref: '#/components/schemas/AnomalyName'
          - description: The name of the reactive anomaly.
        Description:
          allOf:
          - $ref: '#/components/schemas/AnomalyDescription'
          - description: A description of the reactive anomaly.
        CausalAnomalyId:
          allOf:
          - $ref: '#/components/schemas/AnomalyId'
          - description: The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
        AnomalyResources:
          allOf:
          - $ref: '#/components/schemas/AnomalyResources'
          - description: The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
      description: Details about a reactive anomaly. This object is returned by <code>ListAnomalies</code>.
    TimestampMetricValuePairList:
      type: array
      items:
        $ref: '#/components/schemas/TimestampMetricValuePair'
    ServiceNames:
      type: array
      items:
        $ref: '#/components/schemas/ServiceName'
    StackNames:
      type: array
      items:
        $ref: '#/components/schemas/StackName'
    ValidationException: {}
    PerformanceInsightsValueDouble:
      type: number
      format: double
    ListAnomaliesForInsightResponse:
      type: object
      properties:
        ProactiveAnomalies:
          allOf:
          - $ref: '#/components/schemas/ProactiveAnomalies'
          - description: ' An array of <code>ProactiveAnomalySummary</code> objects that represent the requested anomalies '
        ReactiveAnomalies:
          allOf:
          - $ref: '#/components/schemas/ReactiveAnomalies'
          - description: ' An array of <code>ReactiveAnomalySummary</code> objects that represent the requested anomalies '
        NextToken:
          allOf:
          - $ref: '#/components/schemas/UuidNextToken'
          - description: 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.
    ReactiveAnomalySummary:
      type: object
      properties:
        Id:
          allOf:
          - $ref: '#/components/schemas/AnomalyId'
          - description: ' The ID of the reactive anomaly. '
        Severity:
          allOf:
          - $ref: '#/components/schemas/AnomalySeverity'
          - description: The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities">Understanding insight severities</a> in the <i>Amazon DevOps Guru User Guide</i>.
        Status:
          allOf:
          - $ref: '#/components/schemas/AnomalyStatus'
          - description: ' The status of the reactive anomaly. '
        AnomalyTimeRange:
          $ref: '#/components/schemas/AnomalyTimeRange'
        AnomalyReportedTimeRange:
          allOf:
          - $ref: '#/components/schemas/AnomalyReportedTimeRange'
          - description: ' An <code>AnomalyReportedTimeRange</code> object that specifies the time range between when the anomaly is opened and the time when it is closed. '
        SourceDetails:
          allOf:
          - $ref: '#/components/schemas/AnomalySourceDetails'
          - description: ' Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics. '
        AssociatedInsightId:
          allOf:
          - $ref: '#/components/schemas/InsightId'
          - description: ' The ID of the insight that contains this anomaly. An insight is composed of related anomalies. '
        ResourceCollection:
          $ref: '#/components/schemas/ResourceCollection'
        Type:
          allOf:
          - $ref: '#/components/schemas/AnomalyType'
          - description: <p>The type of the reactive anomaly. It can be one of the following types.</p> <ul> <li> <p> <code>CAUSAL</code> - the anomaly can cause a new insight.</p> </li> <li> <p> <code>CONTEXTUAL</code> - the anomaly contains additional information about an insight or its causal anomaly.</p> </li> </ul>
        Name:
          allOf:
          - $ref: '#/components/schemas/AnomalyName'
          - description: The name of the reactive anomaly.
        Description:
          allOf:
          - $ref: '#/components/schemas/AnomalyDescription'
          - description: A description of the reactive anomaly.
        CausalAnomalyId:
          allOf:
          - $ref: '#/components/schemas/AnomalyId'
          - description: The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
        AnomalyResources:
          allOf:
          - $ref: '#/components/schemas/AnomalyResources'
          - description: The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
      description: 'Details about a reactive anomaly. This object is returned by <code>DescribeAnomaly.</code> '
    ServiceName:
      type: string
      enum:
      - API_GATEWAY
      - APPLICATION_ELB
      - AUTO_SCALING_GROUP
      - CLOUD_FRONT
      - DYNAMO_DB
      - EC2
      - ECS
      - EKS
      - ELASTIC_BEANSTALK
      - ELASTI_CACHE
      - ELB
      - ES
      - KINESIS
      - LAMBDA
      - NAT_GATEWAY
      - NETWORK_ELB
      - RDS
      - REDSHIFT
      - ROUTE_53
      - S3
      - SAGE_MAKER
      - SNS
      - SQS
      - STEP_FUNCTIONS
      - SWF
    CloudWatchMetricsDetail:
      type: object
      properties:
        MetricName:
       

# --- truncated at 32 KB (59 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amazon-devops-guru/refs/heads/main/openapi/amazon-devops-guru-anomalies-api-openapi.yml