# 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_task_response = data_integration_client.update_task(
    workspace_id="ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
    task_key="EXAMPLE-taskKey-Value",
    update_task_details=oci.data_integration.models.UpdateTaskFromIntegrationTask(
        model_type="INTEGRATION_TASK",
        key="EXAMPLE-key-Value",
        object_version=901,
        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_status=986,
        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_C792z': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 587,
                                '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=330,
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-Value",
                    port_type="CONTROL",
                    fields=[
                        oci.data_integration.models.DynamicInputField(
                            model_type="DYNAMIC_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_I2A7F': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 192,
                                        '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=552,
                            name="EXAMPLE-name-Value",
                            description="EXAMPLE-description-Value",
                            type=oci.data_integration.models.ArrayType(
                                model_type="ARRAY_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=555,
                                description="EXAMPLE-description-Value",
                                element_type="EXAMPLE-elementType-Value"),
                            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_1xW3f': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 957,
                            '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=343,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                port_type="DATA",
                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_RXynT': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 660,
                                    '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=897,
                        name="EXAMPLE-name-Value",
                        description="EXAMPLE-description-Value",
                        scope="EXAMPLE-scope-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=289,
                            description="EXAMPLE-description-Value",
                            type_handler=oci.data_integration.models.RuleTypeConfig(
                                model_type="RULE_TYPE_CONFIGS",
                                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",
                                scope_reference=oci.data_integration.models.ScopeReference(
                                    reference_object="EXAMPLE-referenceObject-Value",
                                    reference_type="OCI_FUNCTION_INPUT_SHAPE",
                                    ref_object_name="EXAMPLE-refObjectName-Value"),
                                is_order_by_rule=True,
                                projection_rules=[
                                    oci.data_integration.models.TypeListRule(
                                        model_type="TYPE_LIST_RULE",
                                        key="EXAMPLE-key-Value",
                                        model_version="EXAMPLE-modelVersion-Value",
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value",
                                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                        is_java_regex_syntax=False,
                                        config_values=oci.data_integration.models.ConfigValues(
                                            config_param_values={
                                                'EXAMPLE_KEY_tOgKp': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 602,
                                                    '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=342,
                                        description="EXAMPLE-description-Value",
                                        is_skip_remaining_rules_on_match=True,
                                        scope="EXAMPLE-scope-Value",
                                        is_cascade=False,
                                        matching_strategy="NAME_OR_TAGS",
                                        is_case_sensitive=False,
                                        rule_type="EXCLUDE",
                                        types=["EXAMPLE-types-Value"])],
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_BEJ2S': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 953,
                                            '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=308),
                            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=804,
                                config_parameter_definitions={
                                    'EXAMPLE_KEY_m2I6w': {
                                        'parameterName': 'EXAMPLE-parameterName-Value',
                                        'description': 'EXAMPLE-description-Value',
                                        'defaultValue': 'EXAMPLE-defaultValue-Value',
                                        'classFieldName': 'EXAMPLE-classFieldName-Value',
                                        'isStatic': True,
                                        'isClassFieldValue': True}})),
                        labels=["EXAMPLE--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_PsFMF': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 268,
                            '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=624,
                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_MsqRd': {
                    '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")),
        is_concurrent_allowed=True,
        registry_metadata=oci.data_integration.models.RegistryMetadata(
            aggregator_key="EXAMPLE-aggregatorKey-Value",
            labels=["EXAMPLE--Value"],
            registry_version=878,
            key="EXAMPLE-key-Value",
            is_favorite=False),
        data_flow=oci.data_integration.models.DataFlow(
            key="EXAMPLE-key-Value",
            model_type="EXAMPLE-modelType-Value",
            model_version="EXAMPLE-modelVersion-Value",
            parent_ref=oci.data_integration.models.ParentReference(
                parent="EXAMPLE-parent-Value",
                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
            name="EXAMPLE-name-Value",
            identifier="EXAMPLE-identifier-Value",
            object_version=55,
            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=758,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            from_link="EXAMPLE-fromLink-Value",
                            field_map=oci.data_integration.models.DirectFieldMap(
                                model_type="DIRECT_FIELD_MAP",
                                description="EXAMPLE-description-Value",
                                key="EXAMPLE-key-Value",
                                model_version="EXAMPLE-modelVersion-Value",
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_j8Shk': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 665,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                source_typed_object="EXAMPLE-sourceTypedObject-Value",
                                target_typed_object="EXAMPLE-targetTypedObject-Value",
                                source_scope_reference=oci.data_integration.models.ScopeReference(
                                    reference_object="EXAMPLE-referenceObject-Value",
                                    reference_type="OCI_FUNCTION_OUTPUT_SHAPE",
                                    ref_object_name="EXAMPLE-refObjectName-Value"),
                                target_scope_reference=oci.data_integration.models.ScopeReference(
                                    reference_object="EXAMPLE-referenceObject-Value",
                                    reference_type="OCI_FUNCTION_INPUT_SHAPE",
                                    ref_object_name="EXAMPLE-refObjectName-Value"),
                                object_status=689))],
                    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=945,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            to_links=["EXAMPLE--Value"])],
                    operator=oci.data_integration.models.EndOperator(
                        model_type="END_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=809,
                        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_5HptL': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 595,
                                            '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=914,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                port_type="DATA",
                                fields=[
                                    oci.data_integration.models.DynamicInputField(
                                        model_type="DYNAMIC_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_Iw7D6': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 224,
                                                    '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=201,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value",
                                        type=oci.data_integration.models.MaterializedCompositeType(
                                            model_type="MATERIALIZED_COMPOSITE_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=133,
                                            description="EXAMPLE-description-Value",
                                            elements=["EXAMPLE--Value"],
                                            path_names=["EXAMPLE--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=267,
                                                config_parameter_definitions={
                                                    'EXAMPLE_KEY_ICJ6b': {
                                                        '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.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_UERIC': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 143,
                                            '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",
                                type=oci.data_integration.models.MaterializedCompositeType(
                                    model_type="MATERIALIZED_COMPOSITE_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=905,
                                    description="EXAMPLE-description-Value",
                                    elements=["EXAMPLE--Value"],
                                    path_names=["EXAMPLE--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=133,
                                        config_parameter_definitions={
                                            'EXAMPLE_KEY_RgVSS': {
                                                'parameterName': 'EXAMPLE-parameterName-Value',
                                                'description': 'EXAMPLE-description-Value',
                                                'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                'isStatic': True,
                                                'isClassFieldValue': False}})),
                                labels=["EXAMPLE--Value"])],
                        object_status=362,
                        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_Jxt3N': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 612,
                                            '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=290,
                                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_YdbCI': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 739,
                                    '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")),
                        trigger_rule="ALL_COMPLETE"),
                    ui_properties=oci.data_integration.models.UIProperties(
                        coordinate_x=7117.7437,
                        coordinate_y=4288.2373),
                    object_status=934)],
            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_2jFOu': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 410,
                                '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=836,
                    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="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_0CMWj': {
                        'stringValue': 'EXAMPLE-stringValue-Value',
                        'intValue': 983,
                        '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=761,
            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(
                    "2020-02-23T04:16:05.669Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2009-12-15T13:08:59.805Z",
                    "%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_MPknX': 'EXAMPLE_VALUE_DzRtt44RXcjiHIuMJy6E'},
                registry_version=465,
                labels=["EXAMPLE--Value"],
                is_favorite=True,
                count_statistics=oci.data_integration.models.CountStatistic(
                    object_type_count_list=[
                        oci.data_integration.models.CountStatisticSummary(
                            object_type="DATA_ASSET",
                            object_count=58)])),
            key_map={
                'EXAMPLE_KEY_oy4iF': 'EXAMPLE_VALUE_BJMmnIDpnUeYtowZ5sKt'},
            typed_object_map={
                'EXAMPLE_KEY_wxd9J': {
                    'typedObject': {
                        'modelType': 'SHAPE',
                        'key': 'EXAMPLE-key-Value',
                        'modelVersion': 'EXAMPLE-modelVersion-Value',
                        'parentRef': {
                            'parent': 'EXAMPLE-parent-Value',
                            'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                        'configValues': {
                            'configParamValues': {
                                'EXAMPLE_KEY_eCCIY': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 838,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                            'parentRef': {
                                'parent': 'EXAMPLE-parent-Value',
                                'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                        'objectStatus': 255,
                        'name': 'EXAMPLE-name-Value',
                        'description': 'EXAMPLE-description-Value',
                        'type': {
                            'modelType': 'COMPOSITE_TYPE',
                            'key': 'EXAMPLE-key-Value',
                            'modelVersion': 'EXAMPLE-modelVersion-Value',
                            'parentRef': {
                                'parent': 'EXAMPLE-parent-Value',
                                'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                            'name': 'EXAMPLE-name-Value',
                            'objectStatus': 905,
                            'description': 'EXAMPLE-description-Value',
                            'configDefinition': {
                                'key': 'EXAMPLE-key-Value',
                                'modelType': 'EXAMPLE-modelType-Value',
                                'modelVersion': 'EXAMPLE-modelVersion-Value',
                                'parentRef': {
                                    'parent': 'EXAMPLE-parent-Value',
                                    'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                                'name': 'EXAMPLE-name-Value',
                                'isContained': True,
                                'objectStatus': 819,
                                'configParameterDefinitions': {
                                    'EXAMPLE_KEY_DdNkr': {
                                        'parameterName': 'EXAMPLE-parameterName-Value',
                                        'description': 'EXAMPLE-description-Value',
                                        'defaultValue': 'EXAMPLE-defaultValue-Value',
                                        'classFieldName': 'EXAMPLE-classFieldName-Value',
                                        'isStatic': False,
                                        'isClassFieldValue': False}}}}}}},
            target_field_map_summary={
                'EXAMPLE_KEY_M01XY': {
                    'fieldMap': {
                        'modelType': 'RULE_BASED_FIELD_MAP',
                        'description': 'EXAMPLE-description-Value',
                        'key': 'EXAMPLE-key-Value',
                        'modelVersion': 'EXAMPLE-modelVersion-Value',
                        'parentRef': {
                            'parent': 'EXAMPLE-parent-Value',
                            'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                        'configValues': {
                            'configParamValues': {
                                'EXAMPLE_KEY_ZBtmt': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 414,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                            'parentRef': {
                                'parent': 'EXAMPLE-parent-Value',
                                'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                        'mapType': 'MAPBYPATTERN',
                        'fromPattern': 'EXAMPLE-fromPattern-Value',
                        'toPattern': 'EXAMPLE-toPattern-Value',
                        'isJavaRegexSyntax': False,
                        'objectStatus': 268,
                        'fromRuleConfig': {
                            'modelType': 'RULE_TYPE_CONFIGS',
                            'key': 'EXAMPLE-key-Value',
                            'modelVersion': 'EXAMPLE-modelVersion-Value',
                            'parentRef': {
                                'parent': 'EXAMPLE-parent-Value',
                                'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                            'scope': 'EXAMPLE-scope-Value',
                            'scopeReference': {
                                'referenceObject': 'EXAMPLE-referenceObject-Value',
                                'referenceType': 'OCI_FUNCTION_OUTPUT_SHAPE',
                                'refObjectName': 'EXAMPLE-refObjectName-Value'},
                            'isOrderByRule': True,
                            'projectionRules': [
                                {
                                    'modelType': 'TYPED_NAME_PATTERN_RULE',
                                    'key': 'EXAMPLE-key-Value',
                                    'modelVersion': 'EXAMPLE-modelVersion-Value',
                                    'parentRef': {
                                        'parent': 'EXAMPLE-parent-Value',
                                        'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                                    'isJavaRegexSyntax': False,
                                    'configValues': {
                                        'configParamValues': {
                                            'EXAMPLE_KEY_TdIUo': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 414,
                                                'objectValue': 'EXAMPLE-objectValue-Value',
                                                'refValue': 'EXAMPLE-refValue-Value',
                                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                        'parentRef': {
                                            'parent': 'EXAMPLE-parent-Value',
                                            'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                                    'objectStatus': 650,
                                    'description': 'EXAMPLE-description-Value',
                                    'types': ['EXAMPLE-types-Value'],
                                    'isSkipRemainingRulesOnMatch': True,
                                    'scope': 'EXAMPLE-scope-Value',
                                    'isCascade': False,
                                    'matchingStrategy': 'NAME_OR_TAGS',
                                    'isCaseSensitive': False,
                                    'ruleType': 'EXCLUDE',
                                    'pattern': 'EXAMPLE-pattern-Value',
                                    'names': ['EXAMPLE--Value']}],
                            'configValues': {
                                'configParamValues': {
                                    'EXAMPLE_KEY_C3Tlc': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 399,
                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                        'refValue': 'EXAMPLE-refValue-Value',
                                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                'parentRef': {
                                    'parent': 'EXAMPLE-parent-Value',
                                    'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                            'objectStatus': 81},
                        'toRuleConfig': {
                            'modelType': 'RULE_TYPE_CONFIGS',
                            'key': 'EXAMPLE-key-Value',
                            'modelVersion': 'EXAMPLE-modelVersion-Value',
                            'parentRef': {
                                'parent': 'EXAMPLE-parent-Value',
                                'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                            'scope': 'EXAMPLE-scope-Value',
                            'scopeReference': {
                                'referenceObject': 'EXAMPLE-referenceObject-Value',
                                'referenceType': 'DIRECT_REF',
                                'refObjectName': 'EXAMPLE-refObjectName-Value'},
                            'isOrderByRule': True,
                            'projectionRules': [
                                {
                                    'modelType': 'NAME_LIST_RULE',
                                    'key': 'EXAMPLE-key-Value',
                                    'modelVersion': 'EXAMPLE-modelVersion-Value',
                                    'parentRef': {
                                        'parent': 'EXAMPLE-parent-Value',
                                        'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                                    'isJavaRegexSyntax': False,
                                    'configValues': {
                                        'configParamValues': {
                                            'EXAMPLE_KEY_Ukcex': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 289,
                                                'objectValue': 'EXAMPLE-objectValue-Value',
                                                'refValue': 'EXAMPLE-refValue-Value',
                                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                        'parentRef': {
                                            'parent': 'EXAMPLE-parent-Value',
                                            'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                                    'objectStatus': 680,
                                    'description': 'EXAMPLE-description-Value',
                                    'isSkipRemainingRulesOnMatch': True,
                                    'scope': 'EXAMPLE-scope-Value',
                                    'isCascade': True,
                                    'matchingStrategy': 'NAME_ONLY',
                                    'isCaseSensitive': True,
                                    'ruleType': 'EXCLUDE',
                                    'names': ['EXAMPLE--Value']}],
                            'configValues': {
                                'configParamValues': {
                                    'EXAMPLE_KEY_x0m0j': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 72,
                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                        'refValue': 'EXAMPLE-refValue-Value',
                                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                'parentRef': {
                                    'parent': 'EXAMPLE-parent-Value',
                                    'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                            'objectStatus': 396}}}})),
    opc_request_id="C6DG5NRC1RX7JVYLG5YC<unique_ID>",
    if_match="EXAMPLE-ifMatch-Value")

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