Skip to content

How to access FleetIQ via code, is it documented? #3201

Answered by debora-ito
x-wk asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @x-wk, the Java SDK Developer Guide is a good place to start - https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/using.html

Here's an example of how to create a GameLift client:

GameLiftClient client = GameLiftClient.builder()
        .region(Region.US_EAST_2)
        .build();

DescribeGameServerResponse response = client.describeGameServer(
        DescribeGameServerRequest.builder()
                .gameServerId(GAME_SERVER_ID)
                .gameServerGroupName(GAME_SERVER_GROUP)
                .build());

The GameLift Dev Guide is also a good reference: https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/reference-awssdk-fleetiq.html

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by x-wk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants