# 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
update_data_flow_response = data_integration_client.update_data_flow(
    workspace_id="ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
    data_flow_key="EXAMPLE-dataFlowKey-Value",
    update_data_flow_details=oci.data_integration.models.UpdateDataFlowDetails(
        key="EXAMPLE-key-Value",
        model_type="EXAMPLE-modelType-Value",
        object_version=5,
        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",
        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=115,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            from_link="EXAMPLE-fromLink-Value",
                            field_map=oci.data_integration.models.CompositeFieldMap(
                                model_type="COMPOSITE_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_vBWJq': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 390,
                                            '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=546))],
                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=53,
                            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=405,
                    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_AwIoI': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 501,
                                            '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=396,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                port_type="CONTROL",
                                fields=[
                                    oci.data_integration.models.InputProxyField(
                                        model_type="INPUT_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_5gdsW': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 954,
                                                    '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=584,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value",
                                        scope="EXAMPLE-scope-Value",
                                        type=oci.data_integration.models.ConfiguredType(
                                            model_type="CONFIGURED_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=376,
                                            description="EXAMPLE-description-Value",
                                            wrapped_type="EXAMPLE-wrappedType-Value",
                                            config_values=oci.data_integration.models.ConfigValues(
                                                config_param_values={
                                                    'EXAMPLE_KEY_veSiv': {
                                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                                        'intValue': 363,
                                                        '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_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=391,
                                                config_parameter_definitions={
                                                    'EXAMPLE_KEY_ZYidf': {
                                                        'parameterName': 'EXAMPLE-parameterName-Value',
                                                        'description': 'EXAMPLE-description-Value',
                                                        'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                        'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                        'isStatic': False,
                                                        'isClassFieldValue': True}})),
                                        labels=["EXAMPLE--Value"])])],
                    output_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_GveE4': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 824,
                                            '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=874,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                port_type="DATA")],
                    object_status=868,
                    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_siLTF': {
                                        '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=887,
                            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=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_r8nrF': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 834,
                                '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=537,
                    retry_delay_unit="MINUTES",
                    retry_delay=303.8752,
                    expected_duration=2217.3113,
                    expected_duration_unit="SECONDS",
                    task_type="PIPELINE_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=541,
                        object_status=40,
                        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_ipYlC': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 43,
                                                '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=315,
                                    name="EXAMPLE-name-Value",
                                    description="EXAMPLE-description-Value",
                                    port_type="MODEL",
                                    fields=[
                                        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_TBMWy': {
                                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                                        'intValue': 903,
                                                        '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=387,
                                            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_INPUT_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=232,
                                                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=700,
                                                    config_parameter_definitions={
                                                        'EXAMPLE_KEY_eZhld': {
                                                            'parameterName': 'EXAMPLE-parameterName-Value',
                                                            'description': 'EXAMPLE-description-Value',
                                                            'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                            'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                            'isStatic': False,
                                                            'isClassFieldValue': True}})),
                                            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_ZnyW7': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 266,
                                                '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=872,
                                    name="EXAMPLE-name-Value",
                                    description="EXAMPLE-description-Value",
                                    port_type="CONTROL",
                                    fields=[
                                        oci.data_integration.models.ShapeField(
                                            model_type="SHAPE_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_LIPoO': {
                                                        '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=614,
                                            name="EXAMPLE-name-Value",
                                            description="EXAMPLE-description-Value",
                                            type="EXAMPLE-type-Value",
                                            labels=["EXAMPLE--Value"],
                                            native_shape_field=oci.data_integration.models.NativeShapeField(
                                                name="EXAMPLE-name-Value",
                                                model_type="EXAMPLE-modelType-Value",
                                                type="EXAMPLE-type-Value",
                                                config_values=oci.data_integration.models.ConfigValues(
                                                    config_param_values={
                                                        'EXAMPLE_KEY_nSFLX': {
                                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                                            'intValue': 457,
                                                            '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")),
                                                position=489,
                                                default_value_string="EXAMPLE-defaultValueString-Value",
                                                is_mandatory=False))])],
                        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_H3a7U': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 472,
                                                '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=556,
                                    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=False,
                                    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_L3zwq': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 977,
                                    '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(
                                "2045-06-01T21:56:35.947Z",
                                "%Y-%m-%dT%H:%M:%S.%fZ"),
                            time_updated=datetime.strptime(
                                "2046-07-08T05:12:19.306Z",
                                "%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_apRLB': 'EXAMPLE_VALUE_CuqOLV8b0ejNQTcMnvQS'},
                            registry_version=290,
                            labels=["EXAMPLE--Value"],
                            is_favorite=False,
                            count_statistics=oci.data_integration.models.CountStatistic(
                                object_type_count_list=[
                                    oci.data_integration.models.CountStatisticSummary(
                                        object_type="FOLDER",
                                        object_count=400)])),
                        key_map={
                            'EXAMPLE_KEY_Ea4Bd': 'EXAMPLE_VALUE_0mux8G2r7aBdsw18ynAd'},
                        registry_metadata=oci.data_integration.models.RegistryMetadata(
                            aggregator_key="EXAMPLE-aggregatorKey-Value",
                            labels=["EXAMPLE--Value"],
                            registry_version=377,
                            key="EXAMPLE-key-Value",
                            is_favorite=True),
                        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="APPLICATION"),
                        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_DuvbV': {
                                            '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=981),
                        method_type="PUT",
                        headers="EXAMPLE-headers-Value",
                        json_data="EXAMPLE-jsonData-Value",
                        api_call_mode="SYNCHRONOUS",
                        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_uOJtN': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 424,
                                            '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=539),
                        cancel_method_type="PUT",
                        execute_rest_call_config=oci.data_integration.models.ExecuteRestCallConfig(
                            method_type="GET",
                            request_headers={
                                'EXAMPLE_KEY_KwCjS': 'EXAMPLE_VALUE_NtxFZgbPNANm7h1tDdxA'},
                            config_values=oci.data_integration.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_FWYLY': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 594,
                                        '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="PUT",
                            request_headers={
                                'EXAMPLE_KEY_IPfxO': 'EXAMPLE_VALUE_Gp5wJXOVpVqkOCTAjBt1'},
                            config_values=oci.data_integration.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_ABRRT': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 646,
                                        '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="PATCH",
                            request_headers={
                                'EXAMPLE_KEY_hfxwe': 'EXAMPLE_VALUE_nkNgu3lhpjRyyEloS5Cw'},
                            config_values=oci.data_integration.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_XkVxQ': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 313,
                                        '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_hhxhI': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 496,
                                            '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=470,
                                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=7605.944,
                    coordinate_y=9903.798),
                object_status=532)],
        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_7EpI7': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 976,
                            '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=321,
                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="MAX",
                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_Of3T4': {
                    'stringValue': 'EXAMPLE-stringValue-Value',
                    'intValue': 356,
                    '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=763,
        registry_metadata=oci.data_integration.models.RegistryMetadata(
            aggregator_key="EXAMPLE-aggregatorKey-Value",
            labels=["EXAMPLE--Value"],
            registry_version=144,
            key="EXAMPLE-key-Value",
            is_favorite=True)),
    opc_request_id="WAKZYGY8SMK5XWWC4GY6<unique_ID>",
    if_match="EXAMPLE-ifMatch-Value")

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

Was this article helpful?