update_document_metadata
async
¶
update_document_metadata(
name: DocumentName,
document_reviews: DocumentReviews,
*,
config_overrides: Optional[AsyncSSMClientConfig] = 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/async_ssm.py
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 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 | |