errors.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package docdb
  3. const (
  4. // ErrCodeAuthorizationNotFoundFault for service response error code
  5. // "AuthorizationNotFound".
  6. //
  7. // The specified CIDR IP or Amazon EC2 security group isn't authorized for the
  8. // specified DB security group.
  9. //
  10. // Amazon DocumentDB also might not be authorized to perform necessary actions
  11. // on your behalf using IAM.
  12. ErrCodeAuthorizationNotFoundFault = "AuthorizationNotFound"
  13. // ErrCodeCertificateNotFoundFault for service response error code
  14. // "CertificateNotFound".
  15. //
  16. // CertificateIdentifier doesn't refer to an existing certificate.
  17. ErrCodeCertificateNotFoundFault = "CertificateNotFound"
  18. // ErrCodeDBClusterAlreadyExistsFault for service response error code
  19. // "DBClusterAlreadyExistsFault".
  20. //
  21. // You already have a DB cluster with the given identifier.
  22. ErrCodeDBClusterAlreadyExistsFault = "DBClusterAlreadyExistsFault"
  23. // ErrCodeDBClusterNotFoundFault for service response error code
  24. // "DBClusterNotFoundFault".
  25. //
  26. // DBClusterIdentifier doesn't refer to an existing DB cluster.
  27. ErrCodeDBClusterNotFoundFault = "DBClusterNotFoundFault"
  28. // ErrCodeDBClusterParameterGroupNotFoundFault for service response error code
  29. // "DBClusterParameterGroupNotFound".
  30. //
  31. // DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter
  32. // group.
  33. ErrCodeDBClusterParameterGroupNotFoundFault = "DBClusterParameterGroupNotFound"
  34. // ErrCodeDBClusterQuotaExceededFault for service response error code
  35. // "DBClusterQuotaExceededFault".
  36. //
  37. // The DB cluster can't be created because you have reached the maximum allowed
  38. // quota of DB clusters.
  39. ErrCodeDBClusterQuotaExceededFault = "DBClusterQuotaExceededFault"
  40. // ErrCodeDBClusterSnapshotAlreadyExistsFault for service response error code
  41. // "DBClusterSnapshotAlreadyExistsFault".
  42. //
  43. // You already have a DB cluster snapshot with the given identifier.
  44. ErrCodeDBClusterSnapshotAlreadyExistsFault = "DBClusterSnapshotAlreadyExistsFault"
  45. // ErrCodeDBClusterSnapshotNotFoundFault for service response error code
  46. // "DBClusterSnapshotNotFoundFault".
  47. //
  48. // DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot.
  49. ErrCodeDBClusterSnapshotNotFoundFault = "DBClusterSnapshotNotFoundFault"
  50. // ErrCodeDBInstanceAlreadyExistsFault for service response error code
  51. // "DBInstanceAlreadyExists".
  52. //
  53. // You already have a DB instance with the given identifier.
  54. ErrCodeDBInstanceAlreadyExistsFault = "DBInstanceAlreadyExists"
  55. // ErrCodeDBInstanceNotFoundFault for service response error code
  56. // "DBInstanceNotFound".
  57. //
  58. // DBInstanceIdentifier doesn't refer to an existing DB instance.
  59. ErrCodeDBInstanceNotFoundFault = "DBInstanceNotFound"
  60. // ErrCodeDBParameterGroupAlreadyExistsFault for service response error code
  61. // "DBParameterGroupAlreadyExists".
  62. //
  63. // A DB parameter group with the same name already exists.
  64. ErrCodeDBParameterGroupAlreadyExistsFault = "DBParameterGroupAlreadyExists"
  65. // ErrCodeDBParameterGroupNotFoundFault for service response error code
  66. // "DBParameterGroupNotFound".
  67. //
  68. // DBParameterGroupName doesn't refer to an existing DB parameter group.
  69. ErrCodeDBParameterGroupNotFoundFault = "DBParameterGroupNotFound"
  70. // ErrCodeDBParameterGroupQuotaExceededFault for service response error code
  71. // "DBParameterGroupQuotaExceeded".
  72. //
  73. // This request would cause you to exceed the allowed number of DB parameter
  74. // groups.
  75. ErrCodeDBParameterGroupQuotaExceededFault = "DBParameterGroupQuotaExceeded"
  76. // ErrCodeDBSecurityGroupNotFoundFault for service response error code
  77. // "DBSecurityGroupNotFound".
  78. //
  79. // DBSecurityGroupName doesn't refer to an existing DB security group.
  80. ErrCodeDBSecurityGroupNotFoundFault = "DBSecurityGroupNotFound"
  81. // ErrCodeDBSnapshotAlreadyExistsFault for service response error code
  82. // "DBSnapshotAlreadyExists".
  83. //
  84. // DBSnapshotIdentifier is already being used by an existing snapshot.
  85. ErrCodeDBSnapshotAlreadyExistsFault = "DBSnapshotAlreadyExists"
  86. // ErrCodeDBSnapshotNotFoundFault for service response error code
  87. // "DBSnapshotNotFound".
  88. //
  89. // DBSnapshotIdentifier doesn't refer to an existing DB snapshot.
  90. ErrCodeDBSnapshotNotFoundFault = "DBSnapshotNotFound"
  91. // ErrCodeDBSubnetGroupAlreadyExistsFault for service response error code
  92. // "DBSubnetGroupAlreadyExists".
  93. //
  94. // DBSubnetGroupName is already being used by an existing DB subnet group.
  95. ErrCodeDBSubnetGroupAlreadyExistsFault = "DBSubnetGroupAlreadyExists"
  96. // ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs for service response error code
  97. // "DBSubnetGroupDoesNotCoverEnoughAZs".
  98. //
  99. // Subnets in the DB subnet group should cover at least two Availability Zones
  100. // unless there is only one Availability Zone.
  101. ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs = "DBSubnetGroupDoesNotCoverEnoughAZs"
  102. // ErrCodeDBSubnetGroupNotFoundFault for service response error code
  103. // "DBSubnetGroupNotFoundFault".
  104. //
  105. // DBSubnetGroupName doesn't refer to an existing DB subnet group.
  106. ErrCodeDBSubnetGroupNotFoundFault = "DBSubnetGroupNotFoundFault"
  107. // ErrCodeDBSubnetGroupQuotaExceededFault for service response error code
  108. // "DBSubnetGroupQuotaExceeded".
  109. //
  110. // The request would cause you to exceed the allowed number of DB subnet groups.
  111. ErrCodeDBSubnetGroupQuotaExceededFault = "DBSubnetGroupQuotaExceeded"
  112. // ErrCodeDBSubnetQuotaExceededFault for service response error code
  113. // "DBSubnetQuotaExceededFault".
  114. //
  115. // The request would cause you to exceed the allowed number of subnets in a
  116. // DB subnet group.
  117. ErrCodeDBSubnetQuotaExceededFault = "DBSubnetQuotaExceededFault"
  118. // ErrCodeDBUpgradeDependencyFailureFault for service response error code
  119. // "DBUpgradeDependencyFailure".
  120. //
  121. // The DB upgrade failed because a resource that the DB depends on can't be
  122. // modified.
  123. ErrCodeDBUpgradeDependencyFailureFault = "DBUpgradeDependencyFailure"
  124. // ErrCodeInstanceQuotaExceededFault for service response error code
  125. // "InstanceQuotaExceeded".
  126. //
  127. // The request would cause you to exceed the allowed number of DB instances.
  128. ErrCodeInstanceQuotaExceededFault = "InstanceQuotaExceeded"
  129. // ErrCodeInsufficientDBClusterCapacityFault for service response error code
  130. // "InsufficientDBClusterCapacityFault".
  131. //
  132. // The DB cluster doesn't have enough capacity for the current operation.
  133. ErrCodeInsufficientDBClusterCapacityFault = "InsufficientDBClusterCapacityFault"
  134. // ErrCodeInsufficientDBInstanceCapacityFault for service response error code
  135. // "InsufficientDBInstanceCapacity".
  136. //
  137. // The specified DB instance class isn't available in the specified Availability
  138. // Zone.
  139. ErrCodeInsufficientDBInstanceCapacityFault = "InsufficientDBInstanceCapacity"
  140. // ErrCodeInsufficientStorageClusterCapacityFault for service response error code
  141. // "InsufficientStorageClusterCapacity".
  142. //
  143. // There is not enough storage available for the current action. You might be
  144. // able to resolve this error by updating your subnet group to use different
  145. // Availability Zones that have more storage available.
  146. ErrCodeInsufficientStorageClusterCapacityFault = "InsufficientStorageClusterCapacity"
  147. // ErrCodeInvalidDBClusterSnapshotStateFault for service response error code
  148. // "InvalidDBClusterSnapshotStateFault".
  149. //
  150. // The provided value isn't a valid DB cluster snapshot state.
  151. ErrCodeInvalidDBClusterSnapshotStateFault = "InvalidDBClusterSnapshotStateFault"
  152. // ErrCodeInvalidDBClusterStateFault for service response error code
  153. // "InvalidDBClusterStateFault".
  154. //
  155. // The DB cluster isn't in a valid state.
  156. ErrCodeInvalidDBClusterStateFault = "InvalidDBClusterStateFault"
  157. // ErrCodeInvalidDBInstanceStateFault for service response error code
  158. // "InvalidDBInstanceState".
  159. //
  160. // The specified DB instance isn't in the available state.
  161. ErrCodeInvalidDBInstanceStateFault = "InvalidDBInstanceState"
  162. // ErrCodeInvalidDBParameterGroupStateFault for service response error code
  163. // "InvalidDBParameterGroupState".
  164. //
  165. // The DB parameter group is in use, or it is in a state that is not valid.
  166. // If you are trying to delete the parameter group, you can't delete it when
  167. // the parameter group is in this state.
  168. ErrCodeInvalidDBParameterGroupStateFault = "InvalidDBParameterGroupState"
  169. // ErrCodeInvalidDBSecurityGroupStateFault for service response error code
  170. // "InvalidDBSecurityGroupState".
  171. //
  172. // The state of the DB security group doesn't allow deletion.
  173. ErrCodeInvalidDBSecurityGroupStateFault = "InvalidDBSecurityGroupState"
  174. // ErrCodeInvalidDBSnapshotStateFault for service response error code
  175. // "InvalidDBSnapshotState".
  176. //
  177. // The state of the DB snapshot doesn't allow deletion.
  178. ErrCodeInvalidDBSnapshotStateFault = "InvalidDBSnapshotState"
  179. // ErrCodeInvalidDBSubnetGroupStateFault for service response error code
  180. // "InvalidDBSubnetGroupStateFault".
  181. //
  182. // The DB subnet group can't be deleted because it's in use.
  183. ErrCodeInvalidDBSubnetGroupStateFault = "InvalidDBSubnetGroupStateFault"
  184. // ErrCodeInvalidDBSubnetStateFault for service response error code
  185. // "InvalidDBSubnetStateFault".
  186. //
  187. // The DB subnet isn't in the available state.
  188. ErrCodeInvalidDBSubnetStateFault = "InvalidDBSubnetStateFault"
  189. // ErrCodeInvalidRestoreFault for service response error code
  190. // "InvalidRestoreFault".
  191. //
  192. // You cannot restore from a virtual private cloud (VPC) backup to a non-VPC
  193. // DB instance.
  194. ErrCodeInvalidRestoreFault = "InvalidRestoreFault"
  195. // ErrCodeInvalidSubnet for service response error code
  196. // "InvalidSubnet".
  197. //
  198. // The requested subnet is not valid, or multiple subnets were requested that
  199. // are not all in a common virtual private cloud (VPC).
  200. ErrCodeInvalidSubnet = "InvalidSubnet"
  201. // ErrCodeInvalidVPCNetworkStateFault for service response error code
  202. // "InvalidVPCNetworkStateFault".
  203. //
  204. // The DB subnet group doesn't cover all Availability Zones after it is created
  205. // because of changes that were made.
  206. ErrCodeInvalidVPCNetworkStateFault = "InvalidVPCNetworkStateFault"
  207. // ErrCodeKMSKeyNotAccessibleFault for service response error code
  208. // "KMSKeyNotAccessibleFault".
  209. //
  210. // An error occurred when accessing an AWS KMS key.
  211. ErrCodeKMSKeyNotAccessibleFault = "KMSKeyNotAccessibleFault"
  212. // ErrCodeResourceNotFoundFault for service response error code
  213. // "ResourceNotFoundFault".
  214. //
  215. // The specified resource ID was not found.
  216. ErrCodeResourceNotFoundFault = "ResourceNotFoundFault"
  217. // ErrCodeSharedSnapshotQuotaExceededFault for service response error code
  218. // "SharedSnapshotQuotaExceeded".
  219. //
  220. // You have exceeded the maximum number of accounts that you can share a manual
  221. // DB snapshot with.
  222. ErrCodeSharedSnapshotQuotaExceededFault = "SharedSnapshotQuotaExceeded"
  223. // ErrCodeSnapshotQuotaExceededFault for service response error code
  224. // "SnapshotQuotaExceeded".
  225. //
  226. // The request would cause you to exceed the allowed number of DB snapshots.
  227. ErrCodeSnapshotQuotaExceededFault = "SnapshotQuotaExceeded"
  228. // ErrCodeStorageQuotaExceededFault for service response error code
  229. // "StorageQuotaExceeded".
  230. //
  231. // The request would cause you to exceed the allowed amount of storage available
  232. // across all DB instances.
  233. ErrCodeStorageQuotaExceededFault = "StorageQuotaExceeded"
  234. // ErrCodeStorageTypeNotSupportedFault for service response error code
  235. // "StorageTypeNotSupported".
  236. //
  237. // Storage of the specified StorageType can't be associated with the DB instance.
  238. ErrCodeStorageTypeNotSupportedFault = "StorageTypeNotSupported"
  239. // ErrCodeSubnetAlreadyInUse for service response error code
  240. // "SubnetAlreadyInUse".
  241. //
  242. // The DB subnet is already in use in the Availability Zone.
  243. ErrCodeSubnetAlreadyInUse = "SubnetAlreadyInUse"
  244. )