-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathregions.py
67 lines (64 loc) · 1.15 KB
/
regions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
class Country(object):
AU = 'AU'
BR = 'BR'
CA = 'CA'
FR = 'FR'
DE = 'DE'
IN = 'IN'
IT = 'IT'
JP = 'JP'
MX = 'MX'
NL = 'NL'
PL = 'PL'
SG = 'SG'
SA = 'SA'
ES = 'ES'
SE = 'SE'
TR = 'TR'
AE = 'AE'
UK = 'UK'
US = 'US'
"""Available regions for the Amazon API."""
REGIONS = {
'AU': 'us-west-2',
'BR': 'us-east-1',
'CA': 'us-east-1',
'FR': 'eu-west-1',
'DE': 'eu-west-1',
'IN': 'eu-west-1',
'IT': 'eu-west-1',
'JP': 'us-west-2',
'MX': 'us-east-1',
'NL': 'eu-west-1',
'PL': 'eu-west-1',
'SG': 'us-west-2',
'SA': 'eu-west-1',
'ES': 'eu-west-1',
'SE': 'eu-west-1',
'TR': 'eu-west-1',
'AE': 'eu-west-1',
'UK': 'eu-west-1',
'US': 'us-east-1'
}
"""Domains for each region on the Amazon API."""
DOMAINS = {
'AU': 'com.au',
'BR': 'com.br',
'CA': 'ca',
'FR': 'fr',
'DE': 'de',
'IN': 'in',
'IT': 'it',
'JP': 'co.jp',
'MX': 'com.mx',
'NL': 'nl',
'PL': 'pl',
'SG': 'sg',
'SA': 'sa',
'ES': 'es',
'SE': 'se',
'TR': 'com.tr',
'AE': 'ae',
'UK': 'co.uk',
'US': 'com',
}