Skip to content

UploadMetadata

Source code in docs_src/capo_connectparticipant/types/upload_metadata.py
class UploadMetadata(TypedDict, closed=True):
    url: NotRequired[
        "capo_connectparticipant.types.upload_metadata_url.UploadMetadataUrl"
    ]
    """<p>This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html">StartAttachmentUpload</a>.</p>"""
    url_expiry: NotRequired[
        "capo_connectparticipant.types.iso8601_datetime.ISO8601Datetime"
    ]
    """<p>The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.</p>"""
    headers_to_include: NotRequired[
        "capo_connectparticipant.types.upload_metadata_signed_headers.UploadMetadataSignedHeaders"
    ]
    """<p>The headers to be provided while uploading the file to the URL.</p>"""

headers_to_include instance-attribute

headers_to_include: NotRequired[UploadMetadataSignedHeaders]

The headers to be provided while uploading the file to the URL.

url instance-attribute

url: NotRequired[UploadMetadataUrl]

This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.

url_expiry instance-attribute

url_expiry: NotRequired[ISO8601Datetime]

The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.