amazonka-gamelift-2.0: Amazon GameLift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GameLift.Types.Compute

Description

 
Synopsis

Documentation

data Compute Source #

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.

Constructors

Compute' 

Fields

  • computeArn :: Maybe Text

    The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are unique across locations.

  • computeName :: Maybe Text

    A descriptive label that is associated with the compute resource registered to your fleet.

  • computeStatus :: Maybe ComputeStatus

    Current status of the compute. A compute must have an ACTIVE status to host game sessions.

  • creationTime :: Maybe POSIX

    A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

  • dnsName :: Maybe Text

    The DNS name of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.

  • fleetArn :: Maybe Text

    The Amazon Resource Name (ARN) of the fleet that the compute is registered to.

  • fleetId :: Maybe Text

    A unique identifier for the fleet that the compute is registered to.

  • gameLiftServiceSdkEndpoint :: Maybe Text

    The endpoint connection details of the GameLift SDK endpoint that your game server connects to.

  • ipAddress :: Maybe Text

    The IP address of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.

  • location :: Maybe Text

    The name of the custom location you added to the fleet that this compute resource resides in.

  • operatingSystem :: Maybe OperatingSystem

    The type of operating system on your compute resource.

  • type' :: Maybe EC2InstanceType

    Which compute type that the fleet uses. A fleet can use Anywhere compute resources owned by you or managed Amazon EC2 instances.

Instances

Instances details
FromJSON Compute Source # 
Instance details

Defined in Amazonka.GameLift.Types.Compute

Generic Compute Source # 
Instance details

Defined in Amazonka.GameLift.Types.Compute

Associated Types

type Rep Compute :: Type -> Type #

Methods

from :: Compute -> Rep Compute x #

to :: Rep Compute x -> Compute #

Read Compute Source # 
Instance details

Defined in Amazonka.GameLift.Types.Compute

Show Compute Source # 
Instance details

Defined in Amazonka.GameLift.Types.Compute

NFData Compute Source # 
Instance details

Defined in Amazonka.GameLift.Types.Compute

Methods

rnf :: Compute -> () #

Eq Compute Source # 
Instance details

Defined in Amazonka.GameLift.Types.Compute

Methods

(==) :: Compute -> Compute -> Bool #

(/=) :: Compute -> Compute -> Bool #

Hashable Compute Source # 
Instance details

Defined in Amazonka.GameLift.Types.Compute

Methods

hashWithSalt :: Int -> Compute -> Int #

hash :: Compute -> Int #

type Rep Compute Source # 
Instance details

Defined in Amazonka.GameLift.Types.Compute

type Rep Compute = D1 ('MetaData "Compute" "Amazonka.GameLift.Types.Compute" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "Compute'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "computeArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "computeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "computeStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputeStatus)))) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "dnsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fleetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "gameLiftServiceSdkEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ipAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "operatingSystem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OperatingSystem)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EC2InstanceType)))))))

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.