code: @Override
      public PutMetricFilterResult putMetricFilter(PutMetricFilterRequest request) {
          request = beforeClientExecution(request);
          return executePutMetricFilter(request);
      }
docs: <p>
  Creates or updates a metric filter and associates it with the specified log group. Metric filters allow you to
  configure rules to extract metric data from log events ingested through <a>PutLogEvents</a>.
  </p>
  <p>
  The maximum number of metric filters that can be associated with a log group is 100.
  </p>
  
  @param putMetricFilterRequest
  @return Result of the PutMetricFilter 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.PutMetricFilter
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilter" target="_top">AWS API
  Documentation</a>