UpdateContentRequest
¶
Source code in docs_src/capo_qconnect/types/update_content_request.py
content_id
instance-attribute
¶
content_id: UuidOrArn
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledge_base_id
instance-attribute
¶
knowledge_base_id: UuidOrArn
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN
metadata
instance-attribute
¶
metadata: NotRequired[ContentMetadata]
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.
override_link_out_uri
instance-attribute
¶
override_link_out_uri: NotRequired[Uri]
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.
remove_override_link_out_uri
instance-attribute
¶
remove_override_link_out_uri: NotRequired[bool]
Unset the existing overrideLinkOutUri if it exists.
revision_id
instance-attribute
¶
revision_id: NotRequired[NonEmptyString]
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.
upload_id
instance-attribute
¶
upload_id: NotRequired[UploadId]
A pointer to the uploaded asset. This value is returned by StartContentUpload.