Module Smaws_Client_DirectoryService.CreateAlias

val request : Smaws_Lib.Context.t -> create_alias_request -> (create_alias_result, [> Smaws_Lib.Protocols.AwsJson.error | `ClientException of client_exception | `EntityAlreadyExistsException of entity_already_exists_exception | `EntityDoesNotExistException of entity_does_not_exist_exception | `InvalidParameterException of invalid_parameter_exception | `ServiceException of service_exception ]) Stdlib.result

Creates an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as

http://.awsapps.com

.

After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.