Class WorkMailException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\WorkMail\Exception\WorkMailException
- Namespace: Aws\WorkMail\Exception
- Located at WorkMail/Exception/WorkMailException.php
Represents an error interacting with the Amazon WorkMail service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
DirectoryInUseException
[ 'Message' => '<string>', ]
Description
The directory is already in use by another WorkMail organization in the same account and Region.
Members
- Message
-
- Type: string
DirectoryServiceAuthenticationFailedException
[ 'Message' => '<string>', ]
Description
The directory service doesn't recognize the credentials supplied by WorkMail.
Members
- Message
-
- Type: string
DirectoryUnavailableException
[ 'Message' => '<string>', ]
Description
The directory is unavailable. It might be located in another Region or deleted.
Members
- Message
-
- Type: string
EmailAddressInUseException
[ 'Message' => '<string>', ]
Description
The email address that you're trying to assign is already created for a different user, group, or resource.
Members
- Message
-
- Type: string
EntityAlreadyRegisteredException
[ 'Message' => '<string>', ]
Description
The user, group, or resource that you're trying to register is already registered.
Members
- Message
-
- Type: string
EntityNotFoundException
[ 'Message' => '<string>', ]
Description
The identifier supplied for the user, group, or resource does not exist in your organization.
Members
- Message
-
- Type: string
EntityStateException
[ 'Message' => '<string>', ]
Description
You are performing an operation on a user, group, or resource that isn't in the expected state, such as trying to delete an active user.
Members
- Message
-
- Type: string
InvalidConfigurationException
[ 'Message' => '<string>', ]
Description
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 so on its behalf.
Members
- Message
-
- Type: string
InvalidCustomSesConfigurationException
[ 'Message' => '<string>', ]
Description
You SES configuration has customizations that WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to CreateReceiptRule.
Members
- Message
-
- Type: string
InvalidParameterException
[ 'Message' => '<string>', ]
Description
One or more of the input parameters don't match the service's restrictions.
Members
- Message
-
- Type: string
InvalidPasswordException
[ 'Message' => '<string>', ]
Description
The supplied password doesn't match the minimum security constraints, such as length or use of special characters.
Members
- Message
-
- Type: string
LimitExceededException
[ 'Message' => '<string>', ]
Description
The request exceeds the limit of the resource.
Members
- Message
-
- Type: string
MailDomainInUseException
[ 'Message' => '<string>', ]
Description
The domain you're trying to change is in use by another user or organization in your account. See the error message for details.
Members
- Message
-
- Type: string
MailDomainNotFoundException
[ 'Message' => '<string>', ]
Description
The domain specified is not found in your organization.
Members
- Message
-
- Type: string
MailDomainStateException
[ 'Message' => '<string>', ]
Description
After a domain has been added to the organization, it must be verified. The domain is not yet verified.
Members
- Message
-
- Type: string
NameAvailabilityException
[ 'Message' => '<string>', ]
Description
The user, group, or resource name isn't unique in WorkMail.
Members
- Message
-
- Type: string
OrganizationNotFoundException
[ 'Message' => '<string>', ]
Description
An operation received a valid organization identifier that either doesn't belong or exist in the system.
Members
- Message
-
- Type: string
OrganizationStateException
[ 'Message' => '<string>', ]
Description
The organization must have a valid state to perform certain operations on the organization or its members.
Members
- Message
-
- Type: string
ReservedNameException
[ 'Message' => '<string>', ]
Description
This user, group, or resource name is not allowed in WorkMail.
Members
- Message
-
- Type: string
ResourceNotFoundException
[ 'Message' => '<string>', ]
Description
The resource cannot be found.
Members
- Message
-
- Type: string
TooManyTagsException
[ 'Message' => '<string>', ]
Description
The resource can have up to 50 user-applied tags.
Members
- Message
-
- Type: string
UnsupportedOperationException
[ 'Message' => '<string>', ]
Description
You can't perform a write operation against a read-only directory.
Members
- Message
-
- Type: string