Module Smaws_Client_SSM.DeleteDocument

val request : Smaws_Lib.Context.t -> delete_document_request -> (delete_document_result, [> Smaws_Lib.Protocols.AwsJson.error | `AssociatedInstances of associated_instances | `InternalServerError of internal_server_error | `InvalidDocument of invalid_document | `InvalidDocumentOperation of invalid_document_operation ]) Stdlib.result

Deletes the Amazon Web Services Systems Manager document (SSM document) and all managed node associations to the document.

Before you delete the document, we recommend that you use DeleteAssociation to disassociate all managed nodes that are associated with the document.