Values.CreateAssetRevisionOutputSourceCreates 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 = {id : AssetId.t option;The unique identifier of the asset revision.
*)name : AssetName.t option;The revised name of the asset.
*)typeIdentifier : AssetTypeIdentifier.t option;The identifier of the revision type.
*)typeRevision : Revision.t option;The revision type of the asset.
*)externalIdentifier : ExternalIdentifier.t option;The external identifier of the asset.
*)revision : Revision.t option;The revision of the asset.
*)description : Description.t option;The revised asset description.
*)createdAt : CreatedAt.t option;The timestamp of when the asset revision occured.
*)createdBy : CreatedBy.t option;The Amazon DataZone user who performed the asset revision.
*)firstRevisionCreatedAt : CreatedAt.t option;The timestamp of when the first asset revision occured.
*)firstRevisionCreatedBy : CreatedBy.t option;The Amazon DataZone user who performed the first asset revision.
*)glossaryTerms : GlossaryTerms.t option;The glossary terms that were attached to the asset as part of asset revision.
*)governedGlossaryTerms : CreateAssetRevisionOutputGovernedGlossaryTermsList.t
option;The glossary terms in a restricted glossary.
*)owningProjectId : ProjectId.t option;The unique identifier of the revised project that owns the asset.
*)domainId : DomainId.t option;The unique identifier of the Amazon DataZone domain where the asset was revised.
*)listing : AssetListingDetails.t option;The details of an asset published in an Amazon DataZone catalog.
*)formsOutput : FormOutputList.t option;The metadata forms that were attached to the asset as part of the asset revision.
*)readOnlyFormsOutput : FormOutputList.t option;The read-only metadata forms that were attached to the asset as part of the asset revision.
*)latestTimeSeriesDataPointFormsOutput : TimeSeriesDataPointSummaryFormOutputList.t
option;The latest data point that was imported into the time series form for the asset.
*)predictionConfiguration : PredictionConfiguration.t option;The configuration of the automatically generated business-friendly metadata for the asset.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?id:??? ->
?name:??? ->
?typeIdentifier:??? ->
?typeRevision:??? ->
?externalIdentifier:??? ->
?revision:??? ->
?description:??? ->
?createdAt:??? ->
?createdBy:??? ->
?firstRevisionCreatedAt:??? ->
?firstRevisionCreatedBy:??? ->
?glossaryTerms:??? ->
?governedGlossaryTerms:??? ->
?owningProjectId:??? ->
?domainId:??? ->
?listing:??? ->
?formsOutput:??? ->
?readOnlyFormsOutput:??? ->
?latestTimeSeriesDataPointFormsOutput:??? ->
?predictionConfiguration:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `String of GlossaryTermId.t
| `Structure of
(string
* [> `String of FormName.t | `Timestamp of Timestamp.t ])
list ]
list
| `String of AssetId.t
| `Structure of
(string
* [> `Enum of string
| `String of ListingId.t
| `Structure of (string * [> `Boolean of Boolean.t ]) list ])
list
| `Timestamp of CreatedAt.t ])
list ]