# This is an automatically generated code sample.
# To make this code sample work in your Oracle Cloud tenancy,
# please replace the values for any parameters whose current values do not fit
# your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and
# boolean, number, and enum parameters with values not fitting your use case).

from datetime import datetime
import oci

# Create a default config using DEFAULT profile in default location
# Refer to
# https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File
# for more info
config = oci.config.from_file()


# Initialize service client with default config file
data_integration_client = oci.data_integration.DataIntegrationClient(config)


# Send the request to service, some parameters are not required, see API
# doc for more info
create_task_response = data_integration_client.create_task(
    workspace_id="ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
    create_task_details=oci.data_integration.models.CreateTaskFromDataLoaderTask(
        model_type="DATA_LOADER_TASK",
        name="EXAMPLE-name-Value",
        identifier="EXAMPLE-identifier-Value",
        registry_metadata=oci.data_integration.models.RegistryMetadata(
            aggregator_key="EXAMPLE-aggregatorKey-Value",
            labels=["EXAMPLE--Value"],
            registry_version=737,
            key="EXAMPLE-key-Value",
            is_favorite=False),
        key="EXAMPLE-key-Value",
        model_version="EXAMPLE-modelVersion-Value",
        parent_ref=oci.data_integration.models.ParentReference(
            parent="EXAMPLE-parent-Value",
            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
        description="EXAMPLE-description-Value",
        object_status=318,
        input_ports=[
                    oci.data_integration.models.InputPort(
                        model_type="INPUT_PORT",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                        config_values=oci.data_integration.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_WJZ56': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 700,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                        object_status=124,
                        name="EXAMPLE-name-Value",
                        description="EXAMPLE-description-Value",
                        port_type="MODEL",
                        fields=[
                            oci.data_integration.models.Shape(
                                model_type="SHAPE",
                                key="EXAMPLE-key-Value",
                                model_version="EXAMPLE-modelVersion-Value",
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_ulyNL': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 777,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                object_status=777,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                type=oci.data_integration.models.DataType(
                                    model_type="DATA_TYPE",
                                    key="EXAMPLE-key-Value",
                                    model_version="EXAMPLE-modelVersion-Value",
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                    name="EXAMPLE-name-Value",
                                    object_status=105,
                                    description="EXAMPLE-description-Value",
                                    dt_type="STRUCTURED",
                                    type_system_name="EXAMPLE-typeSystemName-Value",
                                    config_definition=oci.data_integration.models.ConfigDefinition(
                                        key="EXAMPLE-key-Value",
                                        model_type="EXAMPLE-modelType-Value",
                                        model_version="EXAMPLE-modelVersion-Value",
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value",
                                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                        name="EXAMPLE-name-Value",
                                        is_contained=False,
                                        object_status=652,
                                        config_parameter_definitions={
                                            'EXAMPLE_KEY_2nvoN': {
                                                'parameterName': 'EXAMPLE-parameterName-Value',
                                                'description': 'EXAMPLE-description-Value',
                                                'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                'isStatic': True,
                                                'isClassFieldValue': True}})))])],
        output_ports=[
            oci.data_integration.models.OutputPort(
                model_type="OUTPUT_PORT",
                key="EXAMPLE-key-Value",
                model_version="EXAMPLE-modelVersion-Value",
                parent_ref=oci.data_integration.models.ParentReference(
                    parent="EXAMPLE-parent-Value",
                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                config_values=oci.data_integration.models.ConfigValues(
                    config_param_values={
                        'EXAMPLE_KEY_LNlMh': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 63,
                            'objectValue': 'EXAMPLE-objectValue-Value',
                            'refValue': 'EXAMPLE-refValue-Value',
                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                object_status=666,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                port_type="MODEL",
                fields=[
                    oci.data_integration.models.DecisionOutputPort(
                        model_type="DECISION_OUTPUT_PORT",
                        port_type="CONTROL",
                        decision_output_port_type="EVAL_TRUE",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                        config_values=oci.data_integration.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_JBf3x': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 321,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                        object_status=102,
                        name="EXAMPLE-name-Value",
                        description="EXAMPLE-description-Value")])],
        parameters=[
            oci.data_integration.models.Parameter(
                model_type="PARAMETER",
                key="EXAMPLE-key-Value",
                model_version="EXAMPLE-modelVersion-Value",
                parent_ref=oci.data_integration.models.ParentReference(
                    parent="EXAMPLE-parent-Value",
                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                config_values=oci.data_integration.models.ConfigValues(
                    config_param_values={
                        'EXAMPLE_KEY_JZf8G': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 783,
                            'objectValue': 'EXAMPLE-objectValue-Value',
                            'refValue': 'EXAMPLE-refValue-Value',
                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                object_status=898,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                type="EXAMPLE-type-Value",
                default_value="EXAMPLE-defaultValue-Value",
                root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                is_input=False,
                is_output=True,
                output_aggregation_type="COUNT",
                type_name="EXAMPLE-typeName-Value",
                used_for="EXAMPLE-usedFor-Value")],
        op_config_values=oci.data_integration.models.ConfigValues(
            config_param_values={
                'EXAMPLE_KEY_ReHvf': {
                    'stringValue': 'EXAMPLE-stringValue-Value',
                    'intValue': 699,
                    'objectValue': 'EXAMPLE-objectValue-Value',
                    'refValue': 'EXAMPLE-refValue-Value',
                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
            parent_ref=oci.data_integration.models.ParentReference(
                parent="EXAMPLE-parent-Value",
                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
        config_provider_delegate=oci.data_integration.models.CreateConfigProvider(
            bindings={
                'EXAMPLE_KEY_eMUHo': {
                    'simpleValue': 'EXAMPLE-simpleValue-Value',
                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}}),
        is_concurrent_allowed=False,
        data_flow=oci.data_integration.models.DataFlow(
            key="EXAMPLE-key-Value",
            model_type="EXAMPLE-modelType-Value",
            model_version="EXAMPLE-modelVersion-Value",
            parent_ref=oci.data_integration.models.ParentReference(
                parent="EXAMPLE-parent-Value",
                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
            name="EXAMPLE-name-Value",
            identifier="EXAMPLE-identifier-Value",
            object_version=128,
            nodes=[
                oci.data_integration.models.FlowNode(
                    key="EXAMPLE-key-Value",
                    model_type="EXAMPLE-modelType-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-Value",
                    input_links=[
                        oci.data_integration.models.InputLink(
                            model_type="INPUT_LINK",
                            key="EXAMPLE-key-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                            object_status=688,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            from_link="EXAMPLE-fromLink-Value",
                            field_map=oci.data_integration.models.DirectFieldMap(
                                model_type="DIRECT_FIELD_MAP",
                                description="EXAMPLE-description-Value",
                                key="EXAMPLE-key-Value",
                                model_version="EXAMPLE-modelVersion-Value",
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_u6kdI': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 989,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                source_typed_object="EXAMPLE-sourceTypedObject-Value",
                                target_typed_object="EXAMPLE-targetTypedObject-Value",
                                source_scope_reference=oci.data_integration.models.ScopeReference(
                                    reference_object="EXAMPLE-referenceObject-Value",
                                    reference_type="OCI_FUNCTION_OUTPUT_SHAPE",
                                    ref_object_name="EXAMPLE-refObjectName-Value"),
                                target_scope_reference=oci.data_integration.models.ScopeReference(
                                    reference_object="EXAMPLE-referenceObject-Value",
                                    reference_type="OCI_FUNCTION_OUTPUT_SHAPE",
                                    ref_object_name="EXAMPLE-refObjectName-Value"),
                                object_status=657))],
                    output_links=[
                        oci.data_integration.models.OutputLink(
                            model_type="OUTPUT_LINK",
                            key="EXAMPLE-key-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                            object_status=660,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            to_links=["EXAMPLE--Value"])],
                    operator=oci.data_integration.models.Split(
                        model_type="SPLIT_OPERATOR",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                        name="EXAMPLE-name-Value",
                        description="EXAMPLE-description-Value",
                        object_version=445,
                        input_ports=[
                            oci.data_integration.models.InputPort(
                                model_type="INPUT_PORT",
                                key="EXAMPLE-key-Value",
                                model_version="EXAMPLE-modelVersion-Value",
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_SxcjA': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 706,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                object_status=625,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                port_type="MODEL",
                                fields=[
                                    oci.data_integration.models.DecisionOutputPort(
                                        model_type="DECISION_OUTPUT_PORT",
                                        port_type="MODEL",
                                        decision_output_port_type="EVAL_FALSE",
                                        key="EXAMPLE-key-Value",
                                        model_version="EXAMPLE-modelVersion-Value",
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value",
                                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                        config_values=oci.data_integration.models.ConfigValues(
                                            config_param_values={
                                                'EXAMPLE_KEY_lOaOK': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 441,
                                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                                    'refValue': 'EXAMPLE-refValue-Value',
                                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value",
                                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                        object_status=653,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value")])],
                        output_ports=[
                            oci.data_integration.models.DecisionOutputPort(
                                model_type="DECISION_OUTPUT_PORT",
                                port_type="DATA",
                                decision_output_port_type="EVAL_ERROR",
                                key="EXAMPLE-key-Value",
                                model_version="EXAMPLE-modelVersion-Value",
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_rJj1W': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 183,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                object_status=223,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value")],
                        object_status=847,
                        identifier="EXAMPLE-identifier-Value",
                        parameters=[
                            oci.data_integration.models.Parameter(
                                model_type="PARAMETER",
                                key="EXAMPLE-key-Value",
                                model_version="EXAMPLE-modelVersion-Value",
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_ucWxN': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 237,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                object_status=173,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                type="EXAMPLE-type-Value",
                                default_value="EXAMPLE-defaultValue-Value",
                                root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                                is_input=True,
                                is_output=True,
                                output_aggregation_type="SUM",
                                type_name="EXAMPLE-typeName-Value",
                                used_for="EXAMPLE-usedFor-Value")],
                        op_config_values=oci.data_integration.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_iF7EK': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 989,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                        data_routing_strategy="FIRST"),
                    ui_properties=oci.data_integration.models.UIProperties(
                        coordinate_x=9376.55,
                        coordinate_y=7173.181),
                    object_status=607)],
            parameters=[
                oci.data_integration.models.Parameter(
                    model_type="PARAMETER",
                    key="EXAMPLE-key-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                    config_values=oci.data_integration.models.ConfigValues(
                        config_param_values={
                            'EXAMPLE_KEY_clCpn': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 372,
                                'objectValue': 'EXAMPLE-objectValue-Value',
                                'refValue': 'EXAMPLE-refValue-Value',
                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                    object_status=490,
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-Value",
                    type="EXAMPLE-type-Value",
                    default_value="EXAMPLE-defaultValue-Value",
                    root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                    is_input=False,
                    is_output=False,
                    output_aggregation_type="MIN",
                    type_name="EXAMPLE-typeName-Value",
                    used_for="EXAMPLE-usedFor-Value")],
            description="EXAMPLE-description-Value",
            flow_config_values=oci.data_integration.models.ConfigValues(
                config_param_values={
                    'EXAMPLE_KEY_ocCS1': {
                        'stringValue': 'EXAMPLE-stringValue-Value',
                        'intValue': 339,
                        'objectValue': 'EXAMPLE-objectValue-Value',
                        'refValue': 'EXAMPLE-refValue-Value',
                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                parent_ref=oci.data_integration.models.ParentReference(
                    parent="EXAMPLE-parent-Value",
                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
            object_status=319,
            metadata=oci.data_integration.models.ObjectMetadata(
                created_by="EXAMPLE-createdBy-Value",
                created_by_name="EXAMPLE-createdByName-Value",
                updated_by="EXAMPLE-updatedBy-Value",
                updated_by_name="EXAMPLE-updatedByName-Value",
                time_created=datetime.strptime(
                    "2038-11-21T11:28:00.066Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2010-04-04T07:58:56.507Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                aggregator=oci.data_integration.models.AggregatorSummary(
                    type="EXAMPLE-type-Value",
                    key="EXAMPLE-key-Value",
                    name="EXAMPLE-name-Value",
                    identifier="EXAMPLE-identifier-Value",
                    description="EXAMPLE-description-Value"),
                identifier_path="EXAMPLE-identifierPath-Value",
                info_fields={
                    'EXAMPLE_KEY_OWiDg': 'EXAMPLE_VALUE_vaWKLfHFvBdjFQ0ygK1h'},
                registry_version=894,
                labels=["EXAMPLE--Value"],
                is_favorite=False,
                count_statistics=oci.data_integration.models.CountStatistic(
                    object_type_count_list=[
                        oci.data_integration.models.CountStatisticSummary(
                            object_type="APPLICATION",
                            object_count=682)])),
            key_map={
                'EXAMPLE_KEY_5WA74': 'EXAMPLE_VALUE_HsG8TLXaiJRgNRLNYYBt'},
            typed_object_map={
                'EXAMPLE_KEY_cQ4uY': {
                    'typedObject': {
                        'modelType': 'DERIVED_FIELD',
                        'key': 'EXAMPLE-key-Value',
                        'modelVersion': 'EXAMPLE-modelVersion-Value',
                        'parentRef': {
                            'parent': 'EXAMPLE-parent-Value',
                            'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                        'configValues': {
                            'configParamValues': {
                                'EXAMPLE_KEY_4oR14': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 15,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                            'parentRef': {
                                'parent': 'EXAMPLE-parent-Value',
                                'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                        'objectStatus': 191,
                        'name': 'EXAMPLE-name-Value',
                        'description': 'EXAMPLE-description-Value',
                        'expr': {
                            'key': 'EXAMPLE-key-Value',
                            'modelType': 'EXAMPLE-modelType-Value',
                            'modelVersion': 'EXAMPLE-modelVersion-Value',
                            'parentRef': {
                                'parent': 'EXAMPLE-parent-Value',
                                'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                            'exprString': 'EXAMPLE-exprString-Value',
                            'configValues': {
                                'configParamValues': {
                                    'EXAMPLE_KEY_54gI4': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 79,
                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                        'refValue': 'EXAMPLE-refValue-Value',
                                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                'parentRef': {
                                    'parent': 'EXAMPLE-parent-Value',
                                    'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                            'objectStatus': 946},
                        'type': 'EXAMPLE-type-Value',
                        'isUseInferredType': False,
                        'labels': ['EXAMPLE--Value']}}},
            target_field_map_summary={
                'EXAMPLE_KEY_WIoDZ': {
                    'fieldMap': {
                        'modelType': 'RULE_BASED_FIELD_MAP',
                        'description': 'EXAMPLE-description-Value',
                        'key': 'EXAMPLE-key-Value',
                        'modelVersion': 'EXAMPLE-modelVersion-Value',
                        'parentRef': {
                            'parent': 'EXAMPLE-parent-Value',
                            'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                        'configValues': {
                            'configParamValues': {
                                'EXAMPLE_KEY_PdOw8': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 531,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                            'parentRef': {
                                'parent': 'EXAMPLE-parent-Value',
                                'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                        'mapType': 'MAPBYNAME',
                        'fromPattern': 'EXAMPLE-fromPattern-Value',
                        'toPattern': 'EXAMPLE-toPattern-Value',
                        'isJavaRegexSyntax': False,
                        'objectStatus': 654,
                        'fromRuleConfig': {
                            'modelType': 'RULE_TYPE_CONFIGS',
                            'key': 'EXAMPLE-key-Value',
                            'modelVersion': 'EXAMPLE-modelVersion-Value',
                            'parentRef': {
                                'parent': 'EXAMPLE-parent-Value',
                                'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                            'scope': 'EXAMPLE-scope-Value',
                            'scopeReference': {
                                'referenceObject': 'EXAMPLE-referenceObject-Value',
                                'referenceType': 'BOUND_ENTITY_SHAPE',
                                'refObjectName': 'EXAMPLE-refObjectName-Value'},
                            'isOrderByRule': True,
                            'projectionRules': [
                                {
                                    'modelType': 'TYPED_NAME_PATTERN_RULE',
                                    'key': 'EXAMPLE-key-Value',
                                    'modelVersion': 'EXAMPLE-modelVersion-Value',
                                    'parentRef': {
                                        'parent': 'EXAMPLE-parent-Value',
                                        'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                                    'isJavaRegexSyntax': False,
                                    'configValues': {
                                        'configParamValues': {
                                            'EXAMPLE_KEY_rPLVS': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 801,
                                                'objectValue': 'EXAMPLE-objectValue-Value',
                                                'refValue': 'EXAMPLE-refValue-Value',
                                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                        'parentRef': {
                                            'parent': 'EXAMPLE-parent-Value',
                                            'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                                    'objectStatus': 388,
                                    'description': 'EXAMPLE-description-Value',
                                    'types': ['EXAMPLE-types-Value'],
                                    'isSkipRemainingRulesOnMatch': True,
                                    'scope': 'EXAMPLE-scope-Value',
                                    'isCascade': False,
                                    'matchingStrategy': 'NAME_ONLY',
                                    'isCaseSensitive': False,
                                    'ruleType': 'EXCLUDE',
                                    'pattern': 'EXAMPLE-pattern-Value',
                                    'names': ['EXAMPLE--Value']}],
                            'configValues': {
                                'configParamValues': {
                                    'EXAMPLE_KEY_C8tp2': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 1,
                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                        'refValue': 'EXAMPLE-refValue-Value',
                                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                'parentRef': {
                                    'parent': 'EXAMPLE-parent-Value',
                                    'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                            'objectStatus': 596},
                        'toRuleConfig': {
                            'modelType': 'RULE_TYPE_CONFIGS',
                            'key': 'EXAMPLE-key-Value',
                            'modelVersion': 'EXAMPLE-modelVersion-Value',
                            'parentRef': {
                                'parent': 'EXAMPLE-parent-Value',
                                'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                            'scope': 'EXAMPLE-scope-Value',
                            'scopeReference': {
                                'referenceObject': 'EXAMPLE-referenceObject-Value',
                                'referenceType': 'DIRECT_REF',
                                'refObjectName': 'EXAMPLE-refObjectName-Value'},
                            'isOrderByRule': True,
                            'projectionRules': [
                                {
                                    'modelType': 'TYPED_NAME_PATTERN_RULE',
                                    'key': 'EXAMPLE-key-Value',
                                    'modelVersion': 'EXAMPLE-modelVersion-Value',
                                    'parentRef': {
                                        'parent': 'EXAMPLE-parent-Value',
                                        'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                                    'isJavaRegexSyntax': True,
                                    'configValues': {
                                        'configParamValues': {
                                            'EXAMPLE_KEY_EZI5D': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 198,
                                                'objectValue': 'EXAMPLE-objectValue-Value',
                                                'refValue': 'EXAMPLE-refValue-Value',
                                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                        'parentRef': {
                                            'parent': 'EXAMPLE-parent-Value',
                                            'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                                    'objectStatus': 912,
                                    'description': 'EXAMPLE-description-Value',
                                    'types': ['EXAMPLE-types-Value'],
                                    'isSkipRemainingRulesOnMatch': True,
                                    'scope': 'EXAMPLE-scope-Value',
                                    'isCascade': True,
                                    'matchingStrategy': 'NAME_ONLY',
                                    'isCaseSensitive': False,
                                    'ruleType': 'INCLUDE',
                                    'pattern': 'EXAMPLE-pattern-Value',
                                    'names': ['EXAMPLE--Value']}],
                            'configValues': {
                                'configParamValues': {
                                    'EXAMPLE_KEY_q7EyO': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 181,
                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                        'refValue': 'EXAMPLE-refValue-Value',
                                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                'parentRef': {
                                    'parent': 'EXAMPLE-parent-Value',
                                    'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                            'objectStatus': 498}}}}),
        conditional_composite_field_map=oci.data_integration.models.ConditionalCompositeFieldMap(
            model_type="CONDITIONAL_COMPOSITE_FIELD_MAP",
            description="EXAMPLE-description-Value",
            field_map_scope=[
                oci.data_integration.models.NamePatternRule(
                    model_type="NAME_PATTERN_RULE",
                    key="EXAMPLE-key-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                    is_java_regex_syntax=False,
                    config_values=oci.data_integration.models.ConfigValues(
                        config_param_values={
                            'EXAMPLE_KEY_ce6b6': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 258,
                                'objectValue': 'EXAMPLE-objectValue-Value',
                                'refValue': 'EXAMPLE-refValue-Value',
                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                    object_status=990,
                    description="EXAMPLE-description-Value",
                    is_skip_remaining_rules_on_match=True,
                    scope="EXAMPLE-scope-Value",
                    is_cascade=False,
                    matching_strategy="NAME_OR_TAGS",
                    is_case_sensitive=True,
                    rule_type="EXCLUDE",
                    pattern="EXAMPLE-pattern-Value")],
            key="EXAMPLE-key-Value",
            model_version="EXAMPLE-modelVersion-Value",
            parent_ref=oci.data_integration.models.ParentReference(
                parent="EXAMPLE-parent-Value",
                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
            config_values=oci.data_integration.models.ConfigValues(
                config_param_values={
                    'EXAMPLE_KEY_6UevH': {
                        'stringValue': 'EXAMPLE-stringValue-Value',
                        'intValue': 183,
                        'objectValue': 'EXAMPLE-objectValue-Value',
                        'refValue': 'EXAMPLE-refValue-Value',
                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                parent_ref=oci.data_integration.models.ParentReference(
                    parent="EXAMPLE-parent-Value",
                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
            object_status=569,
            field_maps=[
                oci.data_integration.models.NamedEntityMap(
                    model_type="NAMED_ENTITY_MAP",
                    description="EXAMPLE-description-Value",
                    key="EXAMPLE-key-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                    config_values=oci.data_integration.models.ConfigValues(
                        config_param_values={
                            'EXAMPLE_KEY_b4U6Z': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 230,
                                'objectValue': 'EXAMPLE-objectValue-Value',
                                'refValue': 'EXAMPLE-refValue-Value',
                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                    source_entity="EXAMPLE-sourceEntity-Value",
                    target_entity="EXAMPLE-targetEntity-Value",
                    object_status=24)]),
        is_single_load=True,
        parallel_load_limit=97),
    opc_retry_token="EXAMPLE-opcRetryToken-Value",
    opc_request_id="QGLJOKMZA7U9HWGSWPRC<unique_ID>")

# Get the data from response
print(create_task_response.data)

Was this article helpful?