Search_group API for quicksight not working

Seems some of QS boto3 API like search groups not working below is API and their response

qs_client_ = boto3.client('quicksight')
    response = qs_client_.search_groups(
    AwsAccountId='string',
    Namespace='default',
    Filters=[
        {
            'Operator': 'StartsWith',
            'Name': 'GROUP_NAME',
            'Value': 'demo-group2'
        },
    ])
    return response
{
  "errorMessage": "'QuickSight' object has no attribute 'search_groups'",
  "errorType": "AttributeError",
  "stackTrace": [
    "  File \"/var/task/lambda_function.py\", line 9, in lambda_handler\n    response = search_group()\n",
    "  File \"/var/task/lambda_function.py\", line 181, in search_group\n    response = qs_client_.search_groups(\n",
    "  File \"/var/runtime/botocore/client.py\", line 659, in __getattr__\n    self.__class__.__name__, item)\n"
  ]
}

any solution around this

Hi,

Thank you for bringing this to our attention. We are actively working on diagnosing and fixing the problem.

Thanks

Hi Kushal,

Please try updating your python sdk version to the latest release, 1.22.2. You can follow the steps in the boto3 docs and enter

pip install boto3

to upgrade your SDK version. Once you have upgraded, you can verify your installation with:

>>> import boto3
>>> boto3.__version__
'1.22.2'