modify_option_group
¶
modify_option_group(
*,
config_overrides: Optional[RDSClientConfig] = None,
option_group_name: Optional[String] = None,
options_to_include: Optional[OptionConfigurationList] = None,
options_to_remove: Optional[OptionNamesList] = None,
apply_immediately: Optional[Boolean] = None,
) -> ModifyOptionGroupResult
Modifies an existing option group.
Parameters:
-
option_group_name(Optional[String], default:None) –The name of the option group to be modified.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group, and that option group can't be removed from a DB instance once it is associated with a DB instance
-
options_to_include(Optional[OptionConfigurationList], default:None) –Options in this list are added to the option group or, if already present, the specified configuration is used to update the existing configuration.
-
options_to_remove(Optional[OptionNamesList], default:None) –Options in this list are removed from the option group.
-
apply_immediately(Optional[Boolean], default:None) –Specifies whether to apply the change immediately or during the next maintenance window for each instance associated with the option group.
Raises:
-
InvalidOptionGroupStateFault–The option group isn't in the available state.
-
OptionGroupNotFoundFault–The specified option group could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To modify an option group The following example adds an option to an option group.
>>> client.modify_option_group(option_group_name='myawsuser-og02', options_to_include=[{'OptionName': 'MEMCACHED', 'DBSecurityGroupMemberships': ['default']}], apply_immediately=True)
Source code in docs_src/capo_rds/_services/rds.py
12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 | |