# 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.UpdateTaskFromDataLoaderTask(
        model_type="DATA_LOADER_TASK",
        key="EXAMPLE-key-Value",
        object_version=42,
        model_version="EXAMPLE-modelVersion-Value",
        parent_ref=oci.data_integration.models.ParentReference(
            parent="EXAMPLE-parent-Value"),
        name="EXAMPLE-name-Value",
        description="EXAMPLE-description-Value",
        object_status=52,
        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"),
                    config_values=oci.data_integration.models.ConfigValues(
                        config_param_values={
                            'EXAMPLE_KEY_WFsyI': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 211,
                                'objectValue': 'EXAMPLE-objectValue-Value',
                                'refValue': 'EXAMPLE-refValue-Value',
                                'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value")),
                    object_status=141,
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-Value",
                    port_type="DATA",
                    fields=[
                        oci.data_integration.models.FlowPort(
                            model_type="FLOW_PORT",
                            key="EXAMPLE-key-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value"),
                            config_values=oci.data_integration.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_UaNIR': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 87,
                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                        'refValue': 'EXAMPLE-refValue-Value',
                                        'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value")),
                            object_status=932,
                            name="EXAMPLE-name-Value",
                            description="EXAMPLE-description-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"),
                config_values=oci.data_integration.models.ConfigValues(
                    config_param_values={
                        'EXAMPLE_KEY_2k7N6': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 915,
                            'objectValue': 'EXAMPLE-objectValue-Value',
                            'refValue': 'EXAMPLE-refValue-Value',
                            'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value")),
                object_status=743,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                port_type="MODEL",
                fields=[
                    oci.data_integration.models.MacroField(
                        model_type="MACRO_FIELD",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value"),
                        config_values=oci.data_integration.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_lfRlc': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 814,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value")),
                        object_status=198,
                        name="EXAMPLE-name-Value",
                        description="EXAMPLE-description-Value",
                        expr=oci.data_integration.models.Expression(
                            key="EXAMPLE-key-Value",
                            model_type="EXAMPLE-modelType-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value"),
                            expr_string="EXAMPLE-exprString-Value",
                            config_values=oci.data_integration.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_VH74o': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 738,
                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                        'refValue': 'EXAMPLE-refValue-Value',
                                        'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value")),
                            object_status=434),
                        type=oci.data_integration.models.CompositeType(
                            model_type="COMPOSITE_TYPE",
                            key="EXAMPLE-key-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value"),
                            name="EXAMPLE-name-Value",
                            object_status=644,
                            description="EXAMPLE-description-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"),
                                name="EXAMPLE-name-Value",
                                is_contained=False,
                                object_status=929,
                                config_parameter_definitions={
                                    'EXAMPLE_KEY_kDJWM': {
                                        'parameterName': 'EXAMPLE-parameterName-Value',
                                        'description': 'EXAMPLE-description-Value',
                                        'defaultValue': 'EXAMPLE-defaultValue-Value',
                                        'classFieldName': 'EXAMPLE-classFieldName-Value',
                                        'isStatic': False,
                                        'isClassFieldValue': True}})),
                        is_use_source_type=True,
                        use_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"),
                            name="EXAMPLE-name-Value",
                            object_status=201,
                            description="EXAMPLE-description-Value",
                            wrapped_type="EXAMPLE-wrappedType-Value",
                            config_values=oci.data_integration.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_OfBZE': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 415,
                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                        'refValue': 'EXAMPLE-refValue-Value',
                                        'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-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"),
                                name="EXAMPLE-name-Value",
                                is_contained=True,
                                object_status=520,
                                config_parameter_definitions={
                                    'EXAMPLE_KEY_lgqmh': {
                                        'parameterName': 'EXAMPLE-parameterName-Value',
                                        'description': 'EXAMPLE-description-Value',
                                        'defaultValue': 'EXAMPLE-defaultValue-Value',
                                        'classFieldName': 'EXAMPLE-classFieldName-Value',
                                        'isStatic': True,
                                        'isClassFieldValue': False}})),
                        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"),
                config_values=oci.data_integration.models.ConfigValues(
                    config_param_values={
                        'EXAMPLE_KEY_Fu4HN': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 59,
                            'objectValue': 'EXAMPLE-objectValue-Value',
                            'refValue': 'EXAMPLE-refValue-Value',
                            'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value")),
                object_status=645,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                type=oci.data_integration.models.DataType(
                    model_type="DATA_TYPE",
                    key="EXAMPLE-key-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value"),
                    name="EXAMPLE-name-Value",
                    object_status=254,
                    description="EXAMPLE-description-Value",
                    dt_type="STRUCTURED",
                    type_system_name="EXAMPLE-typeSystemName-Value",
                    config_definition=oci.data_integration.models.ConfigDefinition(
                        key="EXAMPLE-key-Value",
                        model_type="EXAMPLE-modelType-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value"),
                        name="EXAMPLE-name-Value",
                        is_contained=False,
                        object_status=870,
                        config_parameter_definitions={
                            'EXAMPLE_KEY_QQtDE': {
                                'parameterName': 'EXAMPLE-parameterName-Value',
                                'description': 'EXAMPLE-description-Value',
                                'defaultValue': 'EXAMPLE-defaultValue-Value',
                                'classFieldName': 'EXAMPLE-classFieldName-Value',
                                'isStatic': False,
                                'isClassFieldValue': False}})),
                default_value="EXAMPLE-defaultValue-Value",
                root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                is_input=True,
                is_output=True,
                output_aggregation_type="MIN",
                type_name="EXAMPLE-typeName-Value")],
        op_config_values=oci.data_integration.models.ConfigValues(
            config_param_values={
                'EXAMPLE_KEY_cRfi2': {
                    'stringValue': 'EXAMPLE-stringValue-Value',
                    'intValue': 558,
                    'objectValue': 'EXAMPLE-objectValue-Value',
                    'refValue': 'EXAMPLE-refValue-Value',
                    'parameterValue': 'EXAMPLE-parameterValue-Value'}},
            parent_ref=oci.data_integration.models.ParentReference(
                parent="EXAMPLE-parent-Value")),
        registry_metadata=oci.data_integration.models.RegistryMetadata(
            aggregator_key="EXAMPLE-aggregatorKey-Value",
            labels=["EXAMPLE--Value"],
            registry_version=118,
            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"),
            name="EXAMPLE-name-Value",
            identifier="EXAMPLE-identifier-Value",
            object_version=503,
            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"),
                    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"),
                            object_status=425,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            from_link="EXAMPLE-fromLink-Value",
                            field_map=oci.data_integration.models.RuleBasedFieldMap(
                                model_type="RULE_BASED_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"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_OBeE2': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 65,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value")),
                                map_type="MAPBYPOSITION",
                                from_pattern="EXAMPLE-fromPattern-Value",
                                to_pattern="EXAMPLE-toPattern-Value",
                                is_java_regex_syntax=False,
                                object_status=914,
                                from_rule_config=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"),
                                    scope="EXAMPLE-scope-Value",
                                    is_order_by_rule=False,
                                    projection_rules=[
                                        oci.data_integration.models.RenameRule(
                                            model_type="RENAME_RULE",
                                            key="EXAMPLE-key-Value",
                                            model_version="EXAMPLE-modelVersion-Value",
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value"),
                                            is_java_regex_syntax=True,
                                            config_values=oci.data_integration.models.ConfigValues(
                                                config_param_values={
                                                    'EXAMPLE_KEY_JIXzE': {
                                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                                        'intValue': 482,
                                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                                        'refValue': 'EXAMPLE-refValue-Value',
                                                        'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                                parent_ref=oci.data_integration.models.ParentReference(
                                                    parent="EXAMPLE-parent-Value")),
                                            object_status=57,
                                            description="EXAMPLE-description-Value",
                                            is_skip_remaining_rules_on_match=True,
                                            from_name="EXAMPLE-fromName-Value",
                                            to_name="EXAMPLE-toName-Value")],
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_Y6fzc': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 945,
                                                'objectValue': 'EXAMPLE-objectValue-Value',
                                                'refValue': 'EXAMPLE-refValue-Value',
                                                'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value")),
                                    object_status=167),
                                to_rule_config=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"),
                                    scope="EXAMPLE-scope-Value",
                                    is_order_by_rule=False,
                                    projection_rules=[
                                        oci.data_integration.models.RenameRule(
                                            model_type="RENAME_RULE",
                                            key="EXAMPLE-key-Value",
                                            model_version="EXAMPLE-modelVersion-Value",
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value"),
                                            is_java_regex_syntax=True,
                                            config_values=oci.data_integration.models.ConfigValues(
                                                config_param_values={
                                                    'EXAMPLE_KEY_z8blU': {
                                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                                        'intValue': 928,
                                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                                        'refValue': 'EXAMPLE-refValue-Value',
                                                        'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                                parent_ref=oci.data_integration.models.ParentReference(
                                                    parent="EXAMPLE-parent-Value")),
                                            object_status=500,
                                            description="EXAMPLE-description-Value",
                                            is_skip_remaining_rules_on_match=True,
                                            from_name="EXAMPLE-fromName-Value",
                                            to_name="EXAMPLE-toName-Value")],
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_I4mVF': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 869,
                                                'objectValue': 'EXAMPLE-objectValue-Value',
                                                'refValue': 'EXAMPLE-refValue-Value',
                                                'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value")),
                                    object_status=950)))],
                    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"),
                            object_status=987,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            to_links=["EXAMPLE--Value"])],
                    operator=oci.data_integration.models.Intersect(
                        model_type="INTERSECT_OPERATOR",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value"),
                        name="EXAMPLE-name-Value",
                        description="EXAMPLE-description-Value",
                        object_version=463,
                        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"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_ZhZv0': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 18,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value")),
                                object_status=727,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                port_type="DATA",
                                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"),
                                        config_values=oci.data_integration.models.ConfigValues(
                                            config_param_values={
                                                'EXAMPLE_KEY_cLtZO': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 133,
                                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                                    'refValue': 'EXAMPLE-refValue-Value',
                                                    'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value")),
                                        object_status=734,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value",
                                        scope="EXAMPLE-scope-Value",
                                        type=oci.data_integration.models.CompositeType(
                                            model_type="COMPOSITE_TYPE",
                                            key="EXAMPLE-key-Value",
                                            model_version="EXAMPLE-modelVersion-Value",
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value"),
                                            name="EXAMPLE-name-Value",
                                            object_status=367,
                                            description="EXAMPLE-description-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"),
                                                name="EXAMPLE-name-Value",
                                                is_contained=False,
                                                object_status=738,
                                                config_parameter_definitions={
                                                    'EXAMPLE_KEY_EiSbE': {
                                                        '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"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_LyziN': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 502,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value")),
                                object_status=921,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                port_type="CONTROL",
                                fields=[
                                    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"),
                                        config_values=oci.data_integration.models.ConfigValues(
                                            config_param_values={
                                                'EXAMPLE_KEY_UJGBG': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 898,
                                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                                    'refValue': 'EXAMPLE-refValue-Value',
                                                    'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value")),
                                        object_status=517,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value",
                                        port_type="CONTROL")])],
                        object_status=27,
                        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"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_KPWcW': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 112,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value")),
                                object_status=724,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                type=oci.data_integration.models.DynamicType(
                                    model_type="DYNAMIC_TYPE",
                                    key="EXAMPLE-key-Value",
                                    model_version="EXAMPLE-modelVersion-Value",
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value"),
                                    name="EXAMPLE-name-Value",
                                    object_status=975,
                                    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"),
                                        scope="EXAMPLE-scope-Value",
                                        is_order_by_rule=False,
                                        projection_rules=[
                                            oci.data_integration.models.NameListRule(
                                                model_type="NAME_LIST_RULE",
                                                key="EXAMPLE-key-Value",
                                                model_version="EXAMPLE-modelVersion-Value",
                                                parent_ref=oci.data_integration.models.ParentReference(
                                                    parent="EXAMPLE-parent-Value"),
                                                is_java_regex_syntax=False,
                                                config_values=oci.data_integration.models.ConfigValues(
                                                    config_param_values={
                                                        'EXAMPLE_KEY_oJdoY': {
                                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                                            'intValue': 861,
                                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                                            'refValue': 'EXAMPLE-refValue-Value',
                                                            'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                                    parent_ref=oci.data_integration.models.ParentReference(
                                                        parent="EXAMPLE-parent-Value")),
                                                object_status=873,
                                                description="EXAMPLE-description-Value",
                                                is_skip_remaining_rules_on_match=False,
                                                scope="EXAMPLE-scope-Value",
                                                is_cascade=False,
                                                matching_strategy="TAGS_ONLY",
                                                is_case_sensitive=False,
                                                rule_type="EXCLUDE",
                                                names=["EXAMPLE--Value"])],
                                        config_values=oci.data_integration.models.ConfigValues(
                                            config_param_values={
                                                'EXAMPLE_KEY_ZYnGV': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 47,
                                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                                    'refValue': 'EXAMPLE-refValue-Value',
                                                    'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value")),
                                        object_status=635),
                                    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"),
                                        name="EXAMPLE-name-Value",
                                        is_contained=True,
                                        object_status=123,
                                        config_parameter_definitions={
                                            'EXAMPLE_KEY_g74QX': {
                                                'parameterName': 'EXAMPLE-parameterName-Value',
                                                'description': 'EXAMPLE-description-Value',
                                                'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                'isStatic': True,
                                                'isClassFieldValue': True}})),
                                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")],
                        op_config_values=oci.data_integration.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_OA9J3': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 399,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value")),
                        intersect_type="POSITION",
                        is_all=True),
                    ui_properties=oci.data_integration.models.UIProperties(
                        coordinate_x=7496.5312,
                        coordinate_y=8070.26),
                    object_status=652)],
            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"),
                    config_values=oci.data_integration.models.ConfigValues(
                        config_param_values={
                            'EXAMPLE_KEY_fSejT': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 561,
                                'objectValue': 'EXAMPLE-objectValue-Value',
                                'refValue': 'EXAMPLE-refValue-Value',
                                'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value")),
                    object_status=272,
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-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"),
                        name="EXAMPLE-name-Value",
                        object_status=942,
                        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"),
                            name="EXAMPLE-name-Value",
                            is_contained=True,
                            object_status=201,
                            config_parameter_definitions={
                                'EXAMPLE_KEY_qgiiY': {
                                    'parameterName': 'EXAMPLE-parameterName-Value',
                                    'description': 'EXAMPLE-description-Value',
                                    'defaultValue': 'EXAMPLE-defaultValue-Value',
                                    'classFieldName': 'EXAMPLE-classFieldName-Value',
                                    'isStatic': False,
                                    'isClassFieldValue': False}})),
                    default_value="EXAMPLE-defaultValue-Value",
                    root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                    is_input=False,
                    is_output=False,
                    output_aggregation_type="COUNT",
                    type_name="EXAMPLE-typeName-Value")],
            description="EXAMPLE-description-Value",
            flow_config_values=oci.data_integration.models.ConfigValues(
                config_param_values={
                    'EXAMPLE_KEY_Xs19n': {
                        'stringValue': 'EXAMPLE-stringValue-Value',
                        'intValue': 349,
                        'objectValue': 'EXAMPLE-objectValue-Value',
                        'refValue': 'EXAMPLE-refValue-Value',
                        'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                parent_ref=oci.data_integration.models.ParentReference(
                    parent="EXAMPLE-parent-Value")),
            object_status=990,
            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(
                    "2015-07-13T22:08:39.117Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2012-08-03T23:49:01.204Z",
                    "%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_RlvOQ': 'EXAMPLE_VALUE_WyvZacPBoPPG35Onn3RM'},
                registry_version=359,
                labels=["EXAMPLE--Value"],
                is_favorite=False),
            key_map={
                'EXAMPLE_KEY_VWlNj': 'EXAMPLE_VALUE_NwRxXQryWVnBh5Dw0ObR'})),
    opc_request_id="15TRPROWCVXG2UFQIZYU/OpcRequestIdExample/<unique_ID>",
    if_match="EXAMPLE-ifMatch-Value")

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