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

method "start_dashboard_snapshot_job" missing in release 1.29.4 for Quicksight client #3940

Closed
krastevm opened this issue Nov 21, 2023 · 2 comments
Assignees
Labels
documentation This is a problem with documentation. p2 This is a standard priority issue quicksight

Comments

@krastevm
Copy link

Describe the issue

Using latest release 1.29.4 of SDK https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight.html#
When call method "start_dashboard_snapshot_job" received following error: [ERROR] AttributeError: 'QuickSight' object has no attribute 'start_dashboard_snapshot_job'

Investigation shows that this method is missing in SDK nevertheless is defined into documentation:
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight/client/start_dashboard_snapshot_job.html

Links

SDK - https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight.html#
Method: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight/client/start_dashboard_snapshot_job.html

@krastevm krastevm added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Nov 21, 2023
@RyanFitzSimmonsAK RyanFitzSimmonsAK self-assigned this Nov 21, 2023
@RyanFitzSimmonsAK RyanFitzSimmonsAK added investigating This issue is being investigated and/or work is in progress to resolve the issue. p2 This is a standard priority issue quicksight and removed needs-triage This issue or PR still needs to be triaged. labels Nov 21, 2023
@tim-finnigan
Copy link
Contributor

tim-finnigan commented Nov 22, 2023

Hi @krastevm thanks for reaching out. It looks like support for that command was added in Boto3 1.28.10 / Botocore 1.31.10. I just tested in Boto3 1.29.4 / Botocore 1.32.4 and did not get the "has no attribute..." error:

import boto3
import botocore
print(boto3.__version__)
print(botocore.__version__)

client = boto3.client('quicksight')
client.start_dashboard_snapshot_job()

Please try printing the versions in your script to ensure you're using the intended ones. If you're using Lambda, the default runtimes for Boto3/Botocore are older. Please refer to this article for support: https://repost.aws/knowledge-center/lambda-python-runtime-errors

@tim-finnigan tim-finnigan removed the investigating This issue is being investigated and/or work is in progress to resolve the issue. label Nov 22, 2023
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This is a problem with documentation. p2 This is a standard priority issue quicksight
Projects
None yet
Development

No branches or pull requests

3 participants