public async Task <APIGatewayProxyResponse> GetArtistAlbums(APIGatewayProxyRequest request, ILambdaContext context) { if (!request.PathParameters.TryGetValue("id", out var artistId)) { return(APIResponse.ClientError("Missing id parameter")); } return(APIResponse.Ok(await _artistAccess.FetchArtistAlbums(artistId))); }