get_next_message
¶
get_next_message(
assistant_id: UuidOrArn,
session_id: UuidOrArn,
next_message_token: NextToken,
*,
config_overrides: Optional[QConnectClientConfig] = None,
) -> GetNextMessageResponse
Retrieves next message 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_message_token(NextToken) –The token for the next message. Use the value returned in the SendMessage or previous response in the next request to retrieve the next message.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ResourceNotFoundException–The specified resource does not exist.
-
UnprocessableContentException–The server has a failure of processing the message
-
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/q_connect.py
3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 | |