Skip to content

GetDocumentResult

Source code in docs_src/capo_ssm/types/get_document_result.py
class GetDocumentResult(TypedDict, closed=True):
    name: NotRequired["capo_ssm.types.document_arn.DocumentARN"]
    """<p>The name of the SSM document.</p>"""
    created_date: NotRequired["capo_ssm.types.date_time.DateTime"]
    """<p>The date the SSM document was created.</p>"""
    display_name: NotRequired[
        "capo_ssm.types.document_display_name.DocumentDisplayName"
    ]
    """<p>The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see <a>UpdateDocument</a>.</p>"""
    version_name: NotRequired[
        "capo_ssm.types.document_version_name.DocumentVersionName"
    ]
    """<p>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.</p>"""
    document_version: NotRequired["capo_ssm.types.document_version.DocumentVersion"]
    """<p>The document version.</p>"""
    status: NotRequired["capo_ssm.types.document_status.DocumentStatus"]
    """<p>The status of the SSM document, such as <code>Creating</code>, <code>Active</code>, <code>Updating</code>, <code>Failed</code>, and <code>Deleting</code>.</p>"""
    status_information: NotRequired[
        "capo_ssm.types.document_status_information.DocumentStatusInformation"
    ]
    """<p>A message returned by Amazon Web Services Systems Manager that explains the <code>Status</code> value. For example, a <code>Failed</code> status might be explained by the <code>StatusInformation</code> message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."</p>"""
    content: NotRequired["capo_ssm.types.document_content.DocumentContent"]
    """<p>The contents of the SSM document.</p>"""
    document_type: NotRequired["capo_ssm.types.document_type.DocumentType"]
    """<p>The document type.</p>"""
    document_format: NotRequired["capo_ssm.types.document_format.DocumentFormat"]
    """<p>The document format, either JSON or YAML.</p>"""
    requires: NotRequired["capo_ssm.types.document_requires_list.DocumentRequiresList"]
    """<p>A list of SSM documents required by a document. For example, an <code>ApplicationConfiguration</code> document requires an <code>ApplicationConfigurationSchema</code> document.</p>"""
    attachments_content: NotRequired[
        "capo_ssm.types.attachment_content_list.AttachmentContentList"
    ]
    """<p>A description of the document attachments, including names, locations, sizes, and so on.</p>"""
    review_status: NotRequired["capo_ssm.types.review_status.ReviewStatus"]
    """<p>The current review status of a new custom Systems Manager document (SSM document) created by a member of your organization, or of the latest version of an existing SSM document.</p> <p>Only one version of an SSM document can be in the APPROVED state at a time. When a new version is approved, the status of the previous version changes to REJECTED.</p> <p>Only one version of an SSM document can be in review, or PENDING, at a time.</p>"""

attachments_content instance-attribute

attachments_content: NotRequired[AttachmentContentList]

A description of the document attachments, including names, locations, sizes, and so on.

content instance-attribute

content: NotRequired[DocumentContent]

The contents of the SSM document.

created_date instance-attribute

created_date: NotRequired[DateTime]

The date the SSM document was created.

display_name instance-attribute

display_name: NotRequired[DocumentDisplayName]

The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument.

document_format instance-attribute

document_format: NotRequired[DocumentFormat]

The document format, either JSON or YAML.

document_type instance-attribute

document_type: NotRequired[DocumentType]

The document type.

document_version instance-attribute

document_version: NotRequired[DocumentVersion]

The document version.

name instance-attribute

name: NotRequired[DocumentARN]

The name of the SSM document.

requires instance-attribute

requires: NotRequired[DocumentRequiresList]

A list of SSM documents required by a document. For example, an ApplicationConfiguration document requires an ApplicationConfigurationSchema document.

review_status instance-attribute

review_status: NotRequired[ReviewStatus]

The current review status of a new custom Systems Manager document (SSM document) created by a member of your organization, or of the latest version of an existing SSM document.

Only one version of an SSM document can be in the APPROVED state at a time. When a new version is approved, the status of the previous version changes to REJECTED.

Only one version of an SSM document can be in review, or PENDING, at a time.

status instance-attribute

status: NotRequired[DocumentStatus]

The status of the SSM document, such as Creating, Active, Updating, Failed, and Deleting.

status_information instance-attribute

status_information: NotRequired[DocumentStatusInformation]

A message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a Failed status might be explained by the StatusInformation message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

version_name instance-attribute

version_name: NotRequired[DocumentVersionName]

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.