code: def _default_capacity(self, value):
          
          if value is not None:
              return value
          if self.default_return_capacity or self.rate_limiters:
              return INDEXES
          return NONE
docs: Get the value for ReturnConsumedCapacity from provided value