Skip to content

Commit aa4a05f

Browse files
juliodelgadoawsandremoeller
authored andcommitted
Add ap-northeast-1 (Tokio) region support (#196)
1 parent c0ab61a commit aa4a05f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/sagemaker/amazon/amazon_estimator.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,16 @@ def registry(region_name, algorithm=None):
236236
"us-east-1": "382416733822",
237237
"us-east-2": "404615174143",
238238
"us-west-2": "174872318107",
239-
"eu-west-1": "438346466558"
239+
"eu-west-1": "438346466558",
240+
"ap-northeast-1": "351501993468"
240241
}[region_name]
241242
elif algorithm in ["lda"]:
242243
account_id = {
243244
"us-east-1": "766337827248",
244245
"us-east-2": "999911452149",
245246
"us-west-2": "266724342769",
246-
"eu-west-1": "999678624901"
247+
"eu-west-1": "999678624901",
248+
"ap-northeast-1": "258307448986"
247249
}[region_name]
248250
else:
249251
raise ValueError("Algorithm class:{} doesn't have mapping to account_id with images".format(algorithm))

0 commit comments

Comments
 (0)