Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Unified Diff: tools/telemetry/third_party/gsutil/third_party/boto/boto/cloudtrail/exceptions.py

Issue 1258583006: Add gsutil 4.13 to telemetry/third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo all other changes so this just add gsutil to third_party Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/third_party/gsutil/third_party/boto/boto/cloudtrail/exceptions.py
diff --git a/tools/telemetry/third_party/gsutil/third_party/boto/boto/cloudtrail/exceptions.py b/tools/telemetry/third_party/gsutil/third_party/boto/boto/cloudtrail/exceptions.py
new file mode 100644
index 0000000000000000000000000000000000000000..d2c1b735b6edcac56b8380e8f8df3ede308273ff
--- /dev/null
+++ b/tools/telemetry/third_party/gsutil/third_party/boto/boto/cloudtrail/exceptions.py
@@ -0,0 +1,118 @@
+"""
+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
+
+
+class InvalidMaxResultsException(BotoServerError):
+ pass
+
+
+class InvalidTimeRangeException(BotoServerError):
+ pass
+
+
+class InvalidLookupAttributesException(BotoServerError):
+ pass
+
+
+class InvalidCloudWatchLogsLogGroupArnException(BotoServerError):
+ pass
+
+
+class InvalidCloudWatchLogsRoleArnException(BotoServerError):
+ pass
+
+
+class CloudWatchLogsDeliveryUnavailableException(BotoServerError):
+ pass
+
+
+class InvalidNextTokenException(BotoServerError):
+ pass

Powered by Google App Engine
This is Rietveld 408576698