code: @Override
      public StopFlowResult stopFlow(StopFlowRequest request) {
          request = beforeClientExecution(request);
          return executeStopFlow(request);
      }
docs: Stops a flow.
  
  @param stopFlowRequest
  @return Result of the StopFlow operation returned by the service.
  @throws BadRequestException
  The request that you submitted is not valid.
  @throws InternalServerErrorException
  AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.
  @throws ForbiddenException
  You don't have the required permissions to perform this operation.
  @throws NotFoundException
  AWS Elemental MediaConnect did not find the resource that you specified in the request.
  @throws ServiceUnavailableException
  AWS Elemental MediaConnect is currently unavailable. Try again later.
  @throws TooManyRequestsException
  You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.
  @sample AWSMediaConnect.StopFlow
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StopFlow" target="_top">AWS API
  Documentation</a>