Struct aws_sdk_databasemigration::operation::update_subscriptions_to_event_bridge::builders::UpdateSubscriptionsToEventBridgeFluentBuilder
source · pub struct UpdateSubscriptionsToEventBridgeFluentBuilder { /* 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.5 or higher. If any replication instances are from versions earlier than 3.4.5, the operation raises an error and tells you to upgrade these instances to version 3.4.5 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.5, 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 UpdateSubscriptionsToEventBridgeFluentBuilder
impl UpdateSubscriptionsToEventBridgeFluentBuilder
sourcepub fn as_input(&self) -> &UpdateSubscriptionsToEventBridgeInputBuilder
pub fn as_input(&self) -> &UpdateSubscriptionsToEventBridgeInputBuilder
Access the UpdateSubscriptionsToEventBridge as a reference.
sourcepub async fn send(
self
) -> Result<UpdateSubscriptionsToEventBridgeOutput, SdkError<UpdateSubscriptionsToEventBridgeError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateSubscriptionsToEventBridgeOutput, SdkError<UpdateSubscriptionsToEventBridgeError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<UpdateSubscriptionsToEventBridgeOutput, UpdateSubscriptionsToEventBridgeError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateSubscriptionsToEventBridgeOutput, UpdateSubscriptionsToEventBridgeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.5 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.5 or higher.
sourcepub fn get_force_move(&self) -> &Option<bool>
pub fn get_force_move(&self) -> &Option<bool>
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.5 or higher.
Trait Implementations§
source§impl Clone for UpdateSubscriptionsToEventBridgeFluentBuilder
impl Clone for UpdateSubscriptionsToEventBridgeFluentBuilder
source§fn clone(&self) -> UpdateSubscriptionsToEventBridgeFluentBuilder
fn clone(&self) -> UpdateSubscriptionsToEventBridgeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more