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

Description

Creates a custom location for use in an Anywhere fleet.

Synopsis

Creating a Request

data CreateLocation Source #

See: newCreateLocation smart constructor.

Constructors

CreateLocation' 

Fields

  • tags :: Maybe [Tag]

    A list of labels to assign to the new matchmaking configuration resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Rareference.

  • locationName :: Text

    A descriptive name for the custom location.

Instances

Instances details
ToJSON CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

ToHeaders CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

ToPath CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

ToQuery CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

AWSRequest CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

Associated Types

type AWSResponse CreateLocation #

Generic CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

Associated Types

type Rep CreateLocation :: Type -> Type #

Read CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

Show CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

NFData CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

Methods

rnf :: CreateLocation -> () #

Eq CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

Hashable CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

type AWSResponse CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

type Rep CreateLocation Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

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

newCreateLocation Source #

Create a value of CreateLocation 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:tags:CreateLocation', createLocation_tags - A list of labels to assign to the new matchmaking configuration resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Rareference.

CreateLocation, createLocation_locationName - A descriptive name for the custom location.

Request Lenses

createLocation_tags :: Lens' CreateLocation (Maybe [Tag]) Source #

A list of labels to assign to the new matchmaking configuration resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Rareference.

createLocation_locationName :: Lens' CreateLocation Text Source #

A descriptive name for the custom location.

Destructuring the Response

data CreateLocationResponse Source #

See: newCreateLocationResponse smart constructor.

Constructors

CreateLocationResponse' 

Fields

Instances

Instances details
Generic CreateLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

Associated Types

type Rep CreateLocationResponse :: Type -> Type #

Read CreateLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

Show CreateLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

NFData CreateLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

Methods

rnf :: CreateLocationResponse -> () #

Eq CreateLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

type Rep CreateLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.CreateLocation

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

newCreateLocationResponse Source #

Create a value of CreateLocationResponse 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:

CreateLocationResponse, createLocationResponse_location - The details of the custom location you created.

$sel:httpStatus:CreateLocationResponse', createLocationResponse_httpStatus - The response's http status code.

Response Lenses

createLocationResponse_location :: Lens' CreateLocationResponse (Maybe LocationModel) Source #

The details of the custom location you created.