{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-devops-guru/json-schema/amazon-devops-guru-describe-organization-resource-collection-health-response-schema.json",
  "title": "DescribeOrganizationResourceCollectionHealthResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-devops-guru-organization-api-openapi.yml#/components/schemas/DescribeOrganizationResourceCollectionHealthResponse",
  "type": "object",
  "properties": {
    "CloudFormation": {
      "allOf": [
        {
          "$ref": "#/$defs/CloudFormationHealths"
        },
        {
          "description": "The returned <code>CloudFormationHealthOverview</code> object that contains an <code>InsightHealthOverview</code> object with the requested system health information."
        }
      ]
    },
    "Service": {
      "allOf": [
        {
          "$ref": "#/$defs/ServiceHealths"
        },
        {
          "description": "An array of <code>ServiceHealth</code> objects that describes the health of the Amazon Web Services services associated with the resources in the collection."
        }
      ]
    },
    "Account": {
      "allOf": [
        {
          "$ref": "#/$defs/AccountHealths"
        },
        {
          "description": "The name of the organization's account."
        }
      ]
    },
    "NextToken": {
      "allOf": [
        {
          "$ref": "#/$defs/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."
        }
      ]
    },
    "Tags": {
      "allOf": [
        {
          "$ref": "#/$defs/TagHealths"
        },
        {
          "description": "<p>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 <a href=\"https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html\">Tagging best practices</a> whitepaper. </p> <p>Each Amazon Web Services tag has two parts. </p> <ul> <li> <p>A tag <i>key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag <i>keys</i> are case-sensitive.</p> </li> <li> <p>An optional field known as a tag <i>value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag <i>value</i> is the same as using an empty string. Like tag <i>keys</i>, tag <i>values</i> are case-sensitive.</p> </li> </ul> <p>Together these are known as <i>key</i>-<i>value</i> pairs.</p> <important> <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the prefix <code>Devops-guru-</code>. The tag <i>key</i> might be <code>DevOps-Guru-deployment-application</code> or <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive. For example, DevOps Guru works with a <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your application might be <code>Devops-Guru-production-application/RDS</code> or <code>Devops-Guru-production-application/containers</code>.</p> </important>"
        }
      ]
    }
  },
  "$defs": {
    "AccountHealth": {
      "type": "object",
      "properties": {
        "AccountId": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsAccountId"
            },
            {
              "description": "The ID of the Amazon Web Services account. "
            }
          ]
        },
        "Insight": {
          "allOf": [
            {
              "$ref": "#/$defs/AccountInsightHealth"
            },
            {
              "description": " 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. "
            }
          ]
        }
      },
      "description": " 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. "
    },
    "AccountHealths": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AccountHealth"
      }
    },
    "AccountInsightHealth": {
      "type": "object",
      "properties": {
        "OpenProactiveInsights": {
          "allOf": [
            {
              "$ref": "#/$defs/NumOpenProactiveInsights"
            },
            {
              "description": "An integer that specifies the number of open proactive insights in your Amazon Web Services account."
            }
          ]
        },
        "OpenReactiveInsights": {
          "allOf": [
            {
              "$ref": "#/$defs/NumOpenReactiveInsights"
            },
            {
              "description": "An integer that specifies the number of open reactive insights in your Amazon Web Services account."
            }
          ]
        }
      },
      "description": " Information about the number of open reactive and proactive insights that can be used to gauge the health of your system. "
    },
    "AnalyzedResourceCount": {
      "type": "integer"
    },
    "AppBoundaryKey": {
      "type": "string",
      "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
      "minLength": 1,
      "maxLength": 128
    },
    "AwsAccountId": {
      "type": "string",
      "pattern": "^\\d{12}$",
      "minLength": 12,
      "maxLength": 12
    },
    "CloudFormationHealth": {
      "type": "object",
      "properties": {
        "StackName": {
          "allOf": [
            {
              "$ref": "#/$defs/StackName"
            },
            {
              "description": " The name of the CloudFormation stack. "
            }
          ]
        },
        "Insight": {
          "allOf": [
            {
              "$ref": "#/$defs/InsightHealth"
            },
            {
              "description": " 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. "
            }
          ]
        },
        "AnalyzedResourceCount": {
          "allOf": [
            {
              "$ref": "#/$defs/AnalyzedResourceCount"
            },
            {
              "description": " Number of resources that DevOps Guru is monitoring in your account that are specified by an Amazon Web Services CloudFormation stack. "
            }
          ]
        }
      },
      "description": " Information about the health of Amazon Web Services resources in your account that are specified by an Amazon Web Services CloudFormation stack. "
    },
    "CloudFormationHealths": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CloudFormationHealth"
      }
    },
    "InsightHealth": {
      "type": "object",
      "properties": {
        "OpenProactiveInsights": {
          "allOf": [
            {
              "$ref": "#/$defs/NumOpenProactiveInsights"
            },
            {
              "description": " The number of open proactive insights. "
            }
          ]
        },
        "OpenReactiveInsights": {
          "allOf": [
            {
              "$ref": "#/$defs/NumOpenReactiveInsights"
            },
            {
              "description": " The number of open reactive insights. "
            }
          ]
        },
        "MeanTimeToRecoverInMilliseconds": {
          "allOf": [
            {
              "$ref": "#/$defs/MeanTimeToRecoverInMilliseconds"
            },
            {
              "description": " The Meant Time to Recover (MTTR) for the insight. "
            }
          ]
        }
      },
      "description": " Information about the number of open reactive and proactive insights that can be used to gauge the health of your system. "
    },
    "MeanTimeToRecoverInMilliseconds": {
      "type": "integer"
    },
    "NumOpenProactiveInsights": {
      "type": "integer"
    },
    "NumOpenReactiveInsights": {
      "type": "integer"
    },
    "ServiceHealth": {
      "type": "object",
      "properties": {
        "ServiceName": {
          "allOf": [
            {
              "$ref": "#/$defs/ServiceName"
            },
            {
              "description": "The name of the Amazon Web Services service."
            }
          ]
        },
        "Insight": {
          "allOf": [
            {
              "$ref": "#/$defs/ServiceInsightHealth"
            },
            {
              "description": "Represents the health of an Amazon Web Services service. This is a <code>ServiceInsightHealth</code> that contains the number of open proactive and reactive insights for this service."
            }
          ]
        },
        "AnalyzedResourceCount": {
          "allOf": [
            {
              "$ref": "#/$defs/AnalyzedResourceCount"
            },
            {
              "description": " Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service. "
            }
          ]
        }
      },
      "description": "Represents the health of an Amazon Web Services service."
    },
    "ServiceHealths": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ServiceHealth"
      }
    },
    "ServiceInsightHealth": {
      "type": "object",
      "properties": {
        "OpenProactiveInsights": {
          "allOf": [
            {
              "$ref": "#/$defs/NumOpenProactiveInsights"
            },
            {
              "description": "The number of open proactive insights in the Amazon Web Services service"
            }
          ]
        },
        "OpenReactiveInsights": {
          "allOf": [
            {
              "$ref": "#/$defs/NumOpenReactiveInsights"
            },
            {
              "description": "The number of open reactive insights in the Amazon Web Services service"
            }
          ]
        }
      },
      "description": "Contains the number of open proactive and reactive insights in an analyzed Amazon Web Services service."
    },
    "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"
      ]
    },
    "StackName": {
      "type": "string",
      "pattern": "^[a-zA-Z*]+[a-zA-Z0-9-]*$",
      "minLength": 1,
      "maxLength": 128
    },
    "TagHealth": {
      "type": "object",
      "properties": {
        "AppBoundaryKey": {
          "allOf": [
            {
              "$ref": "#/$defs/AppBoundaryKey"
            },
            {
              "description": "<p>An Amazon Web Services tag <i>key</i> that is used to identify the Amazon Web Services resources that DevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this <i>key</i> make up your DevOps Guru application and analysis boundary.</p> <important> <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the prefix <code>Devops-guru-</code>. The tag <i>key</i> might be <code>DevOps-Guru-deployment-application</code> or <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive. For example, DevOps Guru works with a <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your application might be <code>Devops-Guru-production-application/RDS</code> or <code>Devops-Guru-production-application/containers</code>.</p> </important>"
            }
          ]
        },
        "TagValue": {
          "allOf": [
            {
              "$ref": "#/$defs/TagValue"
            },
            {
              "description": "<p>The value in an Amazon Web Services tag.</p> <p>The tag's <i>value</i> is an optional field used to associate a string with the tag <i>key</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). The <i>key</i> and <i>value</i> are the tag's <i>key</i> pair. Omitting the tag <i>value</i> is the same as using an empty string. Like tag <i>keys</i>, tag <i>values</i> are case-sensitive. You can specify a maximum of 256 characters for a tag value.</p>"
            }
          ]
        },
        "Insight": {
          "allOf": [
            {
              "$ref": "#/$defs/InsightHealth"
            },
            {
              "description": "Information about the health of the Amazon Web Services resources in your account that are specified by an Amazon Web Services tag, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights. "
            }
          ]
        },
        "AnalyzedResourceCount": {
          "allOf": [
            {
              "$ref": "#/$defs/AnalyzedResourceCount"
            },
            {
              "description": " Number of resources that DevOps Guru is monitoring in your account that are specified by an Amazon Web Services tag. "
            }
          ]
        }
      },
      "description": " Information about the health of Amazon Web Services resources in your account that are specified by an Amazon Web Services tag <i>key</i>. "
    },
    "TagHealths": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TagHealth"
      }
    },
    "TagValue": {
      "type": "string",
      "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*|\\*)$",
      "minLength": 0,
      "maxLength": 256
    },
    "UuidNextToken": {
      "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
    }
  }
}