Values.CreateAssetRevisionInputSourceCreates a revision of the asset. Asset revisions represent new versions of existing assets, capturing changes to either the underlying data or its metadata. They maintain a historical record of how assets evolve over time, who made changes, and when those changes occurred. This versioning capability is crucial for governance and compliance, allowing organizations to track changes, understand their impact, and roll back if necessary. Prerequisites: Asset must already exist in the domain with identifier. formsInput is required when asset has the form type. typeRevision should be the latest version of form type. The form content must include all required fields (e.g., bucketArn for S3ObjectCollectionForm). The owning project of the original asset must still exist and be active. User must have write access to the project and domain.
type nonrec t = {name : AssetName.t;Te revised name of the asset.
*)domainIdentifier : DomainId.t;The unique identifier of the domain where the asset is being revised.
*)identifier : AssetIdentifier.t;The identifier of the asset.
*)typeRevision : Revision.t option;The revision type of the asset.
*)description : Description.t option;The revised description of the asset.
*)glossaryTerms : GlossaryTerms.t option;The glossary terms to be attached to the asset as part of asset revision.
*)formsInput : FormInputList.t option;The metadata forms to be attached to the asset as part of asset revision.
*)predictionConfiguration : PredictionConfiguration.t option;The configuration of the automatically generated business-friendly metadata for the asset.
*)clientToken : ClientToken.t option;A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
*)}val make :
?typeRevision:??? ->
?description:??? ->
?glossaryTerms:??? ->
?formsInput:??? ->
?predictionConfiguration:??? ->
?clientToken:??? ->
name:AssetName.t ->
domainIdentifier:DomainId.t ->
identifier:AssetIdentifier.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `String of GlossaryTermId.t
| `Structure of (string * [> `String of FormName.t ]) list ]
list
| `String of AssetName.t
| `Structure of
(string
* [> `Structure of (string * [> `Boolean of Boolean.t ]) list ])
list ])
list ]