pub struct UpdateSubscriptionsToEventBridge { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateSubscriptionsToEventBridge
.
Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules. By default, this operation migrates subscriptions only when all your replication instance versions are 3.4.6 or higher. If any replication instances are from versions earlier than 3.4.6, the operation raises an error and tells you to upgrade these instances to version 3.4.6 or higher. To enable migration regardless of version, set the Force
option to true. However, if you don't upgrade instances earlier than version 3.4.6, some types of events might not be available when you use Amazon EventBridge.
To call this operation, make sure that you have certain permissions added to your user account. For more information, see Migrating event subscriptions to Amazon EventBridge in the Amazon Web Services Database Migration Service User Guide.
Implementations§
source§impl UpdateSubscriptionsToEventBridge
impl UpdateSubscriptionsToEventBridge
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSubscriptionsToEventBridge, AwsResponseRetryClassifier>, SdkError<UpdateSubscriptionsToEventBridgeError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSubscriptionsToEventBridge, AwsResponseRetryClassifier>, SdkError<UpdateSubscriptionsToEventBridgeError>>
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<UpdateSubscriptionsToEventBridgeOutput, SdkError<UpdateSubscriptionsToEventBridgeError>>
pub async fn send(
self
) -> Result<UpdateSubscriptionsToEventBridgeOutput, SdkError<UpdateSubscriptionsToEventBridgeError>>
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.
sourcepub fn force_move(self, input: bool) -> Self
pub fn force_move(self, input: bool) -> Self
When set to true, this operation migrates DMS subscriptions for Amazon SNS notifications no matter what your replication instance version is. If not set or set to false, this operation runs only when all your replication instances are from DMS version 3.4.6 or higher.
sourcepub fn set_force_move(self, input: Option<bool>) -> Self
pub fn set_force_move(self, input: Option<bool>) -> Self
When set to true, this operation migrates DMS subscriptions for Amazon SNS notifications no matter what your replication instance version is. If not set or set to false, this operation runs only when all your replication instances are from DMS version 3.4.6 or higher.
Trait Implementations§
source§impl Clone for UpdateSubscriptionsToEventBridge
impl Clone for UpdateSubscriptionsToEventBridge
source§fn clone(&self) -> UpdateSubscriptionsToEventBridge
fn clone(&self) -> UpdateSubscriptionsToEventBridge
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more