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://<alias>.awsapps.com
.
See https://www.paws-r-sdk.com/docs/directoryservice_create_alias/ for full documentation.
directoryservice_create_alias(DirectoryId, Alias)
[required] The identifier of the directory for which to create the alias.
[required] The requested alias.
The alias must be unique amongst all aliases in Amazon Web Services.
This operation throws an EntityAlreadyExistsException
error if the
alias already exists.