Values.CreateTemplateRequestSourceCreates a template in the Cases domain. This template is used to define the case object model (that is, to define what data can be captured on cases) in a Cases domain. A template must have a unique name within a domain, and it must reference existing field IDs and layout IDs. Additionally, multiple fields with same IDs are not allowed within the same Template. A template can be either Active or Inactive, as indicated by its status. Inactive templates cannot be used to create cases. Other template APIs are: DeleteTemplate GetTemplate ListTemplates UpdateTemplate
type nonrec t = {domainId : DomainId.t;The unique identifier of the Cases domain.
*)name : TemplateName.t;A name for the template. It must be unique per domain.
*)description : TemplateDescription.t option;A brief description of the template.
*)layoutConfiguration : LayoutConfiguration.t option;Configuration of layouts associated to the template.
*)requiredFields : RequiredFieldList.t option;A list of fields that must contain a value for a case to be successfully created with this template.
*)status : TemplateStatus.t option;The status of the template.
*)rules : TemplateCaseRuleList.t option;A list of case rules (also known as case field conditions) on a template.
*)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.
*)}val make :
?description:??? ->
?layoutConfiguration:??? ->
?requiredFields:??? ->
?status:??? ->
?rules:??? ->
?tagPropagationConfigurations:??? ->
domainId:DomainId.t ->
name:TemplateName.t ->
unit ->
tval 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 ]