Module Smaws_Client_GameLift.DeleteLocation

This API works with the following fleet types: Anywhere

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.

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 ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_location_input -> (Types.delete_location_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 ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_location_input -> (Types.delete_location_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 ] * Smaws_Lib.Response.metadata) Stdlib.result