Skip to content

Commit 2e20efe

Browse files
committed
Add ap-southeast-2 to aws region specific endpoints
1 parent b59ff17 commit 2e20efe

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

docs/API.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,9 @@ __Parameters__
127127
| | |eu-west-1 |
128128
| | | eu-central-1|
129129
| | | ap-southeast-1|
130-
| | | ap-northeast-1|
131130
| | | ap-southeast-2|
131+
| | | ap-northeast-1|
132+
| | | ap-northeast-2|
132133
| | | sa-east-1|
133134
| | | cn-north-1|
134135

minio/api.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,10 @@ def make_bucket(self, bucket_name, location='us-east-1'):
219219
Make a new bucket on the server.
220220
221221
Optionally include Location.
222-
['us-east-1', 'us-west-1', 'us-west-2', 'eu-west-1', 'eu-central-1',
223-
'ap-southeast-1', 'ap-southeast-2', 'ap-northeast-1', 'sa-east-1',
224-
'cn-north-1']
222+
['us-east-1', 'us-east-2', 'us-west-1', 'us-west-2', 'eu-west-1',
223+
'eu-west-2', 'ca-central-1', 'eu-central-1', 'sa-east-1',
224+
'cn-north-1', 'ap-southeast-1', 'ap-southeast-2',
225+
'ap-northeast-1', 'ap-northeast-2']
225226
226227
Examples:
227228
minio.make_bucket('foo')

minio/helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ def read_full(data, size):
189189
'eu-central-1': 's3-eu-central-1.amazonaws.com',
190190
'ap-south-1': 's3.ap-south-1.amazonaws.com',
191191
'ap-southeast-1': 's3-ap-southeast-1.amazonaws.com',
192+
'ap-southeast-2': 's3-ap-southeast-2.amazonaws.com',
192193
'ap-northeast-1': 's3-ap-northeast-1.amazonaws.com',
193194
'ap-northeast-2': 's3-ap-northeast-2.amazonaws.com',
194195
'cn-north-1': 's3.cn-north-1.amazonaws.com.cn'

0 commit comments

Comments
 (0)