Smaws_Client_DatabaseMigrationService.UpdateSubscriptionsToEventBridgeMigrates 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_subscriptions_to_event_bridge_message ->
(Types.update_subscriptions_to_event_bridge_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_subscriptions_to_event_bridge_message ->
(Types.update_subscriptions_to_event_bridge_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result