May I please know more about OverrideValidationStrategy parameter of start_asset_bundle_import_job API? Especially StrictModeForAllResources, what does strict/lenient mean? When I asked ChatGPT, it gave below response. I tested import job repeatedly by making changes and it kept overwriting the already existing analysis. Not sure where ChatGPT got this information. I could not find detailed explanation anywhere.
Appreciate any help.
ChatGPT’s response:
When StrictModeForAllResources
is set to true
: The import job will fail if any resource in the import bundle already exists in the target environment. This mode is useful if you want to ensure that no existing resources will be overwritten or updated accidentally. The job will stop and report any conflicts.
When StrictModeForAllResources
is set to false
: The import job will allow existing resources in the target environment to be updated if they have the same resource IDs as those in the bundle. This setting is helpful if you want to refresh or update existing assets without creating duplicates.