def get_account_id_from_arn(trail_arn):
    return trail_arn.split(':')[4]
.. todo::
dataset/ETHPy150Open aws/aws-cli/awscli/customizations/cloudtrail/utils.py/get_account_id_from_arn--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/packaged_dependencies/theano_linear/unshared_conv/localdot.py/LocalDot.rmul_T