Module Values.CreateAssetRevisionOutputSource

Creates 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.

Sourcetype nonrec t = {
  1. id : AssetId.t option;
    (*

    The unique identifier of the asset revision.

    *)
  2. name : AssetName.t option;
    (*

    The revised name of the asset.

    *)
  3. typeIdentifier : AssetTypeIdentifier.t option;
    (*

    The identifier of the revision type.

    *)
  4. typeRevision : Revision.t option;
    (*

    The revision type of the asset.

    *)
  5. externalIdentifier : ExternalIdentifier.t option;
    (*

    The external identifier of the asset.

    *)
  6. revision : Revision.t option;
    (*

    The revision of the asset.

    *)
  7. description : Description.t option;
    (*

    The revised asset description.

    *)
  8. createdAt : CreatedAt.t option;
    (*

    The timestamp of when the asset revision occured.

    *)
  9. createdBy : CreatedBy.t option;
    (*

    The Amazon DataZone user who performed the asset revision.

    *)
  10. firstRevisionCreatedAt : CreatedAt.t option;
    (*

    The timestamp of when the first asset revision occured.

    *)
  11. firstRevisionCreatedBy : CreatedBy.t option;
    (*

    The Amazon DataZone user who performed the first asset revision.

    *)
  12. glossaryTerms : GlossaryTerms.t option;
    (*

    The glossary terms that were attached to the asset as part of asset revision.

    *)
  13. governedGlossaryTerms : CreateAssetRevisionOutputGovernedGlossaryTermsList.t option;
    (*

    The glossary terms in a restricted glossary.

    *)
  14. owningProjectId : ProjectId.t option;
    (*

    The unique identifier of the revised project that owns the asset.

    *)
  15. domainId : DomainId.t option;
    (*

    The unique identifier of the Amazon DataZone domain where the asset was revised.

    *)
  16. listing : AssetListingDetails.t option;
    (*

    The details of an asset published in an Amazon DataZone catalog.

    *)
  17. formsOutput : FormOutputList.t option;
    (*

    The metadata forms that were attached to the asset as part of the asset revision.

    *)
  18. readOnlyFormsOutput : FormOutputList.t option;
    (*

    The read-only metadata forms that were attached to the asset as part of the asset revision.

    *)
  19. latestTimeSeriesDataPointFormsOutput : TimeSeriesDataPointSummaryFormOutputList.t option;
    (*

    The latest data point that was imported into the time series form for the asset.

    *)
  20. predictionConfiguration : PredictionConfiguration.t option;
    (*

    The configuration of the automatically generated business-friendly metadata for the asset.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `UnauthorizedException of UnauthorizedException.t
  7. | `ValidationException of ValidationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?id:??? -> ?name:??? -> ?typeIdentifier:??? -> ?typeRevision:??? -> ?externalIdentifier:??? -> ?revision:??? -> ?description:??? -> ?createdAt:??? -> ?createdBy:??? -> ?firstRevisionCreatedAt:??? -> ?firstRevisionCreatedBy:??? -> ?glossaryTerms:??? -> ?governedGlossaryTerms:??? -> ?owningProjectId:??? -> ?domainId:??? -> ?listing:??? -> ?formsOutput:??? -> ?readOnlyFormsOutput:??? -> ?latestTimeSeriesDataPointFormsOutput:??? -> ?predictionConfiguration:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
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