Struct aws_sdk_eventbridge::operation::deactivate_event_source::builders::DeactivateEventSourceFluentBuilder
source · pub struct DeactivateEventSourceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeactivateEventSource
.
You can use this operation to temporarily stop receiving events from the specified partner event source. The matching event bus is not deleted.
When you deactivate a partner event source, the source goes into PENDING state. If it remains in PENDING state for more than two weeks, it is deleted.
To activate a deactivated partner event source, use ActivateEventSource.
Implementations§
source§impl DeactivateEventSourceFluentBuilder
impl DeactivateEventSourceFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeactivateEventSource, AwsResponseRetryClassifier>, SdkError<DeactivateEventSourceError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeactivateEventSource, AwsResponseRetryClassifier>, SdkError<DeactivateEventSourceError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeactivateEventSourceOutput, SdkError<DeactivateEventSourceError>>
pub async fn send( self ) -> Result<DeactivateEventSourceOutput, SdkError<DeactivateEventSourceError>>
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.
Trait Implementations§
source§impl Clone for DeactivateEventSourceFluentBuilder
impl Clone for DeactivateEventSourceFluentBuilder
source§fn clone(&self) -> DeactivateEventSourceFluentBuilder
fn clone(&self) -> DeactivateEventSourceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more