Smaws_Client_SSM.DeleteOpsItemDelete an OpsItem. You must have permission in Identity and Access Management (IAM) to delete an OpsItem.
Note the following important information about this operation.
GetOpsItem, the deleted OpsItem might still appear in the response.val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `OpsItemInvalidParameterException of
Types.ops_item_invalid_parameter_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_ops_item_request ->
(Types.delete_ops_item_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `OpsItemInvalidParameterException of
Types.ops_item_invalid_parameter_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_ops_item_request ->
(Types.delete_ops_item_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `OpsItemInvalidParameterException of
Types.ops_item_invalid_parameter_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result