Amazon Simple Systems Manager (SSM)

2019/06/24 - Amazon Simple Systems Manager (SSM) - 1 updated api methods

Changes  AWS Systems Manager now supports deleting a specific version of a SSM Document.

DeleteDocument (updated) Link ΒΆ
Changes (request)
{'DocumentVersion': 'string', 'VersionName': 'string'}

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

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

See also: AWS API Documentation

Request Syntax

client.delete_document(
    Name='string',
    DocumentVersion='string',
    VersionName='string'
)
type Name

string

param Name

[REQUIRED]

The name of the document.

type DocumentVersion

string

param DocumentVersion

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

type VersionName

string

param VersionName

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

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --