Skip to content

AttachedFile

Source code in docs_src/capo_connect/types/attached_file.py
class AttachedFile(TypedDict, closed=True):
    creation_time: "capo_connect.types.iso8601_datetime.ISO8601Datetime"
    """<p>The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format: <code>yyyy-MM-ddThh:mm:ss.SSSZ</code>. For example, <code>2024-05-03T02:41:28.172Z</code>.</p>"""
    file_arn: "capo_connect.types.arn.ARN"
    """<p>The unique identifier of the attached file resource (ARN).</p>"""
    file_id: "capo_connect.types.file_id.FileId"
    """<p>The unique identifier of the attached file resource.</p>"""
    file_name: "capo_connect.types.file_name.FileName"
    """<p>A case-sensitive name of the attached file being uploaded.</p>"""
    file_size_in_bytes: "capo_connect.types.file_size_in_bytes.FileSizeInBytes"
    """<p>The size of the attached file in bytes.</p>"""
    file_status: "capo_connect.types.file_status_type.FileStatusType"
    """<p>The current status of the attached file.</p>"""
    created_by: NotRequired["capo_connect.types.created_by_info.CreatedByInfo"]
    """<p>Represents the identity that created the file.</p>"""
    file_use_case_type: NotRequired[
        "capo_connect.types.file_use_case_type.FileUseCaseType"
    ]
    """<p>The use case for the file.</p>"""
    associated_resource_arn: NotRequired["capo_connect.types.arn.ARN"]
    """<p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a>, <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>, and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html">Task</a>.</p> <note> <p>This value must be a valid ARN.</p> </note>"""
    tags: NotRequired["capo_connect.types.tag_map.TagMap"]
    """<p>The tags used to organize, track, or control access for this resource. For example, <code>{ "Tags": {"key1":"value1", "key2":"value2"} }</code>.</p>"""

associated_resource_arn instance-attribute

associated_resource_arn: NotRequired[ARN]

The resource to which the attached file is (being) uploaded to. The supported resources are Cases, Email, and Task.

This value must be a valid ARN.

created_by instance-attribute

created_by: NotRequired[CreatedByInfo]

Represents the identity that created the file.

creation_time instance-attribute

creation_time: ISO8601Datetime

The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2024-05-03T02:41:28.172Z.

file_arn instance-attribute

file_arn: ARN

The unique identifier of the attached file resource (ARN).

file_id instance-attribute

file_id: FileId

The unique identifier of the attached file resource.

file_name instance-attribute

file_name: FileName

A case-sensitive name of the attached file being uploaded.

file_size_in_bytes instance-attribute

file_size_in_bytes: FileSizeInBytes

The size of the attached file in bytes.

file_status instance-attribute

file_status: FileStatusType

The current status of the attached file.

file_use_case_type instance-attribute

file_use_case_type: NotRequired[FileUseCaseType]

The use case for the file.

tags instance-attribute

tags: NotRequired[TagMap]

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.