SSM.Client.
update_document_metadata
(**kwargs)¶Updates information related to approval reviews for a specific version of a change template in Change Manager.
See also: AWS API Documentation
Request Syntax
response = client.update_document_metadata(
Name='string',
DocumentVersion='string',
DocumentReviews={
'Action': 'SendForReview'|'UpdateReview'|'Approve'|'Reject',
'Comment': [
{
'Type': 'Comment',
'Content': 'string'
},
]
}
)
[REQUIRED]
The name of the change template for which a version's metadata is to be updated.
[REQUIRED]
The change template review details to update.
The action to take on a document approval review request.
A comment entered by a user in your organization about the document review request.
Information about comments added to a document review request.
The type of information added to a review request. Currently, only the value Comment
is supported.
The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.
dict
Response Syntax
{}
Response Structure
Exceptions
SSM.Client.exceptions.InternalServerError
SSM.Client.exceptions.InvalidDocument
SSM.Client.exceptions.InvalidDocumentOperation
SSM.Client.exceptions.InvalidDocumentVersion