Skip to content

ChatInput

Source code in docs_src/capo_assurance/types/chat_input.py
class ChatInput(TypedDict, closed=True):
    message: "capo_assurance.types.chat_input_content.ChatInputContent"
    """<p>The chat message to send to the AWS Assurance agent.</p>"""
    session_id: NotRequired["capo_assurance.types.chat_session_id.ChatSessionId"]
    """<p>The session to continue. Pass the <code>sessionId</code> returned by a previous <code>Chat</code> call to continue that session. If you omit it, AWS Assurance starts a new session. If the session doesn't exist or has expired, the operation returns <code>ResourceNotFoundException</code>. If the format isn't valid, the operation returns <code>ValidationException</code>.</p>"""
    environment_arn: "capo_assurance.types.environment_arn.EnvironmentArn"
    """<p>The ARN of this governance environment.</p>"""
    expected_sequence_number: NotRequired[
        "capo_assurance.types.chat_sequence_number.ChatSequenceNumber"
    ]
    """<p>The sequence number of the last message you received. If the service detects a more recent sequence number, the request fails with <code>ConflictException</code>, indicating a concurrent update.</p>"""

environment_arn instance-attribute

environment_arn: EnvironmentArn

The ARN of this governance environment.

expected_sequence_number instance-attribute

expected_sequence_number: NotRequired[ChatSequenceNumber]

The sequence number of the last message you received. If the service detects a more recent sequence number, the request fails with ConflictException, indicating a concurrent update.

message instance-attribute

The chat message to send to the AWS Assurance agent.

session_id instance-attribute

session_id: NotRequired[ChatSessionId]

The session to continue. Pass the sessionId returned by a previous Chat call to continue that session. If you omit it, AWS Assurance starts a new session. If the session doesn't exist or has expired, the operation returns ResourceNotFoundException. If the format isn't valid, the operation returns ValidationException.