aws ssm update-document-metadata
Amazon Web Services Systems Manager Change Manager is no longer open to new customers. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To approve the latest version of a change template
The following update-document-metadata example provides an approval for the latest version of a change template that has been submitted for review.
aws ssm update-document-metadata --name MyChangeManagerTemplate --document-reviews 'Action=Approve,Comment=[{Type=Comment,Content=Approved!}]'Identify--nameThe name of the change template for which a version's metadata is to be updated.--document-reviewsThe change template review details to update.This command produces no output.
For more information, see Reviewing and approving or rejecting change templates in the AWS Systems Manager User Guide.
Options
--document-reviewsThe change template review details to update.--document-versionThe version of a change template in which to update approval metadata.--nameThe name of the change template for which a version's metadata is to be updated.