I'm getting "Unknown parameter in input " while I try update analysis definition thorugh AWS CLI

I’m trying to update the analysis template definition.

I run the command :

aws quicksight describe-analysis-definition --aws-account-id <> --analysis-id <> > devml.json --profile <> to get analysis definition

And I’m trying to update the analysis definition using the command :

aws quicksight update-analysis --aws-account-id <> --analysis-id <> --cli-input-json file://./dev_ml-definition/devml.json --profile <>

and get the error :

Parameter validation failed:
Unknown parameter in input: “Status”, must be one of: AwsAccountId, AnalysisId, Name, Parameters, SourceEntity, ThemeArn, Definition, ValidationStrategy
Unknown parameter in input: “Errors”, must be one of: AwsAccountId, AnalysisId, Name, Parameters, SourceEntity, ThemeArn, Definition, ValidationStrategy
Unknown parameter in input: “ResourceStatus”, must be one of: AwsAccountId, AnalysisId, Name, Parameters, SourceEntity, ThemeArn, Definition, ValidationStrategy
Unknown parameter in input: “RequestId”, must be one of: AwsAccountId, AnalysisId, Name, Parameters, SourceEntity, ThemeArn, Definition, ValidationStrategy

Hi @PedroRodriguezxX ,

It seems like you used the complete response from the describe-analysis comand as input for the update-analysis prompt.

The input for aws quicksight update-analysis needs to be the part that is in in the attribute “Definition” of your response.

Best regards,
Nico

1 Like

Hi @PedroRodriguezxX,
It’s been awhile since we last heard from you; did you have any additional questions or were you able to find a solution from the information provided above?

If we do not hear back within the next 3 business days, I’ll go ahead and close out this topic.

Thank you!

Hi @PedroRodriguezxX,
Since we haven’t heard back, I’ll go ahead and close out this topic. However, if you have any additional questions, feel free to create a new post in the community and link this discussion for any relevant information that may be needed.

Thank you!