Smaws_Client_CloudWatchLogs.CancelExportTaskCancels the specified export task.
The task must be in the PENDING or RUNNING state.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidOperationException of Types.invalid_operation_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.cancel_export_task_request ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidOperationException of Types.invalid_operation_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.cancel_export_task_request ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidOperationException of Types.invalid_operation_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result