This file is indexed.

/usr/lib/python2.7/dist-packages/boto/cloudtrail/exceptions.py is in python-boto 2.34.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
"""
Exceptions that are specific to the cloudtrail module.
"""
from boto.exception import BotoServerError


class InvalidSnsTopicNameException(BotoServerError):
    """
    Raised when an invalid SNS topic name is passed to Cloudtrail.
    """
    pass


class InvalidS3BucketNameException(BotoServerError):
    """
    Raised when an invalid S3 bucket name is passed to Cloudtrail.
    """
    pass


class TrailAlreadyExistsException(BotoServerError):
    """
    Raised when the given trail name already exists.
    """
    pass


class InsufficientSnsTopicPolicyException(BotoServerError):
    """
    Raised when the SNS topic does not allow Cloudtrail to post
    messages.
    """
    pass


class InvalidTrailNameException(BotoServerError):
    """
    Raised when the trail name is invalid.
    """
    pass


class InternalErrorException(BotoServerError):
    """
    Raised when there was an internal Cloudtrail error.
    """
    pass


class TrailNotFoundException(BotoServerError):
    """
    Raised when the given trail name is not found.
    """
    pass


class S3BucketDoesNotExistException(BotoServerError):
    """
    Raised when the given S3 bucket does not exist.
    """
    pass


class TrailNotProvidedException(BotoServerError):
    """
    Raised when no trail name was provided.
    """
    pass


class InvalidS3PrefixException(BotoServerError):
    """
    Raised when an invalid key prefix is given.
    """
    pass


class MaximumNumberOfTrailsExceededException(BotoServerError):
    """
    Raised when no more trails can be created.
    """
    pass


class InsufficientS3BucketPolicyException(BotoServerError):
    """
    Raised when the S3 bucket does not allow Cloudtrail to
    write files into the prefix.
    """
    pass