AlejandroMorgante opened a new pull request, #67984: URL: https://github.com/apache/airflow/pull/67984
Adds three operators and two hooks for managing Amazon Bedrock AgentCore Runtimes. ## New operators - **`BedrockCreateAgentRuntimeOperator`** — creates an AgentCore Runtime and waits for it to reach `READY` state. Supports synchronous waiting (via custom waiter) and fully deferrable mode using `BedrockAgentRuntimeReadyTrigger`. - **`BedrockInvokeAgentRuntimeOperator`** — invokes an AgentCore Runtime with a payload (dict/list/str/bytes) and returns the response body, deserializing JSON when the content type indicates it. - **`BedrockDeleteAgentRuntimeOperator`** — deletes an AgentCore Runtime by ID. ## New hooks - **`BedrockAgentCoreControlHook`** — wraps `bedrock-agentcore-control` for create/get/delete operations. - **`BedrockAgentCoreHook`** — wraps `bedrock-agentcore` for runtime invocation. ## Other changes - Custom waiter definition `bedrock-agentcore-control.json` with `agent_runtime_ready` waiter (success: `READY`, retry: `CREATING`/`UPDATING`, failure: `CREATE_FAILED`/`UPDATE_FAILED`/`DELETING`). - Unit tests for all new operators, hooks, trigger, and waiter (127 tests passing). - Documentation for all three operators in `providers/amazon/docs/operators/bedrock.rst`. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Sonnet 4.6) Generated-by: Claude Code (Sonnet 4.6) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
