get_q_app_session
async
¶
get_q_app_session(
instance_id: InstanceId,
session_id: UUID,
*,
config_overrides: Optional[AsyncQAppsClientConfig] = None,
) -> GetQAppSessionOutput
Retrieves the current state and results for an active session of an Amazon Q App.
Parameters:
-
instance_id(InstanceId) –The unique identifier of the Amazon Q Business application environment instance.
-
session_id(UUID) –The unique identifier of the Q App session to retrieve.
Raises:
-
AccessDeniedException–The client is not authorized to perform the requested operation.
-
InternalServerException–An internal service error occurred while processing the request.
-
ResourceNotFoundException–The requested resource could not be found.
-
ServiceQuotaExceededException–The requested operation could not be completed because it would exceed the service's quota or limit.
-
ThrottlingException–The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later.
-
UnauthorizedException–The client is not authenticated or authorized to perform the requested operation.
-
ValidationException–The input failed to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Retrieves an existing session for an Amazon Q App
>>> await client.get_q_app_session(instance_id='288ae830-1df2-4871-b6c0-4314d74dadef', session_id='1fca878e-64c5-4dc4-b1d9-c93effed4e82')