describe_document
async
¶
describe_document(
name: DocumentARN,
*,
config_overrides: Optional[AsyncSSMClientConfig] = None,
document_version: Optional[DocumentVersion] = None,
version_name: Optional[DocumentVersionName] = None,
) -> DescribeDocumentResult
Describes the specified Amazon Web Services Systems Manager document (SSM document).
Parameters:
-
name(DocumentARN) –The name of the SSM document.
If you're calling a shared SSM document from a different Amazon Web Services account,
Nameis the full Amazon Resource Name (ARN) of the document. -
document_version(Optional[DocumentVersion], default:None) –The document version for which you want information. Can be a specific version or the default version.
-
version_name(Optional[DocumentVersionName], default:None) –An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
Raises:
-
InternalServerError–An error occurred on the server side.
-
InvalidDocument–The specified SSM document doesn't exist.
-
InvalidDocumentVersion–The document version isn't valid or doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.