Skip to content

/AWS1/CL_SSM=>UPDATEDOCUMENTDEFAULTVERSION()

About UpdateDocumentDefaultVersion

Set the default version of a document.

If you change a document version for a State Manager association, Systems Manager immediately runs the association unless you previously specifed the apply-only-at-cron-interval parameter.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/SSMDOCUMENTNAME /AWS1/SSMDOCUMENTNAME

The name of a custom document that you want to set as the default version.

IV_DOCUMENTVERSION TYPE /AWS1/SSMDOCUMENTVERSIONNUMBER /AWS1/SSMDOCUMENTVERSIONNUMBER

The version of a custom document that you want to set as the default version.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMUPDDOCDEFVRSRSLT /AWS1/CL_SSMUPDDOCDEFVRSRSLT