john-jac opened a new pull request, #66140:
URL: https://github.com/apache/airflow/pull/66140

   ## What
   
   Add `BedrockDeleteGuardrailOperator` to delete Amazon Bedrock guardrails.
   
   ## Why
   
   Complements `BedrockCreateGuardrailOperator` (#66035, merged) to provide 
full lifecycle management of guardrails. The system test previously used a 
`@task` with raw boto3 for deletion — this operator replaces that workaround.
   
   ## What was done
   
   - **Operator**: `BedrockDeleteGuardrailOperator` with `guardrail_identifier` 
and optional `guardrail_version`, using `prune_dict`. Added to existing 
`bedrock.py`.
   - **Unit tests**: Added to existing `test_bedrock.py` — happy path, version 
param, template fields
   - **System test**: Updated `example_bedrock_guardrail.py` — replaced `@task 
delete_guardrail` with operator
   - **Docs**: Added delete section to `bedrock.rst` before Reference


-- 
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]

Reply via email to