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

Description

Deletes a custom location.

Before deleting a custom location, review any fleets currently using the custom location and deregister the location if it is in use. For more information see, DeregisterCompute.

Synopsis

Creating a Request

data DeleteLocation Source #

See: newDeleteLocation smart constructor.

Constructors

DeleteLocation' 

Fields

Instances

Instances details
ToJSON DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

ToHeaders DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

ToPath DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

ToQuery DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

AWSRequest DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

Associated Types

type AWSResponse DeleteLocation #

Generic DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

Associated Types

type Rep DeleteLocation :: Type -> Type #

Read DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

Show DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

NFData DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

Methods

rnf :: DeleteLocation -> () #

Eq DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

Hashable DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

type AWSResponse DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

type Rep DeleteLocation Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

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

newDeleteLocation Source #

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

DeleteLocation, deleteLocation_locationName - The location name of the custom location to be deleted.

Request Lenses

deleteLocation_locationName :: Lens' DeleteLocation Text Source #

The location name of the custom location to be deleted.

Destructuring the Response

data DeleteLocationResponse Source #

See: newDeleteLocationResponse smart constructor.

Constructors

DeleteLocationResponse' 

Fields

Instances

Instances details
Generic DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

Associated Types

type Rep DeleteLocationResponse :: Type -> Type #

Read DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

Show DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

NFData DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

Methods

rnf :: DeleteLocationResponse -> () #

Eq DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

type Rep DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteLocation

type Rep DeleteLocationResponse = D1 ('MetaData "DeleteLocationResponse" "Amazonka.GameLift.DeleteLocation" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DeleteLocationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteLocationResponse Source #

Create a value of DeleteLocationResponse 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:httpStatus:DeleteLocationResponse', deleteLocationResponse_httpStatus - The response's http status code.

Response Lenses