o ckF[Sã@sÜddlZddlmZddlmZdd„ZGdd„deƒZGdd „d eƒZGd d „d eƒZGd d „d eƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZGd d!„d!eƒZGd"d#„d#eƒZGd$d%„d%eƒZGd&d'„d'eƒZGd(d)„d)eƒZGd*d+„d+eƒZGd,d-„d-eƒZGd.d/„d/eƒZGd0d1„d1eƒZGd2d3„d3eƒZGd4d5„d5eƒZGd6d7„d7eƒZGd8d9„d9eƒZGd:d;„d;eƒZ dS)<éN)Újson)ÚBotoServerErrorcCsL|j}| d¡r | d¡}z ttjt|ƒ|ƒ}W|Sty%|YSw)NÚ Exception)ÚcodeÚendswithÚrstripÚgetattrÚsysÚmodulesÚ__name__ÚAttributeError)ÚerÚsimple_e©rú:/usr/lib/python3/dist-packages/boto/beanstalk/exception.pyÚsimples   üþrcs,eZdZ‡fdd„Zdd„Zdd„Z‡ZS)ÚSimpleExceptioncs&tt|ƒ |j|j|j¡|j|_dS)N)ÚsuperrÚ__init__ÚstatusÚreasonÚbodyÚmessageÚ error_message)Úselfr ©Ú __class__rrrs zSimpleException.__init__cCó|jjd|jS©Nz: ©rr r©rrrrÚ__repr__ózSimpleException.__repr__cCrrrr rrrÚ__str__r"zSimpleException.__str__)r Ú __module__Ú __qualname__rr!r#Ú __classcell__rrrrrs rc@ó eZdZdS)ÚValidationErrorN©r r$r%rrrrr(!ó r(c@r')ÚIncompleteSignatureNr)rrrrr+$r*r+c@r')ÚInternalFailureNr)rrrrr,%r*r,c@r')Ú InvalidActionNr)rrrrr-&r*r-c@r')ÚInvalidClientTokenIdNr)rrrrr.'r*r.c@r')ÚInvalidParameterCombinationNr)rrrrr/(r*r/c@r')ÚInvalidParameterValueNr)rrrrr0)r*r0c@r')ÚInvalidQueryParameterNr)rrrrr1*r*r1c@r')ÚMalformedQueryStringNr)rrrrr2+r*r2c@r')Ú MissingActionNr)rrrrr3,r*r3c@r')ÚMissingAuthenticationTokenNr)rrrrr4-r*r4c@r')ÚMissingParameterNr)rrrrr5.r*r5c@r')Ú OptInRequiredNr)rrrrr6/r*r6c@r')ÚRequestExpiredNr)rrrrr70r*r7c@r')ÚServiceUnavailableNr)rrrrr81r*r8c@r')Ú ThrottlingNr)rrrrr92r*r9c@r')ÚTooManyApplicationsNr)rrrrr:6r*r:c@r')ÚInsufficientPrivilegesNr)rrrrr;7r*r;c@r')ÚS3LocationNotInServiceRegionNr)rrrrr<8r*r<c@r')ÚTooManyApplicationVersionsNr)rrrrr=9r*r=c@r')ÚTooManyConfigurationTemplatesNr)rrrrr>:r*r>c@r')ÚTooManyEnvironmentsNr)rrrrr?;r*r?c@r')ÚS3SubscriptionRequiredNr)rrrrr@<r*r@c@r')ÚTooManyBucketsNr)rrrrrA=r*rAc@r')ÚOperationInProgressNr)rrrrrB>r*rBc@r')ÚSourceBundleDeletionNr)rrrrrC?r*rC)!r Ú boto.compatrÚboto.exceptionrrrr(r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrrrrÚs>