AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to UpdateSubscriptionsToEventBridgeAsync.

Namespace: Amazon.DatabaseMigrationService
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z

Syntax

C#
public abstract UpdateSubscriptionsToEventBridgeResponse UpdateSubscriptionsToEventBridge(
         UpdateSubscriptionsToEventBridgeRequest request
)

Parameters

request
Type: Amazon.DatabaseMigrationService.Model.UpdateSubscriptionsToEventBridgeRequest

Container for the necessary parameters to execute the UpdateSubscriptionsToEventBridge service method.

Return Value


The response from the UpdateSubscriptionsToEventBridge service method, as returned by DatabaseMigrationService.

Exceptions

ExceptionCondition
AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also