Module Smaws_Client_GameLift.DeleteFleetLocations

This API works with the following fleet types: EC2, Container

Removes locations from a multi-location fleet. When deleting a location, all game server process and all instances that are still active in the location are shut down.

To delete fleet locations, identify the fleet ID and provide a list of the locations to be deleted.

If successful, GameLift sets the location status to DELETING, and begins to shut down existing server processes and terminate instances in each location being deleted. When completed, the location status changes to TERMINATED.

Learn more

Setting up Amazon GameLift Servers fleets

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `NotFoundException of Types.not_found_exception | `UnauthorizedException of Types.unauthorized_exception | `UnsupportedRegionException of Types.unsupported_region_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_fleet_locations_input -> (Types.delete_fleet_locations_output, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `NotFoundException of Types.not_found_exception | `UnauthorizedException of Types.unauthorized_exception | `UnsupportedRegionException of Types.unsupported_region_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_fleet_locations_input -> (Types.delete_fleet_locations_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `NotFoundException of Types.not_found_exception | `UnauthorizedException of Types.unauthorized_exception | `UnsupportedRegionException of Types.unsupported_region_exception ] * Smaws_Lib.Response.metadata) Stdlib.result