{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudhsm/json-schema/amazon-cloudhsm-describe-hapg-response-schema.json",
  "title": "DescribeHapgResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudhsm-hapg-api-openapi.yml#/components/schemas/DescribeHapgResponse",
  "type": "object",
  "properties": {
    "HapgArn": {
      "type": "string",
      "description": "The ARN of the high-availability partition group."
    },
    "HapgSerial": {
      "type": "string",
      "description": "The serial number of the high-availability partition group."
    },
    "HsmsLastActionFailed": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "HsmsPendingDeletion": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "HsmsPendingRegistration": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "Label": {
      "type": "string",
      "description": "The label for the high-availability partition group."
    },
    "LastModifiedTimestamp": {
      "type": "string",
      "description": "The date and time the high-availability partition group was last modified."
    },
    "PartitionSerialList": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of partition serial numbers that belong to the high-availability partition group."
    },
    "State": {
      "type": "string",
      "enum": [
        "READY",
        "UPDATING",
        "DEGRADED"
      ],
      "description": "The state of the high-availability partition group."
    }
  }
}