list_conversations
¶
list_conversations(
application_id: ApplicationId,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
user_id: Optional[UserId] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResultsIntegerForListConversations] = None,
) -> ListConversationsResponse
Lists one or more Amazon Q Business conversations.
Parameters:
-
application_id(ApplicationId) –The identifier of the Amazon Q Business application.
-
user_id(Optional[UserId], default:None) –The identifier of the user involved in the Amazon Q Business web experience conversation.
-
next_token(Optional[NextToken], default:None) –If the
maxResultsresponse 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. -
max_results(Optional[MaxResultsIntegerForListConversations], default:None) –The maximum number of Amazon Q Business conversations to return.
Raises:
-
AccessDeniedException–You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
-
LicenseNotFoundException–You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
-
ResourceNotFoundException–The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
-
ThrottlingException–The request was denied due to throttling. Reduce the number of requests and try again.
-
ValidationException–The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qbusiness/_services/q_business.py
2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 | |