list_messages
async
¶
list_messages(
assistant_id: UuidOrArn,
session_id: UuidOrArn,
*,
config_overrides: Optional[AsyncQConnectClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
filter: Optional[MessageFilterType] = None,
) -> ListMessagesResponse
Lists messages on an Amazon Q in Connect session.
Parameters:
-
assistant_id(UuidOrArn) –The identifier of the Amazon Q in Connect assistant.
-
session_id(UuidOrArn) –The identifier of the Amazon Q in Connect session.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return per page.
-
filter(Optional[MessageFilterType], default:None) –The filter criteria for listing messages.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ResourceNotFoundException–The specified resource does not exist.
-
ValidationException–The input fails to satisfy the constraints specified by a service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qconnect/_services/async_q_connect.py
4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 | |