Create a list of object-based import rules for the specified deployment. Delete all previous rules applied to the same object.
NOTE: Import rules must be applied to individual deployments.
The generated rules apply to all flows that are imported into the deployment after they has been created.
NOTE: Deployments pertain to Production instances of the Designer Cloud Powered by Trifacta® platform. For more information, see Overview of Deployment Manager.
The response contains any previously created rules that have been deleted as a result of this change.
You can also make replacements in the import package based on value mappings. See API Deployments Value Import Rules Patch v4.
NOTE: Each request to the Designer Cloud Powered by Trifacta® platform must include authentication credentials. See https://api.trifacta.com/ee/6.8/index.html#section/Authentication.
|Internal identifier for the deployment|
Request URI - Example:
Request Body Example: Replace connection
The following JSON array describes replacing the connection specified by the UUID, which is a field on the connection object exported from the original platform instance. This connection reference is replaced by a reference to connection ID
1 in the local platform instance and is applied to any release uploaded into the deployment after the rule has been created:
You can specify matching values using string literals.
|Match Type||Example Syntax|
NOTE: Use of Alteryx patterns or regular expressions is not supported.
For more information on patterns, see Text Matching.
Request Body Example: Replace multiple connections
This example request includes replacements for multiple connection references.
NOTE: Rules are applied in the listed order. If you are applying multiple rules to the same object in the import package, the second rule must reference the expected changes applied by the first rule.
This type of replacement applies if the imported packages contain sources that are imported through two separate connections:
Response Status Code - Success:
200 - OK
The response body contains any previously created rules that have been deleted as a result of this update.
Response Body Example: All new rule, no deletions
If the update does not overwrite any previous rules, then no rules are deleted. So, the response looks like the following:
Response Body Example: Replace connection
If you submit the request again, the response contains the rule definition of the previous update, which has been deleted. This example applies to the one-rule change listed previously:
|onCondition||The matching object identifier and the specified literal or pattern to match.|
|withCondition||The identifier for the object type, as specified in by the |
|id||Internal identifier for the object import rule|
Name of the table to which the mapping is applied. Values:
|creator.id||Internal identifier of the user who created the deleted rule|
|updater.id||Internal identifier of the user who last updated the deleted rule|
|deployment.id||Internal identifier for the deployment to which to apply the import rule.|
This page has no comments.