Smaws_Client_GameLift.DeleteScalingPolicyThis API works with the following fleet types: EC2
Deletes a fleet scaling policy. Once deleted, the policy is no longer in force and Amazon GameLift Servers removes all record of it. To delete a scaling policy, specify both the scaling policy name and the fleet ID it is associated with.
To temporarily suspend scaling policies, use StopFleetActions. This operation suspends all policies for the fleet.
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 ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_scaling_policy_input ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> 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.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_scaling_policy_input ->
(Smaws_Lib.Smithy_api.Types.unit_ 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