modify_option_group
async
¶
modify_option_group(
*,
config_overrides: Optional[AsyncRDSClientConfig] = 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.
>>> await 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/async_rds.py
12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 | |