Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Compute = Compute' {
- computeArn :: Maybe Text
- computeName :: Maybe Text
- computeStatus :: Maybe ComputeStatus
- creationTime :: Maybe POSIX
- dnsName :: Maybe Text
- fleetArn :: Maybe Text
- fleetId :: Maybe Text
- gameLiftServiceSdkEndpoint :: Maybe Text
- ipAddress :: Maybe Text
- location :: Maybe Text
- operatingSystem :: Maybe OperatingSystem
- type' :: Maybe EC2InstanceType
- newCompute :: Compute
- compute_computeArn :: Lens' Compute (Maybe Text)
- compute_computeName :: Lens' Compute (Maybe Text)
- compute_computeStatus :: Lens' Compute (Maybe ComputeStatus)
- compute_creationTime :: Lens' Compute (Maybe UTCTime)
- compute_dnsName :: Lens' Compute (Maybe Text)
- compute_fleetArn :: Lens' Compute (Maybe Text)
- compute_fleetId :: Lens' Compute (Maybe Text)
- compute_gameLiftServiceSdkEndpoint :: Lens' Compute (Maybe Text)
- compute_ipAddress :: Lens' Compute (Maybe Text)
- compute_location :: Lens' Compute (Maybe Text)
- compute_operatingSystem :: Lens' Compute (Maybe OperatingSystem)
- compute_type :: Lens' Compute (Maybe EC2InstanceType)
Documentation
Resources used to host your game servers. A compute resource can be managed GameLift Amazon EC2 instances or your own resources.
See: newCompute
smart constructor.
Compute' | |
|
Instances
newCompute :: Compute Source #
Create a value of Compute
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:computeArn:Compute'
, compute_computeArn
- The ARN that is assigned to the compute resource and uniquely identifies
it. ARNs are unique across locations.
$sel:computeName:Compute'
, compute_computeName
- A descriptive label that is associated with the compute resource
registered to your fleet.
$sel:computeStatus:Compute'
, compute_computeStatus
- Current status of the compute. A compute must have an ACTIVE
status to
host game sessions.
$sel:creationTime:Compute'
, compute_creationTime
- A time stamp indicating when this data object was created. Format is a
number expressed in Unix time as milliseconds (for example
"1469498468.057"
).
$sel:dnsName:Compute'
, compute_dnsName
- The DNS name of the compute resource. GameLift requires the DNS name or
IP address to manage your compute resource.
$sel:fleetArn:Compute'
, compute_fleetArn
- The Amazon Resource Name (ARN) of the fleet that the compute is
registered to.
$sel:fleetId:Compute'
, compute_fleetId
- A unique identifier for the fleet that the compute is registered to.
$sel:gameLiftServiceSdkEndpoint:Compute'
, compute_gameLiftServiceSdkEndpoint
- The endpoint connection details of the GameLift SDK endpoint that your
game server connects to.
$sel:ipAddress:Compute'
, compute_ipAddress
- The IP address of the compute resource. GameLift requires the DNS name
or IP address to manage your compute resource.
$sel:location:Compute'
, compute_location
- The name of the custom location you added to the fleet that this compute
resource resides in.
$sel:operatingSystem:Compute'
, compute_operatingSystem
- The type of operating system on your compute resource.
$sel:type':Compute'
, compute_type
- Which compute type that the fleet uses. A fleet can use Anywhere compute
resources owned by you or managed Amazon EC2 instances.
compute_computeArn :: Lens' Compute (Maybe Text) Source #
The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are unique across locations.
compute_computeName :: Lens' Compute (Maybe Text) Source #
A descriptive label that is associated with the compute resource registered to your fleet.
compute_computeStatus :: Lens' Compute (Maybe ComputeStatus) Source #
Current status of the compute. A compute must have an ACTIVE
status to
host game sessions.
compute_creationTime :: Lens' Compute (Maybe UTCTime) Source #
A time stamp indicating when this data object was created. Format is a
number expressed in Unix time as milliseconds (for example
"1469498468.057"
).
compute_dnsName :: Lens' Compute (Maybe Text) Source #
The DNS name of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.
compute_fleetArn :: Lens' Compute (Maybe Text) Source #
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
compute_fleetId :: Lens' Compute (Maybe Text) Source #
A unique identifier for the fleet that the compute is registered to.
compute_gameLiftServiceSdkEndpoint :: Lens' Compute (Maybe Text) Source #
The endpoint connection details of the GameLift SDK endpoint that your game server connects to.
compute_ipAddress :: Lens' Compute (Maybe Text) Source #
The IP address of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.
compute_location :: Lens' Compute (Maybe Text) Source #
The name of the custom location you added to the fleet that this compute resource resides in.
compute_operatingSystem :: Lens' Compute (Maybe OperatingSystem) Source #
The type of operating system on your compute resource.
compute_type :: Lens' Compute (Maybe EC2InstanceType) Source #
Which compute type that the fleet uses. A fleet can use Anywhere compute resources owned by you or managed Amazon EC2 instances.