Skip to content

GetAttachmentResponse

Source code in docs_src/capo_connectparticipant/types/get_attachment_response.py
class GetAttachmentResponse(TypedDict, closed=True):
    url: NotRequired[
        "capo_connectparticipant.types.pre_signed_attachment_url.PreSignedAttachmentUrl"
    ]
    """<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>"""
    attachment_size_in_bytes: (
        "capo_connectparticipant.types.attachment_size_in_bytes.AttachmentSizeInBytes"
    )
    """<p>The size of the attachment in bytes.</p>"""

attachment_size_in_bytes instance-attribute

attachment_size_in_bytes: AttachmentSizeInBytes

The size of the attachment in bytes.

url instance-attribute

url: NotRequired[PreSignedAttachmentUrl]

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.