Skip to content

StartContentUploadRequest

Source code in docs_src/capo_wisdom/types/start_content_upload_request.py
class StartContentUploadRequest(TypedDict, closed=True):
    knowledge_base_id: "capo_wisdom.types.uuid_or_arn.UuidOrArn"
    """<p>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>"""
    content_type: "capo_wisdom.types.content_type.ContentType"
    """<p>The type of content to upload.</p>"""
    presigned_url_time_to_live: NotRequired["capo_wisdom.types.time_to_live.TimeToLive"]
    """<p>The expected expiration time of the generated presigned URL, specified in minutes.</p>"""

content_type instance-attribute

content_type: ContentType

The type of content to upload.

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 if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

presigned_url_time_to_live instance-attribute

presigned_url_time_to_live: NotRequired[TimeToLive]

The expected expiration time of the generated presigned URL, specified in minutes.