The Amazon RDS Command Line Interface (RDS CLI) has been deprecated. Instead, use the AWS CLI for RDS. To learn how to download
and use the AWS CLI, see
AWS Command Line Interface User Guide. For
RDS commands available in the AWS CLI, see
AWS CLI Reference for Amazon RDS.
The AWS CLI does not currently support the DownloadCompleteDBLogFile
REST API action. To download an entire log file at once, rather than in parts using the
download-db-log-file-portion command, use the last published RDS CLI and the
Deletes an Amazon RDS event notification subscription. Note that if you want to
temporarily turn off a subscription instead of deleting it, you can use the
rds-modify-event-subscription command and set the
Enabled parameter to
The name of the subscription.
This parameter is the default parameter and can be passed as the first
value in the command and without a parameter name, for example:
Constraints: The name must be less than 255 characters.
The command returns a table with the following information:
Output values list the possible values returned by CLI commands. Not all values are returned for every call to a command. If a value is null or empty, it will not be included in the command output. For example, CLI commands to create or restore a DB instance will not return the Endpoint Address value because that value is null until the DB instance has finished being created or restored.
CustSubscriptionId—the Id of the event subscription
CustomerAwsId—the AWS customer account associated with the Amazon RDS event notification subscription
Enabled—a Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled
EventCategoriesList—a list of event categories for the Amazon RDS event notification subscription
SnsTopicArn—the Amazon SNS topic's ARN for the Amazon RDS event notification subscription
SourceIdsList—a list of source Ids for the RDS event notification subscription
SourceType—the source type for the Amazon RDS event notification subscription
Status—the status of the Amazon RDS event notification subscription. Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist
The status "no-permission" indicates that RDS no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
SubscriptionCreationTime—the time the Amazon RDS event notification subscription was created
Deleting an event subscription
This example deletes a subscription called MySubscription1.