# 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).

import oci
from datetime import datetime

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


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


# Send the request to service, some parameters are not required, see API
# doc for more info
create_task_validation_response = data_integration_client.create_task_validation(
    workspace_id="ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
    create_task_validation_details=oci.data_integration.models.CreateTaskValidationFromIntegrationTask(
        model_type="INTEGRATION_TASK",
        key="EXAMPLE-key-Value",
        model_version="EXAMPLE-modelVersion-Value",
        parent_ref=oci.data_integration.models.ParentReference(
            parent="EXAMPLE-parent-Value",
            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
        name="EXAMPLE-name-Value",
        description="EXAMPLE-description-Value",
        object_version=604,
        object_status=827,
        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_mXcQa': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 92,
                                '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=394,
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-Value",
                    port_type="MODEL",
                    fields=[
                        oci.data_integration.models.TypedExpression(
                            model_type="TYPED_EXPRESSION",
                            key="EXAMPLE-key-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                            config_values=oci.data_integration.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_cVB5T': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 925,
                                        '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=144,
                            name="EXAMPLE-name-Value",
                            description="EXAMPLE-description-Value",
                            expression="EXAMPLE-expression-Value",
                            type="EXAMPLE-type-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_BVeBd': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 148,
                            '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=947,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                port_type="MODEL",
                fields=[
                    oci.data_integration.models.Shape(
                        model_type="SHAPE",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                        config_values=oci.data_integration.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_LTTp4': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 672,
                                    '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=685,
                        name="EXAMPLE-name-Value",
                        description="EXAMPLE-description-Value",
                        type=oci.data_integration.models.DerivedType(
                            model_type="DERIVED_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=765,
                            description="EXAMPLE-description-Value"))])],
        parameters=[
            oci.data_integration.models.Parameter(
                model_type="PARAMETER",
                key="EXAMPLE-key-Value",
                model_version="EXAMPLE-modelVersion-Value",
                parent_ref=oci.data_integration.models.ParentReference(
                    parent="EXAMPLE-parent-Value",
                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                config_values=oci.data_integration.models.ConfigValues(
                    config_param_values={
                        'EXAMPLE_KEY_7slp4': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 762,
                            '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=18,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                type="EXAMPLE-type-Value",
                default_value="EXAMPLE-defaultValue-Value",
                root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                is_input=True,
                is_output=True,
                output_aggregation_type="COUNT",
                type_name="EXAMPLE-typeName-Value",
                used_for="EXAMPLE-usedFor-Value")],
        op_config_values=oci.data_integration.models.ConfigValues(
            config_param_values={
                'EXAMPLE_KEY_veoPK': {
                    '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")),
        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(
                "2011-12-28T03:59:05.154Z",
                "%Y-%m-%dT%H:%M:%S.%fZ"),
            time_updated=datetime.strptime(
                "2032-11-10T18:13:46.202Z",
                "%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_2cB8z': 'EXAMPLE_VALUE_nZxjoNsaDp7jOQNbuWu2'},
            registry_version=331,
            labels=["EXAMPLE--Value"],
            is_favorite=False,
            count_statistics=oci.data_integration.models.CountStatistic(
                object_type_count_list=[
                    oci.data_integration.models.CountStatisticSummary(
                        object_type="USER_DEFINED_FUNCTION",
                        object_count=40)])),
        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=161,
            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=455,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            from_link="EXAMPLE-fromLink-Value",
                            field_map=oci.data_integration.models.DirectNamedFieldMap(
                                model_type="DIRECT_NAMED_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_globC': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 336,
                                            '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_INPUT_SHAPE",
                                    ref_object_name="EXAMPLE-refObjectName-Value"),
                                target_scope_reference=oci.data_integration.models.ScopeReference(
                                    reference_object="EXAMPLE-referenceObject-Value",
                                    reference_type="BOUND_ENTITY_SHAPE_FIELD",
                                    ref_object_name="EXAMPLE-refObjectName-Value"),
                                source_field_name="EXAMPLE-sourceFieldName-Value",
                                target_field_name="EXAMPLE-targetFieldName-Value",
                                object_status=898))],
                    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=906,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            to_links=["EXAMPLE--Value"])],
                    operator=oci.data_integration.models.Flatten(
                        model_type="FLATTEN_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=501,
                        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_5eqsS': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 669,
                                            '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=611,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                port_type="DATA",
                                fields=[
                                    oci.data_integration.models.DerivedField(
                                        model_type="DERIVED_FIELD",
                                        key="EXAMPLE-key-Value",
                                        model_version="EXAMPLE-modelVersion-Value",
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value",
                                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                        config_values=oci.data_integration.models.ConfigValues(
                                            config_param_values={
                                                'EXAMPLE_KEY_r9neF': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 16,
                                                    '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=572,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value",
                                        expr=oci.data_integration.models.Expression(
                                            key="EXAMPLE-key-Value",
                                            model_type="EXAMPLE-modelType-Value",
                                            model_version="EXAMPLE-modelVersion-Value",
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value",
                                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                            expr_string="EXAMPLE-exprString-Value",
                                            config_values=oci.data_integration.models.ConfigValues(
                                                config_param_values={
                                                    'EXAMPLE_KEY_M6wS8': {
                                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                                        'intValue': 398,
                                                        '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=729),
                                        type="EXAMPLE-type-Value",
                                        is_use_inferred_type=True,
                                        labels=["EXAMPLE--Value"])])],
                        output_ports=[
                            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_5K9Ih': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 84,
                                            '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=333,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                type=oci.data_integration.models.DerivedType(
                                    model_type="DERIVED_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=937,
                                    description="EXAMPLE-description-Value"),
                                labels=["EXAMPLE--Value"])],
                        object_status=564,
                        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_CUwTU': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 574,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                object_status=361,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                type="EXAMPLE-type-Value",
                                default_value="EXAMPLE-defaultValue-Value",
                                root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                                is_input=True,
                                is_output=True,
                                output_aggregation_type="SUM",
                                type_name="EXAMPLE-typeName-Value",
                                used_for="EXAMPLE-usedFor-Value")],
                        op_config_values=oci.data_integration.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_KR8Ks': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 407,
                                    '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")),
                        flatten_details=oci.data_integration.models.FlattenDetails(
                            flatten_projection_preferences=oci.data_integration.models.FlattenProjectionPreferences(
                                create_array_index="DO_NOT_ALLOW",
                                retain_all_attributes="ALLOW",
                                ignore_null_values="DO_NOT_ALLOW",
                                retain_parent_name_lineage="DO_NOT_ALLOW"),
                            flatten_attribute_root="EXAMPLE-flattenAttributeRoot-Value",
                            flatten_attribute_path="EXAMPLE-flattenAttributePath-Value",
                            flatten_columns=[
                                oci.data_integration.models.TypedExpression(
                                    model_type="TYPED_EXPRESSION",
                                    key="EXAMPLE-key-Value",
                                    model_version="EXAMPLE-modelVersion-Value",
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_KJdLH': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 77,
                                                '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=565,
                                    name="EXAMPLE-name-Value",
                                    description="EXAMPLE-description-Value",
                                    expression="EXAMPLE-expression-Value",
                                    type="EXAMPLE-type-Value")],
                            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"),
                            object_status=387),
                        flatten_field=oci.data_integration.models.DynamicProxyField(
                            model_type="DYNAMIC_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_YpVJx': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 945,
                                        '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=92,
                            name="EXAMPLE-name-Value",
                            description="EXAMPLE-description-Value",
                            type=oci.data_integration.models.MapType(
                                model_type="MAP_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=629,
                                description="EXAMPLE-description-Value",
                                key_element_type="EXAMPLE-keyElementType-Value",
                                value_element_type="EXAMPLE-valueElementType-Value",
                                contains_null=False),
                            labels=["EXAMPLE--Value"]),
                        materialized_flatten_field=oci.data_integration.models.MaterializedDynamicField(
                            model_type="MATERIALIZED_DYNAMIC_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_4Be0q': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 223,
                                        '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=356,
                            name="EXAMPLE-name-Value",
                            description="EXAMPLE-description-Value",
                            scope="EXAMPLE-scope-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=862,
                                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=255,
                                    config_parameter_definitions={
                                        'EXAMPLE_KEY_sR4K1': {
                                            'parameterType': {
                                                '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': 946,
                                                'description': 'EXAMPLE-description-Value',
                                                'elements': [
                                                    {
                                                        'modelType': 'FLOW_PORT',
                                                        '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_GWpGD': {
                                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                                    'intValue': 933,
                                                                    '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': 453,
                                                        'name': 'EXAMPLE-name-Value',
                                                        'description': 'EXAMPLE-description-Value'}]},
                                            'parameterName': 'EXAMPLE-parameterName-Value',
                                            'description': 'EXAMPLE-description-Value',
                                            'defaultValue': 'EXAMPLE-defaultValue-Value',
                                            'classFieldName': 'EXAMPLE-classFieldName-Value',
                                            'isStatic': True,
                                            'isClassFieldValue': False}})))),
                    ui_properties=oci.data_integration.models.UIProperties(
                        coordinate_x=5377.524,
                        coordinate_y=4695.087),
                    object_status=575)],
            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_BM19X': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 526,
                                '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=540,
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-Value",
                    type="EXAMPLE-type-Value",
                    default_value="EXAMPLE-defaultValue-Value",
                    root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                    is_input=True,
                    is_output=True,
                    output_aggregation_type="SUM",
                    type_name="EXAMPLE-typeName-Value",
                    used_for="EXAMPLE-usedFor-Value")],
            description="EXAMPLE-description-Value",
            flow_config_values=oci.data_integration.models.ConfigValues(
                config_param_values={
                    'EXAMPLE_KEY_b6tOX': {
                        'stringValue': 'EXAMPLE-stringValue-Value',
                        'intValue': 928,
                        '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=313,
            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(
                    "2030-06-09T04:40:09.813Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2006-10-22T08:16:10.308Z",
                    "%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_0nhOT': 'EXAMPLE_VALUE_sjSrAPLprlSJYrZebbty'},
                registry_version=419,
                labels=["EXAMPLE--Value"],
                is_favorite=True,
                count_statistics=oci.data_integration.models.CountStatistic(
                    object_type_count_list=[
                        oci.data_integration.models.CountStatisticSummary(
                            object_type="PROJECT",
                            object_count=292)])),
            key_map={
                'EXAMPLE_KEY_hxIZC': 'EXAMPLE_VALUE_14MenZ4wno7C5HCBFPBB'},
            typed_object_map={
                'EXAMPLE_KEY_aWKLf': {
                    'typedObject': {
                        'modelType': 'DECISION_OUTPUT_PORT',
                        'portType': 'MODEL',
                        'decisionOutputPortType': 'EVAL_FALSE',
                        '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_OWiDg': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 995,
                                    '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': 857,
                        'name': 'EXAMPLE-name-Value',
                        'description': 'EXAMPLE-description-Value'}}},
            target_field_map_summary={
                'EXAMPLE_KEY_mMrYx': {
                    '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_tRWig': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 215,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                            'parentRef': {
                                'parent': 'EXAMPLE-parent-Value',
                                'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'}},
                        'mapType': 'MAPBYNAME',
                        'fromPattern': 'EXAMPLE-fromPattern-Value',
                        'toPattern': 'EXAMPLE-toPattern-Value',
                        'isJavaRegexSyntax': False,
                        'objectStatus': 468,
                        '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_INPUT_SHAPE',
                                'refObjectName': 'EXAMPLE-refObjectName-Value'},
                            'isOrderByRule': False,
                            'projectionRules': [
                                {
                                    'modelType': 'RENAME_RULE',
                                    'key': 'EXAMPLE-key-Value',
                                    'modelVersion': 'EXAMPLE-modelVersion-Value',
                                    'parentRef': {
                                        'parent': 'EXAMPLE-parent-Value',
                                        'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                                    'isJavaRegexSyntax': True,
                                    'configValues': {
                                        'configParamValues': {
                                            'EXAMPLE_KEY_nTcpP': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 966,
                                                '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': 230,
                                    'description': 'EXAMPLE-description-Value',
                                    'isSkipRemainingRulesOnMatch': False,
                                    'fromName': 'EXAMPLE-fromName-Value',
                                    'toName': 'EXAMPLE-toName-Value'}],
                            'configValues': {
                                'configParamValues': {
                                    'EXAMPLE_KEY_oXd3D': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 740,
                                        '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': 998},
                        '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': 'BOUND_ENTITY_SHAPE',
                                'refObjectName': 'EXAMPLE-refObjectName-Value'},
                            'isOrderByRule': True,
                            'projectionRules': [
                                {
                                    'modelType': 'RENAME_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_uHLPU': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 861,
                                                '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': 632,
                                    'description': 'EXAMPLE-description-Value',
                                    'isSkipRemainingRulesOnMatch': False,
                                    'fromName': 'EXAMPLE-fromName-Value',
                                    'toName': 'EXAMPLE-toName-Value'}],
                            'configValues': {
                                'configParamValues': {
                                    'EXAMPLE_KEY_3dAj5': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 555,
                                        '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': 649}}}})),
    opc_request_id="NSPCGADL52LPG4HYQJBG<unique_ID>",
    opc_retry_token="EXAMPLE-opcRetryToken-Value")

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