Module Values.StartCodegenJobRequestSource

Starts a code generation job for a specified Amplify app and backend environment.

Sourcetype nonrec t = {
  1. appId : AppId.t;
    (*

    The unique ID for the Amplify app.

    *)
  2. environmentName : String_.t;
    (*

    The name of the backend environment that is a part of the Amplify app.

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

    The idempotency token used to ensure that the code generation job request completes only once.

    *)
  4. codegenJobToCreate : StartCodegenJobData.t;
    (*

    The code generation job resource configuration.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> appId:AppId.t -> environmentName:String_.t -> codegenJobToCreate:StartCodegenJobData.t -> unit -> t
Sourceval of_header_and_body : ((string, String_.t) Awso.Import.List.Assoc.t * StartCodegenJobData.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AppId.t | `Structure of (string * [> `Boolean of Boolean.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `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 | `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 ]) 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