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 |
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
- data RegisterCompute = RegisterCompute' {}
- newRegisterCompute :: Text -> Text -> RegisterCompute
- registerCompute_certificatePath :: Lens' RegisterCompute (Maybe Text)
- registerCompute_dnsName :: Lens' RegisterCompute (Maybe Text)
- registerCompute_ipAddress :: Lens' RegisterCompute (Maybe Text)
- registerCompute_location :: Lens' RegisterCompute (Maybe Text)
- registerCompute_fleetId :: Lens' RegisterCompute Text
- registerCompute_computeName :: Lens' RegisterCompute Text
- data RegisterComputeResponse = RegisterComputeResponse' {
- compute :: Maybe Compute
- httpStatus :: Int
- newRegisterComputeResponse :: Int -> RegisterComputeResponse
- registerComputeResponse_compute :: Lens' RegisterComputeResponse (Maybe Compute)
- registerComputeResponse_httpStatus :: Lens' RegisterComputeResponse Int
Creating a Request
data RegisterCompute Source #
See: newRegisterCompute
smart constructor.
RegisterCompute' | |
|
Instances
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.
RegisterComputeResponse' | |
|
Instances
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.
registerComputeResponse_httpStatus :: Lens' RegisterComputeResponse Int Source #
The response's http status code.