// This operation is used with the Amazon GameLift FleetIQ solution and game server
// groups. Removes the game server from a game server group. As a result of this
// operation, the deregistered game server can no longer be claimed and will not be
// returned in a list of active game servers. To deregister a game server, specify
// the game server group and game server ID. If successful, this operation emits a
// CloudWatch event with termination timestamp and reason. Learn more GameLift
// FleetIQ Guide
// (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html)
// Related operations
//
// * RegisterGameServer
//
// * ListGameServers
//
// *
// ClaimGameServer
//
// * DescribeGameServer
//
// * UpdateGameServer
//
// *
// DeregisterGameServer
This operation is used with the Amazon GameLift FleetIQ solution and game server
groups. Removes the game server from a game server group. As a result of this
operation, the deregistered game server can no longer be claimed and will not be
returned in a list of active game servers. To deregister a game server, specify
the game server group and game server ID. If successful, this operation emits a
CloudWatch event with termination timestamp and reason. Learn more GameLift
FleetIQ Guide

Related operations

RegisterGameServer

ListGameServers

ClaimGameServer

DescribeGameServer

UpdateGameServer

DeregisterGameServer
// This operation is used with the Amazon GameLift FleetIQ solution and game server // groups . Removes the game server from a game server group . As a result of this // operation the deregistered game server can no longer be claimed and will not be // returned in a list of active game servers . To deregister a game server specify // the game server group and game server ID . If successful this operation emits a // CloudWatch event with termination timestamp and reason . Learn more GameLift // FleetIQ Guide // ( https : // docs . aws . amazon . com / gamelift / latest / fleetiqguide / gsg - intro . html ) // Related operations // // * RegisterGameServer // // * ListGameServers // // * // ClaimGameServer // // * DescribeGameServer // // * UpdateGameServer // // * // DeregisterGameServer
func (c *Client) DeregisterGameServer(ctx context.Context, params *DeregisterGameServerInput, optFns ...func(*Options)) (*DeregisterGameServerOutput, error) {
	if params == nil {
		params = &DeregisterGameServerInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeregisterGameServer", params, optFns, addOperationDeregisterGameServerMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeregisterGameServerOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeregisterGameServer ( ctx context . Context , params * DeregisterGameServerInput , optFns ... func ( * Options ) ) ( * DeregisterGameServerOutput , error ) { if params == nil { params = & DeregisterGameServerInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeregisterGameServerMiddlewares ) if err != nil { return nil , err } out := result . ( * DeregisterGameServerOutput ) out . ResultMetadata = metadata return out , nil }
This operation is used with the Amazon GameLift FleetIQ solution and game server
groups.
This operation is used with the Amazon GameLift FleetIQ solution and game server groups .