getUserDetails method
Returns information about a user.
Parameter id :
The system-generated unique ID of the user.
Parameter userName :
The name of the user as displayed in Amazon CodeCatalyst.
Implementation
Future<GetUserDetailsResponse> getUserDetails({
String? id,
String? userName,
}) async {
final $query = <String, List<String>>{
if (id != null) 'id': [id],
if (userName != null) 'userName': [userName],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/userDetails',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetUserDetailsResponse.fromJson(response);
}