Skip to content

MigrationOptions

Source code in docs_src/capo_opensearch/types/migration_options.py
class MigrationOptions(TypedDict, closed=True):
    source: "capo_opensearch.types.migration_source.MigrationSource"
    """<p>The data source from which to export saved objects.</p>"""
    workspace: "capo_opensearch.types.migration_workspace.MigrationWorkspace"
    """<p>The target workspace configuration for importing saved objects. You can specify an existing workspace or request creation of a new workspace.</p>"""
    export_options: NotRequired["capo_opensearch.types.export_options.ExportOptions"]
    """<p>Options to filter the scope of saved objects to export from the source.</p>"""
    conflict_resolution: NotRequired["capo_opensearch.types.string.String"]
    """<p>The strategy for resolving conflicts when saved objects already exist in the target workspace. Valid values are <code>CREATE_NEW_COPIES</code>, which creates new objects with unique IDs, and <code>overwrite</code>, which replaces existing objects.</p>"""

conflict_resolution instance-attribute

conflict_resolution: NotRequired[String]

The strategy for resolving conflicts when saved objects already exist in the target workspace. Valid values are CREATE_NEW_COPIES, which creates new objects with unique IDs, and overwrite, which replaces existing objects.

export_options instance-attribute

export_options: NotRequired[ExportOptions]

Options to filter the scope of saved objects to export from the source.

source instance-attribute

The data source from which to export saved objects.

workspace instance-attribute

workspace: MigrationWorkspace

The target workspace configuration for importing saved objects. You can specify an existing workspace or request creation of a new workspace.