{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudhsm/json-schema/amazon-cloudhsm-describe-hsm-response-schema.json",
  "title": "DescribeHsmResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudhsm-hsm-api-openapi.yml#/components/schemas/DescribeHsmResponse",
  "type": "object",
  "properties": {
    "HsmArn": {
      "type": "string",
      "description": "The ARN of the HSM."
    },
    "Status": {
      "type": "string",
      "enum": [
        "PENDING",
        "RUNNING",
        "UPDATING",
        "SUSPENDED",
        "TERMINATING",
        "TERMINATED",
        "DEGRADED"
      ],
      "description": "The status of the HSM."
    },
    "StatusDetails": {
      "type": "string",
      "description": "Contains additional information about the status of the HSM."
    },
    "AvailabilityZone": {
      "type": "string",
      "description": "The Availability Zone that the HSM is in."
    },
    "EniId": {
      "type": "string",
      "description": "The identifier of the elastic network interface (ENI) attached to the HSM."
    },
    "EniIp": {
      "type": "string",
      "description": "The IP address assigned to the HSM's ENI."
    },
    "SubscriptionType": {
      "type": "string",
      "enum": [
        "PRODUCTION"
      ]
    },
    "SubscriptionStartDate": {
      "type": "string",
      "description": "The subscription start date."
    },
    "SubscriptionEndDate": {
      "type": "string",
      "description": "The subscription end date."
    },
    "VpcId": {
      "type": "string",
      "description": "The identifier of the VPC that the HSM is in."
    },
    "SubnetId": {
      "type": "string",
      "description": "The identifier of the subnet that the HSM is in."
    },
    "IamRoleArn": {
      "type": "string",
      "description": "The ARN of the IAM role assigned to the HSM."
    },
    "SerialNumber": {
      "type": "string",
      "description": "The serial number of the HSM."
    },
    "VendorName": {
      "type": "string",
      "description": "The name of the HSM vendor."
    },
    "HsmType": {
      "type": "string",
      "description": "The HSM model type."
    },
    "SoftwareVersion": {
      "type": "string",
      "description": "The HSM software version."
    },
    "SshPublicKey": {
      "type": "string",
      "description": "The public SSH key."
    },
    "SshKeyLastUpdated": {
      "type": "string",
      "description": "The date and time that the SSH key was last updated."
    },
    "ServerCertUri": {
      "type": "string",
      "description": "The URI of the certificate server."
    },
    "ServerCertLastUpdated": {
      "type": "string",
      "description": "The date and time that the server certificate was last updated."
    },
    "Partitions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of partitions on the HSM."
    }
  }
}