code: @Override
      public GetResourceMetricsResult getResourceMetrics(GetResourceMetricsRequest request) {
          request = beforeClientExecution(request);
          return executeGetResourceMetrics(request);
      }
docs: <p>
  Retrieve Performance Insights metrics for a set of data sources, over a time period. You can provide specific
  dimension groups and dimensions, and provide aggregation and filtering criteria for each group.
  </p>
  
  @param getResourceMetricsRequest
  @return Result of the GetResourceMetrics operation returned by the service.
  @throws InvalidArgumentException
  One of the arguments provided is invalid for this request.
  @throws InternalServiceErrorException
  The request failed due to an unknown error.
  @throws NotAuthorizedException
  The user is not authorized to perform this request.
  @sample AWSPI.GetResourceMetrics
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetResourceMetrics" target="_top">AWS API
  Documentation</a>