errors.go 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package efs
  3. const (
  4. // ErrCodeBadRequest for service response error code
  5. // "BadRequest".
  6. //
  7. // Returned if the request is malformed or contains an error such as an invalid
  8. // parameter value or a missing required parameter.
  9. ErrCodeBadRequest = "BadRequest"
  10. // ErrCodeDependencyTimeout for service response error code
  11. // "DependencyTimeout".
  12. //
  13. // The service timed out trying to fulfill the request, and the client should
  14. // try the call again.
  15. ErrCodeDependencyTimeout = "DependencyTimeout"
  16. // ErrCodeFileSystemAlreadyExists for service response error code
  17. // "FileSystemAlreadyExists".
  18. //
  19. // Returned if the file system you are trying to create already exists, with
  20. // the creation token you provided.
  21. ErrCodeFileSystemAlreadyExists = "FileSystemAlreadyExists"
  22. // ErrCodeFileSystemInUse for service response error code
  23. // "FileSystemInUse".
  24. //
  25. // Returned if a file system has mount targets.
  26. ErrCodeFileSystemInUse = "FileSystemInUse"
  27. // ErrCodeFileSystemLimitExceeded for service response error code
  28. // "FileSystemLimitExceeded".
  29. //
  30. // Returned if the AWS account has already created the maximum number of file
  31. // systems allowed per account.
  32. ErrCodeFileSystemLimitExceeded = "FileSystemLimitExceeded"
  33. // ErrCodeFileSystemNotFound for service response error code
  34. // "FileSystemNotFound".
  35. //
  36. // Returned if the specified FileSystemId value doesn't exist in the requester's
  37. // AWS account.
  38. ErrCodeFileSystemNotFound = "FileSystemNotFound"
  39. // ErrCodeIncorrectFileSystemLifeCycleState for service response error code
  40. // "IncorrectFileSystemLifeCycleState".
  41. //
  42. // Returned if the file system's lifecycle state is not "available".
  43. ErrCodeIncorrectFileSystemLifeCycleState = "IncorrectFileSystemLifeCycleState"
  44. // ErrCodeIncorrectMountTargetState for service response error code
  45. // "IncorrectMountTargetState".
  46. //
  47. // Returned if the mount target is not in the correct state for the operation.
  48. ErrCodeIncorrectMountTargetState = "IncorrectMountTargetState"
  49. // ErrCodeInsufficientThroughputCapacity for service response error code
  50. // "InsufficientThroughputCapacity".
  51. //
  52. // Returned if there's not enough capacity to provision additional throughput.
  53. // This value might be returned when you try to create a file system in provisioned
  54. // throughput mode, when you attempt to increase the provisioned throughput
  55. // of an existing file system, or when you attempt to change an existing file
  56. // system from bursting to provisioned throughput mode.
  57. ErrCodeInsufficientThroughputCapacity = "InsufficientThroughputCapacity"
  58. // ErrCodeInternalServerError for service response error code
  59. // "InternalServerError".
  60. //
  61. // Returned if an error occurred on the server side.
  62. ErrCodeInternalServerError = "InternalServerError"
  63. // ErrCodeIpAddressInUse for service response error code
  64. // "IpAddressInUse".
  65. //
  66. // Returned if the request specified an IpAddress that is already in use in
  67. // the subnet.
  68. ErrCodeIpAddressInUse = "IpAddressInUse"
  69. // ErrCodeMountTargetConflict for service response error code
  70. // "MountTargetConflict".
  71. //
  72. // Returned if the mount target would violate one of the specified restrictions
  73. // based on the file system's existing mount targets.
  74. ErrCodeMountTargetConflict = "MountTargetConflict"
  75. // ErrCodeMountTargetNotFound for service response error code
  76. // "MountTargetNotFound".
  77. //
  78. // Returned if there is no mount target with the specified ID found in the caller's
  79. // account.
  80. ErrCodeMountTargetNotFound = "MountTargetNotFound"
  81. // ErrCodeNetworkInterfaceLimitExceeded for service response error code
  82. // "NetworkInterfaceLimitExceeded".
  83. //
  84. // The calling account has reached the limit for elastic network interfaces
  85. // for the specific AWS Region. The client should try to delete some elastic
  86. // network interfaces or get the account limit raised. For more information,
  87. // see Amazon VPC Limits (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html)
  88. // in the Amazon VPC User Guide (see the Network interfaces per VPC entry in
  89. // the table).
  90. ErrCodeNetworkInterfaceLimitExceeded = "NetworkInterfaceLimitExceeded"
  91. // ErrCodeNoFreeAddressesInSubnet for service response error code
  92. // "NoFreeAddressesInSubnet".
  93. //
  94. // Returned if IpAddress was not specified in the request and there are no free
  95. // IP addresses in the subnet.
  96. ErrCodeNoFreeAddressesInSubnet = "NoFreeAddressesInSubnet"
  97. // ErrCodeSecurityGroupLimitExceeded for service response error code
  98. // "SecurityGroupLimitExceeded".
  99. //
  100. // Returned if the size of SecurityGroups specified in the request is greater
  101. // than five.
  102. ErrCodeSecurityGroupLimitExceeded = "SecurityGroupLimitExceeded"
  103. // ErrCodeSecurityGroupNotFound for service response error code
  104. // "SecurityGroupNotFound".
  105. //
  106. // Returned if one of the specified security groups doesn't exist in the subnet's
  107. // VPC.
  108. ErrCodeSecurityGroupNotFound = "SecurityGroupNotFound"
  109. // ErrCodeSubnetNotFound for service response error code
  110. // "SubnetNotFound".
  111. //
  112. // Returned if there is no subnet with ID SubnetId provided in the request.
  113. ErrCodeSubnetNotFound = "SubnetNotFound"
  114. // ErrCodeThroughputLimitExceeded for service response error code
  115. // "ThroughputLimitExceeded".
  116. //
  117. // Returned if the throughput mode or amount of provisioned throughput can't
  118. // be changed because the throughput limit of 1024 MiB/s has been reached.
  119. ErrCodeThroughputLimitExceeded = "ThroughputLimitExceeded"
  120. // ErrCodeTooManyRequests for service response error code
  121. // "TooManyRequests".
  122. //
  123. // Returned if you don’t wait at least 24 hours before changing the throughput
  124. // mode, or decreasing the Provisioned Throughput value.
  125. ErrCodeTooManyRequests = "TooManyRequests"
  126. // ErrCodeUnsupportedAvailabilityZone for service response error code
  127. // "UnsupportedAvailabilityZone".
  128. ErrCodeUnsupportedAvailabilityZone = "UnsupportedAvailabilityZone"
  129. )