{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-security-hub/json-schema/aws-security-hub-batch-update-standards-control-associations-request-schema.json",
  "title": "BatchUpdateStandardsControlAssociationsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-security-hub-associations-api-openapi.yml#/components/schemas/BatchUpdateStandardsControlAssociationsRequest",
  "type": "object",
  "properties": {
    "StandardsControlAssociationUpdates": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/StandardsControlAssociationUpdate"
      },
      "description": "Updates the enablement status of a security control in a specified standard. Calls to this operation return a RESOURCE_NOT_FOUND_EXCEPTION error when the standard subscription for the control has StandardsControlsUpdatable value NOT_READY_FOR_UPDATES."
    }
  },
  "required": [
    "StandardsControlAssociationUpdates"
  ],
  "$defs": {
    "StandardsControlAssociationUpdate": {
      "type": "object",
      "properties": {
        "StandardsArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the standard in which you want to update the control's enablement status."
        },
        "SecurityControlId": {
          "type": "string",
          "description": "The unique identifier for the security control whose enablement status you want to update."
        },
        "AssociationStatus": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "The desired enablement status of the control in the standard."
        },
        "UpdatedReason": {
          "type": "string",
          "description": "The reason for updating the control's enablement status in the standard."
        }
      },
      "required": [
        "StandardsArn",
        "SecurityControlId",
        "AssociationStatus"
      ]
    }
  }
}