Skip to content

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 CopyOptionGroupOutput.

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 CopyOptionGroupOutput.

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
source_option_group_identifier: Required[str]

The identifier for the source option group.

Constraints:

  • Must specify a valid option group.
tags instance-attribute
tags: Sequence[Tag | TagDict] | None

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
target_option_group_description: Required[str]

The description for the copied option group.

target_option_group_identifier instance-attribute
target_option_group_identifier: Required[str]

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
tags: list[Tag] | None = ...

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.

Attributes

option_group class-attribute instance-attribute
option_group: OptionGroup | None = ...
response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.