<reponame>EvaSDK/moto<gh_stars>0
from __future__ import unicode_literals
import uuid


def make_arn_for_topic(account_id, name):
    return "arn:aws:sns:us-east-1:{0}:{1}".format(account_id, name)


def make_arn_for_subscription(topic_arn):
    subscription_id = uuid.uuid4()
    return "{0}:{1}".format(topic_arn, subscription_id)

from __future__ import unicode_literals
import uuid


def make_arn_for_topic(account_id, name):
    return "arn:aws:sns:us-east-1:{0}:{1}".format(account_id, name)


def make_arn_for_subscription(topic_arn):
    subscription_id = uuid.uuid4()
    return "{0}:{1}".format(topic_arn, subscription_id)