getSession method
Displays detailed information about a session.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter applicationId :
The ID of the application that the session belongs to.
Parameter sessionId :
The ID of the session.
Implementation
Future<GetSessionResponse> getSession({
required String applicationId,
required String sessionId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/applications/${Uri.encodeComponent(applicationId)}/sessions/${Uri.encodeComponent(sessionId)}',
exceptionFnMap: _exceptionFns,
);
return GetSessionResponse.fromJson(response);
}