Menu
Amazon Relational Database Service
Command Line Interface Reference (API Version 2014-10-31)

rds-remove-tags-from-resource

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 rds-download-db-logfile command.

Description

Removes a tag for each key specified from an Amazon RDS resource. The Amazon RDS resource is identified by its Amazon Resource Name (ARN). To learn how to construct the ARN that references the resource, see Constructing an RDS Amazon Resource Name (ARN)

Syntax

rds-remove-tags-from-resource resource-name -k (--keys) value[,value2...] [General Options]

Options

Name Description Required

--resource-name

The Amazon Resource Name (ARN) of the Amazon RDS resource that has the tag to be removed. To learn how to construct the ARN that references the resource, see Constructing an RDS Amazon Resource Name (ARN).

This parameter is the default parameter and can be passed as the first value in the command and without a parameter name, for example: rds-remove-tags-from-resource my-resource-name.

Yes

--keys

-k

The keys of the tags to be deleted.

Yes

Output

This command does not return any output.

Example

This example deletes tags on a DB instance that have the keys "project" and "cost-center." No output is returned.

Copy
PROMPT> rds-remove-tags-from-resource arn:aws:rds:us-east-1:0123456789:db:my-db-instance -k project,cost-center