create_option_group¶
Operation¶
create_option_group
async
¶
create_option_group(input: CreateOptionGroupInput, plugins: list[Plugin] | None = None) -> CreateOptionGroupOutput
Creates a new option group. You can create up to 20 option groups.
This command doesn't apply to RDS Custom.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateOptionGroupInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
CreateOptionGroupOutput
|
An instance of |
Input¶
CreateOptionGroupInput
dataclass
¶
Bases: _SerdeShape
Attributes¶
engine_name
class-attribute
instance-attribute
¶
engine_name: str | None = ...
The name of the engine to associate this option group with.
Valid Values:
-
db2-ae -
db2-ce -
db2-se -
mariadb -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
major_engine_version
class-attribute
instance-attribute
¶
major_engine_version: str | None = ...
Specifies the major version of the engine that this option group should be associated with.
option_group_description
class-attribute
instance-attribute
¶
option_group_description: str | None = ...
The description of the option group.
option_group_name
class-attribute
instance-attribute
¶
option_group_name: str | None = ...
Specifies the name of the option group to be created.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
Output¶
CreateOptionGroupOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateOptionGroupOutput structure.