// 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 * as dataintegration from "oci-dataintegration";
import common = require("oci-common");

// Create a default authentication provider that uses the DEFAULT
// profile in the configuration file.
// Refer to <see href="https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File>the public documentation</see> on how to prepare a configuration file.

const provider: common.ConfigFileAuthenticationDetailsProvider = new common.ConfigFileAuthenticationDetailsProvider();

(async () => {
    try {
     // Create a service client
     const client = new dataintegration.DataIntegrationClient({ authenticationDetailsProvider: provider });

     // Create a request and dependent object(s).
	const  updateTaskDetails = {
		modelType: "DATA_LOADER_TASK",		dataFlow: {
			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",

				}
,
			name: "EXAMPLE-name-Value",
			identifier: "EXAMPLE-identifier-Value",
			objectVersion: 341,
			nodes: [{
					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",

						}
,
					name: "EXAMPLE-name-Value",
					description: "EXAMPLE-description-Value",
					inputLinks: [{
							modelType: "INPUT_LINK",							fromLink: "EXAMPLE-fromLink-Value",
							fieldMap: {
								modelType: "CONDITIONAL_COMPOSITE_FIELD_MAP",								fieldMapScope: [{
										modelType: "NAME_PATTERN_RULE",										isSkipRemainingRulesOnMatch: false,
										scope: "EXAMPLE-scope-Value",
										isCascade: false,
										matchingStrategy: dataintegration.models.NamePatternRule.MatchingStrategy.NameOrTags,
										isCaseSensitive: true,
										ruleType: dataintegration.models.NamePatternRule.RuleType.Include,
										pattern: "EXAMPLE-pattern-Value",
										key: "EXAMPLE-key-Value",
										modelVersion: "EXAMPLE-modelVersion-Value",
										parentRef: {
											parent: "EXAMPLE-parent-Value",
											rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

											}
,
										isJavaRegexSyntax: false,
										configValues: {
											configParamValues: {
												EXAMPLE_KEY_Q2lJm :{
													stringValue: "EXAMPLE-stringValue-Value",
													intValue: 187,
													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: 827,
										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_4PIXr :{
											stringValue: "EXAMPLE-stringValue-Value",
											intValue: 328,
											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: 177,
								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",

								}
,
							objectStatus: 824,
							description: "EXAMPLE-description-Value",
							port: "EXAMPLE-port-Value"

							}
							],
					outputLinks: [{
							modelType: "OUTPUT_LINK",							toLinks: ["EXAMPLE--Value"									],
							key: "EXAMPLE-key-Value",
							modelVersion: "EXAMPLE-modelVersion-Value",
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,
							objectStatus: 423,
							description: "EXAMPLE-description-Value",
							port: "EXAMPLE-port-Value"

							}
							],
					operator: {
						modelType: "LOOKUP_OPERATOR",						lookupCondition: {
							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_GvQpn :{
										stringValue: "EXAMPLE-stringValue-Value",
										intValue: 97,
										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: 930,

							}
,
						isSkipNoMatch: false,
						multiMatchStrategy: dataintegration.models.Lookup.MultiMatchStrategy.ReturnAll,
						nullFillValues: {
							EXAMPLE_KEY_fuAwZ :"EXAMPLE--Value"
							},
						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",
						description: "EXAMPLE-description-Value",
						objectVersion: 298,
						inputPorts: [{
								modelType: "INPUT_PORT",								portType: dataintegration.models.InputPort.PortType.Data,
								fields: [{
										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_7MBgy :{
													stringValue: "EXAMPLE-stringValue-Value",
													intValue: 681,
													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: 217,
										name: "EXAMPLE-name-Value",
										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_W0VQs :{
											stringValue: "EXAMPLE-stringValue-Value",
											intValue: 416,
											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: 907,
								name: "EXAMPLE-name-Value",
								description: "EXAMPLE-description-Value"

								}
								],
						outputPorts: [{
								modelType: "PIVOT_FIELD",								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_IKn38 :{
												stringValue: "EXAMPLE-stringValue-Value",
												intValue: 880,
												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: 971,

									}
,
								useType: {
									modelType: "CONFIGURED_TYPE",									wrappedType: "EXAMPLE-wrappedType-Value",
									configValues: {
										configParamValues: {
											EXAMPLE_KEY_XuEQt :{
												stringValue: "EXAMPLE-stringValue-Value",
												intValue: 992,
												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",

											}
,

										}
,
									configDefinition: {
										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",

											}
,
										name: "EXAMPLE-name-Value",
										isContained: true,
										objectStatus: 888,
										configParameterDefinitions: {
											EXAMPLE_KEY_NdDuJ :{
												parameterType: {
													modelType: "MAP_TYPE",													keyElementType: "EXAMPLE-keyElementType-Value",
													valueElementType: "EXAMPLE-valueElementType-Value",
													containsNull: false,
													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: 907,
													description: "EXAMPLE-description-Value"

													}
,
												parameterName: "EXAMPLE-parameterName-Value",
												description: "EXAMPLE-description-Value",
												defaultValue: "EXAMPLE-defaultValue-Value",
												classFieldName: "EXAMPLE-classFieldName-Value",
												isStatic: true,
												isClassFieldValue: true,

												}

											},

										}
,
									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: 134,
									description: "EXAMPLE-description-Value"

									}
,
								type: {
									modelType: "MATERIALIZED_COMPOSITE_TYPE",									elements: ["EXAMPLE--Value"											],
									pathNames: ["EXAMPLE--Value"											],
									configDefinition: {
										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",

											}
,
										name: "EXAMPLE-name-Value",
										isContained: true,
										objectStatus: 731,
										configParameterDefinitions: {
											EXAMPLE_KEY_slrRN :{
												parameterName: "EXAMPLE-parameterName-Value",
												description: "EXAMPLE-description-Value",
												defaultValue: "EXAMPLE-defaultValue-Value",
												classFieldName: "EXAMPLE-classFieldName-Value",
												isStatic: false,
												isClassFieldValue: true,

												}

											},

										}
,
									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: 858,
									description: "EXAMPLE-description-Value"

									}
,
								columnNamePattern: "EXAMPLE-columnNamePattern-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_psroq :{
											stringValue: "EXAMPLE-stringValue-Value",
											intValue: 165,
											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: 851,
								name: "EXAMPLE-name-Value",
								description: "EXAMPLE-description-Value"

								}
								],
						objectStatus: 942,
						identifier: "EXAMPLE-identifier-Value",
						parameters: [{
								modelType: "PARAMETER",								type: "EXAMPLE-type-Value",
								defaultValue: "EXAMPLE-defaultValue-Value",
								rootObjectDefaultValue: "EXAMPLE-rootObjectDefaultValue-Value",
								isInput: false,
								isOutput: true,
								outputAggregationType: dataintegration.models.Parameter.OutputAggregationType.Count,
								typeName: "EXAMPLE-typeName-Value",
								usedFor: "EXAMPLE-usedFor-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_8JGFg :{
											stringValue: "EXAMPLE-stringValue-Value",
											intValue: 855,
											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: 416,
								name: "EXAMPLE-name-Value",
								description: "EXAMPLE-description-Value"

								}
								],
						opConfigValues: {
							configParamValues: {
								EXAMPLE_KEY_AWBmU :{
									stringValue: "EXAMPLE-stringValue-Value",
									intValue: 370,
									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",

								}
,

							}


						}
,
					uiProperties: {
						coordinateX: 871.05273,
						coordinateY: 8180.2397,

						}
,
					objectStatus: 495,

					}
					],
			parameters: [{
					modelType: "PARAMETER",					type: "EXAMPLE-type-Value",
					defaultValue: "EXAMPLE-defaultValue-Value",
					rootObjectDefaultValue: "EXAMPLE-rootObjectDefaultValue-Value",
					isInput: false,
					isOutput: false,
					outputAggregationType: dataintegration.models.Parameter.OutputAggregationType.Count,
					typeName: "EXAMPLE-typeName-Value",
					usedFor: "EXAMPLE-usedFor-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_fRG3L :{
								stringValue: "EXAMPLE-stringValue-Value",
								intValue: 425,
								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: 467,
					name: "EXAMPLE-name-Value",
					description: "EXAMPLE-description-Value"

					}
					],
			description: "EXAMPLE-description-Value",
			flowConfigValues: {
				configParamValues: {
					EXAMPLE_KEY_l6BBh :{
						stringValue: "EXAMPLE-stringValue-Value",
						intValue: 842,
						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: 791,
			metadata: {
				createdBy: "EXAMPLE-createdBy-Value",
				createdByName: "EXAMPLE-createdByName-Value",
				updatedBy: "EXAMPLE-updatedBy-Value",
				updatedByName: "EXAMPLE-updatedByName-Value",
				timeCreated: new Date("Fri Mar 31 22:44:59 UTC 2034"),
				timeUpdated: new Date("Sun Nov 10 07:53:52 UTC 2019"),
				aggregatorKey: "EXAMPLE-aggregatorKey-Value",
				aggregator: {
					type: "EXAMPLE-type-Value",
					key: "EXAMPLE-key-Value",
					name: "EXAMPLE-name-Value",
					identifier: "EXAMPLE-identifier-Value",
					description: "EXAMPLE-description-Value",

					}
,
				identifierPath: "EXAMPLE-identifierPath-Value",
				infoFields: {
					EXAMPLE_KEY_O2YPi :"EXAMPLE_VALUE_1VtnJgvMeG6s12GS8d8B"
					},
				registryVersion: 188,
				labels: ["EXAMPLE--Value"						],
				isFavorite: true,
				countStatistics: {
					objectTypeCountList: [{
							objectType: dataintegration.models.CountStatisticSummary.ObjectType.DataFlow,
							objectCount: 542,

							}
							],

					}
,

				}
,
			keyMap: {
				EXAMPLE_KEY_OdZUG :"EXAMPLE_VALUE_oAKJ1votCp5mtbBlCXLu"
				},
			typedObjectMap: {
				EXAMPLE_KEY_gla3i :{
					typedObject: {
						modelType: "PARAMETER",						type: "EXAMPLE-type-Value",
						defaultValue: "EXAMPLE-defaultValue-Value",
						rootObjectDefaultValue: "EXAMPLE-rootObjectDefaultValue-Value",
						isInput: false,
						isOutput: true,
						outputAggregationType: dataintegration.models.Parameter.OutputAggregationType.Max,
						typeName: "EXAMPLE-typeName-Value",
						usedFor: "EXAMPLE-usedFor-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_f31Nh :{
									stringValue: "EXAMPLE-stringValue-Value",
									intValue: 177,
									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: 103,
						name: "EXAMPLE-name-Value",
						description: "EXAMPLE-description-Value"

						}
,

					}

				},
			targetFieldMapSummary: {
				EXAMPLE_KEY_FuDZo :{
					fieldMap: {
						modelType: "CONDITIONAL_COMPOSITE_FIELD_MAP",						fieldMapScope: [{
								modelType: "RENAME_RULE",								isSkipRemainingRulesOnMatch: false,
								fromName: "EXAMPLE-fromName-Value",
								toName: "EXAMPLE-toName-Value",
								key: "EXAMPLE-key-Value",
								modelVersion: "EXAMPLE-modelVersion-Value",
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,
								isJavaRegexSyntax: true,
								configValues: {
									configParamValues: {
										EXAMPLE_KEY_UdFOK :{
											stringValue: "EXAMPLE-stringValue-Value",
											intValue: 24,
											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: 353,
								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_micC4 :{
									stringValue: "EXAMPLE-stringValue-Value",
									intValue: 490,
									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: 187,
						description: "EXAMPLE-description-Value"

						}
,

					}

				},

			}
,
		conditionalCompositeFieldMap: {
			modelType: "CONDITIONAL_COMPOSITE_FIELD_MAP",			fieldMapScope: [{
					modelType: "RENAME_RULE",					isSkipRemainingRulesOnMatch: false,
					fromName: "EXAMPLE-fromName-Value",
					toName: "EXAMPLE-toName-Value",
					key: "EXAMPLE-key-Value",
					modelVersion: "EXAMPLE-modelVersion-Value",
					parentRef: {
						parent: "EXAMPLE-parent-Value",
						rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

						}
,
					isJavaRegexSyntax: true,
					configValues: {
						configParamValues: {
							EXAMPLE_KEY_ZDa7c :{
								stringValue: "EXAMPLE-stringValue-Value",
								intValue: 879,
								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: 668,
					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_d453k :{
						stringValue: "EXAMPLE-stringValue-Value",
						intValue: 508,
						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: 633,
			fieldMaps: [{
					modelType: "NAMED_ENTITY_MAP",					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_LwBcM :{
								stringValue: "EXAMPLE-stringValue-Value",
								intValue: 198,
								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",

							}
,

						}
,
					sourceEntity: "EXAMPLE-sourceEntity-Value",
					targetEntity: "EXAMPLE-targetEntity-Value",
					objectStatus: 945,
					description: "EXAMPLE-description-Value"

					}
					],
			description: "EXAMPLE-description-Value"

			}
,
		isSingleLoad: true,
		parallelLoadLimit: 234,
		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",
		description: "EXAMPLE-description-Value",
		objectStatus: 986,
		objectVersion: 868,
		identifier: "EXAMPLE-identifier-Value",
		inputPorts: [{
				modelType: "INPUT_PORT",				portType: dataintegration.models.InputPort.PortType.Model,
				fields: [{
						modelType: "OUTPUT_FIELD",						type: {
							modelType: "MATERIALIZED_COMPOSITE_TYPE",							elements: ["EXAMPLE--Value"									],
							pathNames: ["EXAMPLE--Value"									],
							configDefinition: {
								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",

									}
,
								name: "EXAMPLE-name-Value",
								isContained: true,
								objectStatus: 521,
								configParameterDefinitions: {
									EXAMPLE_KEY_13XU4 :{
										parameterName: "EXAMPLE-parameterName-Value",
										description: "EXAMPLE-description-Value",
										defaultValue: "EXAMPLE-defaultValue-Value",
										classFieldName: "EXAMPLE-classFieldName-Value",
										isStatic: true,
										isClassFieldValue: false,

										}

									},

								}
,
							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: 283,
							description: "EXAMPLE-description-Value"

							}
,
						labels: ["EXAMPLE--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_CdYnB :{
									stringValue: "EXAMPLE-stringValue-Value",
									intValue: 905,
									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: 734,
						name: "EXAMPLE-name-Value",
						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_Yn00t :{
							stringValue: "EXAMPLE-stringValue-Value",
							intValue: 267,
							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: 882,
				name: "EXAMPLE-name-Value",
				description: "EXAMPLE-description-Value"

				}
				],
		outputPorts: [{
				modelType: "OUTPUT_PORT",				portType: dataintegration.models.OutputPort.PortType.Model,
				fields: [{
						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_SKug0 :{
									stringValue: "EXAMPLE-stringValue-Value",
									intValue: 917,
									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: 616,
						name: "EXAMPLE-name-Value",
						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_BEDsP :{
							stringValue: "EXAMPLE-stringValue-Value",
							intValue: 342,
							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: 463,
				name: "EXAMPLE-name-Value",
				description: "EXAMPLE-description-Value"

				}
				],
		parameters: [{
				modelType: "PARAMETER",				type: "EXAMPLE-type-Value",
				defaultValue: "EXAMPLE-defaultValue-Value",
				rootObjectDefaultValue: "EXAMPLE-rootObjectDefaultValue-Value",
				isInput: false,
				isOutput: true,
				outputAggregationType: dataintegration.models.Parameter.OutputAggregationType.Max,
				typeName: "EXAMPLE-typeName-Value",
				usedFor: "EXAMPLE-usedFor-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_Hq7LW :{
							stringValue: "EXAMPLE-stringValue-Value",
							intValue: 984,
							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: 923,
				name: "EXAMPLE-name-Value",
				description: "EXAMPLE-description-Value"

				}
				],
		opConfigValues: {
			configParamValues: {
				EXAMPLE_KEY_rkE6n :{
					stringValue: "EXAMPLE-stringValue-Value",
					intValue: 253,
					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",

				}
,

			}
,
		isConcurrentAllowed: true,
		registryMetadata: {
			aggregatorKey: "EXAMPLE-aggregatorKey-Value",
			labels: ["EXAMPLE--Value"					],
			registryVersion: 745,
			key: "EXAMPLE-key-Value",
			isFavorite: true,

			}


		}

	const updateTaskRequest: dataintegration.requests.UpdateTaskRequest = { 
	workspaceId: "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
	taskKey: "EXAMPLE-taskKey-Value",
	updateTaskDetails: updateTaskDetails,
	opcRequestId: "UXZMMJCBWFEG3QXEPPWZ<unique_ID>",
	ifMatch: "EXAMPLE-ifMatch-Value",

		}; 


     // Send request to the Client.
     const updateTaskResponse = await client.updateTask(updateTaskRequest);
     }
     catch (error) {
         console.log("updateTask Failed with error  " + error);
     }
})();