Struct aws_sdk_codebuild::client::fluent_builders::UpdateWebhook [−][src]
pub struct UpdateWebhook<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateWebhook
.
Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret
is ignored.
Implementations
impl<C, M, R> UpdateWebhook<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateWebhook<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateWebhookOutput, SdkError<UpdateWebhookError>> where
R::Policy: SmithyRetryPolicy<UpdateWebhookInputOperationOutputAlias, UpdateWebhookOutput, UpdateWebhookError, UpdateWebhookInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateWebhookOutput, SdkError<UpdateWebhookError>> where
R::Policy: SmithyRetryPolicy<UpdateWebhookInputOperationOutputAlias, UpdateWebhookOutput, UpdateWebhookError, UpdateWebhookInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the CodeBuild project.
The name of the CodeBuild project.
A regular expression used to determine which repository branches are built when a
webhook is triggered. If the name of a branch matches the regular expression, then it is
built. If branchFilter
is empty, then all branches are built.
It is recommended that you use filterGroups
instead of
branchFilter
.
A regular expression used to determine which repository branches are built when a
webhook is triggered. If the name of a branch matches the regular expression, then it is
built. If branchFilter
is empty, then all branches are built.
It is recommended that you use filterGroups
instead of
branchFilter
.
A boolean value that specifies whether the associated GitHub repository's secret
token should be updated. If you use Bitbucket for your repository,
rotateSecret
is ignored.
A boolean value that specifies whether the associated GitHub repository's secret
token should be updated. If you use Bitbucket for your repository,
rotateSecret
is ignored.
Appends an item to filterGroups
.
To override the contents of this collection use set_filter_groups
.
An array of arrays of WebhookFilter
objects used to determine if a
webhook event can trigger a build. A filter group must contain at least one
EVENT
WebhookFilter
.
An array of arrays of WebhookFilter
objects used to determine if a
webhook event can trigger a build. A filter group must contain at least one
EVENT
WebhookFilter
.
Specifies the type of build this webhook will trigger.
Specifies the type of build this webhook will trigger.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateWebhook<C, M, R>
impl<C, M, R> Unpin for UpdateWebhook<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateWebhook<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more