1# Copyright (c) 2013 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# 22from boto.exception import JSONResponseError 23 24 25class ClusterNotFoundFault(JSONResponseError): 26 pass 27 28 29class InvalidClusterSnapshotStateFault(JSONResponseError): 30 pass 31 32 33class ClusterSnapshotNotFoundFault(JSONResponseError): 34 pass 35 36 37class ClusterSecurityGroupQuotaExceededFault(JSONResponseError): 38 pass 39 40 41class ReservedNodeOfferingNotFoundFault(JSONResponseError): 42 pass 43 44 45class InvalidSubnet(JSONResponseError): 46 pass 47 48 49class ClusterSubnetGroupQuotaExceededFault(JSONResponseError): 50 pass 51 52 53class InvalidClusterStateFault(JSONResponseError): 54 pass 55 56 57class InvalidClusterParameterGroupStateFault(JSONResponseError): 58 pass 59 60 61class ClusterParameterGroupAlreadyExistsFault(JSONResponseError): 62 pass 63 64 65class InvalidClusterSecurityGroupStateFault(JSONResponseError): 66 pass 67 68 69class InvalidRestoreFault(JSONResponseError): 70 pass 71 72 73class AuthorizationNotFoundFault(JSONResponseError): 74 pass 75 76 77class ResizeNotFoundFault(JSONResponseError): 78 pass 79 80 81class NumberOfNodesQuotaExceededFault(JSONResponseError): 82 pass 83 84 85class ClusterSnapshotAlreadyExistsFault(JSONResponseError): 86 pass 87 88 89class AuthorizationQuotaExceededFault(JSONResponseError): 90 pass 91 92 93class AuthorizationAlreadyExistsFault(JSONResponseError): 94 pass 95 96 97class ClusterSnapshotQuotaExceededFault(JSONResponseError): 98 pass 99 100 101class ReservedNodeNotFoundFault(JSONResponseError): 102 pass 103 104 105class ReservedNodeAlreadyExistsFault(JSONResponseError): 106 pass 107 108 109class ClusterSecurityGroupAlreadyExistsFault(JSONResponseError): 110 pass 111 112 113class ClusterParameterGroupNotFoundFault(JSONResponseError): 114 pass 115 116 117class ReservedNodeQuotaExceededFault(JSONResponseError): 118 pass 119 120 121class ClusterQuotaExceededFault(JSONResponseError): 122 pass 123 124 125class ClusterSubnetQuotaExceededFault(JSONResponseError): 126 pass 127 128 129class UnsupportedOptionFault(JSONResponseError): 130 pass 131 132 133class InvalidVPCNetworkStateFault(JSONResponseError): 134 pass 135 136 137class ClusterSecurityGroupNotFoundFault(JSONResponseError): 138 pass 139 140 141class InvalidClusterSubnetGroupStateFault(JSONResponseError): 142 pass 143 144 145class ClusterSubnetGroupAlreadyExistsFault(JSONResponseError): 146 pass 147 148 149class NumberOfNodesPerClusterLimitExceededFault(JSONResponseError): 150 pass 151 152 153class ClusterSubnetGroupNotFoundFault(JSONResponseError): 154 pass 155 156 157class ClusterParameterGroupQuotaExceededFault(JSONResponseError): 158 pass 159 160 161class ClusterAlreadyExistsFault(JSONResponseError): 162 pass 163 164 165class InsufficientClusterCapacityFault(JSONResponseError): 166 pass 167 168 169class InvalidClusterSubnetStateFault(JSONResponseError): 170 pass 171 172 173class SubnetAlreadyInUse(JSONResponseError): 174 pass 175 176 177class InvalidParameterCombinationFault(JSONResponseError): 178 pass 179 180 181class AccessToSnapshotDeniedFault(JSONResponseError): 182 pass 183 184 185class UnauthorizedOperationFault(JSONResponseError): 186 pass 187 188 189class SnapshotCopyAlreadyDisabled(JSONResponseError): 190 pass 191 192 193class ClusterNotFound(JSONResponseError): 194 pass 195 196 197class UnknownSnapshotCopyRegion(JSONResponseError): 198 pass 199 200 201class InvalidClusterSubnetState(JSONResponseError): 202 pass 203 204 205class ReservedNodeQuotaExceeded(JSONResponseError): 206 pass 207 208 209class InvalidClusterState(JSONResponseError): 210 pass 211 212 213class HsmClientCertificateQuotaExceeded(JSONResponseError): 214 pass 215 216 217class SubscriptionCategoryNotFound(JSONResponseError): 218 pass 219 220 221class HsmClientCertificateNotFound(JSONResponseError): 222 pass 223 224 225class SubscriptionEventIdNotFound(JSONResponseError): 226 pass 227 228 229class ClusterSecurityGroupAlreadyExists(JSONResponseError): 230 pass 231 232 233class HsmConfigurationAlreadyExists(JSONResponseError): 234 pass 235 236 237class NumberOfNodesQuotaExceeded(JSONResponseError): 238 pass 239 240 241class ReservedNodeOfferingNotFound(JSONResponseError): 242 pass 243 244 245class BucketNotFound(JSONResponseError): 246 pass 247 248 249class InsufficientClusterCapacity(JSONResponseError): 250 pass 251 252 253class InvalidRestore(JSONResponseError): 254 pass 255 256 257class UnauthorizedOperation(JSONResponseError): 258 pass 259 260 261class ClusterQuotaExceeded(JSONResponseError): 262 pass 263 264 265class InvalidVPCNetworkState(JSONResponseError): 266 pass 267 268 269class ClusterSnapshotNotFound(JSONResponseError): 270 pass 271 272 273class AuthorizationQuotaExceeded(JSONResponseError): 274 pass 275 276 277class InvalidHsmClientCertificateState(JSONResponseError): 278 pass 279 280 281class SNSTopicArnNotFound(JSONResponseError): 282 pass 283 284 285class ResizeNotFound(JSONResponseError): 286 pass 287 288 289class ClusterSubnetGroupNotFound(JSONResponseError): 290 pass 291 292 293class SNSNoAuthorization(JSONResponseError): 294 pass 295 296 297class ClusterSnapshotQuotaExceeded(JSONResponseError): 298 pass 299 300 301class AccessToSnapshotDenied(JSONResponseError): 302 pass 303 304 305class InvalidClusterSecurityGroupState(JSONResponseError): 306 pass 307 308 309class NumberOfNodesPerClusterLimitExceeded(JSONResponseError): 310 pass 311 312 313class ClusterSubnetQuotaExceeded(JSONResponseError): 314 pass 315 316 317class SNSInvalidTopic(JSONResponseError): 318 pass 319 320 321class ClusterSecurityGroupNotFound(JSONResponseError): 322 pass 323 324 325class InvalidElasticIp(JSONResponseError): 326 pass 327 328 329class InvalidClusterParameterGroupState(JSONResponseError): 330 pass 331 332 333class InvalidHsmConfigurationState(JSONResponseError): 334 pass 335 336 337 338class ClusterAlreadyExists(JSONResponseError): 339 pass 340 341 342class HsmConfigurationQuotaExceeded(JSONResponseError): 343 pass 344 345 346class ClusterSnapshotAlreadyExists(JSONResponseError): 347 pass 348 349 350class SubscriptionSeverityNotFound(JSONResponseError): 351 pass 352 353 354class SourceNotFound(JSONResponseError): 355 pass 356 357 358class ReservedNodeAlreadyExists(JSONResponseError): 359 pass 360 361 362class ClusterSubnetGroupQuotaExceeded(JSONResponseError): 363 pass 364 365 366class ClusterParameterGroupNotFound(JSONResponseError): 367 pass 368 369 370class InvalidS3BucketName(JSONResponseError): 371 pass 372 373 374class InvalidS3KeyPrefix(JSONResponseError): 375 pass 376 377 378class SubscriptionAlreadyExist(JSONResponseError): 379 pass 380 381 382class HsmConfigurationNotFound(JSONResponseError): 383 pass 384 385 386class AuthorizationNotFound(JSONResponseError): 387 pass 388 389 390class ClusterSecurityGroupQuotaExceeded(JSONResponseError): 391 pass 392 393 394class EventSubscriptionQuotaExceeded(JSONResponseError): 395 pass 396 397 398class AuthorizationAlreadyExists(JSONResponseError): 399 pass 400 401 402class InvalidClusterSnapshotState(JSONResponseError): 403 pass 404 405 406class ClusterParameterGroupQuotaExceeded(JSONResponseError): 407 pass 408 409 410class SnapshotCopyDisabled(JSONResponseError): 411 pass 412 413 414class ClusterSubnetGroupAlreadyExists(JSONResponseError): 415 pass 416 417 418class ReservedNodeNotFound(JSONResponseError): 419 pass 420 421 422class HsmClientCertificateAlreadyExists(JSONResponseError): 423 pass 424 425 426class InvalidClusterSubnetGroupState(JSONResponseError): 427 pass 428 429 430class SubscriptionNotFound(JSONResponseError): 431 pass 432 433 434class InsufficientS3BucketPolicy(JSONResponseError): 435 pass 436 437 438class ClusterParameterGroupAlreadyExists(JSONResponseError): 439 pass 440 441 442class UnsupportedOption(JSONResponseError): 443 pass 444 445 446class CopyToRegionDisabled(JSONResponseError): 447 pass 448 449 450class SnapshotCopyAlreadyEnabled(JSONResponseError): 451 pass 452 453 454class IncompatibleOrderableOptions(JSONResponseError): 455 pass 456 457 458class InvalidSubscriptionState(JSONResponseError): 459 pass 460