When a contact is being recorded, this API stops recording the call. StopContactRecording is a one-time action. If you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend it for sensitive information (for example, to collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording.
Only voice recordings are supported at this time.
connect_stop_contact_recording(InstanceId, ContactId, InitialContactId)
An empty list.
[required] The identifier of the Amazon Connect instance.
[required] The identifier of the contact.
[required] The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
svc$stop_contact_recording(
InstanceId = "string",
ContactId = "string",
InitialContactId = "string"
)