.
This commit is contained in:
parent
bba6d23eae
commit
f9c8836d54
4 changed files with 19 additions and 0 deletions
10
moto/batch/urls.py
Normal file
10
moto/batch/urls.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from __future__ import unicode_literals
|
||||
from .responses import BatchResponse
|
||||
|
||||
url_bases = [
|
||||
"https?://batch.(.+).amazonaws.com",
|
||||
]
|
||||
|
||||
url_paths = {
|
||||
'{0}/$': BatchResponse.dispatch,
|
||||
}
|
||||
6
moto/batch/utils.py
Normal file
6
moto/batch/utils.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from __future__ import unicode_literals
|
||||
import uuid
|
||||
|
||||
|
||||
def make_arn_for_topic(account_id, name, region_name):
|
||||
return "arn:aws:sns:{0}:{1}:{2}".format(region_name, account_id, name)
|
||||
Loading…
Add table
Add a link
Reference in a new issue