Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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).
- describeEC2InstanceLimits :: DescribeEC2InstanceLimits
- data DescribeEC2InstanceLimits
- deilEC2InstanceType :: Lens' DescribeEC2InstanceLimits (Maybe EC2InstanceType)
- describeEC2InstanceLimitsResponse :: Int -> DescribeEC2InstanceLimitsResponse
- data DescribeEC2InstanceLimitsResponse
- deilrsEC2InstanceLimits :: Lens' DescribeEC2InstanceLimitsResponse [EC2InstanceLimit]
- deilrsResponseStatus :: Lens' DescribeEC2InstanceLimitsResponse Int
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:
data DescribeEC2InstanceLimits Source
Represents the input for a request action.
See: describeEC2InstanceLimits
smart constructor.
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:
data DescribeEC2InstanceLimitsResponse Source
Represents the returned data in response to a request action.
See: describeEC2InstanceLimitsResponse
smart constructor.
Response Lenses
deilrsEC2InstanceLimits :: Lens' DescribeEC2InstanceLimitsResponse [EC2InstanceLimit] Source
Object containing the maximum number of instances for the specified instance type.
deilrsResponseStatus :: Lens' DescribeEC2InstanceLimitsResponse Int Source
The response status code.