update_webhook
¶
update_webhook(
webhook_id: WebhookId,
*,
config_overrides: Optional[AmplifyClientConfig] = None,
branch_name: Optional[BranchName] = None,
description: Optional[Description] = None,
) -> UpdateWebhookResult
Updates a webhook.
Parameters:
-
webhook_id(WebhookId) –The unique ID for a webhook.
-
branch_name(Optional[BranchName], default:None) –The name for a branch that is part of an Amplify app.
-
description(Optional[Description], default:None) –The description for a webhook.
Raises:
-
BadRequestException–A request contains unexpected data.
-
DependentServiceFailureException–An operation failed because a dependent service threw an exception.
-
InternalFailureException–The service failed to perform an operation due to an internal issue.
-
NotFoundException–An entity was not found during an operation.
-
UnauthorizedException–An operation failed due to a lack of access.
-
UnknownServiceError–The service returned an error code this client does not model.