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

Description

 
Synopsis

Documentation

data LocationModel Source #

Properties of a location

See: newLocationModel smart constructor.

Constructors

LocationModel' 

Fields

  • locationArn :: Maybe Text

    The Amazon Resource Name (ARN) that is assigned to a GameLift location resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

  • locationName :: Maybe Text

    The location's name.

Instances

Instances details
FromJSON LocationModel Source # 
Instance details

Defined in Amazonka.GameLift.Types.LocationModel

Generic LocationModel Source # 
Instance details

Defined in Amazonka.GameLift.Types.LocationModel

Associated Types

type Rep LocationModel :: Type -> Type #

Read LocationModel Source # 
Instance details

Defined in Amazonka.GameLift.Types.LocationModel

Show LocationModel Source # 
Instance details

Defined in Amazonka.GameLift.Types.LocationModel

NFData LocationModel Source # 
Instance details

Defined in Amazonka.GameLift.Types.LocationModel

Methods

rnf :: LocationModel -> () #

Eq LocationModel Source # 
Instance details

Defined in Amazonka.GameLift.Types.LocationModel

Hashable LocationModel Source # 
Instance details

Defined in Amazonka.GameLift.Types.LocationModel

type Rep LocationModel Source # 
Instance details

Defined in Amazonka.GameLift.Types.LocationModel

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

newLocationModel :: LocationModel Source #

Create a value of LocationModel 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:locationArn:LocationModel', locationModel_locationArn - The Amazon Resource Name (ARN) that is assigned to a GameLift location resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

$sel:locationName:LocationModel', locationModel_locationName - The location's name.

locationModel_locationArn :: Lens' LocationModel (Maybe Text) Source #

The Amazon Resource Name (ARN) that is assigned to a GameLift location resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.