code: @Override
      public CreateTrustResult createTrust(CreateTrustRequest request) {
          request = beforeClientExecution(request);
          return executeCreateTrust(request);
      }
docs: <p>
  AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example,
  you can establish a trust between your AWS Managed Microsoft AD directory, and your existing on-premises
  Microsoft Active Directory. This would allow you to provide users and groups access to resources in either
  domain, with a single set of credentials.
  </p>
  <p>
  This action initiates the creation of the AWS side of a trust relationship between an AWS Managed Microsoft AD
  directory and an external domain. You can create either a forest trust or an external trust.
  </p>
  
  @param createTrustRequest
  AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For
  example, you can establish a trust between your AWS Managed Microsoft AD directory, and your existing
  on-premises Microsoft Active Directory. This would allow you to provide users and groups access to
  resources in either domain, with a single set of credentials.</p>
  <p>
  This action initiates the creation of the AWS side of a trust relationship between an AWS Managed
  Microsoft AD directory and an external domain.
  @return Result of the CreateTrust operation returned by the service.
  @throws EntityAlreadyExistsException
  The specified entity already exists.
  @throws EntityDoesNotExistException
  The specified entity could not be found.
  @throws InvalidParameterException
  One or more parameters are not valid.
  @throws ClientException
  A client exception has occurred.
  @throws ServiceException
  An exception has occurred in AWS Directory Service.
  @throws UnsupportedOperationException
  The operation is not supported.
  @sample AWSDirectoryService.CreateTrust
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrust" target="_top">AWS API
  Documentation</a>