Module Values.CreateWebhookOutputSource

For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.

Sourcetype nonrec t = {
  1. webhook : Webhook.t option;
    (*

    Information about a webhook that connects repository events to a build project in CodeBuild.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidInputException of InvalidInputException.t
  2. | `OAuthProviderException of OAuthProviderException.t
  3. | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?webhook:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidInputException of unit | `OAuthProviderException of unit | `ResourceAlreadyExistsException of unit | `ResourceNotFoundException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidInputException of unit | `OAuthProviderException of unit | `ResourceAlreadyExistsException of unit | `ResourceNotFoundException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of WrapperBoolean.t | `Enum of string | `List of [> `List of [> `Structure of (string * [> `Boolean of WrapperBoolean.t | `Enum of string | `String of String_.t ]) list ] list ] list | `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `String of String_.t ]) list | `Timestamp of Timestamp.t ]) 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