Learn R Programming

paws.management (version 0.1.5)

ssm_delete_document: Deletes the Systems Manager document and all instance associations to the document

Description

Deletes the Systems Manager document and all instance associations to the document.

Usage

ssm_delete_document(Name, DocumentVersion, VersionName)

Arguments

Name

[required] The name of the document.

DocumentVersion

(Optional) The version of the document that you want to delete. If not provided, all versions of the document are deleted.

VersionName

(Optional) The version name of the document that you want to delete. If not provided, all versions of the document are deleted.

Request syntax

svc$delete_document(
  Name = "string",
  DocumentVersion = "string",
  VersionName = "string"
)

Details

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