Skip to content

Feature request: Enable Bedrock Agents user confirmation #6500

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

Closed
1 of 2 tasks
lorenzomicheli opened this issue Apr 16, 2025 · 3 comments · Fixed by #6510
Closed
1 of 2 tasks

Feature request: Enable Bedrock Agents user confirmation #6500

lorenzomicheli opened this issue Apr 16, 2025 · 3 comments · Fixed by #6510
Assignees
Labels
event_sources Event Source Data Class utility feature-request feature request openapi-schema pending-release Fix or implementation already in dev waiting to be released

Comments

@lorenzomicheli
Copy link

Use case

To use the User Confirmation feature of Bedrock Agents, it requires to set the field "x-requireConfirmation":"ENABLED" in the api schema file like shown in insurance_claims_agent_openapi_schema.json.

I understand that this can be achieved in PowerTools using openapi_extensions.

BedrockAgentResolver does not expose openapi_extensions which is instead exposed by the parent class APIGatewayRestResolver.

Solution/User Experience

When calling a decorator from BedrockAgentResolver, I would like to set the openapi_extension parameter with a dictionary which i can use to customize the generated openapi schema file

Alternative solutions

Acknowledgment

@lorenzomicheli lorenzomicheli added feature-request feature request triage Pending triage from maintainers labels Apr 16, 2025
Copy link

boring-cyborg bot commented Apr 16, 2025

Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link

@leandrodamascena
Copy link
Contributor

Hey @lorenzomicheli! Thanks a lot for opening this issue, indeed we need to support this field!

I have a PR to add this support: #6510

@leandrodamascena leandrodamascena moved this from Triage to Working on it in Powertools for AWS Lambda (Python) Apr 17, 2025
@leandrodamascena leandrodamascena linked a pull request Apr 17, 2025 that will close this issue
7 tasks
@github-project-automation github-project-automation bot moved this from Working on it to Coming soon in Powertools for AWS Lambda (Python) Apr 17, 2025
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

This issue is now closed. Please be mindful that future comments 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.

@github-actions github-actions bot added the pending-release Fix or implementation already in dev waiting to be released label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
event_sources Event Source Data Class utility feature-request feature request openapi-schema pending-release Fix or implementation already in dev waiting to be released
Projects
Status: Coming soon
2 participants