Values_1.GetDocumentResultSourceGets the contents of the specified Amazon Web Services Systems Manager document (SSM document).
type nonrec t = {name : Values_0.DocumentARN.t option;The name of the SSM document.
*)createdDate : Values_0.DateTime.t option;The date the SSM document was created.
*)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.
*)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.
*)documentVersion : Values_0.DocumentVersion.t option;The document version.
*)status : Values_0.DocumentStatus.t option;The status of the SSM document, such as Creating, Active, Updating, Failed, and Deleting.
*)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."
*)content : Values_0.DocumentContent.t option;The contents of the SSM document.
*)documentType : Values_0.DocumentType.t option;The document type.
*)documentFormat : Values_0.DocumentFormat.t option;The document format, either JSON or YAML.
*)requires : Values_0.DocumentRequiresList.t option;A list of SSM documents required by a document. For example, an ApplicationConfiguration document requires an ApplicationConfigurationSchema document.
*)attachmentsContent : Values_0.AttachmentContentList.t option;A description of the document attachments, including names, locations, sizes, and so on.
*)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.
*)}type nonrec error = [ | `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 ]val 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 ]val 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 ]val 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 ]