libZSservicesZSamazonka-gameliftZSamazonka-gamelift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GameLift.SuspendGameServerGroup

Description

__This operation is used with the GameLift FleetIQ solution and game server groups.__

Temporarily stops activity on a game server group without terminating instances or the game server group. You can restart activity by calling ResumeGameServerGroup. You can suspend the following activity:

  • Instance type replacement - This activity evaluates the current game hosting viability of all Spot instance types that are defined for the game server group. It updates the Auto Scaling group to remove nonviable Spot Instance types, which have a higher chance of game server interruptions. It then balances capacity across the remaining viable Spot Instance types. When this activity is suspended, the Auto Scaling group continues with its current balance, regardless of viability. Instance protection, utilization metrics, and capacity scaling activities continue to be active.

To suspend activity, specify a game server group ARN and the type of activity to be suspended. If successful, a GameServerGroup object is returned showing that the activity is listed in SuspendedActions.

Learn more

GameLift FleetIQ Guide

Related actions

CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup | DescribeGameServerInstances | All APIs by task

Synopsis

Creating a Request

data SuspendGameServerGroup Source #

See: newSuspendGameServerGroup smart constructor.

Constructors

SuspendGameServerGroup' 

Fields

Instances

Instances details
Eq SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

Read SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

Show SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

Generic SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

Associated Types

type Rep SuspendGameServerGroup :: Type -> Type #

NFData SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

Methods

rnf :: SuspendGameServerGroup -> () #

Hashable SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

ToJSON SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

AWSRequest SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

Associated Types

type AWSResponse SuspendGameServerGroup #

ToHeaders SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

ToPath SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

ToQuery SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

type Rep SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

type Rep SuspendGameServerGroup = D1 ('MetaData "SuspendGameServerGroup" "Amazonka.GameLift.SuspendGameServerGroup" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "SuspendGameServerGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gameServerGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "suspendActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty GameServerGroupAction))))
type AWSResponse SuspendGameServerGroup Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

newSuspendGameServerGroup Source #

Create a value of SuspendGameServerGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:gameServerGroupName:SuspendGameServerGroup', suspendGameServerGroup_gameServerGroupName - A unique identifier for the game server group. Use either the GameServerGroup name or ARN value.

$sel:suspendActions:SuspendGameServerGroup', suspendGameServerGroup_suspendActions - The activity to suspend for this game server group.

Request Lenses

suspendGameServerGroup_gameServerGroupName :: Lens' SuspendGameServerGroup Text Source #

A unique identifier for the game server group. Use either the GameServerGroup name or ARN value.

Destructuring the Response

data SuspendGameServerGroupResponse Source #

See: newSuspendGameServerGroupResponse smart constructor.

Constructors

SuspendGameServerGroupResponse' 

Fields

Instances

Instances details
Eq SuspendGameServerGroupResponse Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

Read SuspendGameServerGroupResponse Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

Show SuspendGameServerGroupResponse Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

Generic SuspendGameServerGroupResponse Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

Associated Types

type Rep SuspendGameServerGroupResponse :: Type -> Type #

NFData SuspendGameServerGroupResponse Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

type Rep SuspendGameServerGroupResponse Source # 
Instance details

Defined in Amazonka.GameLift.SuspendGameServerGroup

type Rep SuspendGameServerGroupResponse = D1 ('MetaData "SuspendGameServerGroupResponse" "Amazonka.GameLift.SuspendGameServerGroup" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "SuspendGameServerGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gameServerGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GameServerGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSuspendGameServerGroupResponse Source #

Create a value of SuspendGameServerGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:gameServerGroup:SuspendGameServerGroupResponse', suspendGameServerGroupResponse_gameServerGroup - An object that describes the game server group resource, with the SuspendedActions property updated to reflect the suspended activity.

$sel:httpStatus:SuspendGameServerGroupResponse', suspendGameServerGroupResponse_httpStatus - The response's http status code.

Response Lenses

suspendGameServerGroupResponse_gameServerGroup :: Lens' SuspendGameServerGroupResponse (Maybe GameServerGroup) Source #

An object that describes the game server group resource, with the SuspendedActions property updated to reflect the suspended activity.