Values.CreateAssetInputSourceCreates 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 = {name : AssetName.t;Asset name.
*)domainIdentifier : DomainId.t;Amazon DataZone domain where the asset is created.
*)externalIdentifier : ExternalIdentifier.t option;The external identifier of the asset. If the value for the externalIdentifier parameter is specified, it must be a unique value.
*)typeIdentifier : AssetTypeIdentifier.t;The unique identifier of this asset's type.
*)typeRevision : Revision.t option;The revision of this asset's type.
*)description : Description.t option;Asset description.
*)glossaryTerms : GlossaryTerms.t option;Glossary terms attached to the asset.
*)formsInput : FormInputList.t option;Metadata forms attached to the asset.
*)owningProjectIdentifier : ProjectId.t;The unique identifier of the project that owns this asset.
*)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 :
?externalIdentifier:??? ->
?typeRevision:??? ->
?description:??? ->
?glossaryTerms:??? ->
?formsInput:??? ->
?predictionConfiguration:??? ->
?clientToken:??? ->
name:AssetName.t ->
domainIdentifier:DomainId.t ->
typeIdentifier:AssetTypeIdentifier.t ->
owningProjectIdentifier:ProjectId.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 ]