openapi: 3.0.0 info: version: 2015-10-01 x-release: v4 title: 'Amazon GameLift #X Amz Target=GameLift.AcceptMatch #X Amz Target=GameLift.AcceptMatch #X Amz Target=GameLift.SuspendGameServerGroup API' description:

Amazon GameLift provides solutions for hosting session-based multiplayer game servers in the cloud, including tools for deploying, operating, and scaling game servers. Built on Amazon Web Services global computing infrastructure, GameLift helps you deliver high-performance, high-reliability, low-cost game servers while dynamically scaling your resource usage to meet player demand.

About Amazon GameLift solutions

Get more information on these Amazon GameLift solutions in the Amazon GameLift Developer Guide.

About this API Reference

This reference guide describes the low-level service API for Amazon GameLift. With each topic in this guide, you can find links to language-specific SDK guides and the Amazon Web Services CLI reference. Useful links:

x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: gamelift x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/gamelift-2015-10-01.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://gamelift.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon GameLift multi-region endpoint - url: https://gamelift.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon GameLift multi-region endpoint - url: http://gamelift.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon GameLift endpoint for China (Beijing) and China (Ningxia) - url: https://gamelift.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon GameLift endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: '#X Amz Target=GameLift.SuspendGameServerGroup' paths: /#X-Amz-Target=GameLift.SuspendGameServerGroup: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: SuspendGameServerGroup description:

This operation is used with the Amazon 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:

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

Amazon GameLift FleetIQ Guide

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/SuspendGameServerGroupOutput' examples: SuspendGameServerGroup200Example: summary: Default SuspendGameServerGroup 200 response x-microcks-default: true value: GameServerGroup: example-value '480': description: InvalidRequestException content: application/json: schema: $ref: '#/components/schemas/InvalidRequestException' examples: SuspendGameServerGroup480Example: summary: Default SuspendGameServerGroup 480 response x-microcks-default: true value: example-value '481': description: NotFoundException content: application/json: schema: $ref: '#/components/schemas/NotFoundException' examples: SuspendGameServerGroup481Example: summary: Default SuspendGameServerGroup 481 response x-microcks-default: true value: example-value '482': description: UnauthorizedException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedException' examples: SuspendGameServerGroup482Example: summary: Default SuspendGameServerGroup 482 response x-microcks-default: true value: example-value '483': description: InternalServiceException content: application/json: schema: $ref: '#/components/schemas/InternalServiceException' examples: SuspendGameServerGroup483Example: summary: Default SuspendGameServerGroup 483 response x-microcks-default: true value: example-value requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SuspendGameServerGroupInput' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - GameLift.SuspendGameServerGroup summary: Amazon GameLift Suspend Game Server Group x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - '#X Amz Target=GameLift.SuspendGameServerGroup' components: schemas: IamRoleArn: type: string pattern: ^arn:.*:role\/[\w+=,.@-]+ minLength: 1 maxLength: 256 GameServerGroupActions: type: array items: $ref: '#/components/schemas/GameServerGroupAction' minItems: 1 maxItems: 1 NonZeroAndMaxString: type: string minLength: 1 maxLength: 1024 GameServerGroupNameOrArn: type: string pattern: '[a-zA-Z0-9-\.]+|^arn:.*:gameservergroup\/[a-zA-Z0-9-\.]+' minLength: 1 maxLength: 256 WeightedCapacity: type: string pattern: ^[\u0031-\u0039][\u0030-\u0039]{0,2}$ minLength: 1 maxLength: 3 SuspendGameServerGroupInput: type: object required: - GameServerGroupName - SuspendActions title: SuspendGameServerGroupInput properties: GameServerGroupName: allOf: - $ref: '#/components/schemas/GameServerGroupNameOrArn' - description: A unique identifier for the game server group. Use either the name or ARN value. SuspendActions: allOf: - $ref: '#/components/schemas/GameServerGroupActions' - description: The activity to suspend for this game server group. InternalServiceException: {} SuspendGameServerGroupOutput: type: object properties: GameServerGroup: allOf: - $ref: '#/components/schemas/GameServerGroup' - description: An object that describes the game server group resource, with the SuspendedActions property updated to reflect the suspended activity. GameServerGroup: type: object properties: GameServerGroupName: allOf: - $ref: '#/components/schemas/GameServerGroupName' - description: A developer-defined identifier for the game server group. The name is unique for each Region in each Amazon Web Services account. GameServerGroupArn: allOf: - $ref: '#/components/schemas/GameServerGroupArn' - description: A generated unique ID for the game server group. RoleArn: allOf: - $ref: '#/components/schemas/IamRoleArn' - description: The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups. InstanceDefinitions: allOf: - $ref: '#/components/schemas/InstanceDefinitions' - description: 'The set of Amazon EC2 instance types that Amazon GameLift FleetIQ can use when balancing and automatically scaling instances in the corresponding Auto Scaling group. ' BalancingStrategy: allOf: - $ref: '#/components/schemas/BalancingStrategy' - description:

Indicates how Amazon GameLift FleetIQ balances the use of Spot Instances and On-Demand Instances in the game server group. Method options include the following:

