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