code: @Override
      public CreateUserPoolDomainResult createUserPoolDomain(CreateUserPoolDomainRequest request) {
          request = beforeClientExecution(request);
          return executeCreateUserPoolDomain(request);
      }
docs: <p>
  Creates a new domain for a user pool.
  </p>
  
  @param createUserPoolDomainRequest
  @return Result of the CreateUserPoolDomain operation returned by the service.
  @throws InvalidParameterException
  This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
  @throws NotAuthorizedException
  This exception is thrown when a user is not authorized.
  @throws ResourceNotFoundException
  This exception is thrown when the Amazon Cognito service cannot find the requested resource.
  @throws LimitExceededException
  This exception is thrown when a user exceeds the limit for a requested AWS resource.
  @throws InternalErrorException
  This exception is thrown when Amazon Cognito encounters an internal error.
  @sample AWSCognitoIdentityProvider.CreateUserPoolDomain
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomain"
  target="_top">AWS API Documentation</a>