amazonka-gamelift-1.4.0: Amazon GameLift SDK.

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

Network.AWS.GameLift.DescribeEC2InstanceLimits

Contents

Description

Retrieves the following information for the specified EC2 instance type:

  • maximum number of instances allowed per AWS account (service limit)
  • current usage level for the AWS account

Service limits vary depending on region. Available regions for GameLift can be found in the AWS Management Console for GameLift (see the drop-down list in the upper right corner).

Synopsis

Creating a Request

describeEC2InstanceLimits :: DescribeEC2InstanceLimits Source

Creates a value of DescribeEC2InstanceLimits with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

deilEC2InstanceType :: Lens' DescribeEC2InstanceLimits (Maybe EC2InstanceType) Source

Type of EC2 instances used in the fleet. EC2 instance types define the CPU, memory, storage, and networking capacity of the fleetaposs hosts. Amazon GameLift supports the EC2 instance types listed below. See Amazon EC2 Instance Types for detailed descriptions of each. Leave this parameter blank to retrieve limits for all types.

Destructuring the Response

describeEC2InstanceLimitsResponse Source

Creates a value of DescribeEC2InstanceLimitsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

deilrsEC2InstanceLimits :: Lens' DescribeEC2InstanceLimitsResponse [EC2InstanceLimit] Source

Object containing the maximum number of instances for the specified instance type.