Skip to content

Qbusiness  >  Operations  >  list_conversations

list_conversations

Operation

list_conversations async

list_conversations(input: ListConversationsInput, plugins: list[Plugin] | None = None) -> ListConversationsOutput

Lists one or more Amazon Q Business conversations.

Parameters:

Name Type Description Default
input ListConversationsInput

An instance of ListConversationsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ListConversationsOutput

An instance of ListConversationsOutput.

Input

ListConversationsInput dataclass

Dataclass for ListConversationsInput structure.

Attributes

application_id class-attribute instance-attribute
application_id: str | None = None

The identifier of the Amazon Q Business application.

max_results class-attribute instance-attribute
max_results: int | None = None

The maximum number of Amazon Q Business conversations to return.

next_token class-attribute instance-attribute
next_token: str | None = None

If the maxResults response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business conversations.

user_id class-attribute instance-attribute
user_id: str | None = None

The identifier of the user involved in the Amazon Q Business web experience conversation.

Output

ListConversationsOutput dataclass

Dataclass for ListConversationsOutput structure.

Attributes

conversations class-attribute instance-attribute
conversations: list[Conversation] | None = None

An array of summary information on the configuration of one or more Amazon Q Business web experiences.

next_token class-attribute instance-attribute
next_token: str | None = None

If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of messages.