code: @Override
      public GetFederationTokenResult getFederationToken(GetFederationTokenRequest request) {
          request = beforeClientExecution(request);
          return executeGetFederationToken(request);
      }
docs: <p>
  Retrieves a token for federation.
  </p>
  
  @param getFederationTokenRequest
  @return Result of the GetFederationToken operation returned by the service.
  @throws InvalidRequestException
  The request is not valid.
  @throws InvalidParameterException
  One or more of the parameters provided to the operation are not valid.
  @throws ResourceNotFoundException
  The specified resource was not found.
  @throws UserNotFoundException
  No user with the specified credentials was found in the Amazon Connect instance.
  @throws InternalServiceException
  Request processing failed due to an error or failure with the service.
  @throws DuplicateResourceException
  A resource with that name already exists.
  @sample AmazonConnect.GetFederationToken
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationToken" target="_top">AWS API
  Documentation</a>