GameServerProtectionPolicy: allOf: - $ref: '#/components/schemas/GameServerProtectionPolicy' - description: 'A flag that indicates whether instances in the game server group are protected from early termination. Unprotected instances that have active game servers running might be terminated during a scale-down event, causing players to be dropped from the game. Protected instances cannot be terminated while there are active game servers running except in the event of a forced game server group deletion (see ). An exception to this is with Spot Instances, which can be terminated by Amazon Web Services regardless of protection status. ' AutoScalingGroupArn: allOf: - $ref: '#/components/schemas/AutoScalingGroupArn' - description: A generated unique ID for the Amazon EC2 Auto Scaling group that is associated with this game server group. Status: allOf: - $ref: '#/components/schemas/GameServerGroupStatus' - description:

The current status of the game server group. Possible statuses include:

StatusReason: allOf: - $ref: '#/components/schemas/NonZeroAndMaxString' - description: Additional information about the current game server group status. This information might provide additional insight on groups that are in ERROR status. SuspendedActions: allOf: - $ref: '#/components/schemas/GameServerGroupActions' - description: A list of activities that are currently suspended for this game server group. If this property is empty, all activities are occurring. CreationTime: allOf: - $ref: '#/components/schemas/Timestamp' - description: A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). LastUpdatedTime: allOf: - $ref: '#/components/schemas/Timestamp' - description: A timestamp that indicates when this game server group was last updated. description:

This data type is used with the Amazon GameLift FleetIQ and game server groups.

Properties that describe a game server group resource. A game server group manages certain properties related to a corresponding Amazon EC2 Auto Scaling group.

A game server group is created by a successful call to CreateGameServerGroup and deleted by calling DeleteGameServerGroup. Game server group activity can be temporarily suspended and resumed by calling SuspendGameServerGroup and ResumeGameServerGroup, respectively.

GameServerGroupArn: type: string pattern: ^arn:.*:gameservergroup\/[a-zA-Z0-9-\.]* minLength: 1 maxLength: 256 InstanceDefinitions: type: array items: $ref: '#/components/schemas/InstanceDefinition' minItems: 2 maxItems: 20 GameServerGroupInstanceType: type: string enum: - c4.large - c4.xlarge - c4.2xlarge - c4.4xlarge - c4.8xlarge - c5.large - c5.xlarge - c5.2xlarge - c5.4xlarge - c5.9xlarge - c5.12xlarge - c5.18xlarge - c5.24xlarge - c5a.large - c5a.xlarge - c5a.2xlarge - c5a.4xlarge - c5a.8xlarge - c5a.12xlarge - c5a.16xlarge - c5a.24xlarge - c6g.medium - c6g.large - c6g.xlarge - c6g.2xlarge - c6g.4xlarge - c6g.8xlarge - c6g.12xlarge - c6g.16xlarge - r4.large - r4.xlarge - r4.2xlarge - r4.4xlarge - r4.8xlarge - r4.16xlarge - r5.large - r5.xlarge - r5.2xlarge - r5.4xlarge - r5.8xlarge - r5.12xlarge - r5.16xlarge - r5.24xlarge - r5a.large - r5a.xlarge - r5a.2xlarge - r5a.4xlarge - r5a.8xlarge - r5a.12xlarge - r5a.16xlarge - r5a.24xlarge - r6g.medium - r6g.large - r6g.xlarge - r6g.2xlarge - r6g.4xlarge - r6g.8xlarge - r6g.12xlarge - r6g.16xlarge - m4.large - m4.xlarge - m4.2xlarge - m4.4xlarge - m4.10xlarge - m5.large - m5.xlarge - m5.2xlarge - m5.4xlarge - m5.8xlarge - m5.12xlarge - m5.16xlarge - m5.24xlarge - m5a.large - m5a.xlarge - m5a.2xlarge - m5a.4xlarge - m5a.8xlarge - m5a.12xlarge - m5a.16xlarge - m5a.24xlarge - m6g.medium - m6g.large - m6g.xlarge - m6g.2xlarge - m6g.4xlarge - m6g.8xlarge - m6g.12xlarge - m6g.16xlarge GameServerProtectionPolicy: type: string enum: - NO_PROTECTION - FULL_PROTECTION GameServerGroupName: type: string pattern: '[a-zA-Z0-9-\.]+' minLength: 1 maxLength: 128 InvalidRequestException: {} NotFoundException: {} UnauthorizedException: {} Timestamp: type: string format: date-time AutoScalingGroupArn: type: string minLength: 0 maxLength: 256 x-pattern: '[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*' InstanceDefinition: type: object required: - InstanceType properties: InstanceType: allOf: - $ref: '#/components/schemas/GameServerGroupInstanceType' - description: An Amazon EC2 instance type designation. WeightedCapacity: allOf: - $ref: '#/components/schemas/WeightedCapacity' - description: Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by Amazon GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon Elastic Compute Cloud Auto Scaling User Guide. Default value is "1". description:

This data type is used with the Amazon GameLift FleetIQ and game server groups.

An allowed instance type for a game server group. All game server groups must have at least two instance types defined for it. Amazon GameLift FleetIQ periodically evaluates each defined instance type for viability. It then updates the Auto Scaling group with the list of viable instance types.

BalancingStrategy: type: string enum: - SPOT_ONLY - SPOT_PREFERRED - ON_DEMAND_ONLY GameServerGroupStatus: type: string enum: - NEW - ACTIVATING - ACTIVE - DELETE_SCHEDULED - DELETING - DELETED - ERROR GameServerGroupAction: type: string enum: - REPLACE_INSTANCE_TYPES parameters: X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/gamelift/ x-hasEquivalentPaths: true