Describe_data_set in boto3 is not showing the dataset_parameters

Hi,

I created a dataset with dataset_parameters. I am using boto3 describe_data_set function . It does not include the dataset_parameters in the dataset. Please assist as to what I am missing.

Thanks,
Amita

Hi @adevaraj - Can you write the output to a notepad and see the results… Also if you can give the screenshot what are you looking for, it will help in guiding you the correct solution.

Regards - Sanjeeb

1 Like

Hi @Sanjeeb2022,

Here is the code snippet from boto3 python file.

logical_table = client.describe_data_set(AwsAccountId=account_id, DataSetId=logical_dataset_id)
print (format(logical_table))

with open('dataset_sdk.txt','w') as data: 
  data.write(format(logical_table))

Here is the api command:
aws quicksight describe-data-set --aws-account-id 502700271537 --data-set-id “e739c3e4-e07e-44f7-9600-c232dbf444f0” >dataset_api.txt.

You can see the dataset parameters in the api file but not the sdk file.

Please help.

Thanks,
Amita

It won’t let me upload the files. Here is the screenshots.


Hi @adevaraj - Thanks. Can you please raise a ticket to AWS Customer support team so that they can see your details by screen share and guide you as details are not clear over here. To raise a ticket, please follow the link - Creating support cases and case management - AWS Support

If you do not have access, request your aws admin team to help you on this.

Regards - Sanjeeb

1 Like

@adevaraj : check/upgrade boto3 version

Kind regards,
Koushik

1 Like

@Koushik_Muthanna ,

WE have pip3 show boto3
Name: boto3
Version: 1.26.95
Summary: The AWS SDK for Python
Home-page: GitHub - boto/boto3: AWS SDK for Python
Author: Amazon Web Services
Author-email: None
License: Apache License 2.0
Location: /usr/local/lib/python3.7/site-packages
Requires: jmespath, botocore, s3transfer
Required-by: serverlessrepo, aws-sam-translator, aws-sam-cli

Updating the boto3 to 1.26.135 fixed the issue. Thanks

1 Like

Great to hear this @adevaraj . Can you please mark your details as solution so that it can help other team members of the community.

Regards -Sanjeeb

1 Like

You need to update botocore and boto3.
pip install botocore --upgrade
pip install boto3 --upgrade

2 Likes