Values.CreateAssetOutputSourceCreates 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
type nonrec t = {id : AssetId.t option;The unique identifier of the created asset.
*)name : AssetName.t option;The name of the created asset.
*)typeIdentifier : AssetTypeIdentifier.t option;The identifier of the created asset 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 description of the created asset.
*)createdAt : CreatedAt.t option;The timestamp of when the asset was created.
*)createdBy : CreatedBy.t option;The Amazon DataZone user that created this asset in the catalog.
*)firstRevisionCreatedAt : CreatedAt.t option;The timestamp of when the first revision of the asset took place.
*)firstRevisionCreatedBy : CreatedBy.t option;The Amazon DataZone user that made the first revision of the asset.
*)glossaryTerms : GlossaryTerms.t option;The glossary terms that are attached to the created asset.
*)governedGlossaryTerms : CreateAssetOutputGovernedGlossaryTermsList.t option;The glossary terms in a restricted glossary.
*)owningProjectId : ProjectId.t option;The ID of the Amazon DataZone project that owns the created asset.
*)domainId : DomainId.t option;The ID of the Amazon DataZone domain in which the asset was created.
*)listing : AssetListingDetails.t option;The details of an asset published in an Amazon DataZone catalog.
*)formsOutput : FormOutputList.t option;The metadata forms that are attached to the created asset.
*)readOnlyFormsOutput : FormOutputList.t option;The read-only metadata forms that are attached to the created asset.
*)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| `ServiceQuotaExceededException of ServiceQuotaExceededException.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
| `ServiceQuotaExceededException of ServiceQuotaExceededException.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
| `ServiceQuotaExceededException of ServiceQuotaExceededException.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 ]