update_subscriptions_to_event_bridge

update_subscriptions_to_event_bridge(**kwargs)

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 .

See also: AWS API Documentation

Request Syntax

response = client.update_subscriptions_to_event_bridge(
    ForceMove=True|False
)
Parameters
ForceMove (boolean) -- 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.
Return type
dict
Returns
Response Syntax
{
    'Result': 'string'
}

Response Structure

  • (dict) --
    • Result (string) --

      A string that indicates how many event subscriptions were migrated and how many remain to be migrated.

Exceptions

  • DatabaseMigrationService.Client.exceptions.AccessDeniedFault
  • DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault