litellm/tests/test_litellm/llms/bedrock
yucheng-berri 42519a7680
Merge pull request #42262 from BerriAI/litellm_bedrock_batch_s3_bucket_owner
* fix(bedrock): send s3BucketOwner on batch input and output data config

Resolve s3_bucket_owner from litellm_params, then optional_params, then
AWS_S3_BUCKET_OWNER and emit it on both S3 data configs so cross-account
batch buckets pass Bedrock ownership validation. Omitted when unset

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(bedrock): build batch output config with explicit returns

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: yucheng <yucheng@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-21 12:59:08 -07:00
..
batches fix(bedrock): send s3BucketOwner on batch input and output data config 2026-09-21 17:27:12 +00:00
chat test(llms): migrate bedrock, baseten and base_llm batch tests to tests/unit 2026-09-20 07:51:50 +00:00
embed Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_bedrock_aws_session_tags 2026-09-10 09:42:22 -07:00
messages/invoke_transformations test: type the eager_input_streaming test helpers and mark constants Final 2026-09-18 13:30:08 -07:00
passthrough/guardrail_translation test(llms): migrate phase 5 provider unit tests to tests/unit 2026-09-20 07:50:38 +00:00
rerank test(llms): migrate phase 5 provider unit tests to tests/unit 2026-09-20 07:50:38 +00:00
search test: unwind environment writes in tests/test_litellm with monkeypatch (#37806) 2026-08-21 20:28:37 -07:00
__init__.py test(batches): add 1:1 test file scaffold for batches component paths (#30529) 2026-06-29 09:22:58 +05:30
event_loop_probe.py refactor: keep the AWS JSON signing helper under llms and bound the probe's refresh wait 2026-09-08 16:20:50 -07:00
test_anthropic_beta_support.py fix(bedrock): allowlist Bedrock Invoke body fields and filter all anthropic-beta values 2026-04-21 11:26:15 -07:00
test_base_aws_llm.py test(bedrock): type the STS recording helper 2026-09-18 11:42:52 -07:00
test_bedrock_common_utils.py test: restore synthetic behavior tests dropped as catalog pins 2026-09-18 05:00:04 +00:00
test_bedrock_ssl_verify.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_claude_platform_provider.py fix(bedrock): forward anthropic-beta headers verbatim on the Claude platform messages path 2026-09-21 11:39:26 -07:00
test_converse_context_management.py feat(context_management): compact_20260112 polyfill for non-Anthropic providers (#28868) 2026-05-30 09:20:05 -07:00
test_cross_region_inference_profile_mapping.py test: delete assertions that pin vendor cost map facts 2026-09-18 00:28:49 +00:00
test_mantle.py fix(bedrock): drop the OpenAI base suffix from BEDROCK_MANTLE_API_BASE before the mantle messages path 2026-09-02 11:51:27 -07:00
test_nova_imported_models.py test: run the 30 test files stranded in the second mirror (#37595) 2026-08-20 10:59:43 -07:00
test_request_metadata.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_web_identity_session_policy.py fix(bedrock): grant the AgentCore for-user invoke action in the web identity session policy 2026-09-14 21:31:45 -07:00