// Retrieves the following information for the specified EC2 instance type:
//
// *
// Maximum number of instances allowed per AWS account (service limit).
//
// * Current
// usage for the AWS account.
//
// To learn more about the capabilities of each
// instance type, see Amazon EC2 Instance Types
// (http://aws.amazon.com/ec2/instance-types/). Note that the instance types
// offered may vary depending on the region. Learn more Setting up GameLift Fleets
// (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html)
// Related operations
//
// * CreateFleet
//
// * ListFleets
//
// * DeleteFleet
//
// *
// DescribeFleetAttributes
//
// * UpdateFleetAttributes
//
// * StartFleetActions or
// StopFleetActions
Retrieves the following information for the specified EC2 instance type.

Maximum number of instances allowed per AWS account (service limit).

Current
usage for the AWS account.

To learn more about the capabilities of each
instance type, see Amazon EC2 Instance Types
. Note that the instance types
offered may vary depending on the region. Learn more Setting up GameLift Fleets

Related operations

CreateFleet

ListFleets

DeleteFleet

DescribeFleetAttributes

UpdateFleetAttributes

StartFleetActions or
StopFleetActions
// Retrieves the following information for the specified EC2 instance type : // // * // Maximum number of instances allowed per AWS account ( service limit ) . // // * Current // usage for the AWS account . // // To learn more about the capabilities of each // instance type see Amazon EC2 Instance Types // ( http : // aws . amazon . com / ec2 / instance - types / ) . Note that the instance types // offered may vary depending on the region . Learn more Setting up GameLift Fleets // ( https : // docs . aws . amazon . com / gamelift / latest / developerguide / fleets - intro . html ) // Related operations // // * CreateFleet // // * ListFleets // // * DeleteFleet // // * // DescribeFleetAttributes // // * UpdateFleetAttributes // // * StartFleetActions or // StopFleetActions
func (c *Client) DescribeEC2InstanceLimits(ctx context.Context, params *DescribeEC2InstanceLimitsInput, optFns ...func(*Options)) (*DescribeEC2InstanceLimitsOutput, error) {
	if params == nil {
		params = &DescribeEC2InstanceLimitsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeEC2InstanceLimits", params, optFns, addOperationDescribeEC2InstanceLimitsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeEC2InstanceLimitsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeEC2InstanceLimits ( ctx context . Context , params * DescribeEC2InstanceLimitsInput , optFns ... func ( * Options ) ) ( * DescribeEC2InstanceLimitsOutput , error ) { if params == nil { params = & DescribeEC2InstanceLimitsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeEC2InstanceLimitsMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeEC2InstanceLimitsOutput ) out . ResultMetadata = metadata return out , nil }
Retrieves the following information for the specified EC2 instance type.
Retrieves the following information for the specified EC2 instance type .