Module Values.CreateAssetInputSource

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. name : AssetName.t;
    (*

    Asset name.

    *)
  2. domainIdentifier : DomainId.t;
    (*

    Amazon DataZone domain where the asset is created.

    *)
  3. 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.

    *)
  4. typeIdentifier : AssetTypeIdentifier.t;
    (*

    The unique identifier of this asset's type.

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

    The revision of this asset's type.

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

    Asset description.

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

    Glossary terms attached to the asset.

    *)
  8. formsInput : FormInputList.t option;
    (*

    Metadata forms attached to the asset.

    *)
  9. owningProjectIdentifier : ProjectId.t;
    (*

    The unique identifier of the project that owns this asset.

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

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

    *)
  11. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

    *)
}
Sourceval context_ : string
Sourceval make : ?externalIdentifier:??? -> ?typeRevision:??? -> ?description:??? -> ?glossaryTerms:??? -> ?formsInput:??? -> ?predictionConfiguration:??? -> ?clientToken:??? -> name:AssetName.t -> domainIdentifier:DomainId.t -> typeIdentifier:AssetTypeIdentifier.t -> owningProjectIdentifier:ProjectId.t -> unit -> t
Sourceval 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 ]
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