{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-get-custom-detection-rule-association-response-schema.json",
  "title": "GetCustomDetectionRuleAssociationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-guardduty-association-api-openapi.yml#/components/schemas/GetCustomDetectionRuleAssociationResponse",
  "type": "object",
  "properties": {
    "RuleAssociation": {
      "$ref": "#/$defs/AssociationDetail"
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags associated with the custom detection rule association resource."
    }
  },
  "required": [
    "RuleAssociation"
  ],
  "$defs": {
    "AssociationDetail": {
      "type": "object",
      "properties": {
        "AssociationId": {
          "type": "string",
          "description": "The unique identifier for the association."
        },
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the association."
        },
        "RuleId": {
          "type": "string",
          "description": "The unique identifier for the custom detection rule."
        },
        "AccountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID associated with this rule association."
        },
        "Mode": {
          "type": "string",
          "enum": [
            "LIVE",
            "DRY_RUN"
          ],
          "description": "The rule execution mode. Valid values: LIVE | DRY_RUN."
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the association was created."
        },
        "UpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the association was last updated."
        },
        "ExpiresAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the association expires."
        }
      },
      "required": [
        "AssociationId",
        "Arn",
        "RuleId",
        "AccountId",
        "Mode",
        "CreatedAt",
        "UpdatedAt"
      ]
    }
  }
}