- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
ResumeContactRecordingCommand
When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording whatever recording is selected in the flow configuration: call, screen, or both. If only call recording or only screen recording is enabled, then it would resume.
Voice and screen recordings are supported.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { ConnectClient, ResumeContactRecordingCommand } from "@aws-sdk/client-connect"; // ES Modules import
// const { ConnectClient, ResumeContactRecordingCommand } = require("@aws-sdk/client-connect"); // CommonJS import
const client = new ConnectClient(config);
const input = { // ResumeContactRecordingRequest
InstanceId: "STRING_VALUE", // required
ContactId: "STRING_VALUE", // required
InitialContactId: "STRING_VALUE", // required
ContactRecordingType: "AGENT" || "IVR" || "SCREEN",
};
const command = new ResumeContactRecordingCommand(input);
const response = await client.send(command);
// {};
ResumeContactRecordingCommand Input
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
ContactId Required | string | undefined | The identifier of the contact. |
InitialContactId Required | string | undefined | The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center. |
InstanceId Required | string | undefined | The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. |
ContactRecordingType | ContactRecordingType | undefined | The type of recording being operated on. |
ResumeContactRecordingCommand Output
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
InternalServiceException | server | Request processing failed because of an error or failure with the service. |
InvalidRequestException | client | The request is not valid. |
ResourceNotFoundException | client | The specified resource was not found. |
ConnectServiceException | Base exception class for all service exceptions from Connect service. |