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