update_document_metadata
¶
update_document_metadata(
name: DocumentName,
document_reviews: DocumentReviews,
*,
config_overrides: Optional[SSMClientConfig] = None,
document_version: Optional[DocumentVersion] = None,
) -> UpdateDocumentMetadataResponse
Amazon Web Services Systems Manager Change Manager is no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services Systems Manager Change Manager availability change.
Updates information related to approval reviews for a specific version of a change template in Change Manager.
Parameters:
-
name(DocumentName) –The name of the change template for which a version's metadata is to be updated.
-
document_version(Optional[DocumentVersion], default:None) –The version of a change template in which to update approval metadata.
-
document_reviews(DocumentReviews) –The change template review details to update.
Raises:
-
InternalServerError–An error occurred on the server side.
-
InvalidDocument–The specified SSM document doesn't exist.
-
InvalidDocumentOperation–You attempted to delete a document while it is still shared. You must stop sharing the document before you can delete it.
-
InvalidDocumentVersion–The document version isn't valid or doesn't exist.
-
TooManyUpdates–There are concurrent updates for a resource that supports one update at a time.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm/_services/ssm.py
11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 | |