Values.CreateServiceTemplateVersionInputSourceCreate a new major or minor version of a service template. A major version of a service template is a version that isn't backward compatible. A minor version of a service template is a version that's backward compatible within its major version.
type nonrec t = {clientToken : ClientToken.t option;When included, if two identical requests are made with the same client token, Proton returns the service template version that the first request created.
*)compatibleEnvironmentTemplates : CompatibleEnvironmentTemplateInputList.t;An array of environment template objects that are compatible with the new service template version. A service instance based on this service template version can run in environments based on compatible templates.
*)description : Description.t option;A description of the new version of a service template.
*)majorVersion : TemplateVersionPart.t option;To create a new minor version of the service template, include a major Version. To create a new major and minor version of the service template, exclude major Version.
*)source : TemplateVersionSourceInput.t;An object that includes the template bundle S3 bucket path and name for the new version of a service template.
*)supportedComponentSources : ServiceTemplateSupportedComponentSourceInputList.t
option;An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version. For more information about components, see Proton components in the Proton User Guide.
*)templateName : ResourceName.t;The name of the service template.
*)}val make :
?clientToken:??? ->
?description:??? ->
?majorVersion:??? ->
?supportedComponentSources:??? ->
?tags:??? ->
compatibleEnvironmentTemplates:CompatibleEnvironmentTemplateInputList.t ->
source:TemplateVersionSourceInput.t ->
templateName:ResourceName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Enum of string
| `Structure of
(string * [> `String of TemplateVersionPart.t ]) list ]
list
| `String of ClientToken.t
| `Structure of
(string
* [> `Structure of (string * [> `String of S3Bucket.t ]) list ])
list ])
list ]