Module Values.CreateSourceRepositoryBranchResponseSource

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. ref : SourceRepositoryBranchRefString.t option;
    (*

    The Git reference name of the branch.

    *)
  2. name : SourceRepositoryBranchString.t option;
    (*

    The name of the newly created branch.

    *)
  3. lastUpdatedTime : SyntheticTimestamp_date_time.t option;
    (*

    The time the branch was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

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

    The commit ID of the tip of the newly created branch.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?ref:??? -> ?name:??? -> ?lastUpdatedTime:??? -> ?headCommitId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of SourceRepositoryBranchRefString.t | `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