pub struct DeactivateEventSource { /* 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
sourceimpl DeactivateEventSource
impl DeactivateEventSource
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
sourceimpl Clone for DeactivateEventSource
impl Clone for DeactivateEventSource
sourcefn clone(&self) -> DeactivateEventSource
fn clone(&self) -> DeactivateEventSource
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more