{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-disassociate-instance-event-window-request-schema.json",
  "title": "DisassociateInstanceEventWindowRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-instance-event-window-api-openapi.yml#/components/schemas/DisassociateInstanceEventWindowRequest",
  "type": "object",
  "properties": {
    "DryRun": {
      "type": "boolean",
      "description": "Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation."
    },
    "InstanceEventWindowId": {
      "type": "string",
      "description": "The ID of the event window."
    },
    "AssociationTarget": {
      "$ref": "#/$defs/InstanceEventWindowDisassociationRequest"
    }
  },
  "required": [
    "InstanceEventWindowId",
    "AssociationTarget"
  ],
  "$defs": {
    "InstanceEventWindowDisassociationRequest": {
      "type": "object",
      "properties": {
        "InstanceIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IDs of the instances to disassociate from the event window."
        },
        "InstanceTags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The instance tags to disassociate from the event window. Any instances associated with the tags will be disassociated from the event window."
        },
        "DedicatedHostIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IDs of the Dedicated Hosts to disassociate from the event window."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters."
        }
      }
    }
  }
}