Module Values.CreateSourceRepositoryBranchRequestSource

Creates a branch in a specified source repository in Amazon CodeCatalyst. This API only creates a branch in a source repository hosted in Amazon CodeCatalyst. You cannot use this API to create a branch in a linked repository.

Sourcetype nonrec t = {
  1. spaceName : NameString.t;
    (*

    The name of the space.

    *)
  2. projectName : NameString.t;
    (*

    The name of the project in the space.

    *)
  3. sourceRepositoryName : SourceRepositoryNameString.t;
    (*

    The name of the repository where you want to create a branch.

    *)
  4. name : SourceRepositoryBranchString.t;
    (*

    The name for the branch you're creating.

    *)
  5. headCommitId : String_.t option;
    (*

    The commit ID in an existing branch from which you want to create the new branch.

    *)
}
Sourceval context_ : string
Sourceval make : ?headCommitId:??? -> spaceName:NameString.t -> projectName:NameString.t -> sourceRepositoryName:SourceRepositoryNameString.t -> name:SourceRepositoryBranchString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NameString.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