| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GameLift.DeleteFleet
Description
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.
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
Synopsis
Creating a Request
data DeleteFleet Source #
See: newDeleteFleet smart constructor.
Constructors
| DeleteFleet' | |
Instances
Arguments
| :: Text | |
| -> DeleteFleet |
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:
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.
Constructors
| DeleteFleetResponse' | |
Instances
newDeleteFleetResponse :: DeleteFleetResponse Source #
Create a value of DeleteFleetResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.