// 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 createPipelineValidationDetails = {
      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",
      modelType: "EXAMPLE-modelType-Value",
      objectVersion: 361,
      objectStatus: 431,
      identifier: "EXAMPLE-identifier-Value",
      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_0GpRl: {
                      stringValue: "EXAMPLE-stringValue-Value",
                      intValue: 688,
                      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.OciFunctionOutputShape,
                  refObjectName: "EXAMPLE-refObjectName-Value"
                },
                targetScopeReference: {
                  referenceObject: "EXAMPLE-referenceObject-Value",
                  referenceType:
                    dataintegration.models.ScopeReference.ReferenceType.BoundEntityShapeField,
                  refObjectName: "EXAMPLE-refObjectName-Value"
                },
                objectStatus: 452,
                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: 798,
              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: 47,
              description: "EXAMPLE-description-Value",
              port: "EXAMPLE-port-Value"
            }
          ],
          operator: {
            modelType: "AGGREGATOR_OPERATOR",
            groupByColumns: {
              modelType: "DYNAMIC_PROXY_FIELD",
              type: {
                modelType: "COMPOSITE_TYPE",
                elements: [
                  {
                    modelType: "DYNAMIC_INPUT_FIELD",
                    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_sIWGj: {
                          stringValue: "EXAMPLE-stringValue-Value",
                          intValue: 16,
                          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: 48,
                    name: "EXAMPLE-name-Value",
                    description: "EXAMPLE-description-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: 503,
                  configParameterDefinitions: {
                    EXAMPLE_KEY_Dc2Yi: {
                      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: 352,
                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_3Lzvn: {
                    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: 0,
              name: "EXAMPLE-name-Value",
              description: "EXAMPLE-description-Value"
            },
            materializedGroupByColumns: {
              modelType: "MATERIALIZED_DYNAMIC_FIELD",
              scope: "EXAMPLE-scope-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: false,
                  objectStatus: 196,
                  configParameterDefinitions: {
                    EXAMPLE_KEY_2HjgQ: {
                      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: 448,
                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_sKiF0: {
                    stringValue: "EXAMPLE-stringValue-Value",
                    intValue: 971,
                    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: 62,
              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"
            },
            name: "EXAMPLE-name-Value",
            description: "EXAMPLE-description-Value",
            objectVersion: 103,
            inputPorts: [
              {
                modelType: "INPUT_PORT",
                portType: dataintegration.models.InputPort.PortType.Control,
                fields: [
                  {
                    modelType: "INPUT_PROXY_FIELD",
                    scope: "EXAMPLE-scope-Value",
                    type: {
                      modelType: "DATA_TYPE",
                      dtType: dataintegration.models.DataType.DtType.Structured,
                      typeSystemName: "EXAMPLE-typeSystemName-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: 130,
                        configParameterDefinitions: {
                          EXAMPLE_KEY_8bYt0: {
                            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: 574,
                      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_hUjAN: {
                          stringValue: "EXAMPLE-stringValue-Value",
                          intValue: 6,
                          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: 235,
                    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_IJ1Qv: {
                      stringValue: "EXAMPLE-stringValue-Value",
                      intValue: 200,
                      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: 24,
                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_N6ZhH: {
                        stringValue: "EXAMPLE-stringValue-Value",
                        intValue: 583,
                        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: 434
                },
                useType: {
                  modelType: "CONFIGURED_TYPE",
                  wrappedType: "EXAMPLE-wrappedType-Value",
                  configValues: {
                    configParamValues: {
                      EXAMPLE_KEY_JQaSX: {
                        stringValue: "EXAMPLE-stringValue-Value",
                        intValue: 353,
                        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: 871,
                    configParameterDefinitions: {
                      EXAMPLE_KEY_TtbBk: {
                        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: 821,
                          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: 308,
                  description: "EXAMPLE-description-Value"
                },
                type: {
                  modelType: "CONFIGURED_TYPE",
                  wrappedType: "EXAMPLE-wrappedType-Value",
                  configValues: {
                    configParamValues: {
                      EXAMPLE_KEY_mDkv5: {
                        stringValue: "EXAMPLE-stringValue-Value",
                        intValue: 376,
                        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: 519,
                    configParameterDefinitions: {
                      EXAMPLE_KEY_ku3pu: {
                        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: 510,
                  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_lQCbC: {
                      stringValue: "EXAMPLE-stringValue-Value",
                      intValue: 184,
                      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: 198,
                name: "EXAMPLE-name-Value",
                description: "EXAMPLE-description-Value"
              }
            ],
            objectStatus: 394,
            identifier: "EXAMPLE-identifier-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.Sum,
                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_FIzfU: {
                      stringValue: "EXAMPLE-stringValue-Value",
                      intValue: 867,
                      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: 278,
                name: "EXAMPLE-name-Value",
                description: "EXAMPLE-description-Value"
              }
            ],
            opConfigValues: {
              configParamValues: {
                EXAMPLE_KEY_FxNsh: {
                  stringValue: "EXAMPLE-stringValue-Value",
                  intValue: 606,
                  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: 6787.6333,
            coordinateY: 3763.792
          },
          objectStatus: 304
        }
      ],
      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_zpLE6: {
                stringValue: "EXAMPLE-stringValue-Value",
                intValue: 869,
                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: 291,
          name: "EXAMPLE-name-Value",
          description: "EXAMPLE-description-Value"
        }
      ],
      flowConfigValues: {
        configParamValues: {
          EXAMPLE_KEY_C6Jrv: {
            stringValue: "EXAMPLE-stringValue-Value",
            intValue: 510,
            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"
        }
      },
      variables: [
        {
          key: "EXAMPLE-key-Value",
          modelVersion: "EXAMPLE-modelVersion-Value",
          modelType: "EXAMPLE-modelType-Value",
          parentRef: {
            parent: "EXAMPLE-parent-Value",
            rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
          },
          name: "EXAMPLE-name-Value",
          description: "EXAMPLE-description-Value",
          objectVersion: 496,
          objectStatus: 875,
          identifier: "EXAMPLE-identifier-Value",
          type: {
            modelType: "DERIVED_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: 849,
            description: "EXAMPLE-description-Value"
          },
          configValues: {
            configParamValues: {
              EXAMPLE_KEY_ph11x: {
                stringValue: "EXAMPLE-stringValue-Value",
                intValue: 872,
                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"
            }
          },
          defaultValue: "EXAMPLE-defaultValue-Value",
          rootObjectDefaultValue: {
            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"
            },
            objectStatus: 798
          }
        }
      ],
      metadata: {
        createdBy: "EXAMPLE-createdBy-Value",
        createdByName: "EXAMPLE-createdByName-Value",
        updatedBy: "EXAMPLE-updatedBy-Value",
        updatedByName: "EXAMPLE-updatedByName-Value",
        timeCreated: new Date("Fri Apr 18 01:04:30 UTC 2036"),
        timeUpdated: new Date("Mon Sep 09 09:30:02 UTC 2047"),
        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_yfyJx: "EXAMPLE_VALUE_pggSpX9grLltN7HQhi53"
        },
        registryVersion: 644,
        labels: ["EXAMPLE--Value"],
        isFavorite: false,
        countStatistics: {
          objectTypeCountList: [
            {
              objectType: dataintegration.models.CountStatisticSummary.ObjectType.Task,
              objectCount: 391
            }
          ]
        }
      }
    };

    const createPipelineValidationRequest: dataintegration.requests.CreatePipelineValidationRequest = {
      workspaceId: "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
      createPipelineValidationDetails: createPipelineValidationDetails,
      opcRequestId: "AICNP2LIRN0J5QR2ZVNI<unique_ID>",
      opcRetryToken: "EXAMPLE-opcRetryToken-Value"
    };

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