copy_option_group¶
Operation¶
copy_option_group
async
¶
copy_option_group(request: CopyOptionGroupInput | CopyOptionGroupInputDict, /, *, plugins: list[Plugin] | None = None) -> CopyOptionGroupOutput
copy_option_group(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[CopyOptionGroupInputDict]) -> CopyOptionGroupOutput
Copies the specified option group.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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 |
|---|---|
CopyOptionGroupOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
CopyOptionGroupInput
dataclass
¶
Bases: _SerdeShape
Attributes¶
source_option_group_identifier
class-attribute
instance-attribute
¶
source_option_group_identifier: str | None = ...
The identifier for the source option group.
Constraints:
- Must specify a valid option group.
tags
class-attribute
instance-attribute
¶
A list of tags.
For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide.
target_option_group_description
class-attribute
instance-attribute
¶
target_option_group_description: str | None = ...
The description for the copied option group.
target_option_group_identifier
class-attribute
instance-attribute
¶
target_option_group_identifier: str | None = ...
The identifier for the copied option group.
Constraints:
-
Can't be null, empty, or blank
-
Must contain from 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: my-option-group
Dictionaries¶
CopyOptionGroupInputDict
¶
Bases: TypedDict
Dictionary form of CopyOptionGroupInput.
Attributes¶
source_option_group_identifier
instance-attribute
¶
The identifier for the source option group.
Constraints:
- Must specify a valid option group.
tags
instance-attribute
¶
A list of tags.
For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide.
target_option_group_description
instance-attribute
¶
The description for the copied option group.
target_option_group_identifier
instance-attribute
¶
The identifier for the copied option group.
Constraints:
-
Can't be null, empty, or blank
-
Must contain from 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: my-option-group
Output¶
CopyOptionGroupOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for CopyOptionGroupOutput structure.