Commit 0c57292
fix: Remove ExpectedBucketOwner parameter from create_bucket method
The ExpectedBucketOwner parameter is not supported by the S3 create_bucket
API call. It is only valid for operations on existing buckets.
This fix removes the parameter from both us-east-1 and regional bucket
creation calls, resolving API errors during bucket creation.
Changes:
- Removed ExpectedBucketOwner from create_bucket() calls in s3.py
- Updated test assertions to match corrected API calls
Fixes #330
Related to PR #331
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 9714c81 commit 0c57292
File tree
2 files changed
+4
-10
lines changed- src/bedrock_agentcore_starter_toolkit/services
- tests/services
2 files changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 72 | + | |
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
| 140 | + | |
143 | 141 | | |
144 | 142 | | |
145 | 143 | | |
| |||
0 commit comments