
?F[c           @   sR  d  d l  m Z d e f d     YZ d e f d     YZ d e f d     YZ d e f d	     YZ d
 e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ	 d e f d     YZ
 d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d  e f d!     YZ d" e f d#     YZ d$ e f d%     YZ d& e f d'     YZ d( e f d)     YZ d* e f d+     YZ d, e f d-     YZ d. e f d/     YZ d0 e f d1     YZ d2 e f d3     YZ d4 e f d5     YZ d6 e f d7     YZ d8 e f d9     YZ d: e f d;     YZ d< e f d=     YZ d> e f d?     YZ  d@ e f dA     YZ! dB e f dC     YZ" dD e f dE     YZ# dF e f dG     YZ$ dH e f dI     YZ% dJ e f dK     YZ& dL e f dM     YZ' dN e f dO     YZ( dP e f dQ     YZ) dR e f dS     YZ* dT e f dU     YZ+ dV e f dW     YZ, dX e f dY     YZ- dZ e f d[     YZ. d\ e f d]     YZ/ d^ e f d_     YZ0 d` e f da     YZ1 db e f dc     YZ2 dd e f de     YZ3 df e f dg     YZ4 dh e f di     YZ5 dj e f dk     YZ6 dl e f dm     YZ7 dn e f do     YZ8 dp e f dq     YZ9 dr e f ds     YZ: dt e f du     YZ; dv e f dw     YZ< dx e f dy     YZ= dz e f d{     YZ> d| S(}   i(   t   BotoServerErrort   ResponseErrorFactoryc           B   s   e  Z d    Z RS(   c         O   sS   t  | |   } t   j | j t  } | j | | |  } | j j | j  | S(   N(   R    t   globalst   gett
   error_codet   ResponseErrort   __new__t   __dict__t   update(   t   clst   argst   kwt   errort   newclasst   obj(    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR      s
    (   t   __name__t
   __module__R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR      s   R   c           B   s&   e  Z d  Z e Z d   Z d   Z RS(   s   Undefined response error.
    c         C   s%   d j  |  j j |  j |  j |  j  S(   Ns   {0}({1}, {2},
	{3})(   t   formatt	   __class__R   t   statust   reasont   error_message(   t   self(    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyt   __repr__   s    c         C   s+   d j  |  |  j r d p d |  j j    S(   NsO   FPS Response Error: {0.status} {0.__class__.__name__} {1}
{2}
{0.error_message}s   (Retriable)t    (   R   t   retryt   __doc__t   strip(   R   (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyt   __str__   s    (   R   R   R   t   FalseR   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR      s   	t   RetriableResponseErrorc           B   s   e  Z e Z RS(    (   R   R   t   TrueR   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR       s   t   AccessFailurec           B   s   e  Z d  Z RS(   s    Account cannot be accessed.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR    $   s   t   AccountClosedc           B   s   e  Z d  Z RS(   s   Account is not active.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR!   )   s   t   AccountLimitsExceededc           B   s   e  Z d  Z RS(   s@   The spending or receiving limit on the account is exceeded.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR"   .   s   t   AmountOutOfRangec           B   s   e  Z d  Z RS(   s;   The transaction amount is more than the allowed range.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR#   3   s   t   AuthFailurec           B   s   e  Z d  Z RS(   sB   AWS was not able to validate the provided access credentials.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR$   8   s   t   ConcurrentModificationc           B   s   e  Z d  Z RS(   si   A retriable error can happen when two processes try to modify the
       same data at the same time.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR%   =   s   t   DuplicateRequestc           B   s   e  Z d  Z RS(   sU   A different request associated with this caller reference already
       exists.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR&   C   s   t   InactiveInstrumentc           B   s   e  Z d  Z RS(   s$   Payment instrument is inactive.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR'   I   s   t   IncompatibleTokensc           B   s   e  Z d  Z RS(   sm   The transaction could not be completed because the tokens have
       incompatible payment instructions.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR(   N   s   t   InstrumentAccessDeniedc           B   s   e  Z d  Z RS(   sj   The external calling application is not the recipient for this
       postpaid or prepaid instrument.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR)   T   s   t   InstrumentExpiredc           B   s   e  Z d  Z RS(   s8   The prepaid or the postpaid instrument has expired.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR*   Z   s   t   InsufficientBalancec           B   s   e  Z d  Z RS(   sr   The sender, caller, or recipient's account balance has
       insufficient funds to complete the transaction.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR+   _   s   t   InternalErrorc           B   s   e  Z d  Z RS(   sW   A retriable error that happens due to some transient problem in
       the system.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR,   e   s   t   InvalidAccountStatec           B   s   e  Z d  Z RS(   s/   The account is either suspended or closed.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR-   k   s   t   InvalidAccountState_Callerc           B   s   e  Z d  Z RS(   sA   The developer account cannot participate in the transaction.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR.   p   s   t   InvalidAccountState_Recipientc           B   s   e  Z d  Z RS(   s=   Recipient account cannot participate in the transaction.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR/   u   s   t   InvalidAccountState_Senderc           B   s   e  Z d  Z RS(   s:   Sender account cannot participate in the transaction.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR0   z   s   t   InvalidCallerReferencec           B   s   e  Z d  Z RS(   sC   The Caller Reference does not have a token associated with it.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR1      s   t   InvalidClientTokenIdc           B   s   e  Z d  Z RS(   sF   The AWS Access Key Id you provided does not exist in our records.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR2      s   t   InvalidDateRangec           B   s   e  Z d  Z RS(   s_   The end date specified is before the start date or the start date
       is in the future.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR3      s   t   InvalidParamsc           B   s   e  Z d  Z RS(   s6   One or more parameters in the request is invalid.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR4      s   t   InvalidPaymentInstrumentc           B   s   e  Z d  Z RS(   s;   The payment method used in the transaction is invalid.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR5      s   t   InvalidPaymentMethodc           B   s   e  Z d  Z RS(   s$   Specify correct payment method.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR6      s   t    InvalidRecipientForCCTransactionc           B   s   e  Z d  Z RS(   s6   This account cannot receive credit card payments.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR7      s   t   InvalidSenderRoleForAccountTypec           B   s   e  Z d  Z RS(   s2   This token cannot be used for this operation.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR8      s   t   InvalidTokenIdc           B   s   e  Z d  Z RS(   sA   You did not install the token that you are trying to cancel.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR9      s   t   InvalidTokenId_Recipientc           B   s   e  Z d  Z RS(   sA   The recipient token specified is either invalid or canceled.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR:      s   t   InvalidTokenId_Senderc           B   s   e  Z d  Z RS(   s`   The sender token specified is either invalid or canceled or the
       token is not active.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR;      s   t   InvalidTokenTypec           B   s   e  Z d  Z RS(   s   An invalid operation was performed on the token, for example,
       getting the token usage information on a single use token.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR<      s   t   InvalidTransactionIdc           B   s   e  Z d  Z RS(   s   The specified transaction could not be found or the caller did not
       execute the transaction or this is not a Pay or Reserve call.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR=      s   t   InvalidTransactionStatec           B   s   e  Z d  Z RS(   sC   The transaction is not complete, or it has temporarily failed.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR>      s   t   NotMarketplaceAppc           B   s   e  Z d  Z RS(   ss   This is not an marketplace application or the caller does not
       match either the sender or the recipient.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR?      s   t   OriginalTransactionFailedc           B   s   e  Z d  Z RS(   s)   The original transaction has failed.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyR@      s   t   OriginalTransactionIncompletec           B   s   e  Z d  Z RS(   s3   The original transaction is still in progress.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRA      s   t   PaymentInstrumentNotCCc           B   s   e  Z d  Z RS(   s   The payment method specified in the transaction is not a credit
       card.  You can only use a credit card for this transaction.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRB      s   t   PaymentMethodNotDefinedc           B   s   e  Z d  Z RS(   s6   Payment method is not defined in the transaction.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRC      s   t   PrepaidFundingLimitExceededc           B   s   e  Z d  Z RS(   so   An attempt has been made to fund the prepaid instrument
       at a level greater than its recharge limit.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRD      s   t   RefundAmountExceededc           B   s   e  Z d  Z RS(   s:   The refund amount is more than the refundable amount.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRE      s   t   SameSenderAndRecipientc           B   s   e  Z d  Z RS(   sA   The sender and receiver are identical, which is not allowed.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRF      s   t   SameTokenIdUsedMultipleTimesc           B   s   e  Z d  Z RS(   s8   This token is already used in earlier transactions.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRG      s   t   SenderNotOriginalRecipientc           B   s   e  Z d  Z RS(   sb   The sender in the refund transaction is not
       the recipient of the original transaction.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRH      s   t   SettleAmountGreaterThanDebtc           B   s   e  Z d  Z RS(   sU   The amount being settled or written off is
       greater than the current debt.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRI      s   t$   SettleAmountGreaterThanReserveAmountc           B   s   e  Z d  Z RS(   sB   The amount being settled is greater than the reserved amount.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRJ     s   t   SignatureDoesNotMatchc           B   s   e  Z d  Z RS(   sa   The request signature calculated by Amazon does not match the
       signature you provided.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRK   
  s   t   TokenAccessDeniedc           B   s   e  Z d  Z RS(   s.   Permission to cancel the token is denied.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRL     s   t   TokenNotActivec           B   s   e  Z d  Z RS(   s   The token is canceled.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRM     s   t   TokenNotActive_Recipientc           B   s   e  Z d  Z RS(   s%   The recipient token is canceled.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRN     s   t   TokenNotActive_Senderc           B   s   e  Z d  Z RS(   s"   The sender token is canceled.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRO     s   t   TokenUsageErrorc           B   s   e  Z d  Z RS(   s'   The token usage limit is exceeded.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRP   $  s   t   TransactionDeniedc           B   s   e  Z d  Z RS(   s$   The transaction is not allowed.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRQ   )  s   t   TransactionFullyRefundedAlreadyc           B   s   e  Z d  Z RS(   s:   The transaction has already been completely refunded.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRR   .  s   t   TransactionTypeNotRefundablec           B   s   e  Z d  Z RS(   s(   You cannot refund this transaction.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRS   3  s   t   UnverifiedAccount_Recipientc           B   s   e  Z d  Z RS(   s   The recipient's account must have a verified bank account or a
       credit card before this transaction can be initiated.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRT   8  s   t   UnverifiedAccount_Senderc           B   s   e  Z d  Z RS(   s   The sender's account must have a verified U.S.  credit card or
       a verified U.S bank account before this transaction can be
       initiated.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRU   >  s   t   UnverifiedBankAccountc           B   s   e  Z d  Z RS(   sA   A verified bank account should be used for this transaction.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRV   E  s   t   UnverifiedEmailAddress_Callerc           B   s   e  Z d  Z RS(   s;   The caller account must have a verified email address.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRW   J  s   t    UnverifiedEmailAddress_Recipientc           B   s   e  Z d  Z RS(   s\   The recipient account must have a verified
       email address for receiving payments.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRX   O  s   t   UnverifiedEmailAddress_Senderc           B   s   e  Z d  Z RS(   sS   The sender account must have a verified
       email address for this payment.
    (   R   R   R   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyRY   U  s   N(?   t   boto.exceptionR    R   R   R   R    R!   R"   R#   R$   R%   R&   R'   R(   R)   R*   R+   R,   R-   R.   R/   R0   R1   R2   R3   R4   R5   R6   R7   R8   R9   R:   R;   R<   R=   R>   R?   R@   RA   RB   RC   RD   RE   RF   RG   RH   RI   RJ   RK   RL   RM   RN   RO   RP   RQ   RR   RS   RT   RU   RV   RW   RX   RY   (    (    (    s1   lib/python2.7/site-packages/boto/fps/exception.pyt   <module>   sz   
