# 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_response = data_integration_client.create_task(
    workspace_id="ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
    create_task_details=oci.data_integration.models.CreateTaskFromIntegrationTask(
        model_type="INTEGRATION_TASK",
        name="EXAMPLE-name-Value",
        identifier="EXAMPLE-identifier-Value",
        registry_metadata=oci.data_integration.models.RegistryMetadata(
            aggregator_key="EXAMPLE-aggregatorKey-Value",
            labels=["EXAMPLE--Value"],
            registry_version=676,
            key="EXAMPLE-key-Value",
            is_favorite=False),
        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"),
        description="EXAMPLE-description-Value",
        object_status=150,
        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_biPE3': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 695,
                                    '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=664,
                        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_fIiI9': {
                                            '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=704,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                type=oci.data_integration.models.DynamicType(
                                    model_type="DYNAMIC_TYPE",
                                    key="EXAMPLE-key-Value",
                                    model_version="EXAMPLE-modelVersion-Value",
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                    name="EXAMPLE-name-Value",
                                    object_status=448,
                                    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_1nlQC': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 438,
                                                    '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=589),
                                    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=583,
                                        config_parameter_definitions={
                                            'EXAMPLE_KEY_83o1G': {
                                                'parameterName': 'EXAMPLE-parameterName-Value',
                                                'description': 'EXAMPLE-description-Value',
                                                'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                'isStatic': False,
                                                'isClassFieldValue': True}})))])],
        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_yUnct': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 602,
                            'objectValue': 'EXAMPLE-objectValue-Value',
                            'refValue': 'EXAMPLE-refValue-Value',
                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                object_status=343,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                port_type="CONTROL",
                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_yw4y3': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 775,
                                    '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=687,
                        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_rcYHf': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 102,
                                        '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=485),
                        type="EXAMPLE-type-Value",
                        is_use_inferred_type=True,
                        labels=["EXAMPLE--Value"])])],
        parameters=[
            oci.data_integration.models.Parameter(
                model_type="PARAMETER",
                key="EXAMPLE-key-Value",
                model_version="EXAMPLE-modelVersion-Value",
                parent_ref=oci.data_integration.models.ParentReference(
                    parent="EXAMPLE-parent-Value",
                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                config_values=oci.data_integration.models.ConfigValues(
                    config_param_values={
                        'EXAMPLE_KEY_My63f': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 406,
                            '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,
                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_x0LvC': {
                    'stringValue': 'EXAMPLE-stringValue-Value',
                    'intValue': 127,
                    '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_provider_delegate=oci.data_integration.models.CreateConfigProvider(
            bindings={
                'EXAMPLE_KEY_gZAg0': {
                    'simpleValue': 'EXAMPLE-simpleValue-Value',
                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}}),
        is_concurrent_allowed=False,
        data_flow=oci.data_integration.models.DataFlow(
            key="EXAMPLE-key-Value",
            model_type="EXAMPLE-modelType-Value",
            model_version="EXAMPLE-modelVersion-Value",
            parent_ref=oci.data_integration.models.ParentReference(
                parent="EXAMPLE-parent-Value",
                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
            name="EXAMPLE-name-Value",
            identifier="EXAMPLE-identifier-Value",
            object_version=238,
            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=472,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            from_link="EXAMPLE-fromLink-Value",
                            field_map=oci.data_integration.models.ConditionalCompositeFieldMap(
                                model_type="CONDITIONAL_COMPOSITE_FIELD_MAP",
                                description="EXAMPLE-description-Value",
                                field_map_scope=[
                                    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_IEYAy': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 963,
                                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                                    'refValue': 'EXAMPLE-refValue-Value',
                                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value",
                                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                        object_status=614,
                                        description="EXAMPLE-description-Value",
                                        name="EXAMPLE-name-Value",
                                        is_skip_remaining_rules_on_match=False,
                                        scope="EXAMPLE-scope-Value",
                                        is_cascade=True,
                                        matching_strategy="NAME_ONLY",
                                        is_case_sensitive=True,
                                        rule_type="INCLUDE",
                                        pattern="EXAMPLE-pattern-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_WGjya': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 312,
                                            '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=631))],
                    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=503,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            to_links=["EXAMPLE--Value"])],
                    operator=oci.data_integration.models.Intersect(
                        model_type="INTERSECT_OPERATOR",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                        name="EXAMPLE-name-Value",
                        description="EXAMPLE-description-Value",
                        object_version=768,
                        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_KmO2Y': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 371,
                                            '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=437,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                port_type="MODEL",
                                fields=[
                                    oci.data_integration.models.DynamicInputField(
                                        model_type="DYNAMIC_INPUT_FIELD",
                                        key="EXAMPLE-key-Value",
                                        model_version="EXAMPLE-modelVersion-Value",
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value",
                                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                        config_values=oci.data_integration.models.ConfigValues(
                                            config_param_values={
                                                'EXAMPLE_KEY_83dra': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 141,
                                                    '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=288,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value",
                                        type=oci.data_integration.models.DynamicType(
                                            model_type="DYNAMIC_TYPE",
                                            key="EXAMPLE-key-Value",
                                            model_version="EXAMPLE-modelVersion-Value",
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value",
                                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                            name="EXAMPLE-name-Value",
                                            object_status=735,
                                            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_o5n2D': {
                                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                                            'intValue': 422,
                                                            '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=213),
                                            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=708,
                                                config_parameter_definitions={
                                                    'EXAMPLE_KEY_8fqcz': {
                                                        'parameterName': 'EXAMPLE-parameterName-Value',
                                                        'description': 'EXAMPLE-description-Value',
                                                        'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                        'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                        'isStatic': True,
                                                        'isClassFieldValue': False}})),
                                        labels=["EXAMPLE--Value"])])],
                        output_ports=[
                            oci.data_integration.models.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_Phd3O': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 567,
                                            '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=1,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                type="EXAMPLE-type-Value",
                                default_value="EXAMPLE-defaultValue-Value",
                                root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
                                is_input=False,
                                is_output=False,
                                output_aggregation_type="MIN",
                                type_name="EXAMPLE-typeName-Value",
                                used_for="EXAMPLE-usedFor-Value")],
                        object_status=115,
                        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_VYyNk': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 417,
                                            '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=480,
                                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="MAX",
                                type_name="EXAMPLE-typeName-Value",
                                used_for="EXAMPLE-usedFor-Value")],
                        op_config_values=oci.data_integration.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_sxxbk': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 578,
                                    '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")),
                        intersect_type="NAME",
                        is_all=False),
                    ui_properties=oci.data_integration.models.UIProperties(
                        coordinate_x=9419.56,
                        coordinate_y=6213.3726),
                    object_status=262)],
            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_3v0Xr': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 711,
                                '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=788,
                    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="MIN",
                    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_TnDR0': {
                        'stringValue': 'EXAMPLE-stringValue-Value',
                        'intValue': 381,
                        '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=684,
            metadata=oci.data_integration.models.ObjectMetadata(
                created_by="EXAMPLE-createdBy-Value",
                created_by_name="EXAMPLE-createdByName-Value",
                updated_by="EXAMPLE-updatedBy-Value",
                updated_by_name="EXAMPLE-updatedByName-Value",
                time_created=datetime.strptime(
                    "2020-05-30T12:59:44.609Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2029-05-16T05:31:03.944Z",
                    "%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_GzDMC': 'EXAMPLE_VALUE_9ju8zspyK6ZNIyENriBB'},
                registry_version=157,
                labels=["EXAMPLE--Value"],
                is_favorite=True,
                count_statistics=oci.data_integration.models.CountStatistic(
                    object_type_count_list=[
                        oci.data_integration.models.CountStatisticSummary(
                            object_type="CONNECTION",
                            object_count=71)])),
            key_map={
                'EXAMPLE_KEY_H8R4m': 'EXAMPLE_VALUE_cOd5rBodEWdmYMQ585T1'},
            typed_object_map={
                'EXAMPLE_KEY_RIJUi': {
                    'typedObject': {
                        '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_y3Avz': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 541,
                                    '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': 606,
                        'name': 'EXAMPLE-name-Value',
                        'description': 'EXAMPLE-description-Value'}}},
            target_field_map_summary={
                'EXAMPLE_KEY_7NTXA': {
                    'fieldMap': {
                        'modelType': 'COMPOSITE_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_N11U1': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 990,
                                    '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': 538}}})),
    opc_retry_token="EXAMPLE-opcRetryToken-Value",
    opc_request_id="VKEJKNHLPABVZQZGTTGU<unique_ID>")

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

Was this article helpful?