DeleteQuickResponseCommand

Deletes a quick response.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { QConnectClient, DeleteQuickResponseCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
// const { QConnectClient, DeleteQuickResponseCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
const client = new QConnectClient(config);
const input = { // DeleteQuickResponseRequest
  knowledgeBaseId: "STRING_VALUE", // required
  quickResponseId: "STRING_VALUE", // required
};
const command = new DeleteQuickResponseCommand(input);
const response = await client.send(command);
// {};

DeleteQuickResponseCommand Input

See DeleteQuickResponseCommandInput for more details

Parameter
Type
Description
knowledgeBaseId
Required
string | undefined

The knowledge base from which the quick response is deleted. The identifier of the knowledge base.

quickResponseId
Required
string | undefined

The identifier of the quick response to delete.

DeleteQuickResponseCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
AccessDeniedException
client

You do not have sufficient access to perform this action.

ResourceNotFoundException
client

The specified resource does not exist.

ValidationException
client

The input fails to satisfy the constraints specified by a service.

QConnectServiceException
Base exception class for all service exceptions from QConnect service.