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

Description

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

Creating a Request

data DescribeCompute Source #

See: newDescribeCompute smart constructor.

Constructors

DescribeCompute' 

Fields

  • fleetId :: Text

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

  • computeName :: Text

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

Instances

Instances details
ToJSON DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

ToHeaders DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

ToPath DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

ToQuery DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

AWSRequest DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

Associated Types

type AWSResponse DescribeCompute #

Generic DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

Associated Types

type Rep DescribeCompute :: Type -> Type #

Read DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

Show DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

NFData DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

Methods

rnf :: DescribeCompute -> () #

Eq DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

Hashable DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

type AWSResponse DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

type Rep DescribeCompute Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

type Rep DescribeCompute = D1 ('MetaData "DescribeCompute" "Amazonka.GameLift.DescribeCompute" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DescribeCompute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "computeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeCompute Source #

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.

Constructors

DescribeComputeResponse' 

Fields

Instances

Instances details
Generic DescribeComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

Associated Types

type Rep DescribeComputeResponse :: Type -> Type #

Read DescribeComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

Show DescribeComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

NFData DescribeComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

Methods

rnf :: DescribeComputeResponse -> () #

Eq DescribeComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

type Rep DescribeComputeResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeCompute

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

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.