amazonka-gamelift-1.4.0: Amazon GameLift SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.GameLift.DeleteFleet

Contents

Description

Deletes everything related to a fleet. Before deleting a fleet, you must set the fleet's desired capacity to zero. See UpdateFleetCapacity.

This action removes the fleet's resources and the fleet record. Once a fleet is deleted, you can no longer use that fleet.

Synopsis

Creating a Request

deleteFleet Source

Arguments

:: Text

dfFleetId

-> DeleteFleet 

Creates a value of DeleteFleet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dfFleetId :: Lens' DeleteFleet Text Source

Unique identifier for the fleet you want to delete.

Destructuring the Response

deleteFleetResponse :: DeleteFleetResponse Source

Creates a value of DeleteFleetResponse with the minimum fields required to make a request.