Module Values.CodegenJobSource

Describes the configuration for a code generation job that is associated with an Amplify app.

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

    The unique ID for the code generation job.

    *)
  2. appId : AppId.t option;
    (*

    The ID of the Amplify app associated with the code generation job.

    *)
  3. environmentName : String_.t option;
    (*

    The name of the backend environment associated with the code generation job.

    *)
  4. renderConfig : CodegenJobRenderConfig.t option;
  5. genericDataSchema : CodegenJobGenericDataSchema.t option;
  6. autoGenerateForms : Boolean.t option;
    (*

    Specifies whether to autogenerate forms in the code generation job.

    *)
  7. features : CodegenFeatureFlags.t option;
  8. status : CodegenJobStatus.t option;
    (*

    The status of the code generation job.

    *)
  9. statusMessage : String_.t option;
    (*

    The customized status message for the code generation job.

    *)
  10. asset : CodegenJobAsset.t option;
    (*

    The CodegenJobAsset to use for the code generation job.

    *)
  11. tags : Tags.t option;
    (*

    One or more key-value pairs to use when tagging the code generation job.

    *)
  12. createdAt : SyntheticTimestamp_date_time.t option;
    (*

    The time that the code generation job was created.

    *)
  13. modifiedAt : SyntheticTimestamp_date_time.t option;
    (*

    The time that the code generation job was modified.

    *)
  14. dependencies : CodegenDependencies.t option;
    (*

    Lists the dependency packages that may be required for the project code to run.

    *)
}
Sourceval make : ?id:Uuid.t -> ?appId:AppId.t -> ?environmentName:String_.t -> ?renderConfig:CodegenJobRenderConfig.t -> ?genericDataSchema:CodegenJobGenericDataSchema.t -> ?autoGenerateForms:Boolean.t -> ?features:CodegenFeatureFlags.t -> ?status:CodegenJobStatus.t -> ?statusMessage:String_.t -> ?asset:CodegenJobAsset.t -> ?tags:Tags.t -> ?createdAt:SyntheticTimestamp_date_time.t -> ?modifiedAt:SyntheticTimestamp_date_time.t -> ?dependencies:CodegenDependencies.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of Uuid.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Map of ([> `String of String_.t ] * [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of String_.t ] list | `Map of ([> `String of String_.t ] * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `String of String_.t ] list | `String of String_.t ]) list ]) list ]) list ]) list ]) list | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `Structure of (string * [> `Structure of (string * [> `String of String_.t ]) list ]) list ]) list ]) list | `Timestamp of SyntheticTimestamp_date_time.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