- 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.
ResumeContactCommand
Allows resuming a task contact in a paused state.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { ConnectClient, ResumeContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
// const { ConnectClient, ResumeContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
const client = new ConnectClient(config);
const input = { // ResumeContactRequest
ContactId: "STRING_VALUE", // required
InstanceId: "STRING_VALUE", // required
ContactFlowId: "STRING_VALUE",
};
const command = new ResumeContactCommand(input);
const response = await client.send(command);
// {};
ResumeContactCommand Input
See ResumeContactCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
ContactId Required | string | undefined | The identifier of the contact. |
InstanceId Required | string | undefined | The identifier of the Amazon Connect instance. You can find the |
ContactFlowId | string | undefined | The identifier of the flow. |
ResumeContactCommand Output
See ResumeContactCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
AccessDeniedException | client | You do not have sufficient permissions to perform this action. |
ConflictException | client | Operation cannot be performed at this time as there is a conflict with another operation or contact state. |
InternalServiceException | server | Request processing failed because of an error or failure with the service. |
InvalidParameterException | client | One or more of the specified parameters are not valid. |
InvalidRequestException | client | The request is not valid. |
ResourceNotFoundException | client | The specified resource was not found. |
ThrottlingException | client | The throttling limit has been exceeded. |
ConnectServiceException | Base exception class for all service exceptions from Connect service. |