Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QuickSight > SearchAnalysesCommand > Filters limit missing #6468

Closed
naminders opened this issue Sep 13, 2024 · 3 comments
Closed

QuickSight > SearchAnalysesCommand > Filters limit missing #6468

naminders opened this issue Sep 13, 2024 · 3 comments
Assignees
Labels
documentation This is a problem with documentation. p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.

Comments

@naminders
Copy link

Describe the issue

In the quicksight client documentation for QuickSight > SearchAnalysesCommand
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/quicksight/command/SearchAnalysesCommand/

Filters can have only 1 filter at a time, otherwise an error would be thrown:
'filters' failed to satisfy constraint: Member must have length less than or equal to 1

Eg:
ValidationException: 1 validation error detected: Value '[AnalysisSearchFilter(operator=StringLike, name=ANALYSIS_NAME, value=csv), AnalysisSearchFilter(operator=StringLike, name=ANALYSIS_NAME, value=transaction)]' at 'filters' failed to satisfy constraint: Member must have length less than or equal to 1

Links

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/quicksight/command/SearchAnalysesCommand/

@naminders naminders added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Sep 13, 2024
@aBurmeseDev aBurmeseDev self-assigned this Sep 16, 2024
@aBurmeseDev
Copy link
Contributor

Hi @naminders - thanks for reaching out.

The behavior you mentioned is anticipated because the Filters array is designed to have a fixed number of one item. This is documented in the AWS QuickSight API Reference for the SearchAnalyses operation: https://docs.aws.amazon.com/quicksight/latest/APIReference/API_SearchAnalyses.html#API_SearchAnalyses_RequestBody

Since this is a service team requirement, SDK does not have control over it. However, I will update the SDK documentation to align with the service documentation for clarity.

Best,
John

@aBurmeseDev aBurmeseDev added response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days. p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Sep 16, 2024
@naminders
Copy link
Author

Thanks @aBurmeseDev for the link, yeah aligning the documentation would be great.

I'll close the query.

Copy link

github-actions bot commented Oct 3, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation This is a problem with documentation. p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Projects
None yet
Development

No branches or pull requests

2 participants