Home | History | Annotate | Download | only in codedeploy
      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 
     23 from boto.exception import BotoServerError
     24 
     25 
     26 class InvalidDeploymentIdException(BotoServerError):
     27     pass
     28 
     29 
     30 class InvalidDeploymentGroupNameException(BotoServerError):
     31     pass
     32 
     33 
     34 class DeploymentConfigAlreadyExistsException(BotoServerError):
     35     pass
     36 
     37 
     38 class InvalidRoleException(BotoServerError):
     39     pass
     40 
     41 
     42 class RoleRequiredException(BotoServerError):
     43     pass
     44 
     45 
     46 class DeploymentGroupAlreadyExistsException(BotoServerError):
     47     pass
     48 
     49 
     50 class DeploymentConfigLimitExceededException(BotoServerError):
     51     pass
     52 
     53 
     54 class InvalidNextTokenException(BotoServerError):
     55     pass
     56 
     57 
     58 class InvalidDeploymentConfigNameException(BotoServerError):
     59     pass
     60 
     61 
     62 class InvalidSortByException(BotoServerError):
     63     pass
     64 
     65 
     66 class InstanceDoesNotExistException(BotoServerError):
     67     pass
     68 
     69 
     70 class InvalidMinimumHealthyHostValueException(BotoServerError):
     71     pass
     72 
     73 
     74 class ApplicationLimitExceededException(BotoServerError):
     75     pass
     76 
     77 
     78 class ApplicationNameRequiredException(BotoServerError):
     79     pass
     80 
     81 
     82 class InvalidEC2TagException(BotoServerError):
     83     pass
     84 
     85 
     86 class DeploymentDoesNotExistException(BotoServerError):
     87     pass
     88 
     89 
     90 class DeploymentLimitExceededException(BotoServerError):
     91     pass
     92 
     93 
     94 class InvalidInstanceStatusException(BotoServerError):
     95     pass
     96 
     97 
     98 class RevisionRequiredException(BotoServerError):
     99     pass
    100 
    101 
    102 class InvalidBucketNameFilterException(BotoServerError):
    103     pass
    104 
    105 
    106 class DeploymentGroupLimitExceededException(BotoServerError):
    107     pass
    108 
    109 
    110 class DeploymentGroupDoesNotExistException(BotoServerError):
    111     pass
    112 
    113 
    114 class DeploymentConfigNameRequiredException(BotoServerError):
    115     pass
    116 
    117 
    118 class DeploymentAlreadyCompletedException(BotoServerError):
    119     pass
    120 
    121 
    122 class RevisionDoesNotExistException(BotoServerError):
    123     pass
    124 
    125 
    126 class DeploymentGroupNameRequiredException(BotoServerError):
    127     pass
    128 
    129 
    130 class DeploymentIdRequiredException(BotoServerError):
    131     pass
    132 
    133 
    134 class DeploymentConfigDoesNotExistException(BotoServerError):
    135     pass
    136 
    137 
    138 class BucketNameFilterRequiredException(BotoServerError):
    139     pass
    140 
    141 
    142 class InvalidTimeRangeException(BotoServerError):
    143     pass
    144 
    145 
    146 class ApplicationDoesNotExistException(BotoServerError):
    147     pass
    148 
    149 
    150 class InvalidRevisionException(BotoServerError):
    151     pass
    152 
    153 
    154 class InvalidSortOrderException(BotoServerError):
    155     pass
    156 
    157 
    158 class InvalidOperationException(BotoServerError):
    159     pass
    160 
    161 
    162 class InvalidAutoScalingGroupException(BotoServerError):
    163     pass
    164 
    165 
    166 class InvalidApplicationNameException(BotoServerError):
    167     pass
    168 
    169 
    170 class DescriptionTooLongException(BotoServerError):
    171     pass
    172 
    173 
    174 class ApplicationAlreadyExistsException(BotoServerError):
    175     pass
    176 
    177 
    178 class InvalidDeployedStateFilterException(BotoServerError):
    179     pass
    180 
    181 
    182 class DeploymentNotStartedException(BotoServerError):
    183     pass
    184 
    185 
    186 class DeploymentConfigInUseException(BotoServerError):
    187     pass
    188 
    189 
    190 class InstanceIdRequiredException(BotoServerError):
    191     pass
    192 
    193 
    194 class InvalidKeyPrefixFilterException(BotoServerError):
    195     pass
    196 
    197 
    198 class InvalidDeploymentStatusException(BotoServerError):
    199     pass
    200