Skip to content

DeletionProtectionConfiguration

Source code in docs_src/capo_bedrock_agent/types/deletion_protection_configuration.py
class DeletionProtectionConfiguration(TypedDict, closed=True):
    deletion_protection_status: (
        "capo_bedrock_agent.types.enabled_or_disabled_state.EnabledOrDisabledState"
    )
    """<p>Enable or disable deletion protection for the connector.</p>"""
    deletion_protection_threshold: "int"
    """<p>The threshold is the maximum percentage of documents that a sync job can delete from your index. If a sync would delete more than this percentage, the sync skips its delete phase, leaving your indexed documents in place. Not supported for the Custom connector.</p>"""

deletion_protection_status instance-attribute

deletion_protection_status: EnabledOrDisabledState

Enable or disable deletion protection for the connector.

deletion_protection_threshold instance-attribute

deletion_protection_threshold: int

The threshold is the maximum percentage of documents that a sync job can delete from your index. If a sync would delete more than this percentage, the sync skips its delete phase, leaving your indexed documents in place. Not supported for the Custom connector.