Module Values_1.UpdateDocumentRequestSource

Updates one or more values for an SSM document.

Sourcetype nonrec t = {
  1. content : Values_0.DocumentContent.t;
    (*

    A valid JSON or YAML string.

    *)
  2. attachments : Values_0.AttachmentsSourceList.t option;
    (*

    A list of key-value pairs that describe attachments to a version of a document.

    *)
  3. name : Values_0.DocumentName.t;
    (*

    The name of the SSM document that you want to update.

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

    The friendly name of the SSM document that you want to update. This value can differ for each version of the document. If you don't specify a value for this parameter in your request, the existing value is applied to the new document version.

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

    An optional field specifying the version of the artifact you are updating with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.

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

    The version of the document that you want to update. Currently, Systems Manager supports updating only the latest version of the document. You can specify the version number of the latest version or use the $LATEST variable. If you change a document version for a State Manager association, Systems Manager immediately runs the association unless you previously specifed the apply-only-at-cron-interval parameter.

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

    Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.

    *)
  8. targetType : Values_0.TargetType.t option;
    (*

    Specify a new target type for the document.

    *)
}
Sourceval context_ : string
Sourceval make : ?attachments:??? -> ?displayName:??? -> ?versionName:??? -> ?documentVersion:??? -> ?documentFormat:??? -> ?targetType:??? -> content:Values_0.DocumentContent.t -> name:Values_0.DocumentName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of string ] list | `String of string ]) list ] list | `String of Values_0.DocumentContent.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