Module Values.UpdateTemplateRequestSource

Updates the attributes of an existing template. The template attributes that can be modified include name, description, layoutConfiguration, requiredFields, and status. At least one of these attributes must not be null. If a null value is provided for a given attribute, that attribute is ignored and its current value is preserved. Other template APIs are: CreateTemplate DeleteTemplate GetTemplate ListTemplates

Sourcetype nonrec t = {
  1. domainId : DomainId.t;
    (*

    The unique identifier of the Cases domain.

    *)
  2. templateId : TemplateId.t;
    (*

    A unique identifier for the template.

    *)
  3. name : TemplateName.t option;
    (*

    The name of the template. It must be unique per domain.

    *)
  4. description : TemplateDescription.t option;
    (*

    A brief description of the template.

    *)
  5. layoutConfiguration : LayoutConfiguration.t option;
    (*

    Configuration of layouts associated to the template.

    *)
  6. requiredFields : RequiredFieldList.t option;
    (*

    A list of fields that must contain a value for a case to be successfully created with this template.

    *)
  7. status : TemplateStatus.t option;
    (*

    The status of the template.

    *)
  8. rules : TemplateCaseRuleList.t option;
    (*

    A list of case rules (also known as case field conditions) on a template.

    *)
  9. tagPropagationConfigurations : TagPropagationConfigurationList.t option;
    (*

    Defines tag propagation configuration for resources created within a domain. Tags specified here will be automatically applied to resources being created for the specified resource type.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> ?description:??? -> ?layoutConfiguration:??? -> ?requiredFields:??? -> ?status:??? -> ?rules:??? -> ?tagPropagationConfigurations:??? -> domainId:DomainId.t -> templateId:TemplateId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `Map of ([> `String of MutableTagKey.t ] * [> `String of TagValueString.t ]) list | `String of FieldId.t ]) list ] list | `String of DomainId.t | `Structure of (string * [> `String of LayoutId.t ]) list ]) 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