code: @Override
      public PutSubscriptionFilterResult putSubscriptionFilter(PutSubscriptionFilterRequest request) {
          request = beforeClientExecution(request);
          return executePutSubscriptionFilter(request);
      }
docs: <p>
  Creates or updates a subscription filter and associates it with the specified log group. Subscription filters
  allow you to subscribe to a real-time stream of log events ingested through <a>PutLogEvents</a> and have them
  delivered to a specific destination. Currently, the supported destinations are:
  </p>
  <ul>
  <li>
  <p>
  An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
  </p>
  </li>
  <li>
  <p>
  A logical destination that belongs to a different account, for cross-account delivery.
  </p>
  </li>
  <li>
  <p>
  An Amazon Kinesis Firehose delivery stream that belongs to the same account as the subscription filter, for
  same-account delivery.
  </p>
  </li>
  <li>
  <p>
  An AWS Lambda function that belongs to the same account as the subscription filter, for same-account delivery.
  </p>
  </li>
  </ul>
  <p>
  There can only be one subscription filter associated with a log group. If you are updating an existing filter,
  you must specify the correct name in <code>filterName</code>. Otherwise, the call fails because you cannot
  associate a second filter with a log group.
  </p>
  
  @param putSubscriptionFilterRequest
  @return Result of the PutSubscriptionFilter operation returned by the service.
  @throws InvalidParameterException
  A parameter is specified incorrectly.
  @throws ResourceNotFoundException
  The specified resource does not exist.
  @throws OperationAbortedException
  Multiple requests to update the same resource were in conflict.
  @throws LimitExceededException
  You have reached the maximum number of resources that can be created.
  @throws ServiceUnavailableException
  The service cannot complete the request.
  @sample AWSLogs.PutSubscriptionFilter
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilter" target="_top">AWS API
  Documentation</a>