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 |
Retrieves properties for a compute resource. To request a compute resource specify the fleet ID and compute name. If successful, GameLift returns an object containing the build properties.
Synopsis
- data DescribeCompute = DescribeCompute' {
- fleetId :: Text
- computeName :: Text
- newDescribeCompute :: Text -> Text -> DescribeCompute
- describeCompute_fleetId :: Lens' DescribeCompute Text
- describeCompute_computeName :: Lens' DescribeCompute Text
- data DescribeComputeResponse = DescribeComputeResponse' {
- compute :: Maybe Compute
- httpStatus :: Int
- newDescribeComputeResponse :: Int -> DescribeComputeResponse
- describeComputeResponse_compute :: Lens' DescribeComputeResponse (Maybe Compute)
- describeComputeResponse_httpStatus :: Lens' DescribeComputeResponse Int
Creating a Request
data DescribeCompute Source #
See: newDescribeCompute
smart constructor.
DescribeCompute' | |
|
Instances
Create a value of DescribeCompute
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:
DescribeCompute
, describeCompute_fleetId
- A unique identifier for the fleet the compute is registered to.
DescribeCompute
, describeCompute_computeName
- A descriptive label that is associated with the compute resource
registered to your fleet.
Request Lenses
describeCompute_fleetId :: Lens' DescribeCompute Text Source #
A unique identifier for the fleet the compute is registered to.
describeCompute_computeName :: Lens' DescribeCompute Text Source #
A descriptive label that is associated with the compute resource registered to your fleet.
Destructuring the Response
data DescribeComputeResponse Source #
See: newDescribeComputeResponse
smart constructor.
DescribeComputeResponse' | |
|
Instances
newDescribeComputeResponse Source #
Create a value of DescribeComputeResponse
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:DescribeComputeResponse'
, describeComputeResponse_compute
- The details of the compute resource you registered to the specified
fleet.
$sel:httpStatus:DescribeComputeResponse'
, describeComputeResponse_httpStatus
- The response's http status code.
Response Lenses
describeComputeResponse_compute :: Lens' DescribeComputeResponse (Maybe Compute) Source #
The details of the compute resource you registered to the specified fleet.
describeComputeResponse_httpStatus :: Lens' DescribeComputeResponse Int Source #
The response's http status code.