AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ErrCodeDirectoryServiceAuthenticationFailedException - ErrCodeUnsupportedOperationException

import "github.com/aws/aws-sdk-go/service/workmail"

const ( ErrCodeDirectoryServiceAuthenticationFailedException = "DirectoryServiceAuthenticationFailedException" ErrCodeDirectoryUnavailableException = "DirectoryUnavailableException" ErrCodeEmailAddressInUseException = "EmailAddressInUseException" ErrCodeEntityAlreadyRegisteredException = "EntityAlreadyRegisteredException" ErrCodeEntityNotFoundException = "EntityNotFoundException" ErrCodeEntityStateException = "EntityStateException" ErrCodeInvalidConfigurationException = "InvalidConfigurationException" ErrCodeInvalidParameterException = "InvalidParameterException" ErrCodeInvalidPasswordException = "InvalidPasswordException" ErrCodeMailDomainNotFoundException = "MailDomainNotFoundException" ErrCodeMailDomainStateException = "MailDomainStateException" ErrCodeNameAvailabilityException = "NameAvailabilityException" ErrCodeOrganizationNotFoundException = "OrganizationNotFoundException" ErrCodeOrganizationStateException = "OrganizationStateException" ErrCodeReservedNameException = "ReservedNameException" ErrCodeUnsupportedOperationException = "UnsupportedOperationException" )

ErrCodeDirectoryServiceAuthenticationFailedException

ErrCodeDirectoryServiceAuthenticationFailedException for service response error code "DirectoryServiceAuthenticationFailedException".

The Directory Service doesn't recognize the credentials supplied by the Amazon WorkMail service.

ErrCodeDirectoryUnavailableException

ErrCodeDirectoryUnavailableException for service response error code "DirectoryUnavailableException".

The directory that you are trying to perform operations on isn't available.

ErrCodeEmailAddressInUseException

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.

ErrCodeEntityAlreadyRegisteredException

ErrCodeEntityAlreadyRegisteredException for service response error code "EntityAlreadyRegisteredException".

The user, group, or resource that you're trying to register is already registered.

ErrCodeEntityNotFoundException

ErrCodeEntityNotFoundException for service response error code "EntityNotFoundException".

The identifier supplied for the entity is valid, but it does not exist in your organization.

ErrCodeEntityStateException

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.

ErrCodeInvalidConfigurationException

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.

ErrCodeInvalidParameterException

ErrCodeInvalidParameterException for service response error code "InvalidParameterException".

One or more of the input parameters don't match the service's restrictions.

ErrCodeInvalidPasswordException

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.

ErrCodeMailDomainNotFoundException

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.

ErrCodeMailDomainStateException

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.

ErrCodeNameAvailabilityException

ErrCodeNameAvailabilityException for service response error code "NameAvailabilityException".

The entity (user, group, or user) name isn't unique in Amazon WorkMail.

ErrCodeOrganizationNotFoundException

ErrCodeOrganizationNotFoundException for service response error code "OrganizationNotFoundException".

An operation received a valid organization identifier that either doesn't belong or exist in the system.

ErrCodeOrganizationStateException

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.

ErrCodeReservedNameException

ErrCodeReservedNameException for service response error code "ReservedNameException".

This entity name is not allowed in Amazon WorkMail.

ErrCodeUnsupportedOperationException

ErrCodeUnsupportedOperationException for service response error code "UnsupportedOperationException".

You can't perform a write operation against a read-only directory.

On this page: