Module Values_1.GetDocumentResultSource

Gets the contents of the specified Amazon Web Services Systems Manager document (SSM document).

Sourcetype nonrec t = {
  1. name : Values_0.DocumentARN.t option;
    (*

    The name of the SSM document.

    *)
  2. createdDate : Values_0.DateTime.t option;
    (*

    The date the SSM document was created.

    *)
  3. displayName : Values_0.DocumentDisplayName.t option;
    (*

    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.

    *)
  4. versionName : Values_0.DocumentVersionName.t option;
    (*

    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.

    *)
  5. documentVersion : Values_0.DocumentVersion.t option;
    (*

    The document version.

    *)
  6. status : Values_0.DocumentStatus.t option;
    (*

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

    *)
  7. statusInformation : Values_0.DocumentStatusInformation.t option;
    (*

    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."

    *)
  8. content : Values_0.DocumentContent.t option;
    (*

    The contents of the SSM document.

    *)
  9. documentType : Values_0.DocumentType.t option;
    (*

    The document type.

    *)
  10. documentFormat : Values_0.DocumentFormat.t option;
    (*

    The document format, either JSON or YAML.

    *)
  11. requires : Values_0.DocumentRequiresList.t option;
    (*

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

    *)
  12. attachmentsContent : Values_0.AttachmentContentList.t option;
    (*

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

    *)
  13. reviewStatus : Values_0.ReviewStatus.t option;
    (*

    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.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerError of Values_0.InternalServerError.t
  2. | `InvalidDocument of Values_0.InvalidDocument.t
  3. | `InvalidDocumentVersion of Values_0.InvalidDocumentVersion.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?name:??? -> ?createdDate:??? -> ?displayName:??? -> ?versionName:??? -> ?documentVersion:??? -> ?status:??? -> ?statusInformation:??? -> ?content:??? -> ?documentType:??? -> ?documentFormat:??? -> ?requires:??? -> ?attachmentsContent:??? -> ?reviewStatus:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerError of Values_0.InternalServerError.t | `InvalidDocument of Values_0.InvalidDocument.t | `InvalidDocumentVersion of Values_0.InvalidDocumentVersion.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerError of Values_0.InternalServerError.t | `InvalidDocument of Values_0.InvalidDocument.t | `InvalidDocumentVersion of Values_0.InvalidDocumentVersion.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `Long of Awso.Import.Int64.t | `String of string ]) list ] list | `String of Values_0.DocumentARN.t | `Timestamp of Values_0.DateTime.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t