RemoveSourceIdentifierFromSubscription - Amazon Relational Database Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

RemoveSourceIdentifierFromSubscription

Removes a source identifier from an existing RDS event notification subscription.

Request Parameters

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

SourceIdentifier

The source identifier to be removed from the subscription, such as the DB instance identifier for a DB instance or the name of a security group.

Type: String

Required: Yes

SubscriptionName

The name of the RDS event notification subscription you want to remove a source identifier from.

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 requested source could not be found.

HTTP Status Code: 404

SubscriptionNotFound

The subscription name does not exist.

HTTP Status Code: 404

Examples

Example

This example illustrates one usage of RemoveSourceIdentifierFromSubscription.

Sample Request

https://rds.us-east-1.amazonaws.com/ ?Action=RemoveSourceIdentifierFromSubscription &SignatureMethod=HmacSHA256 &SignatureVersion=4 &SourceIdentifier=si-sample &SubscriptionName=myawsuser-secgrp &Version=2014-09-01 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIADQKE4SARGYLE/20140428/us-east-1/rds/aws4_request &X-Amz-Date=20140428T222718Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=4419f0015657ee120d781849ffdc6642eeafeee42bf1d18c4b2ed8eb732f7bf8

Sample Response

<RemoveSourceIdentifierFromSubscriptionResponse xmlns="http://rds.amazonaws.com/doc/2014-09-01/"> <RemoveSourceIdentifierFromSubscriptionResult> <EventSubscription> <Enabled>true</Enabled> <CustomerAwsId>802#########</CustomerAwsId> <SourceType>db-security-group</SourceType> <Status>active</Status> <SubscriptionCreationTime>2014-04-25 21:43:25.542</SubscriptionCreationTime> <EventCategoriesList> <EventCategory>configuration change</EventCategory> <EventCategory>failure</EventCategory> </EventCategoriesList> <CustSubscriptionId>myawsuser-secgrp</CustSubscriptionId> <SnsTopicArn>arn:aws:sns:us-east-1:802#########:myawsuser-RDS</SnsTopicArn> </EventSubscription> </RemoveSourceIdentifierFromSubscriptionResult> <ResponseMetadata> <RequestId>326cdeb9-be23-11d3-91a5-a90441261bc4</RequestId> </ResponseMetadata> </RemoveSourceIdentifierFromSubscriptionResponse>

See Also

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