Smaws_Client_AutoScaling.ExecutePolicyExecutes the specified policy. This can be useful for testing the design of your scaling policy.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ResourceContentionFault of Types.resource_contention_fault
| `ScalingActivityInProgressFault of Types.scaling_activity_in_progress_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.execute_policy_type ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ResourceContentionFault of Types.resource_contention_fault
| `ScalingActivityInProgressFault of
Types.scaling_activity_in_progress_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.execute_policy_type ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ResourceContentionFault of Types.resource_contention_fault
| `ScalingActivityInProgressFault of
Types.scaling_activity_in_progress_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result