# This is an automatically generated code sample.
# To make this code sample work in your Oracle Cloud tenancy,
# please replace the values for any parameters whose current values do not fit
# your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and
# boolean, number, and enum parameters with values not fitting your use case).
import oci
from datetime import datetime
# Create a default config using DEFAULT profile in default location
# Refer to
# https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File
# for more info
config = oci.config.from_file()
# Initialize service client with default config file
data_integration_client = oci.data_integration.DataIntegrationClient(config)
# Send the request to service, some parameters are not required, see API
# doc for more info
update_task_response = data_integration_client.update_task(
workspace_id="ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
task_key="EXAMPLE-taskKey-Value",
update_task_details=oci.data_integration.models.UpdateTaskFromDataLoaderTask(
model_type="DATA_LOADER_TASK",
key="EXAMPLE-key-Value",
object_version=999,
model_version="EXAMPLE-modelVersion-Value",
parent_ref=oci.data_integration.models.ParentReference(
parent="EXAMPLE-parent-Value",
root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
object_status=77,
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_GdqYF': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 16,
'objectValue': 'EXAMPLE-objectValue-Value',
'refValue': 'EXAMPLE-refValue-Value',
'parameterValue': 'EXAMPLE-parameterValue-Value',
'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
parent_ref=oci.data_integration.models.ParentReference(
parent="EXAMPLE-parent-Value",
root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
object_status=317,
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
port_type="MODEL",
fields=[
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_rR05O': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 301,
'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=844,
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
port_type="MODEL")])],
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_lErr4': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 999,
'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=382,
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
port_type="DATA")],
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_6iUO8': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 189,
'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=559,
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
type="EXAMPLE-type-Value",
default_value="EXAMPLE-defaultValue-Value",
root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
is_input=True,
is_output=False,
output_aggregation_type="SUM",
type_name="EXAMPLE-typeName-Value",
used_for="EXAMPLE-usedFor-Value")],
op_config_values=oci.data_integration.models.ConfigValues(
config_param_values={
'EXAMPLE_KEY_NN9ll': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 528,
'objectValue': 'EXAMPLE-objectValue-Value',
'refValue': 'EXAMPLE-refValue-Value',
'parameterValue': 'EXAMPLE-parameterValue-Value',
'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
parent_ref=oci.data_integration.models.ParentReference(
parent="EXAMPLE-parent-Value",
root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
is_concurrent_allowed=True,
registry_metadata=oci.data_integration.models.RegistryMetadata(
aggregator_key="EXAMPLE-aggregatorKey-Value",
labels=["EXAMPLE--Value"],
registry_version=485,
key="EXAMPLE-key-Value",
is_favorite=False),
data_flow=oci.data_integration.models.DataFlow(
key="EXAMPLE-key-Value",
model_type="EXAMPLE-modelType-Value",
model_version="EXAMPLE-modelVersion-Value",
parent_ref=oci.data_integration.models.ParentReference(
parent="EXAMPLE-parent-Value",
root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
name="EXAMPLE-name-Value",
identifier="EXAMPLE-identifier-Value",
object_version=394,
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=507,
description="EXAMPLE-description-Value",
port="EXAMPLE-port-Value",
from_link="EXAMPLE-fromLink-Value",
field_map=oci.data_integration.models.CompositeFieldMap(
model_type="COMPOSITE_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_QfDLX': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 862,
'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))],
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=509,
description="EXAMPLE-description-Value",
port="EXAMPLE-port-Value",
to_links=["EXAMPLE--Value"])],
operator=oci.data_integration.models.Function(
model_type="FUNCTION_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=214,
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_JARSy': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 161,
'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=143,
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
port_type="MODEL")],
output_ports=[
oci.data_integration.models.DynamicInputField(
model_type="DYNAMIC_INPUT_FIELD",
key="EXAMPLE-key-Value",
model_version="EXAMPLE-modelVersion-Value",
parent_ref=oci.data_integration.models.ParentReference(
parent="EXAMPLE-parent-Value",
root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
config_values=oci.data_integration.models.ConfigValues(
config_param_values={
'EXAMPLE_KEY_j4jTV': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 683,
'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=604,
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=790,
description="EXAMPLE-description-Value",
wrapped_type="EXAMPLE-wrappedType-Value",
config_values=oci.data_integration.models.ConfigValues(
config_param_values={
'EXAMPLE_KEY_EwIfS': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 836,
'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=True,
object_status=377,
config_parameter_definitions={
'EXAMPLE_KEY_hpbum': {
'parameterName': 'EXAMPLE-parameterName-Value',
'description': 'EXAMPLE-description-Value',
'defaultValue': 'EXAMPLE-defaultValue-Value',
'classFieldName': 'EXAMPLE-classFieldName-Value',
'isStatic': False,
'isClassFieldValue': False}})),
labels=["EXAMPLE--Value"])],
object_status=590,
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_RAV4L': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 847,
'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=802,
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
type="EXAMPLE-type-Value",
default_value="EXAMPLE-defaultValue-Value",
root_object_default_value="EXAMPLE-rootObjectDefaultValue-Value",
is_input=False,
is_output=False,
output_aggregation_type="MAX",
type_name="EXAMPLE-typeName-Value",
used_for="EXAMPLE-usedFor-Value")],
op_config_values=oci.data_integration.models.ConfigValues(
config_param_values={
'EXAMPLE_KEY_VmBGQ': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 986,
'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")),
oci_function=oci.data_integration.models.OciFunction(
function_id="ocid1.test.oc1..<unique_ID>EXAMPLE-functionId-Value",
region_id="ocid1.test.oc1..<unique_ID>EXAMPLE-regionId-Value",
fn_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=228,
config_parameter_definitions={
'EXAMPLE_KEY_PqU2S': {
'parameterType': {
'modelType': 'JAVA_TYPE',
'key': 'EXAMPLE-key-Value',
'modelVersion': 'EXAMPLE-modelVersion-Value',
'parentRef': {
'parent': 'EXAMPLE-parent-Value',
'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
'name': 'EXAMPLE-name-Value',
'objectStatus': 496,
'description': 'EXAMPLE-description-Value',
'javaTypeName': 'EXAMPLE-javaTypeName-Value'},
'parameterName': 'EXAMPLE-parameterName-Value',
'description': 'EXAMPLE-description-Value',
'defaultValue': 'EXAMPLE-defaultValue-Value',
'classFieldName': 'EXAMPLE-classFieldName-Value',
'isStatic': False,
'isClassFieldValue': False}}),
input_shape=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_LoRDr': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 507,
'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=956,
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
type=oci.data_integration.models.MapType(
model_type="MAP_TYPE",
key="EXAMPLE-key-Value",
model_version="EXAMPLE-modelVersion-Value",
parent_ref=oci.data_integration.models.ParentReference(
parent="EXAMPLE-parent-Value",
root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
name="EXAMPLE-name-Value",
object_status=262,
description="EXAMPLE-description-Value",
key_element_type="EXAMPLE-keyElementType-Value",
value_element_type="EXAMPLE-valueElementType-Value",
contains_null=True)),
output_shape=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_FsdEh': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 914,
'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=710,
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=824,
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_csz0p': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 1,
'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=574),
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=541,
config_parameter_definitions={
'EXAMPLE_KEY_je3Fl': {
'parameterName': 'EXAMPLE-parameterName-Value',
'description': 'EXAMPLE-description-Value',
'defaultValue': 'EXAMPLE-defaultValue-Value',
'classFieldName': 'EXAMPLE-classFieldName-Value',
'isStatic': False,
'isClassFieldValue': True}}))),
model_type="OCI_FUNCTION",
key="EXAMPLE-key-Value",
parent_ref=oci.data_integration.models.ParentReference(
parent="EXAMPLE-parent-Value",
root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
model_version="EXAMPLE-modelVersion-Value",
object_version=932,
payload_format="AVRO",
fn_config_def=oci.data_integration.models.FunctionConfigurationDefinition(
key="EXAMPLE-key-Value",
model_type="CONFIG_DEFINITION",
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_contained=True,
config_param_defs={
'EXAMPLE_KEY_tnDC6': {
'parameterType': {
'modelType': 'COMPOSITE_TYPE',
'key': 'EXAMPLE-key-Value',
'modelVersion': 'EXAMPLE-modelVersion-Value',
'parentRef': {
'parent': 'EXAMPLE-parent-Value',
'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
'name': 'EXAMPLE-name-Value',
'objectStatus': 933,
'description': 'EXAMPLE-description-Value',
'elements': [
{
'modelType': 'PIVOT_FIELD',
'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_1J1ts': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 11,
'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': 849,
'name': 'EXAMPLE-name-Value',
'description': 'EXAMPLE-description-Value',
'expr': {
'key': 'EXAMPLE-key-Value',
'modelType': 'EXAMPLE-modelType-Value',
'modelVersion': 'EXAMPLE-modelVersion-Value',
'parentRef': {
'parent': 'EXAMPLE-parent-Value',
'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
'exprString': 'EXAMPLE-exprString-Value',
'configValues': {
'configParamValues': {
'EXAMPLE_KEY_kDjeY': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 996,
'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': 196},
'useType': {
'modelType': 'CONFIGURED_TYPE',
'key': 'EXAMPLE-key-Value',
'modelVersion': 'EXAMPLE-modelVersion-Value',
'parentRef': {
'parent': 'EXAMPLE-parent-Value',
'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
'name': 'EXAMPLE-name-Value',
'objectStatus': 536,
'description': 'EXAMPLE-description-Value',
'wrappedType': 'EXAMPLE-wrappedType-Value',
'configValues': {
'configParamValues': {
'EXAMPLE_KEY_yLx9j': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 415,
'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'}}},
'columnNamePattern': 'EXAMPLE-columnNamePattern-Value'}]},
'parameterName': 'EXAMPLE-parameterName-Value',
'description': 'EXAMPLE-description-Value',
'defaultValue': 'EXAMPLE-defaultValue-Value',
'classFieldName': 'EXAMPLE-classFieldName-Value',
'isStatic': True,
'isClassFieldValue': True}}))),
ui_properties=oci.data_integration.models.UIProperties(
coordinate_x=6859.5034,
coordinate_y=3341.6533),
object_status=177)],
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_libNX': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 553,
'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=992,
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="COUNT",
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_YKTsW': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 727,
'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=957,
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(
"2010-07-12T05:56:43.027Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
time_updated=datetime.strptime(
"2014-03-23T10:23:01.627Z",
"%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_dyLcU': 'EXAMPLE_VALUE_UvGyIBdZxuwNFxYRLTcc'},
registry_version=241,
labels=["EXAMPLE--Value"],
is_favorite=True,
count_statistics=oci.data_integration.models.CountStatistic(
object_type_count_list=[
oci.data_integration.models.CountStatisticSummary(
object_type="TASK",
object_count=172)])),
key_map={
'EXAMPLE_KEY_S4XFw': 'EXAMPLE_VALUE_Bh9nFgo09PYhY6gQffof'},
typed_object_map={
'EXAMPLE_KEY_OW9Va': {
'typedObject': {
'modelType': 'FIELD',
'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_1BD7O': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 813,
'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': 819,
'name': 'EXAMPLE-name-Value',
'description': 'EXAMPLE-description-Value'}}},
target_field_map_summary={
'EXAMPLE_KEY_hEx1D': {
'fieldMap': {
'modelType': 'DIRECT_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_LCiqP': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 608,
'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'}},
'sourceTypedObject': 'EXAMPLE-sourceTypedObject-Value',
'targetTypedObject': 'EXAMPLE-targetTypedObject-Value',
'sourceScopeReference': {
'referenceObject': 'EXAMPLE-referenceObject-Value',
'referenceType': 'OCI_FUNCTION_INPUT_SHAPE',
'refObjectName': 'EXAMPLE-refObjectName-Value'},
'targetScopeReference': {
'referenceObject': 'EXAMPLE-referenceObject-Value',
'referenceType': 'OCI_FUNCTION_INPUT_SHAPE',
'refObjectName': 'EXAMPLE-refObjectName-Value'},
'objectStatus': 760}}}),
conditional_composite_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=True,
config_values=oci.data_integration.models.ConfigValues(
config_param_values={
'EXAMPLE_KEY_lZIux': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 331,
'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=241,
description="EXAMPLE-description-Value",
name="EXAMPLE-name-Value",
is_skip_remaining_rules_on_match=True,
scope="EXAMPLE-scope-Value",
is_cascade=True,
matching_strategy="TAGS_ONLY",
is_case_sensitive=True,
rule_type="EXCLUDE",
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_pJbgi': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 851,
'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=138,
field_maps=[
oci.data_integration.models.DirectFieldMap(
model_type="DIRECT_FIELD_MAP",
description="EXAMPLE-description-Value",
key="EXAMPLE-key-Value",
model_version="EXAMPLE-modelVersion-Value",
parent_ref=oci.data_integration.models.ParentReference(
parent="EXAMPLE-parent-Value",
root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
config_values=oci.data_integration.models.ConfigValues(
config_param_values={
'EXAMPLE_KEY_Ggs1t': {
'stringValue': 'EXAMPLE-stringValue-Value',
'intValue': 633,
'objectValue': 'EXAMPLE-objectValue-Value',
'refValue': 'EXAMPLE-refValue-Value',
'parameterValue': 'EXAMPLE-parameterValue-Value',
'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
parent_ref=oci.data_integration.models.ParentReference(
parent="EXAMPLE-parent-Value",
root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
source_typed_object="EXAMPLE-sourceTypedObject-Value",
target_typed_object="EXAMPLE-targetTypedObject-Value",
source_scope_reference=oci.data_integration.models.ScopeReference(
reference_object="EXAMPLE-referenceObject-Value",
reference_type="OCI_FUNCTION_OUTPUT_SHAPE",
ref_object_name="EXAMPLE-refObjectName-Value"),
target_scope_reference=oci.data_integration.models.ScopeReference(
reference_object="EXAMPLE-referenceObject-Value",
reference_type="BOUND_ENTITY_SHAPE_FIELD",
ref_object_name="EXAMPLE-refObjectName-Value"),
object_status=981)]),
is_single_load=True,
parallel_load_limit=922),
opc_request_id="NB0AS4NV2UM0VYCUDLMV<unique_ID>",
if_match="EXAMPLE-ifMatch-Value")
# Get the data from response
print(update_task_response.data)