Skip to content

PIIDetection

rboto-glue==0.4.0 · Service index · Types

Public import: from rboto_glue.types import PIIDetection.

Used in: input. Typed dictionary. Presence and nullability are separate: NotRequired permits omission; | None permits a null value.

PIIDetection = TypedDict(
    "PIIDetection",
    {
        "name": Required['str'],
        "inputs": Required['Sequence[str]'],
        "pii_type": Required['PiiType'],
        "entity_types_to_detect": Required['Sequence[str]'],
        "output_column_name": NotRequired['str'],
        "sample_fraction": NotRequired['float'],
        "threshold_fraction": NotRequired['float'],
        "mask_value": NotRequired['str'],
        "redact_text": NotRequired['str'],
        "redact_char": NotRequired['str'],
        "match_pattern": NotRequired['str'],
        "num_left_chars_to_exclude": NotRequired['int'],
        "num_right_chars_to_exclude": NotRequired['int'],
        "detection_parameters": NotRequired['str'],
        "detection_sensitivity": NotRequired['str'],
    },
)

PiiType