Struct aws_sdk_codepipeline::client::fluent_builders::DeleteWebhook
source · [−]pub struct DeleteWebhook<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteWebhook
.
Deletes a previously created webhook by name. Deleting the webhook stops AWS CodePipeline from starting a pipeline every time an external event occurs. The API returns successfully when trying to delete a webhook that is already deleted. If a deleted webhook is re-created by calling PutWebhook with the same name, it will have a different URL.
Implementations
impl<C, M, R> DeleteWebhook<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteWebhook<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteWebhookOutput, SdkError<DeleteWebhookError>> where
R::Policy: SmithyRetryPolicy<DeleteWebhookInputOperationOutputAlias, DeleteWebhookOutput, DeleteWebhookError, DeleteWebhookInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteWebhookOutput, SdkError<DeleteWebhookError>> where
R::Policy: SmithyRetryPolicy<DeleteWebhookInputOperationOutputAlias, DeleteWebhookOutput, DeleteWebhookError, DeleteWebhookInputOperationRetryAlias>,
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 webhook you want to delete.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteWebhook<C, M, R>
impl<C, M, R> Unpin for DeleteWebhook<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteWebhook<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