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

CreateContentRequest

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

§Properties

§
clientToken?: string | null
[src]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

§
knowledgeBaseId: string
[src]

The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain 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.

§
name: string
[src]

The name of the content. Each piece of content in a knowledge base must have a unique name. You can retrieve a piece of content using only its knowledge base and its name with the SearchContent API.

§
overrideLinkOutUri?: string | null
[src]

The URI you want to use for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content.

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

The tags used to organize, track, or control access for this resource.

§
title?: string | null
[src]

The title of the content. If not set, the title is equal to the name.

§
uploadId: string
[src]

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