Module Smaws_Client_DirectoryService.CreateAlias

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.

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