AWS re:Post을(를) 사용하면 다음에 동의하게 됩니다. AWS re:Post 이용 약관

Does the AWS SDK for Java have models for FlexMatch notifications

0

FlexMatch sends various notifications described here. I have a service getting these messages via SQS polling. The event payloads in the messages are serialized to JSON. Are there models defined for these events in the Java AWS SDK 2.0? I sure cannot find them.

Are you supposed to roll your own models to deserialize and work with these events?

1개 답변
1
수락된 답변

Hello,

Please note that you can invoke the following FlexMatch API using Java SDK v2.

For example, the following are the Java SDK v2 reference for AcceptMatch API call.

Example of Java SDK V2 for AcceptMatch

However, In order deserialize and work with the events emitted by Flexmatch, you should build your own communication model for your Java client and Game server. The GameLift inherently does not support the same. Please refer to the following repost thread for more details.

Having said that, in case you face further challenges, please feel free to open a support case with AWS using the following link as this will allow us to provide you resource specific guidance and dive deep into the same.

AWS
지원 엔지니어
답변함 2년 전
  • Thanks - yeah I found the API client stuff in the SDK, thanks. And I can create my own Java models for the notifications coming back out via SNS. Just hoping that I wouldn't have to do that work.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