{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-directory-service/json-schema/amazon-directory-service-describe-hybrid-adupdate-result-schema.json",
  "title": "DescribeHybridADUpdateResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-directory-service-operations-api-openapi.yml#/components/schemas/DescribeHybridADUpdateResult",
  "type": "object",
  "properties": {
    "UpdateActivities": {
      "$ref": "#/$defs/HybridUpdateActivities"
    },
    "NextToken": {
      "type": "string",
      "description": "If not null, more results are available. Pass this value for the NextToken parameter in a subsequent request to retrieve the next set of items."
    }
  },
  "$defs": {
    "HybridUpdateActivities": {
      "type": "object",
      "properties": {
        "SelfManagedInstances": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/HybridUpdateInfoEntry"
          },
          "description": "A list of update activities related to the self-managed instances with SSM in the self-managed instances with SSM hybrid directory configuration."
        },
        "HybridAdministratorAccount": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/HybridUpdateInfoEntry"
          },
          "description": "A list of update activities related to hybrid directory administrator account changes."
        }
      }
    },
    "HybridUpdateInfoEntry": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "Updated",
            "Updating",
            "UpdateFailed"
          ],
          "description": "The current status of the update activity. Valid values include UPDATED, UPDATING, and UPDATE_FAILED."
        },
        "StatusReason": {
          "type": "string",
          "description": "A human-readable description of the update status, including any error details or progress information."
        },
        "InitiatedBy": {
          "type": "string",
          "description": "Specifies if the update was initiated by the customer or Amazon Web Services."
        },
        "NewValue": {
          "$ref": "#/$defs/HybridUpdateValue"
        },
        "PreviousValue": {
          "$ref": "#/$defs/HybridUpdateValue"
        },
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the update activity was initiated."
        },
        "LastUpdatedDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the update activity status was last updated."
        },
        "AssessmentId": {
          "type": "string",
          "description": "The identifier of the assessment performed to validate this update configuration."
        }
      }
    },
    "HybridUpdateValue": {
      "type": "object",
      "properties": {
        "InstanceIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The identifiers of the self-managed instances with SSM in the hybrid directory configuration."
        },
        "DnsIps": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IP addresses of the DNS servers or domain controllers in the hybrid directory configuration."
        }
      }
    }
  }
}