{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-reset-instance-attribute-request-schema.json",
  "title": "ResetInstanceAttributeRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-instance-attribute-api-openapi.yml#/components/schemas/ResetInstanceAttributeRequest",
  "type": "object",
  "properties": {
    "DryRun": {
      "type": "boolean",
      "description": "Checks whether you have the required permissions for the operation, 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."
    },
    "InstanceId": {
      "type": "string",
      "description": "The ID of the instance."
    },
    "Attribute": {
      "type": "string",
      "enum": [
        "instanceType",
        "kernel",
        "ramdisk",
        "userData",
        "disableApiTermination",
        "instanceInitiatedShutdownBehavior",
        "rootDeviceName",
        "blockDeviceMapping",
        "productCodes",
        "sourceDestCheck",
        "groupSet",
        "ebsOptimized",
        "sriovNetSupport",
        "enaSupport",
        "enclaveOptions",
        "disableApiStop"
      ],
      "description": "The attribute to reset. You can only reset the following attributes: kernel | ramdisk | sourceDestCheck."
    }
  },
  "required": [
    "InstanceId",
    "Attribute"
  ]
}