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

client('connect') has no method update_participant_authentication #4413

Closed
mderner-ca opened this issue Jan 29, 2025 · 2 comments
Closed

client('connect') has no method update_participant_authentication #4413

mderner-ca opened this issue Jan 29, 2025 · 2 comments
Assignees
Labels
bug This issue is a confirmed bug. connect documentation This is a problem with documentation. p2 This is a standard priority issue response-requested Waiting on additional information or feedback.

Comments

@mderner-ca
Copy link

Describe the issue

The documentation for boto3 connect client describes a method update_participant_authentication. However, when calling this method an AttributeError is raised stating that there is no such method associated with a Connect client.

{
    "timestamp": "2025-01-28T15:32:38Z",
    "log_level": "ERROR",
    "errorMessage": "'Connect' object has no attribute 'update_participant_authentication'",
    "errorType": "AttributeError",
    "requestId": "ae96fad7-6a07-4834-9130-fbec6a6cf26c",
    "stackTrace": [
        "  File \"/var/task/handler.py\", line 38, in handler\n    response = CONNECT.update_participant_authentication(\n",
        "  File \"/var/lang/lib/python3.11/site-packages/botocore/client.py\", line 918, in __getattr__\n    raise AttributeError(\n"
    ]
}

Links

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connect/client/update_participant_authentication.html

@mderner-ca mderner-ca added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Jan 29, 2025
@RyanFitzSimmonsAK RyanFitzSimmonsAK self-assigned this Jan 29, 2025
@RyanFitzSimmonsAK RyanFitzSimmonsAK added investigating This issue is being investigated and/or work is in progress to resolve the issue. connect p2 This is a standard priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Jan 29, 2025
@RyanFitzSimmonsAK
Copy link
Contributor

Hi @mderner-ca, thanks for reaching out. Could you verify what version of Boto3 you are using? It looks like the UpdateParticipantAuthentication operation was added in 1.35.84, and if you aren't using a version more recent than that, you would get this AttributeError.

@RyanFitzSimmonsAK RyanFitzSimmonsAK added response-requested Waiting on additional information or feedback. bug This issue is a confirmed bug. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Jan 29, 2025
@mderner-ca
Copy link
Author

Whoops! I was using 1.34.145, I just assumed that the default installation of boto3 on a Lambda would be up to date but it turns out that it isn't.

Thank you for pointing this out. All the best!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a confirmed bug. connect documentation This is a problem with documentation. p2 This is a standard priority issue response-requested Waiting on additional information or feedback.
Projects
None yet
Development

No branches or pull requests

2 participants