GameLift / Client / deregister_compute

deregister_compute#

GameLift.Client.deregister_compute(**kwargs)#

Removes a compute resource from an Amazon GameLift Anywhere fleet. Deregistered computes can no longer host game sessions through Amazon GameLift.

For an Anywhere fleet that’s running the Amazon GameLift Agent, the Agent handles all compute registry tasks for you. For an Anywhere fleet that doesn’t use the Agent, call this operation to deregister fleet computes.

To deregister a compute, call this operation from the compute that’s being deregistered and specify the compute name and the fleet ID.

See also: AWS API Documentation

Request Syntax

response = client.deregister_compute(
    FleetId='string',
    ComputeName='string'
)
Parameters:
  • FleetId (string) –

    [REQUIRED]

    A unique identifier for the fleet the compute resource is currently registered to.

  • ComputeName (string) –

    [REQUIRED]

    The unique identifier of the compute resource to deregister. For an Anywhere fleet compute, use the registered compute name.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions