{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-modify-ipam-resource-discovery-request-schema.json",
  "title": "ModifyIpamResourceDiscoveryRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-ipam-resource-discovery-api-openapi.yml#/components/schemas/ModifyIpamResourceDiscoveryRequest",
  "type": "object",
  "properties": {
    "DryRun": {
      "type": "boolean",
      "description": "A check for 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."
    },
    "IpamResourceDiscoveryId": {
      "type": "string",
      "description": "A resource discovery ID."
    },
    "Description": {
      "type": "string",
      "description": "A resource discovery description."
    },
    "AddOperatingRegions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AddIpamOperatingRegion"
      },
      "description": "Add operating Regions to the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions."
    },
    "RemoveOperatingRegions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RemoveIpamOperatingRegion"
      },
      "description": "Remove operating Regions."
    },
    "AddOrganizationalUnitExclusions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AddIpamOrganizationalUnitExclusion"
      },
      "description": "Add an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see Quotas for your IPAM in the Amazon VPC IPAM User Guide. The resulting set of exclusions must not result in \"overlap\", meaning two or more OU exclusions must not exclude the same OU. For more information and examples, see the Amazon Web Services CLI request process in "
    },
    "RemoveOrganizationalUnitExclusions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RemoveIpamOrganizationalUnitExclusion"
      },
      "description": "Remove an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see Quotas for your IPAM in the Amazon VPC IPAM User Guide. The resulting set of exclusions must not result in \"overlap\", meaning two or more OU exclusions must not exclude the same OU. For more information and examples, see the Amazon Web Services CLI request process "
    }
  },
  "required": [
    "IpamResourceDiscoveryId"
  ],
  "$defs": {
    "AddIpamOperatingRegion": {
      "type": "object",
      "properties": {
        "RegionName": {
          "type": "string",
          "description": "The name of the operating Region."
        }
      }
    },
    "AddIpamOrganizationalUnitExclusion": {
      "type": "object",
      "properties": {
        "OrganizationsEntityPath": {
          "type": "string",
          "description": "An Amazon Web Services Organizations entity path. Build the path for the OU(s) using Amazon Web Services Organizations IDs separated by a /. Include all child OUs by ending the path with /*. Example 1 Path to a child OU: o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/ou-jkl0-awsddddd/ In this example, o-a1b2c3d4e5 is the organization ID, r-f6g7h8i9j0example is the root ID , ou-ghi0-awsccccc is an OU ID, and ou-jkl0-awsddddd is a child OU ID. IPAM will not manage the IP addresses in accounts in the child OU. Example 2 Path where all child OUs will be part of the exclusion: o-a1b2c3d4e5/r-f6g"
        }
      }
    },
    "RemoveIpamOperatingRegion": {
      "type": "object",
      "properties": {
        "RegionName": {
          "type": "string",
          "description": "The name of the operating Region you want to remove."
        }
      }
    },
    "RemoveIpamOrganizationalUnitExclusion": {
      "type": "object",
      "properties": {
        "OrganizationsEntityPath": {
          "type": "string",
          "description": "An Amazon Web Services Organizations entity path. Build the path for the OU(s) using Amazon Web Services Organizations IDs separated by a /. Include all child OUs by ending the path with /*. Example 1 Path to a child OU: o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/ou-jkl0-awsddddd/ In this example, o-a1b2c3d4e5 is the organization ID, r-f6g7h8i9j0example is the root ID , ou-ghi0-awsccccc is an OU ID, and ou-jkl0-awsddddd is a child OU ID. IPAM will not manage the IP addresses in accounts in the child OU. Example 2 Path where all child OUs will be part of the exclusion: o-a1b2c3d4e5/r-f6g"
        }
      }
    }
  }
}