AddSourceIdentifierToSubscription
Adds a source identifier to an existing event notification subscription.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- SourceIdentifier
-
The identifier of the event source to be added.
Constraints:
-
If the source type is a DB instance, then a
DBInstanceIdentifier
must be supplied. -
If the source type is a DB security group, a
DBSecurityGroupName
must be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupName
must be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifier
must be supplied.
Type: String
Required: Yes
-
- SubscriptionName
-
The name of the event notification subscription you want to add a source identifier to.
Type: String
Required: Yes
Response Elements
The following element is returned by the service.
- EventSubscription
-
Contains the results of a successful invocation of the DescribeEventSubscriptions action.
Type: EventSubscription object
Errors
For information about the errors that are common to all actions, see Common Errors.
- SourceNotFound
-
The source could not be found.
HTTP Status Code: 404
- SubscriptionNotFound
-
The designated subscription could not be found.
HTTP Status Code: 404
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: