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

rds-remove-option-from-option-group

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 one or more specified options from an option group.

Syntax

rds-remove-option-from-option-group option-group-name

--options value[,value 2][,...]

[--apply-immediately]

"

Options

Name Description Required

--option-group-name value

Name of the option group that the specified option or options will be removed from.

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-option-from-option-group my-option-group-name.

Yes

--options

-o

A comma-separated list of options that will be removed.

Yes

--apply-immediately

If supplied, the options will be immediately disabled for all associated DB instances; otherwise, the options will be disabled for each DB instance at its next maintenance window. No

Output

The command returns the following information:

Note

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.

  • Group name—The name of the option group that options will be removed from.

  • Engine—The DB engine that the option group is associated with

  • Major engine version—The major version of the DB engine.

  • Description—The description of the option group.

  • VPC Specific—Indicates if both VPC and non-VPC instances can join this option group.

  • VPC—Indicates if only instances in this VPC can join this option group.

  • Name—The name of the option.

  • Port—The port used by this option, if applicable.

  • Description—The description of the option.

  • Name—The security group name.

  • Status—The status of authorization.

Examples

The following example removes the Oracle Enterprise Manager Database Control option from an option group named TestOptionGroup. For DB instances that use TestOptionGroup, the option will be removed at the next maintenance window for each instance:

Copy
PROMPT> rds-remove-option-from-option-group TestOptionGroup --options OEM OPTIONGROUP testoptiongroup oracle-ee 11.2 Oracle Enterprise Manager Database Control