code: @Override
      public ModifyCapacityReservationResult modifyCapacityReservation(ModifyCapacityReservationRequest request) {
          request = beforeClientExecution(request);
          return executeModifyCapacityReservation(request);
      }
docs: <p>
  Modifies a Capacity Reservation's capacity and the conditions under which it is to be released. You cannot change
  a Capacity Reservation's instance type, EBS optimization, instance store settings, platform, Availability Zone,
  or instance eligibility. If you need to modify any of these attributes, we recommend that you cancel the Capacity
  Reservation, and then create a new one with the required attributes.
  </p>
  
  @param modifyCapacityReservationRequest
  @return Result of the ModifyCapacityReservation operation returned by the service.
  @sample AmazonEC2.ModifyCapacityReservation
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyCapacityReservation" target="_top">AWS
  API Documentation</a>