import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateKnowledgeBaseTemplateUriRequest, UpdateKnowledgeBaseTemplateUriResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateKnowledgeBaseTemplateUriCommand}. */ export interface UpdateKnowledgeBaseTemplateUriCommandInput extends UpdateKnowledgeBaseTemplateUriRequest { } /** * @public * * The output of {@link UpdateKnowledgeBaseTemplateUriCommand}. */ export interface UpdateKnowledgeBaseTemplateUriCommandOutput extends UpdateKnowledgeBaseTemplateUriResponse, __MetadataBearer { } declare const UpdateKnowledgeBaseTemplateUriCommand_base: { new (input: UpdateKnowledgeBaseTemplateUriCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateKnowledgeBaseTemplateUriCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the template URI of a knowledge base. This is only supported for knowledge bases * of type EXTERNAL. Include a single variable in $\{variable\} format; this * interpolated by Wisdom using ingested content. For example, if you ingest a Salesforce * article, it has an Id value, and you can set the template URI to * https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*$\{Id\}*\/view. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WisdomClient, UpdateKnowledgeBaseTemplateUriCommand } from "@aws-sdk/client-wisdom"; // ES Modules import * // const { WisdomClient, UpdateKnowledgeBaseTemplateUriCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import * // import type { WisdomClientConfig } from "@aws-sdk/client-wisdom"; * const config = {}; // type is WisdomClientConfig * const client = new WisdomClient(config); * const input = { // UpdateKnowledgeBaseTemplateUriRequest * knowledgeBaseId: "STRING_VALUE", // required * templateUri: "STRING_VALUE", // required * }; * const command = new UpdateKnowledgeBaseTemplateUriCommand(input); * const response = await client.send(command); * // { // UpdateKnowledgeBaseTemplateUriResponse * // knowledgeBase: { // KnowledgeBaseData * // knowledgeBaseId: "STRING_VALUE", // required * // knowledgeBaseArn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // knowledgeBaseType: "STRING_VALUE", // required * // status: "STRING_VALUE", // required * // lastContentModificationTime: new Date("TIMESTAMP"), * // sourceConfiguration: { // SourceConfiguration Union: only one key present * // appIntegrations: { // AppIntegrationsConfiguration * // appIntegrationArn: "STRING_VALUE", // required * // objectFields: [ // ObjectFieldsList * // "STRING_VALUE", * // ], * // }, * // }, * // renderingConfiguration: { // RenderingConfiguration * // templateUri: "STRING_VALUE", * // }, * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration * // kmsKeyId: "STRING_VALUE", * // }, * // description: "STRING_VALUE", * // tags: { // Tags * // "": "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param UpdateKnowledgeBaseTemplateUriCommandInput - {@link UpdateKnowledgeBaseTemplateUriCommandInput} * @returns {@link UpdateKnowledgeBaseTemplateUriCommandOutput} * @see {@link UpdateKnowledgeBaseTemplateUriCommandInput} for command's `input` shape. * @see {@link UpdateKnowledgeBaseTemplateUriCommandOutput} for command's `response` shape. * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource does not exist.

* * @throws {@link ValidationException} (client fault) *

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

* * @throws {@link WisdomServiceException} *

Base exception class for all service exceptions from Wisdom service.

* * * @public */ export declare class UpdateKnowledgeBaseTemplateUriCommand extends UpdateKnowledgeBaseTemplateUriCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateKnowledgeBaseTemplateUriRequest; output: UpdateKnowledgeBaseTemplateUriResponse; }; sdk: { input: UpdateKnowledgeBaseTemplateUriCommandInput; output: UpdateKnowledgeBaseTemplateUriCommandOutput; }; }; }