Skip to content

PostContactSummary

Source code in docs_src/capo_connect_contact_lens/types/post_contact_summary.py
class PostContactSummary(TypedDict, closed=True):
    content: NotRequired[
        "capo_connect_contact_lens.types.post_contact_summary_content.PostContactSummaryContent"
    ]
    """<p>The content of the summary.</p>"""
    status: NotRequired[
        "capo_connect_contact_lens.types.post_contact_summary_status.PostContactSummaryStatus"
    ]
    """<p>Whether the summary was successfully COMPLETED or FAILED to be generated.</p>"""
    failure_code: NotRequired[
        "capo_connect_contact_lens.types.post_contact_summary_failure_code.PostContactSummaryFailureCode"
    ]
    """<p>If the summary failed to be generated, one of the following failure codes occurs:</p> <ul> <li> <p> <code>QUOTA_EXCEEDED</code>: The number of concurrent analytics jobs reached your service quota.</p> </li> <li> <p> <code>INSUFFICIENT_CONVERSATION_CONTENT</code>: The conversation needs to have at least one turn from both the participants in order to generate the summary.</p> </li> <li> <p> <code>FAILED_SAFETY_GUIDELINES</code>: The generated summary cannot be provided because it failed to meet system safety guidelines.</p> </li> <li> <p> <code>INVALID_ANALYSIS_CONFIGURATION</code>: This code occurs when, for example, you're using a <a href="https://docs.aws.amazon.com/connect/latest/adminguide/supported-languages.html#supported-languages-contact-lens">language</a> that isn't supported by generative AI-powered post-contact summaries. </p> </li> <li> <p> <code>INTERNAL_ERROR</code>: Internal system error.</p> </li> </ul>"""

content instance-attribute

content: NotRequired[PostContactSummaryContent]

The content of the summary.

failure_code instance-attribute

failure_code: NotRequired[PostContactSummaryFailureCode]

If the summary failed to be generated, one of the following failure codes occurs:

  • QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota.

  • INSUFFICIENT_CONVERSATION_CONTENT: The conversation needs to have at least one turn from both the participants in order to generate the summary.

  • FAILED_SAFETY_GUIDELINES: The generated summary cannot be provided because it failed to meet system safety guidelines.

  • INVALID_ANALYSIS_CONFIGURATION: This code occurs when, for example, you're using a language that isn't supported by generative AI-powered post-contact summaries.

  • INTERNAL_ERROR: Internal system error.

status instance-attribute

status: NotRequired[PostContactSummaryStatus]

Whether the summary was successfully COMPLETED or FAILED to be generated.