# 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_data_flow_response = data_integration_client.create_data_flow(
    workspace_id="ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
    create_data_flow_details=oci.data_integration.models.CreateDataFlowDetails(
        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=291,
            key="EXAMPLE-key-Value",
            is_favorite=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"),
        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=560,
                                description="EXAMPLE-description-Value",
                                port="EXAMPLE-port-Value",
                                from_link="EXAMPLE-fromLink-Value",
                                field_map=oci.data_integration.models.ConditionalCompositeFieldMap(
                                    model_type="CONDITIONAL_COMPOSITE_FIELD_MAP",
                                    description="EXAMPLE-description-Value",
                                    field_map_scope=[
                                            oci.data_integration.models.GroupedNamePatternRule(
                                                model_type="GROUPED_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=True,
                                                config_values=oci.data_integration.models.ConfigValues(
                                                    config_param_values={
                                                        'EXAMPLE_KEY_6bvi9': {
                                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                                            'intValue': 845,
                                                            '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=614,
                                                description="EXAMPLE-description-Value",
                                                name="EXAMPLE-name-Value",
                                                is_skip_remaining_rules_on_match=False,
                                                scope="EXAMPLE-scope-Value",
                                                is_cascade=False,
                                                matching_strategy="NAME_OR_TAGS",
                                                is_case_sensitive=False,
                                                rule_type="INCLUDE",
                                                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_ZBayk': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 348,
                                                '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=232))],
                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=905,
                                description="EXAMPLE-description-Value",
                                port="EXAMPLE-port-Value",
                                to_links=["EXAMPLE--Value"])],
                operator=oci.data_integration.models.TaskOperator(
                            model_type="TASK_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=799,
                            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_Bdaod': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 891,
                                                '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=91,
                                    name="EXAMPLE-name-Value",
                                    description="EXAMPLE-description-Value",
                                    port_type="MODEL",
                                    fields=[
                                        oci.data_integration.models.DerivedField(
                                            model_type="DERIVED_FIELD",
                                            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_lP1Bx': {
                                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                                        'intValue': 486,
                                                        '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=361,
                                            name="EXAMPLE-name-Value",
                                            description="EXAMPLE-description-Value",
                                            expr=oci.data_integration.models.Expression(
                                                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"),
                                                expr_string="EXAMPLE-exprString-Value",
                                                config_values=oci.data_integration.models.ConfigValues(
                                                    config_param_values={
                                                        'EXAMPLE_KEY_t0w0G': {
                                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                                            'intValue': 431,
                                                            '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=955),
                                            type="EXAMPLE-type-Value",
                                            is_use_inferred_type=False,
                                            labels=["EXAMPLE--Value"])])],
                            output_ports=[
                                oci.data_integration.models.ProxyField(
                                    model_type="PROXY_FIELD",
                                    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_tYkk9': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 557,
                                                '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=968,
                                    name="EXAMPLE-name-Value",
                                    description="EXAMPLE-description-Value",
                                    scope="EXAMPLE-scope-Value",
                                    scope_reference=oci.data_integration.models.ScopeReference(
                                        reference_object="EXAMPLE-referenceObject-Value",
                                        reference_type="OCI_FUNCTION_OUTPUT_SHAPE",
                                        ref_object_name="EXAMPLE-refObjectName-Value"),
                                    type=oci.data_integration.models.JavaType(
                                        model_type="JAVA_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=681,
                                        description="EXAMPLE-description-Value",
                                        java_type_name="EXAMPLE-javaTypeName-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=84,
                                            config_parameter_definitions={
                                                'EXAMPLE_KEY_biPE3': {
                                                    'parameterName': 'EXAMPLE-parameterName-Value',
                                                    'description': 'EXAMPLE-description-Value',
                                                    'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                    'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                    'isStatic': False,
                                                    'isClassFieldValue': False}})),
                                    labels=["EXAMPLE--Value"])],
                            object_status=664,
                            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_MIfIi': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 453,
                                                '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=474,
                                    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")],
                            op_config_values=oci.data_integration.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_DiluU': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 305,
                                        '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")),
                            retry_attempts=646,
                            retry_delay_unit="DAYS",
                            retry_delay=2097.4434,
                            expected_duration=6278.6943,
                            expected_duration_unit="DAYS",
                            task_type="DATA_LOADER_TASK",
                            task=oci.data_integration.models.TaskFromRestTaskDetails(
                                model_type="REST_TASK",
                                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=913,
                                object_status=937,
                                identifier="EXAMPLE-identifier-Value",
                                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_WyCJT': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 434,
                                                    '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=453,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value",
                                        port_type="DATA",
                                        fields=[
                                            oci.data_integration.models.InputField(
                                                model_type="INPUT_FIELD",
                                                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_Vz5Fv': {
                                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                                            'intValue': 210,
                                                            '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=45,
                                                name="EXAMPLE-name-Value",
                                                description="EXAMPLE-description-Value",
                                                type=oci.data_integration.models.DynamicType(
                                                    model_type="DYNAMIC_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=579,
                                                    description="EXAMPLE-description-Value",
                                                    type_handler=oci.data_integration.models.FlattenTypeHandler(
                                                        model_type="FLATTEN_TYPE_HANDLER",
                                                        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"),
                                                        scope="EXAMPLE-scope-Value",
                                                        flatten_details="EXAMPLE-flattenDetails-Value",
                                                        config_values=oci.data_integration.models.ConfigValues(
                                                            config_param_values={
                                                                'EXAMPLE_KEY_sfeyL': {
                                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                                    'intValue': 96,
                                                                    '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=895),
                                                    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=True,
                                                        object_status=729,
                                                        config_parameter_definitions={
                                                            'EXAMPLE_KEY_3fxmy': {
                                                                'parameterName': 'EXAMPLE-parameterName-Value',
                                                                'description': 'EXAMPLE-description-Value',
                                                                'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                                'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                                'isStatic': True,
                                                                'isClassFieldValue': False}})),
                                                labels=["EXAMPLE--Value"])])],
                                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_KZLJ7': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 11,
                                                    '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=310,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value",
                                        port_type="DATA",
                                        fields=[
                                            oci.data_integration.models.DecisionOutputPort(
                                                model_type="DECISION_OUTPUT_PORT",
                                                port_type="DATA",
                                                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_36QtL': {
                                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                                            'intValue': 297,
                                                            '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=41,
                                                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_FFxNs': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 749,
                                                    '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=433,
                                        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="COUNT",
                                        type_name="EXAMPLE-typeName-Value",
                                        used_for="EXAMPLE-usedFor-Value")],
                                op_config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_JsOsU': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 495,
                                            '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")),
                                is_concurrent_allowed=False,
                                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(
                                        "2021-12-16T19:38:04.956Z",
                                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                                    time_updated=datetime.strptime(
                                        "2046-11-15T05:51:46.755Z",
                                        "%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_kqIJl': 'EXAMPLE_VALUE_6BBhhbJyhLVeKmO2YPi1'},
                                    registry_version=141,
                                    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=822)])),
                                key_map={
                                    'EXAMPLE_KEY_MeG6s': 'EXAMPLE_VALUE_12GS8d8BsKiF0sOdZUGo'},
                                auth_details=oci.data_integration.models.AuthDetails(
                                    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"),
                                    model_type="NO_AUTH_DETAILS"),
                                auth_config=oci.data_integration.models.ResourcePrincipalAuthConfig(
                                    model_type="OCI_RESOURCE_AUTH_CONFIG",
                                    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"),
                                    resource_principal_source="WORKSPACE"),
                                endpoint=oci.data_integration.models.Expression(
                                    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"),
                                    expr_string="EXAMPLE-exprString-Value",
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_99gcv': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 255,
                                                '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=523),
                                method_type="POST",
                                headers="EXAMPLE-headers-Value",
                                json_data="EXAMPLE-jsonData-Value",
                                api_call_mode="ASYNC_GENERIC",
                                cancel_endpoint=oci.data_integration.models.Expression(
                                    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"),
                                    expr_string="EXAMPLE-exprString-Value",
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_la3iz': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 650,
                                                '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=684),
                                cancel_method_type="DELETE",
                                execute_rest_call_config=oci.data_integration.models.ExecuteRestCallConfig(
                                    method_type="POST",
                                    request_headers={
                                        'EXAMPLE_KEY_mISuN': 'EXAMPLE_VALUE_fMleue2U1rdpdsIHiW8G'},
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_jWMZx': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 702,
                                                '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"))),
                                cancel_rest_call_config=oci.data_integration.models.CancelRestCallConfig(
                                    method_type="POST",
                                    request_headers={
                                        'EXAMPLE_KEY_4zu8U': 'EXAMPLE_VALUE_Itbf16By2e3C6Jrv8vyN'},
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_ph11x': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 872,
                                                '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"))),
                                poll_rest_call_config=oci.data_integration.models.PollRestCallConfig(
                                    method_type="GET",
                                    request_headers={
                                        'EXAMPLE_KEY_ENXH4': 'EXAMPLE_VALUE_6OOcZhjjLC6uqG2hZDa7'},
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_EbrId': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 794,
                                                '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"))),
                                typed_expressions=[
                                    oci.data_integration.models.TypedExpression(
                                        model_type="TYPED_EXPRESSION",
                                        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_Les5i': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 116,
                                                    '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=520,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value",
                                        expression="EXAMPLE-expression-Value",
                                        type="EXAMPLE-type-Value")]),
                            trigger_rule="ALL_SUCCESS"),
                ui_properties=oci.data_integration.models.UIProperties(
                    coordinate_x=995.5502,
                    coordinate_y=6009.255),
                object_status=74)],
        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_qlPQy': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 491,
                            '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=152,
                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="COUNT",
                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_WoNJH': {
                    '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=724),
    opc_retry_token="EXAMPLE-opcRetryToken-Value",
    opc_request_id="ODXHHWNDKI1FKQ4K5XWN<unique_ID>")

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