Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes all resources and information related a fleet. Any current fleet
instances, including those in remote locations, are shut down. You
don't need to call DeleteFleetLocations
separately.
If the fleet being deleted has a VPC peering connection, you first need to get a valid authorization (good for 24 hours) by calling CreateVpcPeeringAuthorization. You do not need to explicitly delete the VPC peering connection--this is done as part of the delete fleet process.
To delete a fleet, specify the fleet ID to be terminated. During the
deletion process the fleet status is changed to DELETING
. When
completed, the status switches to TERMINATED
and the fleet event
FLEET_DELETED
is sent.
Learn more
Related actions
CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy | DeleteFleet | DeleteFleetLocations | DeleteScalingPolicy | All APIs by task
Synopsis
Creating a Request
data DeleteFleet Source #
Represents the input for a request operation.
See: newDeleteFleet
smart constructor.
Instances
Create a value of DeleteFleet
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:fleetId:DeleteFleet'
, deleteFleet_fleetId
- A unique identifier for the fleet to be deleted. You can use either the
fleet ID or ARN value.
Request Lenses
deleteFleet_fleetId :: Lens' DeleteFleet Text Source #
A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.
Destructuring the Response
data DeleteFleetResponse Source #
See: newDeleteFleetResponse
smart constructor.
Instances
Eq DeleteFleetResponse Source # | |
Defined in Amazonka.GameLift.DeleteFleet (==) :: DeleteFleetResponse -> DeleteFleetResponse -> Bool # (/=) :: DeleteFleetResponse -> DeleteFleetResponse -> Bool # | |
Read DeleteFleetResponse Source # | |
Defined in Amazonka.GameLift.DeleteFleet | |
Show DeleteFleetResponse Source # | |
Defined in Amazonka.GameLift.DeleteFleet showsPrec :: Int -> DeleteFleetResponse -> ShowS # show :: DeleteFleetResponse -> String # showList :: [DeleteFleetResponse] -> ShowS # | |
Generic DeleteFleetResponse Source # | |
Defined in Amazonka.GameLift.DeleteFleet type Rep DeleteFleetResponse :: Type -> Type # from :: DeleteFleetResponse -> Rep DeleteFleetResponse x # to :: Rep DeleteFleetResponse x -> DeleteFleetResponse # | |
NFData DeleteFleetResponse Source # | |
Defined in Amazonka.GameLift.DeleteFleet rnf :: DeleteFleetResponse -> () # | |
type Rep DeleteFleetResponse Source # | |
newDeleteFleetResponse :: DeleteFleetResponse Source #
Create a value of DeleteFleetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.