Skip to content

GetRecommendationsRequest

Source code in docs_src/capo_qconnect/types/get_recommendations_request.py
class GetRecommendationsRequest(TypedDict, closed=True):
    assistant_id: "capo_qconnect.types.uuid_or_arn.UuidOrArn"
    """<p>The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>"""
    session_id: "capo_qconnect.types.uuid_or_arn.UuidOrArn"
    """<p>The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>"""
    max_results: NotRequired["capo_qconnect.types.max_results.MaxResults"]
    """<p>The maximum number of results to return per page.</p>"""
    wait_time_seconds: "capo_qconnect.types.wait_time_seconds.WaitTimeSeconds"
    """<p>The duration (in seconds) for which the call waits for a recommendation to be made available before returning. If a recommendation is available, the call returns sooner than <code>WaitTimeSeconds</code>. If no messages are available and the wait time expires, the call returns successfully with an empty list.</p>"""
    next_chunk_token: NotRequired["capo_qconnect.types.next_token.NextToken"]
    """<p>The token for the next set of chunks. Use the value returned in the previous response in the next request to retrieve the next set of chunks.</p>"""
    recommendation_type: NotRequired[
        "capo_qconnect.types.recommendation_type.RecommendationType"
    ]
    """<p>The type of recommendation being requested.</p>"""

assistant_id instance-attribute

assistant_id: UuidOrArn

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

max_results instance-attribute

max_results: NotRequired[MaxResults]

The maximum number of results to return per page.

next_chunk_token instance-attribute

next_chunk_token: NotRequired[NextToken]

The token for the next set of chunks. Use the value returned in the previous response in the next request to retrieve the next set of chunks.

recommendation_type instance-attribute

recommendation_type: NotRequired[RecommendationType]

The type of recommendation being requested.

session_id instance-attribute

session_id: UuidOrArn

The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

wait_time_seconds instance-attribute

wait_time_seconds: WaitTimeSeconds

The duration (in seconds) for which the call waits for a recommendation to be made available before returning. If a recommendation is available, the call returns sooner than WaitTimeSeconds. If no messages are available and the wait time expires, the call returns successfully with an empty list.