copy_option_group¶
Operation¶
copy_option_group
¶
copy_option_group(request: CopyOptionGroupInput | CopyOptionGroupInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CopyOptionGroupInputDict]) -> CopyOptionGroupOutput
Copies the specified option group.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
CopyOptionGroupInput | CopyOptionGroupInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[CopyOptionGroupInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
CopyOptionGroupOutput
|
An instance of |
copy_option_group
async
¶
copy_option_group(request: CopyOptionGroupInput | CopyOptionGroupInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CopyOptionGroupInputDict]) -> CopyOptionGroupOutput
Copies the specified option group.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
CopyOptionGroupInput | CopyOptionGroupInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[CopyOptionGroupInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
CopyOptionGroupOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
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
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
Output¶
CopyOptionGroupOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for CopyOptionGroupOutput structure.