def update_collection_intervals(hash, &callback)
      required = %i[resourceId feedId metricTypes availTypes]
      check_pre_conditions hash, required, &callback
      invoke_specific_operation(hash, 'UpdateCollectionIntervals', &callback)
    end
def update_collection_intervals(hash, &callback)
      required = %i[resourceId feedId metricTypes availTypes]
      check_pre_conditions hash, required, &callback
      invoke_specific_operation(hash, 'UpdateCollectionIntervals', &callback)
    end
Updates the collection intervals.

 @param [Hash] hash Arguments for update collection intervals
 @option hash {resourceId} a resource managed by the target agent
 @option hash {feedId} the related feed ID
 @option hash {metricTypes} A map with key=MetricTypeId, value=interval (seconds).
 MetricTypeId must be of form MetricTypeSet~MetricTypeName
 @option hash {availTypes} A map with key=AvailTypeId, value=interval (seconds).
 AvailTypeId must be of form AvailTypeSet~AvailTypeName

 @param callback [Block] callback that is run after the operation is done