AWS Database Migration Service
API Reference (API Version 2016-01-01)


Modifies an existing AWS DMS event notification subscription.

Request Syntax

{ "Enabled": boolean, "EventCategories": [ "string" ], "SnsTopicArn": "string", "SourceType": "string", "SubscriptionName": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.


A Boolean value; set to true to activate the subscription.

Type: Boolean

Required: No


A list of event categories for a source type that you want to subscribe to. Use the DescribeEventCategories action to see a list of event categories.

Type: Array of strings

Required: No


The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

Type: String

Required: No


The type of AWS DMS resource that generates the events you want to subscribe to.

Valid values: replication-instance | migration-task

Type: String

Required: No


The name of the AWS DMS event notification subscription to be modified.

Type: String

Required: Yes

Response Syntax

{ "EventSubscription": { "CustomerAwsId": "string", "CustSubscriptionId": "string", "Enabled": boolean, "EventCategoriesList": [ "string" ], "SnsTopicArn": "string", "SourceIdsList": [ "string" ], "SourceType": "string", "Status": "string", "SubscriptionCreationTime": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


The modified event subscription.

Type: EventSubscription object


For information about the errors that are common to all actions, see Common Errors.


The resource could not be found.

HTTP Status Code: 400


The quota for this resource quota has been exceeded.

HTTP Status Code: 400


The SNS topic is invalid.

HTTP Status Code: 400


You are not authorized for the SNS subscription.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: