code: @Override
      public AddApplicationOutputResult addApplicationOutput(AddApplicationOutputRequest request) {
          request = beforeClientExecution(request);
          return executeAddApplicationOutput(request);
      }
docs: <p>
  Adds an external destination to your SQL-based Amazon Kinesis Data Analytics application.
  </p>
  <p>
  If you want Kinesis Data Analytics to deliver data from an in-application stream within your application to an
  external destination (such as an Kinesis data stream, a Kinesis Data Firehose delivery stream, or an AWS Lambda
  function), you add the relevant configuration to your application using this operation. You can configure one or
  more outputs for your application. Each output configuration maps an in-application stream and an external
  destination.
  </p>
  <p>
  You can use one of the output configurations to deliver data from your in-application error stream to an external
  destination so that you can analyze the errors.
  </p>
  <p>
  Any configuration update, including adding a streaming source using this operation, results in a new version of
  the application. You can use the <a>DescribeApplication</a> operation to find the current application version.
  </p>
  
  @param addApplicationOutputRequest
  @return Result of the AddApplicationOutput operation returned by the service.
  @throws ResourceNotFoundException
  Specified application can't be found.
  @throws ResourceInUseException
  The application is not available for this operation.
  @throws InvalidArgumentException
  The specified input parameter value is not valid.
  @throws ConcurrentModificationException
  Exception thrown as a result of concurrent modifications to an application. This error can be the result
  of attempting to modify an application without using the current application ID.
  @throws InvalidRequestException
  The request JSON is not valid for the operation.
  @sample AmazonKinesisAnalyticsV2.AddApplicationOutput
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationOutput"
  target="_top">AWS API Documentation</a>