Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UpdateContentRequest

import type { UpdateContentRequest } from "https://aws-api.deno.dev/v0.3/services/wisdom.ts?docs=full";
interface UpdateContentRequest {
contentId: string;
knowledgeBaseId: string;
metadata?: {
[key: string]: string | null | undefined;
}
| null;
overrideLinkOutUri?: string | null;
removeOverrideLinkOutUri?: boolean | null;
revisionId?: string | null;
title?: string | null;
uploadId?: string | null;
}

§Properties

§
contentId: string
[src]

The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

§
knowledgeBaseId: string
[src]

The the identifier of the knowledge base. Can be either the ID or the ARN

§
metadata?: {
[key: string]: string | null | undefined;
}
| null
[src]

A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.

§
overrideLinkOutUri?: string | null
[src]

The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri to true.

§
removeOverrideLinkOutUri?: boolean | null
[src]

Unset the existing overrideLinkOutUri if it exists.

§
revisionId?: string | null
[src]

The revisionId of the content resource to update, taken from an earlier call to GetContent, GetContentSummary, SearchContent, or ListContents. If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws a PreconditionFailedException.

§
title?: string | null
[src]

The title of the content.

§
uploadId?: string | null
[src]

A pointer to the uploaded asset. This value is returned by StartContentUpload.