errors.go 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package dynamodb
  3. const (
  4. // ErrCodeBackupInUseException for service response error code
  5. // "BackupInUseException".
  6. //
  7. // There is another ongoing conflicting backup control plane operation on the
  8. // table. The backup is either being created, deleted or restored to a table.
  9. ErrCodeBackupInUseException = "BackupInUseException"
  10. // ErrCodeBackupNotFoundException for service response error code
  11. // "BackupNotFoundException".
  12. //
  13. // Backup not found for the given BackupARN.
  14. ErrCodeBackupNotFoundException = "BackupNotFoundException"
  15. // ErrCodeConditionalCheckFailedException for service response error code
  16. // "ConditionalCheckFailedException".
  17. //
  18. // A condition specified in the operation could not be evaluated.
  19. ErrCodeConditionalCheckFailedException = "ConditionalCheckFailedException"
  20. // ErrCodeContinuousBackupsUnavailableException for service response error code
  21. // "ContinuousBackupsUnavailableException".
  22. //
  23. // Backups have not yet been enabled for this table.
  24. ErrCodeContinuousBackupsUnavailableException = "ContinuousBackupsUnavailableException"
  25. // ErrCodeGlobalTableAlreadyExistsException for service response error code
  26. // "GlobalTableAlreadyExistsException".
  27. //
  28. // The specified global table already exists.
  29. ErrCodeGlobalTableAlreadyExistsException = "GlobalTableAlreadyExistsException"
  30. // ErrCodeGlobalTableNotFoundException for service response error code
  31. // "GlobalTableNotFoundException".
  32. //
  33. // The specified global table does not exist.
  34. ErrCodeGlobalTableNotFoundException = "GlobalTableNotFoundException"
  35. // ErrCodeIdempotentParameterMismatchException for service response error code
  36. // "IdempotentParameterMismatchException".
  37. //
  38. // DynamoDB rejected the request because you retried a request with a different
  39. // payload but with an idempotent token that was already used.
  40. ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException"
  41. // ErrCodeIndexNotFoundException for service response error code
  42. // "IndexNotFoundException".
  43. //
  44. // The operation tried to access a nonexistent index.
  45. ErrCodeIndexNotFoundException = "IndexNotFoundException"
  46. // ErrCodeInternalServerError for service response error code
  47. // "InternalServerError".
  48. //
  49. // An error occurred on the server side.
  50. ErrCodeInternalServerError = "InternalServerError"
  51. // ErrCodeInvalidRestoreTimeException for service response error code
  52. // "InvalidRestoreTimeException".
  53. //
  54. // An invalid restore time was specified. RestoreDateTime must be between EarliestRestorableDateTime
  55. // and LatestRestorableDateTime.
  56. ErrCodeInvalidRestoreTimeException = "InvalidRestoreTimeException"
  57. // ErrCodeItemCollectionSizeLimitExceededException for service response error code
  58. // "ItemCollectionSizeLimitExceededException".
  59. //
  60. // An item collection is too large. This exception is only returned for tables
  61. // that have one or more local secondary indexes.
  62. ErrCodeItemCollectionSizeLimitExceededException = "ItemCollectionSizeLimitExceededException"
  63. // ErrCodeLimitExceededException for service response error code
  64. // "LimitExceededException".
  65. //
  66. // There is no limit to the number of daily on-demand backups that can be taken.
  67. //
  68. // Up to 10 simultaneous table operations are allowed per account. These operations
  69. // include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
  70. // and RestoreTableToPointInTime.
  71. //
  72. // For tables with secondary indexes, only one of those tables can be in the
  73. // CREATING state at any point in time. Do not attempt to create more than one
  74. // such table simultaneously.
  75. //
  76. // The total limit of tables in the ACTIVE state is 250.
  77. ErrCodeLimitExceededException = "LimitExceededException"
  78. // ErrCodePointInTimeRecoveryUnavailableException for service response error code
  79. // "PointInTimeRecoveryUnavailableException".
  80. //
  81. // Point in time recovery has not yet been enabled for this source table.
  82. ErrCodePointInTimeRecoveryUnavailableException = "PointInTimeRecoveryUnavailableException"
  83. // ErrCodeProvisionedThroughputExceededException for service response error code
  84. // "ProvisionedThroughputExceededException".
  85. //
  86. // Your request rate is too high. The AWS SDKs for DynamoDB automatically retry
  87. // requests that receive this exception. Your request is eventually successful,
  88. // unless your retry queue is too large to finish. Reduce the frequency of requests
  89. // and use exponential backoff. For more information, go to Error Retries and
  90. // Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff)
  91. // in the Amazon DynamoDB Developer Guide.
  92. ErrCodeProvisionedThroughputExceededException = "ProvisionedThroughputExceededException"
  93. // ErrCodeReplicaAlreadyExistsException for service response error code
  94. // "ReplicaAlreadyExistsException".
  95. //
  96. // The specified replica is already part of the global table.
  97. ErrCodeReplicaAlreadyExistsException = "ReplicaAlreadyExistsException"
  98. // ErrCodeReplicaNotFoundException for service response error code
  99. // "ReplicaNotFoundException".
  100. //
  101. // The specified replica is no longer part of the global table.
  102. ErrCodeReplicaNotFoundException = "ReplicaNotFoundException"
  103. // ErrCodeRequestLimitExceeded for service response error code
  104. // "RequestLimitExceeded".
  105. //
  106. // Throughput exceeds the current throughput limit for your account. Please
  107. // contact AWS Support at AWS Support (http://docs.aws.amazon.com/https:/aws.amazon.com/support)
  108. // to request a limit increase.
  109. ErrCodeRequestLimitExceeded = "RequestLimitExceeded"
  110. // ErrCodeResourceInUseException for service response error code
  111. // "ResourceInUseException".
  112. //
  113. // The operation conflicts with the resource's availability. For example, you
  114. // attempted to recreate an existing table, or tried to delete a table currently
  115. // in the CREATING state.
  116. ErrCodeResourceInUseException = "ResourceInUseException"
  117. // ErrCodeResourceNotFoundException for service response error code
  118. // "ResourceNotFoundException".
  119. //
  120. // The operation tried to access a nonexistent table or index. The resource
  121. // might not be specified correctly, or its status might not be ACTIVE.
  122. ErrCodeResourceNotFoundException = "ResourceNotFoundException"
  123. // ErrCodeTableAlreadyExistsException for service response error code
  124. // "TableAlreadyExistsException".
  125. //
  126. // A target table with the specified name already exists.
  127. ErrCodeTableAlreadyExistsException = "TableAlreadyExistsException"
  128. // ErrCodeTableInUseException for service response error code
  129. // "TableInUseException".
  130. //
  131. // A target table with the specified name is either being created or deleted.
  132. ErrCodeTableInUseException = "TableInUseException"
  133. // ErrCodeTableNotFoundException for service response error code
  134. // "TableNotFoundException".
  135. //
  136. // A source table with the name TableName does not currently exist within the
  137. // subscriber's account.
  138. ErrCodeTableNotFoundException = "TableNotFoundException"
  139. // ErrCodeTransactionCanceledException for service response error code
  140. // "TransactionCanceledException".
  141. //
  142. // The entire transaction request was rejected.
  143. //
  144. // DynamoDB rejects a TransactWriteItems request under the following circumstances:
  145. //
  146. // * A condition in one of the condition expressions is not met.
  147. //
  148. // * A table in the TransactWriteItems request is in a different account
  149. // or region.
  150. //
  151. // * More than one action in the TransactWriteItems operation targets the
  152. // same item.
  153. //
  154. // * There is insufficient provisioned capacity for the transaction to be
  155. // completed.
  156. //
  157. // * An item size becomes too large (larger than 400 KB), or a local secondary
  158. // index (LSI) becomes too large, or a similar validation error occurs because
  159. // of changes made by the transaction.
  160. //
  161. // * There is a user error, such as an invalid data format.
  162. //
  163. // DynamoDB rejects a TransactGetItems request under the following circumstances:
  164. //
  165. // * There is an ongoing TransactGetItems operation that conflicts with a
  166. // concurrent PutItem, UpdateItem, DeleteItem or TransactWriteItems request.
  167. // In this case the TransactGetItems operation fails with a TransactionCanceledException.
  168. //
  169. // * A table in the TransactGetItems request is in a different account or
  170. // region.
  171. //
  172. // * There is insufficient provisioned capacity for the transaction to be
  173. // completed.
  174. //
  175. // * There is a user error, such as an invalid data format.
  176. ErrCodeTransactionCanceledException = "TransactionCanceledException"
  177. // ErrCodeTransactionConflictException for service response error code
  178. // "TransactionConflictException".
  179. //
  180. // Operation was rejected because there is an ongoing transaction for the item.
  181. ErrCodeTransactionConflictException = "TransactionConflictException"
  182. // ErrCodeTransactionInProgressException for service response error code
  183. // "TransactionInProgressException".
  184. //
  185. // The transaction with the given request token is already in progress.
  186. ErrCodeTransactionInProgressException = "TransactionInProgressException"
  187. )