Module Values.CreateAssetOutputSource

Creates an asset in Amazon DataZone catalog. Before creating assets, make sure that the following requirements are met: --domain-identifier must refer to an existing domain. --owning-project-identifier must be a valid project within the domain. Asset type must be created beforehand using create-asset-type, or be a supported system-defined type. For more information, see create-asset-type. --type-revision (if used) must match a valid revision of the asset type. formsInput is required when it is associated as required in the asset-type. For more information, see create-form-type. Form content must include all required fields as per the form schema (e.g., bucketArn). You must invoke the following pre-requisite commands before invoking this API: CreateFormType CreateAssetType

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

    The unique identifier of the created asset.

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

    The name of the created asset.

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

    The identifier of the created asset 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 description of the created asset.

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

    The timestamp of when the asset was created.

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

    The Amazon DataZone user that created this asset in the catalog.

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

    The timestamp of when the first revision of the asset took place.

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

    The Amazon DataZone user that made the first revision of the asset.

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

    The glossary terms that are attached to the created asset.

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

    The glossary terms in a restricted glossary.

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

    The ID of the Amazon DataZone project that owns the created asset.

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

    The ID of the Amazon DataZone domain in which the asset was created.

    *)
  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 are attached to the created asset.

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

    The read-only metadata forms that are attached to the created asset.

    *)
  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. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `UnauthorizedException of UnauthorizedException.t
  8. | `ValidationException of ValidationException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?id:AssetId.t -> ?name:AssetName.t -> ?typeIdentifier:AssetTypeIdentifier.t -> ?typeRevision:Revision.t -> ?externalIdentifier:ExternalIdentifier.t -> ?revision:Revision.t -> ?description:Description.t -> ?createdAt:CreatedAt.t -> ?createdBy:CreatedBy.t -> ?firstRevisionCreatedAt:CreatedAt.t -> ?firstRevisionCreatedBy:CreatedBy.t -> ?glossaryTerms:GlossaryTerms.t -> ?governedGlossaryTerms:CreateAssetOutputGovernedGlossaryTermsList.t -> ?owningProjectId:ProjectId.t -> ?domainId:DomainId.t -> ?listing:AssetListingDetails.t -> ?formsOutput:FormOutputList.t -> ?readOnlyFormsOutput:FormOutputList.t -> ?latestTimeSeriesDataPointFormsOutput: TimeSeriesDataPointSummaryFormOutputList.t -> ?predictionConfiguration:PredictionConfiguration.t -> 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 | `ServiceQuotaExceededException of ServiceQuotaExceededException.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 | `ServiceQuotaExceededException of ServiceQuotaExceededException.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