AWS CodePipeline
API Reference (API Version 2015-07-09)

RegisterWebhookWithThirdParty

Configures a connection between the webhook that was created and the external tool with events to be detected.

Request Syntax

{ "webhookName": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

webhookName

The name of an existing webhook created with PutWebhook to register with a supported third party.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [A-Za-z0-9.@\-_]+

Required: No

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors.

ValidationException

The validation was specified in an invalid format.

HTTP Status Code: 400

WebhookNotFoundException

The specified webhook was entered in an invalid format or cannot be found.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: