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.RegisterCompute

Description

Registers your compute resources in a fleet you previously created. After you register a compute to your fleet, you can monitor and manage your compute using GameLift. The operation returns the compute resource containing SDK endpoint you can use to connect your game server to GameLift.

Learn more

Synopsis

Creating a Request

data RegisterCompute Source #

See: newRegisterCompute smart constructor.

Constructors

RegisterCompute' 

Fields

  • certificatePath :: Maybe Text

    The path to the TLS certificate on your compute resource. The path and certificate are not validated by GameLift.

  • dnsName :: Maybe Text

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

  • 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 you are registering this compute resource to.

  • fleetId :: Text

    A unique identifier for the fleet to register the compute to. You can use either the fleet ID or ARN value.

  • computeName :: Text

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

Instances

Instances details
ToJSON RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

ToHeaders RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

ToPath RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

ToQuery RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

AWSRequest RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

Associated Types

type AWSResponse RegisterCompute #

Generic RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

Associated Types

type Rep RegisterCompute :: Type -> Type #

Read RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

Show RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

NFData RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

Methods

rnf :: RegisterCompute -> () #

Eq RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

Hashable RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

type AWSResponse RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

type Rep RegisterCompute Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

type Rep RegisterCompute = D1 ('MetaData "RegisterCompute" "Amazonka.GameLift.RegisterCompute" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "RegisterCompute'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "certificatePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dnsName") '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 "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "computeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newRegisterCompute Source #

Create a value of RegisterCompute 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:certificatePath:RegisterCompute', registerCompute_certificatePath - The path to the TLS certificate on your compute resource. The path and certificate are not validated by GameLift.

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

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

RegisterCompute, registerCompute_location - The name of the custom location you added to the fleet you are registering this compute resource to.

RegisterCompute, registerCompute_fleetId - A unique identifier for the fleet to register the compute to. You can use either the fleet ID or ARN value.

RegisterCompute, registerCompute_computeName - A descriptive label that is associated with the compute resource registered to your fleet.

Request Lenses

registerCompute_certificatePath :: Lens' RegisterCompute (Maybe Text) Source #

The path to the TLS certificate on your compute resource. The path and certificate are not validated by GameLift.

registerCompute_dnsName :: Lens' RegisterCompute (Maybe Text) Source #

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

registerCompute_ipAddress :: Lens' RegisterCompute (Maybe Text) Source #

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

registerCompute_location :: Lens' RegisterCompute (Maybe Text) Source #

The name of the custom location you added to the fleet you are registering this compute resource to.

registerCompute_fleetId :: Lens' RegisterCompute Text Source #

A unique identifier for the fleet to register the compute to. You can use either the fleet ID or ARN value.

registerCompute_computeName :: Lens' RegisterCompute Text Source #

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

Destructuring the Response

data RegisterComputeResponse Source #

See: newRegisterComputeResponse smart constructor.

Constructors

RegisterComputeResponse' 

Fields

Instances

Instances details
Generic RegisterComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

Associated Types

type Rep RegisterComputeResponse :: Type -> Type #

Read RegisterComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

Show RegisterComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

NFData RegisterComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

Methods

rnf :: RegisterComputeResponse -> () #

Eq RegisterComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

type Rep RegisterComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.RegisterCompute

type Rep RegisterComputeResponse = D1 ('MetaData "RegisterComputeResponse" "Amazonka.GameLift.RegisterCompute" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "RegisterComputeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "compute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Compute)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRegisterComputeResponse Source #

Create a value of RegisterComputeResponse 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:compute:RegisterComputeResponse', registerComputeResponse_compute - The details of the compute resource you registered to the specified fleet.

$sel:httpStatus:RegisterComputeResponse', registerComputeResponse_httpStatus - The response's http status code.

Response Lenses

registerComputeResponse_compute :: Lens' RegisterComputeResponse (Maybe Compute) Source #

The details of the compute resource you registered to the specified fleet.