verifySession method
Verifies whether the calling user has a valid Amazon CodeCatalyst login and session. If successful, this returns the ID of the user in Amazon CodeCatalyst.
Implementation
Future<VerifySessionResponse> verifySession() async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/session',
exceptionFnMap: _exceptionFns,
);
return VerifySessionResponse.fromJson(response);
}