@aws-sdk/client-qconnect

CreateContentCommandInput Interface

The input for CreateContentCommand.

Members

Name
Type
Details
knowledgeBaseId Requiredstring | undefined

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

name Requiredstring | undefined

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.

uploadId Requiredstring | undefined

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

clientToken string | undefined

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs .

metadata Record<string, string> | undefined

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

overrideLinkOutUri string | undefined

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 Record<string, string> | undefined

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

title string | undefined

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

Full Signature

export interface CreateContentCommandInput extends CreateContentRequest