Navigation action empty in Analysis Definition but not in Analysis

Hi!

I am trying to update an analysis as code using an Analysis Definition via Boto3.

I download the definition, add a dropdown and when trying to update the analysis I get the following error:

botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid length for parameter Definition.Sheets[1].Visuals[7].TableVisual.Actions[0].ActionOperations[1].SetParametersOperation.ParameterValueConfigurations, value: 0, valid min length: 1

When looking into it, it is related to a “Navigation Action” in a visual. In the json from the Analysis Definition the action appears as follows, with no ParameterValueConfigurations empty:

"Actions": [
    {
        "CustomActionId": "foo123",
        "Name": "Filter Sub-Equip & Variable",
        "Status": "ENABLED",
        "Trigger": "DATA_POINT_MENU",
        "ActionOperations": [
            {
                "NavigationOperation": {
                    "LocalNavigationConfiguration": {
                        "TargetSheetId": "sheet456"
                    }
                }
            },
            {
                "SetParametersOperation": {
                    "ParameterValueConfigurations": []
                }
            }
        ]
    }
]

However, when looking in the original analysis, this action is configured with valid values:

Could this be a bug?

Version

> aws --version
aws-cli/2.11.20 Python/3.11.3 Darwin/21.6.0 exe/x86_64 prompt/off

I think it is one.

I would recommend filing a case with AWS Support where we can dive into the details so that we can help you further. Here are the steps to open a support case. If your company has someone who manages your AWS account, you might not have direct access to AWS Support and will need to raise an internal ticket to your IT team or whomever manages your AWS account. They should be able to open an AWS Support case on your behalf. Hope this helps!