// 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 createTaskValidationDetails = {
modelType: "INTEGRATION_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: 988,
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: "DIRECT_FIELD_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_4iMzI: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 94,
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: dataintegration.models.ScopeReference.ReferenceType.DirectRef,
refObjectName: "EXAMPLE-refObjectName-Value"
},
targetScopeReference: {
referenceObject: "EXAMPLE-referenceObject-Value",
referenceType:
dataintegration.models.ScopeReference.ReferenceType.OciFunctionInputShape,
refObjectName: "EXAMPLE-refObjectName-Value"
},
objectStatus: 976,
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: 781,
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: 146,
description: "EXAMPLE-description-Value",
port: "EXAMPLE-port-Value"
}
],
operator: {
modelType: "TASK_OPERATOR",
retryAttempts: 280,
retryDelayUnit: dataintegration.models.TaskOperator.RetryDelayUnit.Minutes,
retryDelay: 3405.6497,
expectedDuration: 7830.479,
expectedDurationUnit: dataintegration.models.TaskOperator.ExpectedDurationUnit.Days,
taskType: dataintegration.models.TaskOperator.TaskType.IntegrationTask,
task: {
modelType: "INTEGRATION_TASK",
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: 487,
objectStatus: 539,
identifier: "EXAMPLE-identifier-Value",
inputPorts: [
{
modelType: "INPUT_PORT",
portType: dataintegration.models.InputPort.PortType.Control,
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_M5Dqs: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 545,
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: 835,
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_jkHTX: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 957,
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: 106,
name: "EXAMPLE-name-Value",
description: "EXAMPLE-description-Value"
}
],
outputPorts: [
{
modelType: "OUTPUT_PORT",
portType: dataintegration.models.OutputPort.PortType.Control,
fields: [
{
modelType: "DYNAMIC_PROXY_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: false,
objectStatus: 661,
configParameterDefinitions: {
EXAMPLE_KEY_FQF1X: {
parameterName: "EXAMPLE-parameterName-Value",
description: "EXAMPLE-description-Value",
defaultValue: "EXAMPLE-defaultValue-Value",
classFieldName: "EXAMPLE-classFieldName-Value",
isStatic: false,
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: 926,
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_uSBAK: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 660,
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: 699,
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_lWVQR: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 553,
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: 822,
name: "EXAMPLE-name-Value",
description: "EXAMPLE-description-Value"
}
],
parameters: [
{
modelType: "PARAMETER",
type: "EXAMPLE-type-Value",
defaultValue: "EXAMPLE-defaultValue-Value",
rootObjectDefaultValue: "EXAMPLE-rootObjectDefaultValue-Value",
isInput: true,
isOutput: false,
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_t3bfl: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 668,
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: 881,
name: "EXAMPLE-name-Value",
description: "EXAMPLE-description-Value"
}
],
opConfigValues: {
configParamValues: {
EXAMPLE_KEY_HEO6U: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 35,
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,
metadata: {
createdBy: "EXAMPLE-createdBy-Value",
createdByName: "EXAMPLE-createdByName-Value",
updatedBy: "EXAMPLE-updatedBy-Value",
updatedByName: "EXAMPLE-updatedByName-Value",
timeCreated: new Date("Mon Nov 21 19:23:26 UTC 2044"),
timeUpdated: new Date("Tue Nov 30 07:42:12 UTC 2021"),
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_4Hk25: "EXAMPLE_VALUE_lmf9Zr7qlQFgTHyq79r3"
},
registryVersion: 810,
labels: ["EXAMPLE--Value"],
isFavorite: true,
countStatistics: {
objectTypeCountList: [
{
objectType: dataintegration.models.CountStatisticSummary.ObjectType.Folder,
objectCount: 919
}
]
}
},
keyMap: {
EXAMPLE_KEY_OQUyW: "EXAMPLE_VALUE_LBEEQB0WvCr7RfgeZu0E"
},
registryMetadata: {
aggregatorKey: "EXAMPLE-aggregatorKey-Value",
labels: ["EXAMPLE--Value"],
registryVersion: 978,
key: "EXAMPLE-key-Value",
isFavorite: true
}
},
triggerRule: dataintegration.models.TaskOperator.TriggerRule.AllFailed,
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: 117,
inputPorts: [
{
modelType: "INPUT_PORT",
portType: dataintegration.models.InputPort.PortType.Control,
fields: [
{
modelType: "DYNAMIC_INPUT_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: false,
objectStatus: 133,
configParameterDefinitions: {
EXAMPLE_KEY_AoWLe: {
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: 343,
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_oEKfq: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 993,
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: 542,
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_I7QM3: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 124,
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: 361,
name: "EXAMPLE-name-Value",
description: "EXAMPLE-description-Value"
}
],
outputPorts: [
{
modelType: "DYNAMIC_PROXY_FIELD",
type: {
modelType: "CONFIGURED_TYPE",
wrappedType: "EXAMPLE-wrappedType-Value",
configValues: {
configParamValues: {
EXAMPLE_KEY_SnlhO: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 459,
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: false,
objectStatus: 399,
configParameterDefinitions: {
EXAMPLE_KEY_IiwpB: {
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: 733,
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_6t8VY: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 706,
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: 565,
name: "EXAMPLE-name-Value",
description: "EXAMPLE-description-Value"
}
],
objectStatus: 739,
identifier: "EXAMPLE-identifier-Value",
parameters: [
{
modelType: "PARAMETER",
type: "EXAMPLE-type-Value",
defaultValue: "EXAMPLE-defaultValue-Value",
rootObjectDefaultValue: "EXAMPLE-rootObjectDefaultValue-Value",
isInput: true,
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_5ynzZ: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 557,
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: 238,
name: "EXAMPLE-name-Value",
description: "EXAMPLE-description-Value"
}
],
opConfigValues: {
configParamValues: {
EXAMPLE_KEY_pRmRk: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 32,
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: 6803.4736,
coordinateY: 3814.1655
},
objectStatus: 425
}
],
parameters: [
{
modelType: "PARAMETER",
type: "EXAMPLE-type-Value",
defaultValue: "EXAMPLE-defaultValue-Value",
rootObjectDefaultValue: "EXAMPLE-rootObjectDefaultValue-Value",
isInput: true,
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_CkFYu: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 532,
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: 186,
name: "EXAMPLE-name-Value",
description: "EXAMPLE-description-Value"
}
],
description: "EXAMPLE-description-Value",
flowConfigValues: {
configParamValues: {
EXAMPLE_KEY_6T9cM: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 524,
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: 786,
metadata: {
createdBy: "EXAMPLE-createdBy-Value",
createdByName: "EXAMPLE-createdByName-Value",
updatedBy: "EXAMPLE-updatedBy-Value",
updatedByName: "EXAMPLE-updatedByName-Value",
timeCreated: new Date("Mon Sep 12 16:41:55 UTC 2039"),
timeUpdated: new Date("Sun Dec 20 03:57:43 UTC 2009"),
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_e8bUf: "EXAMPLE_VALUE_8ceQnu3NXAHL3nw3knMV"
},
registryVersion: 844,
labels: ["EXAMPLE--Value"],
isFavorite: false,
countStatistics: {
objectTypeCountList: [
{
objectType: dataintegration.models.CountStatisticSummary.ObjectType.DataFlow,
objectCount: 771
}
]
}
},
keyMap: {
EXAMPLE_KEY_WEpyN: "EXAMPLE_VALUE_YMaBw8AvlZru4Iy25GnJ"
},
typedObjectMap: {
EXAMPLE_KEY_eguyG: {
typedObject: {
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_YXTDk: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 854,
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
},
useType: {
modelType: "CONFIGURED_TYPE",
wrappedType: "EXAMPLE-wrappedType-Value",
configValues: {
configParamValues: {
EXAMPLE_KEY_yE2pC: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 834,
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: 57,
configParameterDefinitions: {
EXAMPLE_KEY_uzCt7: {
parameterType: {
modelType: "DYNAMIC_TYPE",
typeHandler: {
modelType: "FLATTEN_TYPE_HANDLER",
key: "EXAMPLE-key-Value",
modelVersion: "EXAMPLE-modelVersion-Value",
parentRef: {
parent: "EXAMPLE-parent-Value",
rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
},
scope: "EXAMPLE-scope-Value",
flattenDetails: "EXAMPLE-flattenDetails-Value",
configValues: {
configParamValues: {
EXAMPLE_KEY_xNXLs: {
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: 945
},
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: 227,
description: "EXAMPLE-description-Value"
},
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: 99,
description: "EXAMPLE-description-Value"
},
type: {
modelType: "DYNAMIC_TYPE",
typeHandler: {
modelType: "RULE_TYPE_CONFIGS",
key: "EXAMPLE-key-Value",
modelVersion: "EXAMPLE-modelVersion-Value",
parentRef: {
parent: "EXAMPLE-parent-Value",
rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
},
scope: "EXAMPLE-scope-Value",
scopeReference: {
referenceObject: "EXAMPLE-referenceObject-Value",
referenceType:
dataintegration.models.ScopeReference.ReferenceType.BoundEntityShape,
refObjectName: "EXAMPLE-refObjectName-Value"
},
isOrderByRule: false,
projectionRules: [
{
modelType: "NAME_PATTERN_RULE",
isSkipRemainingRulesOnMatch: false,
scope: "EXAMPLE-scope-Value",
isCascade: true,
matchingStrategy:
dataintegration.models.NamePatternRule.MatchingStrategy.NameOnly,
isCaseSensitive: false,
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_qEMmx: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 801,
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: 874,
description: "EXAMPLE-description-Value"
}
],
configValues: {
configParamValues: {
EXAMPLE_KEY_vV4jU: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 835,
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: 57
},
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: false,
objectStatus: 785,
configParameterDefinitions: {
EXAMPLE_KEY_jIEjP: {
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: 926,
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_9pUzX: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 766,
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: 695,
name: "EXAMPLE-name-Value",
description: "EXAMPLE-description-Value"
}
}
},
targetFieldMapSummary: {
EXAMPLE_KEY_1cDqD: {
fieldMap: {
modelType: "DIRECT_FIELD_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_pRYuA: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 204,
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:
dataintegration.models.ScopeReference.ReferenceType.BoundEntityShapeField,
refObjectName: "EXAMPLE-refObjectName-Value"
},
targetScopeReference: {
referenceObject: "EXAMPLE-referenceObject-Value",
referenceType:
dataintegration.models.ScopeReference.ReferenceType.BoundEntityShapeField,
refObjectName: "EXAMPLE-refObjectName-Value"
},
objectStatus: 752,
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"
},
name: "EXAMPLE-name-Value",
description: "EXAMPLE-description-Value",
objectVersion: 657,
objectStatus: 3,
identifier: "EXAMPLE-identifier-Value",
inputPorts: [
{
modelType: "INPUT_PORT",
portType: dataintegration.models.InputPort.PortType.Model,
fields: [
{
modelType: "TYPED_EXPRESSION",
expression: "EXAMPLE-expression-Value",
type: "EXAMPLE-type-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_3F0Lv: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 287,
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: 634,
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_zhKR1: {
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: 322,
name: "EXAMPLE-name-Value",
description: "EXAMPLE-description-Value"
}
],
outputPorts: [
{
modelType: "OUTPUT_PORT",
portType: dataintegration.models.OutputPort.PortType.Model,
fields: [
{
modelType: "SHAPE",
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: false,
objectStatus: 466,
configParameterDefinitions: {
EXAMPLE_KEY_YPj9O: {
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: 870,
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_eBeI5: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 894,
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: 746,
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_ELx6n: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 966,
objectValue: "EXAMPLE-objectValue-Value",
refValue: "EXAMPLE-refValue-Value",
parameterValue: "EXAMPLE-parameterValue-Value",
rootObjectValue: "EXAMPLE-rootObjectValue-Value"
}
},
parentRef: {
parent: "EXAMPLE-parent-Value",
rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
}
},
objectStatus: 440,
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: false,
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_KNUWR: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 37,
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,
name: "EXAMPLE-name-Value",
description: "EXAMPLE-description-Value"
}
],
opConfigValues: {
configParamValues: {
EXAMPLE_KEY_n4xRC: {
stringValue: "EXAMPLE-stringValue-Value",
intValue: 488,
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"
}
},
metadata: {
createdBy: "EXAMPLE-createdBy-Value",
createdByName: "EXAMPLE-createdByName-Value",
updatedBy: "EXAMPLE-updatedBy-Value",
updatedByName: "EXAMPLE-updatedByName-Value",
timeCreated: new Date("Fri Jun 22 10:24:05 UTC 2012"),
timeUpdated: new Date("Sun Aug 18 01:15:24 UTC 2041"),
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_xTjcg: "EXAMPLE_VALUE_ttLla94whRENqcSduyt0"
},
registryVersion: 446,
labels: ["EXAMPLE--Value"],
isFavorite: true,
countStatistics: {
objectTypeCountList: [
{
objectType: dataintegration.models.CountStatisticSummary.ObjectType.Application,
objectCount: 905
}
]
}
}
};
const createTaskValidationRequest: dataintegration.requests.CreateTaskValidationRequest = {
workspaceId: "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
createTaskValidationDetails: createTaskValidationDetails,
opcRequestId: "ERA6VBOBAW2NN2VVMHQN<unique_ID>",
opcRetryToken: "EXAMPLE-opcRetryToken-Value"
};
// Send request to the Client.
const createTaskValidationResponse = await client.createTaskValidation(
createTaskValidationRequest
);
} catch (error) {
console.log("createTaskValidation Failed with error " + error);
}
})();