errors.go 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package workmail
  3. const (
  4. // ErrCodeDirectoryServiceAuthenticationFailedException for service response error code
  5. // "DirectoryServiceAuthenticationFailedException".
  6. //
  7. // The Directory Service doesn't recognize the credentials supplied by the Amazon
  8. // WorkMail service.
  9. ErrCodeDirectoryServiceAuthenticationFailedException = "DirectoryServiceAuthenticationFailedException"
  10. // ErrCodeDirectoryUnavailableException for service response error code
  11. // "DirectoryUnavailableException".
  12. //
  13. // The directory that you are trying to perform operations on isn't available.
  14. ErrCodeDirectoryUnavailableException = "DirectoryUnavailableException"
  15. // ErrCodeEmailAddressInUseException for service response error code
  16. // "EmailAddressInUseException".
  17. //
  18. // The email address that you're trying to assign is already created for a different
  19. // user, group, or resource.
  20. ErrCodeEmailAddressInUseException = "EmailAddressInUseException"
  21. // ErrCodeEntityAlreadyRegisteredException for service response error code
  22. // "EntityAlreadyRegisteredException".
  23. //
  24. // The user, group, or resource that you're trying to register is already registered.
  25. ErrCodeEntityAlreadyRegisteredException = "EntityAlreadyRegisteredException"
  26. // ErrCodeEntityNotFoundException for service response error code
  27. // "EntityNotFoundException".
  28. //
  29. // The identifier supplied for the entity is valid, but it does not exist in
  30. // your organization.
  31. ErrCodeEntityNotFoundException = "EntityNotFoundException"
  32. // ErrCodeEntityStateException for service response error code
  33. // "EntityStateException".
  34. //
  35. // You are performing an operation on an entity that isn't in the expected state,
  36. // such as trying to update a deleted user.
  37. ErrCodeEntityStateException = "EntityStateException"
  38. // ErrCodeInvalidConfigurationException for service response error code
  39. // "InvalidConfigurationException".
  40. //
  41. // The configuration for a resource isn't valid. A resource must either be able
  42. // to auto-respond to requests or have at least one delegate associated that
  43. // can do it on its behalf.
  44. ErrCodeInvalidConfigurationException = "InvalidConfigurationException"
  45. // ErrCodeInvalidParameterException for service response error code
  46. // "InvalidParameterException".
  47. //
  48. // One or more of the input parameters don't match the service's restrictions.
  49. ErrCodeInvalidParameterException = "InvalidParameterException"
  50. // ErrCodeInvalidPasswordException for service response error code
  51. // "InvalidPasswordException".
  52. //
  53. // The supplied password doesn't match the minimum security constraints, such
  54. // as length or use of special characters.
  55. ErrCodeInvalidPasswordException = "InvalidPasswordException"
  56. // ErrCodeMailDomainNotFoundException for service response error code
  57. // "MailDomainNotFoundException".
  58. //
  59. // For an email or alias to be created in Amazon WorkMail, the included domain
  60. // must be defined in the organization.
  61. ErrCodeMailDomainNotFoundException = "MailDomainNotFoundException"
  62. // ErrCodeMailDomainStateException for service response error code
  63. // "MailDomainStateException".
  64. //
  65. // After a domain has been added to the organization, it must be verified. The
  66. // domain is not yet verified.
  67. ErrCodeMailDomainStateException = "MailDomainStateException"
  68. // ErrCodeNameAvailabilityException for service response error code
  69. // "NameAvailabilityException".
  70. //
  71. // The entity (user, group, or user) name isn't unique in Amazon WorkMail.
  72. ErrCodeNameAvailabilityException = "NameAvailabilityException"
  73. // ErrCodeOrganizationNotFoundException for service response error code
  74. // "OrganizationNotFoundException".
  75. //
  76. // An operation received a valid organization identifier that either doesn't
  77. // belong or exist in the system.
  78. ErrCodeOrganizationNotFoundException = "OrganizationNotFoundException"
  79. // ErrCodeOrganizationStateException for service response error code
  80. // "OrganizationStateException".
  81. //
  82. // The organization must have a valid state (Active or Synchronizing) to perform
  83. // certain operations on the organization or its entities.
  84. ErrCodeOrganizationStateException = "OrganizationStateException"
  85. // ErrCodeReservedNameException for service response error code
  86. // "ReservedNameException".
  87. //
  88. // This entity name is not allowed in Amazon WorkMail.
  89. ErrCodeReservedNameException = "ReservedNameException"
  90. // ErrCodeUnsupportedOperationException for service response error code
  91. // "UnsupportedOperationException".
  92. //
  93. // You can't perform a write operation against a read-only directory.
  94. ErrCodeUnsupportedOperationException = "UnsupportedOperationException"
  95. )