Module Smaws_Client_CodeBuild.CreateWebhook

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidInputException of Types.invalid_input_exception | `OAuthProviderException of Types.o_auth_provider_exception | `ResourceAlreadyExistsException of Types.resource_already_exists_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_webhook_input -> (Types.create_webhook_output, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidInputException of Types.invalid_input_exception | `OAuthProviderException of Types.o_auth_provider_exception | `ResourceAlreadyExistsException of Types.resource_already_exists_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_webhook_input -> (Types.create_webhook_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidInputException of Types.invalid_input_exception | `OAuthProviderException of Types.o_auth_provider_exception | `ResourceAlreadyExistsException of Types.resource_already_exists_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result