# This is an automatically generated code sample.
# To make this code sample work in your Oracle Cloud tenancy,
# please replace the values for any parameters whose current values do not fit
# your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and
# boolean, number, and enum parameters with values not fitting your use case).

from datetime import datetime
import oci

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


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


# Send the request to service, some parameters are not required, see API
# doc for more info
create_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.CreateTaskValidationFromPipelineTask(
        model_type="PIPELINE_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=657,
        object_status=51,
        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_bBk9j': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 309,
                                '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=531,
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-Value",
                    port_type="CONTROL",
                    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_zl1qn': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 932,
                                        '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=801,
                            name="EXAMPLE-name-Value",
                            description="EXAMPLE-description-Value",
                            type=oci.data_integration.models.ConfiguredType(
                                model_type="CONFIGURED_TYPE",
                                key="EXAMPLE-key-Value",
                                model_version="EXAMPLE-modelVersion-Value",
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                name="EXAMPLE-name-Value",
                                object_status=508,
                                description="EXAMPLE-description-Value",
                                wrapped_type="EXAMPLE-wrappedType-Value",
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_4A6y6': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 156,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                config_definition=oci.data_integration.models.ConfigDefinition(
                                    key="EXAMPLE-key-Value",
                                    model_type="EXAMPLE-modelType-Value",
                                    model_version="EXAMPLE-modelVersion-Value",
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                    name="EXAMPLE-name-Value",
                                    is_contained=False,
                                    object_status=377,
                                    config_parameter_definitions={
                                        'EXAMPLE_KEY_vHpuc': {
                                            'parameterName': 'EXAMPLE-parameterName-Value',
                                            'description': 'EXAMPLE-description-Value',
                                            'defaultValue': 'EXAMPLE-defaultValue-Value',
                                            'classFieldName': 'EXAMPLE-classFieldName-Value',
                                            'isStatic': False,
                                            'isClassFieldValue': False}})))])],
        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_3N1Fy': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 174,
                            '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=609,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                port_type="CONTROL",
                fields=[
                    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_JDQ5c': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 784,
                                    '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=766,
                        name="EXAMPLE-name-Value",
                        description="EXAMPLE-description-Value",
                        type="EXAMPLE-type-Value",
                        default_value="EXAMPLE-defaultValue-Value",
                        root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                        is_input=False,
                        is_output=False,
                        output_aggregation_type="SUM",
                        type_name="EXAMPLE-typeName-Value",
                        used_for="EXAMPLE-usedFor-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_2l9HD': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 589,
                            '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=835,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                type="EXAMPLE-type-Value",
                default_value="EXAMPLE-defaultValue-Value",
                root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                is_input=True,
                is_output=True,
                output_aggregation_type="MAX",
                type_name="EXAMPLE-typeName-Value",
                used_for="EXAMPLE-usedFor-Value")],
        op_config_values=oci.data_integration.models.ConfigValues(
            config_param_values={
                'EXAMPLE_KEY_uXlek': {
                    'stringValue': 'EXAMPLE-stringValue-Value',
                    'intValue': 244,
                    '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(
                "2039-12-15T02:30:05.807Z",
                "%Y-%m-%dT%H:%M:%S.%fZ"),
            time_updated=datetime.strptime(
                "2029-10-06T05:16:57.904Z",
                "%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_FsAva': 'EXAMPLE_VALUE_CtS7GTvKhHK3kfUZH0mR'},
            registry_version=665,
            labels=["EXAMPLE--Value"],
            is_favorite=False,
            count_statistics=oci.data_integration.models.CountStatistic(
                object_type_count_list=[
                    oci.data_integration.models.CountStatisticSummary(
                        object_type="PROJECT",
                        object_count=402)])),
        pipeline=oci.data_integration.models.Pipeline(
            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",
            model_type="EXAMPLE-modelType-Value",
            object_version=635,
            object_status=423,
            identifier="EXAMPLE-identifier-Value",
            nodes=[
                oci.data_integration.models.FlowNode(
                    key="EXAMPLE-key-Value",
                    model_type="EXAMPLE-modelType-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-Value",
                    input_links=[
                        oci.data_integration.models.InputLink(
                            model_type="INPUT_LINK",
                            key="EXAMPLE-key-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                            object_status=258,
                            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",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_ktWvT': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 590,
                                            '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")),
                                map_type="MAPBYNAME",
                                from_pattern="EXAMPLE-fromPattern-Value",
                                to_pattern="EXAMPLE-toPattern-Value",
                                is_java_regex_syntax=False,
                                object_status=678,
                                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",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                    scope="EXAMPLE-scope-Value",
                                    scope_reference=oci.data_integration.models.ScopeReference(
                                        reference_object="EXAMPLE-referenceObject-Value",
                                        reference_type="BOUND_ENTITY_SHAPE_FIELD",
                                        ref_object_name="EXAMPLE-refObjectName-Value"),
                                    is_order_by_rule=True,
                                    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",
                                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                            is_java_regex_syntax=True,
                                            config_values=oci.data_integration.models.ConfigValues(
                                                config_param_values={
                                                    'EXAMPLE_KEY_7EsC7': {
                                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                                        'intValue': 145,
                                                        '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=579,
                                            description="EXAMPLE-description-Value",
                                            is_skip_remaining_rules_on_match=True,
                                            scope="EXAMPLE-scope-Value",
                                            is_cascade=True,
                                            matching_strategy="TAGS_ONLY",
                                            is_case_sensitive=False,
                                            rule_type="INCLUDE",
                                            names=["EXAMPLE--Value"])],
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_YyVSM': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 808,
                                                '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=789),
                                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",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                    scope="EXAMPLE-scope-Value",
                                    scope_reference=oci.data_integration.models.ScopeReference(
                                        reference_object="EXAMPLE-referenceObject-Value",
                                        reference_type="BOUND_ENTITY_SHAPE_FIELD",
                                        ref_object_name="EXAMPLE-refObjectName-Value"),
                                    is_order_by_rule=True,
                                    projection_rules=[
                                        oci.data_integration.models.GroupedNamePatternRule(
                                            model_type="GROUPED_NAME_PATTERN_RULE",
                                            key="EXAMPLE-key-Value",
                                            model_version="EXAMPLE-modelVersion-Value",
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value",
                                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                            is_java_regex_syntax=False,
                                            config_values=oci.data_integration.models.ConfigValues(
                                                config_param_values={
                                                    'EXAMPLE_KEY_K9KWM': {
                                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                                        'intValue': 93,
                                                        '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=392,
                                            description="EXAMPLE-description-Value",
                                            name="EXAMPLE-name-Value",
                                            is_skip_remaining_rules_on_match=False,
                                            scope="EXAMPLE-scope-Value",
                                            is_cascade=False,
                                            matching_strategy="NAME_OR_TAGS",
                                            is_case_sensitive=True,
                                            rule_type="EXCLUDE",
                                            pattern="EXAMPLE-pattern-Value")],
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_pd5MY': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 121,
                                                '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=629)))],
                    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=257,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            to_links=["EXAMPLE--Value"])],
                    operator=oci.data_integration.models.Union(
                        model_type="UNION_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=645,
                        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_KDaIC': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 585,
                                            '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=543,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                port_type="MODEL",
                                fields=[
                                    oci.data_integration.models.InputField(
                                        model_type="INPUT_FIELD",
                                        key="EXAMPLE-key-Value",
                                        model_version="EXAMPLE-modelVersion-Value",
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value",
                                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                        config_values=oci.data_integration.models.ConfigValues(
                                            config_param_values={
                                                'EXAMPLE_KEY_dmt6I': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 696,
                                                    '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=177,
                                        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=707,
                                            description="EXAMPLE-description-Value"),
                                        labels=["EXAMPLE--Value"])])],
                        output_ports=[
                            oci.data_integration.models.AbstractField(
                                model_type="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_9jidE': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 794,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                object_status=273,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value")],
                        object_status=772,
                        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_QMy5Y': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 522,
                                            '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=275,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                type="EXAMPLE-type-Value",
                                default_value="EXAMPLE-defaultValue-Value",
                                root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                                is_input=False,
                                is_output=False,
                                output_aggregation_type="SUM",
                                type_name="EXAMPLE-typeName-Value",
                                used_for="EXAMPLE-usedFor-Value")],
                        op_config_values=oci.data_integration.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_WroyR': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 123,
                                    '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")),
                        union_type="NAME",
                        is_all=False),
                    ui_properties=oci.data_integration.models.UIProperties(
                        coordinate_x=7605.4717,
                        coordinate_y=3324.2036),
                    object_status=19)],
            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_TRvMa': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 268,
                                'objectValue': 'EXAMPLE-objectValue-Value',
                                'refValue': 'EXAMPLE-refValue-Value',
                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                    object_status=594,
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-Value",
                    type="EXAMPLE-type-Value",
                    default_value="EXAMPLE-defaultValue-Value",
                    root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                    is_input=True,
                    is_output=False,
                    output_aggregation_type="SUM",
                    type_name="EXAMPLE-typeName-Value",
                    used_for="EXAMPLE-usedFor-Value")],
            flow_config_values=oci.data_integration.models.ConfigValues(
                config_param_values={
                    'EXAMPLE_KEY_ytnWl': {
                        'stringValue': 'EXAMPLE-stringValue-Value',
                        'intValue': 888,
                        '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")),
            variables=[
                oci.data_integration.models.Variable(
                    key="EXAMPLE-key-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    model_type="EXAMPLE-modelType-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=661,
                    object_status=483,
                    identifier="EXAMPLE-identifier-Value",
                    type=oci.data_integration.models.DynamicType(
                        model_type="DYNAMIC_TYPE",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                        name="EXAMPLE-name-Value",
                        object_status=120,
                        description="EXAMPLE-description-Value",
                        type_handler=oci.data_integration.models.FlattenTypeHandler(
                            model_type="FLATTEN_TYPE_HANDLER",
                            key="EXAMPLE-key-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                            scope="EXAMPLE-scope-Value",
                            flatten_details="EXAMPLE-flattenDetails-Value",
                            config_values=oci.data_integration.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_FU1CX': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 216,
                                        '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=638),
                        config_definition=oci.data_integration.models.ConfigDefinition(
                            key="EXAMPLE-key-Value",
                            model_type="EXAMPLE-modelType-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                            name="EXAMPLE-name-Value",
                            is_contained=True,
                            object_status=447,
                            config_parameter_definitions={
                                'EXAMPLE_KEY_XX8oW': {
                                    'parameterName': 'EXAMPLE-parameterName-Value',
                                    'description': 'EXAMPLE-description-Value',
                                    'defaultValue': 'EXAMPLE-defaultValue-Value',
                                    'classFieldName': 'EXAMPLE-classFieldName-Value',
                                    'isStatic': False,
                                    'isClassFieldValue': True}})),
                    config_values=oci.data_integration.models.ConfigValues(
                        config_param_values={
                            'EXAMPLE_KEY_bwpLA': {
                                '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")),
                    default_value="EXAMPLE-defaultValue-Value",
                    root_object_default_value=oci.data_integration.models.RootObject(
                        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=301))],
            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(
                    "2040-05-27T10:25:51.766Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2029-07-18T18:25:04.292Z",
                    "%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_kYPSR': 'EXAMPLE_VALUE_WkKFHxgG2rgDDL3G7EZu'},
                registry_version=942,
                labels=["EXAMPLE--Value"],
                is_favorite=False,
                count_statistics=oci.data_integration.models.CountStatistic(
                    object_type_count_list=[
                        oci.data_integration.models.CountStatisticSummary(
                            object_type="CONNECTION",
                            object_count=434)])))),
    opc_request_id="IRFJM3NNUUU4S7LSKL21<unique_ID>",
    opc_retry_token="EXAMPLE-opcRetryToken-Value")

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

Was this article helpful?