code: @Override
      public UpdateEndpointWeightsAndCapacitiesResult updateEndpointWeightsAndCapacities(UpdateEndpointWeightsAndCapacitiesRequest request) {
          request = beforeClientExecution(request);
          return executeUpdateEndpointWeightsAndCapacities(request);
      }
docs: <p>
  Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant
  associated with an existing endpoint. When it receives the request, Amazon SageMaker sets the endpoint status to
  <code>Updating</code>. After updating the endpoint, it sets the status to <code>InService</code>. To check the
  status of an endpoint, use the <a
  href="https://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html">DescribeEndpoint</a> API.
  </p>
  
  @param updateEndpointWeightsAndCapacitiesRequest
  @return Result of the UpdateEndpointWeightsAndCapacities operation returned by the service.
  @throws ResourceLimitExceededException
  You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs
  created.
  @sample AmazonSageMaker.UpdateEndpointWeightsAndCapacities
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities"
  target="_top">AWS API Documentation</a>