File tree 3 files changed +16
-2
lines changed
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
+ ## [ v0.14.1] - 2024-02-16
4
+ - Fix endpoints for global AWS services
5
+
3
6
## [ v0.14.0] - 2024-01-05
4
7
- Add support for the ec2 protocol
5
8
- Add docs for multipart upload to S3
Original file line number Diff line number Diff line change @@ -201,8 +201,19 @@ defmodule AWS.Request do
201
201
% { global?: true , endpoint: endpoint } ->
202
202
endpoint = resolve_endpoint_sufix ( endpoint )
203
203
204
+ region =
205
+ if metadata . credential_scope != nil do
206
+ metadata . credential_scope
207
+ else
208
+ client . region
209
+ end
210
+
204
211
build_final_endpoint (
205
- [ to_string ( metadata [ :host_prefix ] ) <> metadata . endpoint_prefix , endpoint ] ,
212
+ [
213
+ to_string ( metadata [ :host_prefix ] ) <> metadata . endpoint_prefix ,
214
+ region ,
215
+ endpoint
216
+ ] ,
206
217
build_options
207
218
)
208
219
Original file line number Diff line number Diff line change 1
1
defmodule AWS.Mixfile do
2
2
use Mix.Project
3
3
4
- @ version "0.14.0 "
4
+ @ version "0.14.1 "
5
5
@ repo_url "https://github.com/aws-beam/aws-elixir"
6
6
7
7
def project do
You can’t perform that action at this time.
0 commit comments