so far, I managed to create game sessions, search them, join them, but this all happens manually by providing an Alias.
The last step now would be to do that automatically via Flexmatch, thus using a Queue additionally.
So I dug my way through ‘the whole’ documentation, set up a queue, a rule set, a configuration and even a sns topic (which is linked in my configuration), because no one likes polling if it can be avoided
The thing is, I call StartMatchmaking (like I called all the other “Async”-methods before (like CreateGameSession, DescribeGameSession, …)) but here I am pretty stuck. It looks like the call returns succesfully, but no GameSession is created, nor do I have a clue, how and where the SNS Topic is handled. So far I didn’t set up a Subscription (is it necessary?), nor did I code anything SNS-specifically.
My gut says that I’m stuck around here, but at this point I’m at my wits end and seek for help.
Edit: Checking the Console’s Dashboard it looks like the matchmaking is indeed succesful and Tickets get created, but no one is listening (so I guess my problem is SNS-specific. I try to read more about it, but so far I pretty much don’t get it). Or do I need an Lamba function as well? If so, I’m confused by this line in the documentation * “There are two options for setting up event notifications. You can use Amazon CloudWatch
Events, which has
a suite of tools available for managing events and taking action on them. Alternatively,
can set up your own SNS topic(s) and attach them to your matchmaker to receive matchmaking
event notifications directly.”*