def METHOD_NAME(name, region=None, key=None, keyid=None, profile=None):
    """
    Returns the full ARN for a given topic name.
    CLI Example:
    .. code-block:: bash
        salt myminion boto_sns.get_arn mytopic
    """
    if name.startswith("arn:aws:sns:"):
        return name
    account_id = __salt__["boto_iam.get_account_id"](
        region=region, key=key, keyid=keyid, profile=profile
    )
    return "arn:aws:sns:{}:{}:{}".format(_get_region(region, profile), account_id, name)