Skip to content

Deletes the specified fields containing personally identifiable information (PII) from a contact in the specified Connect Customer instance

Description

Deletes the specified fields containing personally identifiable information (PII) from a contact in the specified Connect Customer instance. We redact PII (such as customer endpoints, additional email recipients, and the email subject) from the contact and its associated contact trace record (CTR). The contact must be in a terminated state.

This deletion is permanent and cannot be undone. Performing this operation permanently deletes the specified PII. There is no retention period; you cannot recover the data after deletion. We remove only the fields that Connect Customer identifies and stores as PII. Any PII that you place in fields outside the scope of this operation remains your responsibility to remove.

Usage

connect_delete_contact_data(InstanceId, ContactId, ContactFields)

Arguments

  • InstanceId

[required] The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • ContactId

[required] The identifier of the contact. You can delete PII only from a contact that has been disconnected (is in a terminated state).

  • ContactFields

[required] The categories of PII to redact from the contact. Specify one or more of the following values:

  • CUSTOMER_ENDPOINT – The customer's contact endpoint.
  • ADDITIONAL_EMAIL_RECIPIENTS – Additional recipients on an email contact (email channel only).
  • EMAIL_SUBJECT – The subject line of an email contact (email channel only).

Value

An empty list.

Request syntax

svc$delete_contact_data(
  InstanceId = "string",
  ContactId = "string",
  ContactFields = list(
    "CUSTOMER_ENDPOINT"|"ADDITIONAL_EMAIL_RECIPIENTS"|"EMAIL_SUBJECT"
  )
)