1# Copyright (c) 2015 Amazon.com, Inc. or its affiliates.  All Rights Reserved
2#
3# Permission is hereby granted, free of charge, to any person obtaining a
4# copy of this software and associated documentation files (the
5# "Software"), to deal in the Software without restriction, including
6# without limitation the rights to use, copy, modify, merge, publish, dis-
7# tribute, sublicense, and/or sell copies of the Software, and to permit
8# persons to whom the Software is furnished to do so, subject to the fol-
9# lowing conditions:
10#
11# The above copyright notice and this permission notice shall be included
12# in all copies or substantial portions of the Software.
13#
14# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
16# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
17# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20# IN THE SOFTWARE.
21#
22
23from boto.exception import BotoServerError
24
25
26class InvalidDeploymentIdException(BotoServerError):
27    pass
28
29
30class InvalidDeploymentGroupNameException(BotoServerError):
31    pass
32
33
34class DeploymentConfigAlreadyExistsException(BotoServerError):
35    pass
36
37
38class InvalidRoleException(BotoServerError):
39    pass
40
41
42class RoleRequiredException(BotoServerError):
43    pass
44
45
46class DeploymentGroupAlreadyExistsException(BotoServerError):
47    pass
48
49
50class DeploymentConfigLimitExceededException(BotoServerError):
51    pass
52
53
54class InvalidNextTokenException(BotoServerError):
55    pass
56
57
58class InvalidDeploymentConfigNameException(BotoServerError):
59    pass
60
61
62class InvalidSortByException(BotoServerError):
63    pass
64
65
66class InstanceDoesNotExistException(BotoServerError):
67    pass
68
69
70class InvalidMinimumHealthyHostValueException(BotoServerError):
71    pass
72
73
74class ApplicationLimitExceededException(BotoServerError):
75    pass
76
77
78class ApplicationNameRequiredException(BotoServerError):
79    pass
80
81
82class InvalidEC2TagException(BotoServerError):
83    pass
84
85
86class DeploymentDoesNotExistException(BotoServerError):
87    pass
88
89
90class DeploymentLimitExceededException(BotoServerError):
91    pass
92
93
94class InvalidInstanceStatusException(BotoServerError):
95    pass
96
97
98class RevisionRequiredException(BotoServerError):
99    pass
100
101
102class InvalidBucketNameFilterException(BotoServerError):
103    pass
104
105
106class DeploymentGroupLimitExceededException(BotoServerError):
107    pass
108
109
110class DeploymentGroupDoesNotExistException(BotoServerError):
111    pass
112
113
114class DeploymentConfigNameRequiredException(BotoServerError):
115    pass
116
117
118class DeploymentAlreadyCompletedException(BotoServerError):
119    pass
120
121
122class RevisionDoesNotExistException(BotoServerError):
123    pass
124
125
126class DeploymentGroupNameRequiredException(BotoServerError):
127    pass
128
129
130class DeploymentIdRequiredException(BotoServerError):
131    pass
132
133
134class DeploymentConfigDoesNotExistException(BotoServerError):
135    pass
136
137
138class BucketNameFilterRequiredException(BotoServerError):
139    pass
140
141
142class InvalidTimeRangeException(BotoServerError):
143    pass
144
145
146class ApplicationDoesNotExistException(BotoServerError):
147    pass
148
149
150class InvalidRevisionException(BotoServerError):
151    pass
152
153
154class InvalidSortOrderException(BotoServerError):
155    pass
156
157
158class InvalidOperationException(BotoServerError):
159    pass
160
161
162class InvalidAutoScalingGroupException(BotoServerError):
163    pass
164
165
166class InvalidApplicationNameException(BotoServerError):
167    pass
168
169
170class DescriptionTooLongException(BotoServerError):
171    pass
172
173
174class ApplicationAlreadyExistsException(BotoServerError):
175    pass
176
177
178class InvalidDeployedStateFilterException(BotoServerError):
179    pass
180
181
182class DeploymentNotStartedException(BotoServerError):
183    pass
184
185
186class DeploymentConfigInUseException(BotoServerError):
187    pass
188
189
190class InstanceIdRequiredException(BotoServerError):
191    pass
192
193
194class InvalidKeyPrefixFilterException(BotoServerError):
195    pass
196
197
198class InvalidDeploymentStatusException(BotoServerError):
199    pass
200