Skip to content

NewSessionDetails

Source code in docs_src/capo_connect/types/new_session_details.py
class NewSessionDetails(TypedDict, closed=True):
    supported_messaging_content_types: NotRequired[
        "capo_connect.types.supported_messaging_content_types.SupportedMessagingContentTypes"
    ]
    """<p> The supported chat message content types. Supported types are <code>text/plain</code>, <code>text/markdown</code>, <code>application/json</code>, <code>application/vnd.amazonaws.connect.message.interactive</code>, and <code>application/vnd.amazonaws.connect.message.interactive.response</code>. </p> <p>Content types must always contain <code> text/plain</code>. You can then put any other supported type in the list. For example, all the following lists are valid because they contain <code>text/plain</code>: <code>[text/plain, text/markdown, application/json]</code>, <code> [text/markdown, text/plain]</code>, <code>[text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]</code>. </p>"""
    participant_details: NotRequired[
        "capo_connect.types.participant_details.ParticipantDetails"
    ]
    attributes: NotRequired["capo_connect.types.attributes.Attributes"]
    """<p> A custom key-value pair using an attribute map. The attributes are standard Connect Customer attributes. They can be accessed in flows just like any other contact attributes. </p> <p> There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters. </p>"""
    streaming_configuration: NotRequired[
        "capo_connect.types.chat_streaming_configuration.ChatStreamingConfiguration"
    ]

attributes instance-attribute

attributes: NotRequired[Attributes]

A custom key-value pair using an attribute map. The attributes are standard Connect Customer attributes. They can be accessed in flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

participant_details instance-attribute

participant_details: NotRequired[ParticipantDetails]

streaming_configuration instance-attribute

streaming_configuration: NotRequired[ChatStreamingConfiguration]

supported_messaging_content_types instance-attribute

supported_messaging_content_types: NotRequired[SupportedMessagingContentTypes]

The supported chat message content types. Supported types are text/plain, text/markdown, application/json, application/vnd.amazonaws.connect.message.interactive, and application/vnd.amazonaws.connect.message.interactive.response.

Content types must always contain text/plain. You can then put any other supported type in the list. For example, all the following lists are valid because they contain text/plain: [text/plain, text/markdown, application/json], [text/markdown, text/plain], [text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response].